joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101fffd5
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x102e91c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.101f1c05
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.101f1c05
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x1020004c
cmp word [ecx], dx
je 0x1020004c
mov eax, dword [0x102564ac]
push edi
dec eax
push eax
push 0x10256398
call fcn.101fff74
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x102000bf
cmp word [eax], dx
je 0x102000bf
mov eax, dword [edi]
test eax, eax
je 0x10200070
cmp word [eax], dx
je 0x10200070
lea eax, [ebp - 0x10]
push eax
call fcn.101ff942
jmp 0x10200079
lea eax, [ebp - 0x10]
push eax
call fcn.101ff9dd
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x102000e9
mov eax, dword [0x10256394]
push dword [ebp - 0x14]
dec eax
push eax
push 0x10256088
call fcn.101fff74
add esp, 0xc
test al, al
je 0x102000e9
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x102000b4
cmp word [eax], di
je 0x102000b4
lea eax, [ebp - 0x10]
push eax
call fcn.101ff942
pop ecx
jmp 0x102000eb
lea eax, [ebp - 0x10]
push eax
call fcn.101ff9dd
jmp 0x102000b1
mov eax, dword [edi]
test eax, eax
je 0x102000d6
cmp word [eax], dx
je 0x102000d6
lea eax, [ebp - 0x10]
push eax
call fcn.101ff8f7
pop ecx
jmp 0x102000e9
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x102001b4
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.101ffdf9
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x102001b4
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x102001b4
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x102001b4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10200141
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.101f3d72
test ebx, ebx
je 0x102001af
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.101f3d72
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x102001b4
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x102001b4
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.1020299d
add esp, 0x10
xor eax, eax
inc eax
jmp 0x102001b6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101cff65
leave
ret
Function at 0x10202e51
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.10202dcd
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x10202fc0
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x10202fc0
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x10202f75
jg 0x10202ead
test eax, eax
je 0x10202f6b
push 1
push 0x1000
call fcn.101f35bf
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10202ed0
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x10202f62
push 0x8000
push ebx
call fcn.10202cfe
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x10202ef9
jg 0x10202ef4
cmp ecx, 0x1000
jb 0x10202ef9
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.101f7639
add esp, 0x10
cmp eax, 0xffffffff
je 0x10202f3e
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x10202ef4
jl 0x10202f25
test ecx, ecx
jne 0x10202ee6
push dword [ebp - 0xc]
push ebx
call fcn.10202cfe
push esi
call fcn.101f185e
add esp, 0xc
xor ebx, ebx
jmp 0x10202fce
cmp byte [edi + 0x24], 0
je 0x10202f55
cmp dword [edi + 0x20], 5
jne 0x10202f55
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x10202f60
mov ebx, dword [edi + 0x18]
jmp 0x10202f62
xor ebx, ebx
push esi
call fcn.101f185e
pop ecx
jmp 0x10202fce
test ecx, ecx
jg 0x10202f37
jl 0x10202f75
test eax, eax
jae 0x10202f37
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.101f8b15
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x10202f95
cmp byte [edi + 0x1c], 0
je 0x10202f37
jmp 0x10202fc6
push ebx
call fcn.1020094b
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x10202f37
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x10202fce
cmp byte [edi + 0x1c], 0
je 0x10202fcb
mov ebx, dword [edi + 0x18]
jmp 0x10202fce
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.101f8b15
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10205870
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10243ca7
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x102e91c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push 8
mov dword [ebp - 4], 0
call fcn.101cff73
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 1
test edi, edi
je 0x102058e0
call sub.KERNEL32.dll_GetUserDefaultLCID
push eax
push edi
call fcn.102046f0
add esp, 8
jmp 0x102058e2
xor edi, edi
lea ebx, [esi + 0xc]
mov dword [ebp - 0x18], ebx
mov dword [ebx], edi
mov dword [ebx + 4], 0
push edi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.102038f0
mov edx, dword [ebx + 4]
mov ecx, dword [eax]
mov dword [ebx + 4], ecx
mov dword [eax], edx
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x1020593b
or ecx, 0xffffffff
lea eax, [ebx + 4]
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x1020593b
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
lea eax, [ebx + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x1020593b
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 8]
push edi
lea eax, [esi + 0xc]
push edi
push eax
call fcn.1001efc0
push 0x100
lea eax, [esi + 0x30]
mov dword [esi + 0x14], 0
push 0
push eax
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
call fcn.101d28f0
mov dword [esi + 0x130], 0
add esp, 0x18
mov dword [esi + 0x13c], 0
mov eax, esi
mov dword [esi + 0x138], 0
mov dword [esi + 0x134], 0
mov dword [esi + 0x140], 0
mov dword [esi + 0x144], 0
mov dword [esi + 0x148], 0
mov dword [esi + 0x14c], 0
mov word [esi + 0x150], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10218a20
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10218a4d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10218a4d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x1001924
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x280c
call fcn.01004ec0
mov eax, dword [0x10070a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
xor ebx, ebx
cmp dword [0x100703c], 0xffffffff
mov dword [ebp - 0x280c], eax
mov dword [ebp - 0x2808], ebx
jne 0x100196a
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [0x100703c], eax
mov esi, 0x2800
push esi
mov edi, 0x10070c0
push edi
push dword [ebp + 8]
push dword [0x100c0c4]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x1001a0d
lea eax, [ebp + 0xc]
push eax
push edi
push esi
mov edi, 0x100c0c8
push edi
call fcn.010018c4
mov eax, dword [0x100703c]
cmp eax, ebx
je 0x10019ff
cmp eax, 0xffffffff
je 0x10019ff
push ebx
push ebx
push esi
lea eax, [ebp - 0x2804]
push eax
push 0xffffffffffffffff
push edi
push ebx
push dword [ebp - 0x280c]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
lea ecx, [ebp - 0x2808]
push ecx
dec eax
push eax
lea eax, [ebp - 0x2804]
push eax
push dword [0x100703c]
call esi
push ebx
lea eax, [ebp - 0x2808]
push eax
push 2
push dword [0x1007038]
push dword [0x100703c]
call esi
jmp 0x1001a0d
push edi
push 0x10011a8
call dword [sym.imp.msvcrt.dll_printf]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01004dd3
leave
ret

Function at 0x100249f
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x10070a8]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push eax
mov word [ebp - 0x804], ax
push 0x400
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
push eax
push dword [ebp + 8]
push 0
push 0x1200
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
cmp word [ebp - 0x804], 0
je 0x1002503
lea eax, [ebp - 0x804]
push eax
push 0x10012b0
call dword [sym.imp.msvcrt.dll_printf]
pop ecx
jmp 0x100250d
push 0x272e
call fcn.01001924
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01004dd3
leave
ret 4

Function at 0x1002626
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
xor edi, edi
xor ebx, ebx
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
mov byte [ebp - 1], 9
cmp dword [ebp + 0x10], edi
jbe 0x1002664
push edi
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp + 8]
call esi
test eax, eax
je 0x10026a6
inc ebx
cmp ebx, dword [ebp + 0x10]
jb 0x100264a
push edi
push edi
push 0x2800
push dword [0x101156c]
push 0xffffffffffffffff
push dword [ebp + 0xc]
push edi
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, edi
je 0x10026a6
xor ebx, ebx
inc ebx
cmp eax, ebx
jbe 0x10026a3
push edi
lea ecx, [ebp - 8]
push ecx
dec eax
push eax
push dword [0x101156c]
push dword [ebp + 8]
call esi
test eax, eax
je 0x10026a6
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x10026b5
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.01002626
mov esi, eax
test esi, esi
je 0x10026f0
push 0
lea eax, [ebp - 4]
push eax
push 2
push 0x10011b0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x10026f0
xor esi, esi
mov eax, esi
pop esi
leave
ret 0xc
Function at 0x1004d89
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x1005b68
call fcn.01005094
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x10118c8
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x1004b9e
cmp eax, esi
jne 0x1004b91
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x1004ba1
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1004b78
xor esi, esi
inc esi
mov eax, dword [0x10118c4]
cmp eax, esi
jne 0x1004bb4
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x1004bef
mov eax, dword [0x10118c4]
test eax, eax
jne 0x1004be9
mov dword [0x10118c4], esi
push 0x1001144
push 0x1001138
call fcn.01004af5
pop ecx
pop ecx
test eax, eax
je 0x1004bef
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x1004cb9
mov dword [0x101158c], esi
mov eax, dword [0x10118c4]
cmp eax, esi
jne 0x1004c13
push 0x1001134
push 0x100112c
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x10118c4], 2
cmp dword [ebp - 0x1c], ebx
jne 0x1004c20
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x10118cc], ebx
je 0x1004c41
push 0x10118cc
call fcn.01005009
pop ecx
test eax, eax
je 0x1004c41
push ebx
push 2
push ebx
call dword [0x10118cc]
push dword [0x1011574]
push dword [0x1011578]
push dword [0x1011570]
call fcn.010020b0
add esp, 0xc
mov dword [0x1011588], eax
cmp dword [0x101157c], ebx
jne 0x1004c9f
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x101158c], ebx
jne 0x1004cad
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1011588]
call fcn.010050d9
ret
call fcn.010051e1
jmp 0x1004b56
Function at 0x10010c0
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov cl, byte [eax]
cmp cl, 0x22
jne 0x10010e6
inc eax
mov cl, byte [eax]
test cl, cl
je 0x10010df
cmp cl, 0x22
jne 0x10010d3
cmp byte [eax], 0x22
jne 0x10010f9
jmp 0x10010f8
cmp cl, 0x20
jle 0x10010f9
inc eax
cmp byte [eax], 0x20
jg 0x10010eb
jmp 0x10010f9
cmp cl, 0x20
jg 0x10010ff
inc eax
mov cl, byte [eax]
test cl, cl
jne 0x10010f3
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x18], 1
je 0x1001119
movzx eax, word [ebp - 0x14]
jmp 0x100111c
push 0xa
pop eax
push eax
push 0
push dword [ebp + 0x10]
push 0x100108c
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
xor eax, eax
leave
ret 0x10
Function at 0x1001137
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x1001098
call fcn.01001320
xor ebx, ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x1001174
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001174
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x100118c
cmp eax, 0x20b
je 0x1001179
mov dword [ebp - 0x1c], ebx
jmp 0x10011a0
cmp dword [ecx + 0x84], 0xe
jbe 0x1001174
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x100119a
cmp dword [ecx + 0x74], 0xe
jbe 0x1001174
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1002014], 0xffffffff
or dword [0x1002018], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1002010]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x100200c]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x100201c], eax
call fcn.0100131c
cmp dword [section..data], ebx
jne 0x10011fb
push fcn.0100131c
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.0100130a
push 0x1001064
push 0x1001060
call sub.msvcrt.dll__initterm
mov eax, dword [0x1002008]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x1002004]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x30], eax
push 0x100105c
push 0x1001058
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x34], esi
cmp byte [esi], 0x22
jne 0x1001291
inc esi
mov dword [ebp - 0x34], esi
mov al, byte [esi]
cmp al, bl
je 0x1001265
cmp al, 0x22
jne 0x1001257
cmp byte [esi], 0x22
jne 0x100126e
inc esi
mov dword [ebp - 0x34], esi
mov al, byte [esi]
cmp al, bl
je 0x1001278
cmp al, 0x20
jbe 0x100126a
mov dword [ebp - 0x4c], ebx
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x4c], 1
je 0x100129c
movzx eax, word [ebp - 0x48]
jmp 0x100129f
cmp byte [esi], 0x20
jbe 0x100126e
inc esi
mov dword [ebp - 0x34], esi
jmp 0x1001291
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call main
mov esi, eax
mov dword [ebp - 0x7c], esi
cmp dword [ebp - 0x1c], ebx
jne 0x10012bc
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x10012f1
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.01001359
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
mov ecx, 0x4c2f0244
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
mov ecx, 0x5e9d0748
nop
nop
nop
nop
nop
test eax, eax
je 0x42e084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x42e06c
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x40606d
Capabilities:
Create thread

Disassembly:
push 0x4a4
mov eax, 0x486641
call fcn.0046c611
mov edi, ecx
mov dword [ebp - 0x4a8], edi
mov dword [ebp - 0x4b0], edi
call fcn.0042c120
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [edi + 0xd84], ebx
mov dword [edi + 0xd88], ebx
mov dword [edi + 0xd8c], ebx
mov dword [edi + 0xd90], ebx
mov dword [edi + 0xd94], ebx
mov dword [edi + 0xd98], ebx
mov dword [edi + 0xd9c], ebx
lea edx, [edi + 0xda0]
mov ecx, edx
call fcn.0041021a
lea ecx, [edx + 0x34]
call fcn.0041021a
lea ecx, [edx + 0x68]
call fcn.0041021a
mov dword [edi + 0xe3c], ebx
mov dword [edi + 0xe40], ebx
mov dword [edi + 0xe44], ebx
mov dword [edi + 0xe48], ebx
xor edx, edx
push 7
pop ebx
xor eax, eax
mov dword [edi + 0xe60], ebx
mov dword [edi + 0xe5c], edx
mov word [edi + 0xe4c], ax
lea ecx, [edi + 0xe64]
call fcn.0041021a
xor eax, eax
mov dword [edi + 0xeac], ebx
mov dword [edi + 0xea8], edx
mov word [edi + 0xe98], ax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 6
push eax
mov word [edi + 0xeb0], dx
mov byte [edi + 0xeb2], dl
call fcn.0040bcd8
mov esi, eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], bl
push eax
call fcn.0040bbbe
mov ecx, dword [ebp + 0xc]
add edi, 0xeb4
mov byte [ebp - 4], 8
push eax
mov dword [ebp - 0x4ac], edi
mov bl, byte [ecx + 0x6c]
mov ecx, edi
call fcn.00404e83
push esi
lea ecx, [edi + 0x18]
mov byte [ebp - 4], 9
call fcn.00404e83
and dword [edi + 0x40], 0
xor eax, eax
push 7
pop ecx
mov dword [edi + 0x44], ecx
mov word [edi + 0x30], ax
and dword [edi + 0x58], eax
test bl, bl
mov dword [edi + 0x5c], ecx
mov word [edi + 0x48], ax
sete al
mov byte [edi + 0x60], al
xor ebx, ebx
lea ecx, [ebp - 0x2c]
push ebx
push 1
call fcn.00405131
push ebx
push 1
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xc
call fcn.00405131
mov edi, dword [ebp - 0x4a8]
mov ecx, edi
mov eax, dword [ebp + 0xc]
mov dword [edi + 0xf1c], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0xd9c], eax
lea eax, [ebp - 0x4a4]
push eax
mov dword [edi + 0xf18], ebx
mov dword [edi + 0xf20], ebx
call fcn.0040642d
push edi
mov byte [ebp - 4], 0xd
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x4a4]
push eax
lea ecx, [edi + 0xf0]
call fcn.0042c3c0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [edi + 0xf1c]
cmp byte [eax + 0x6d], bl
je 0x406267
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str.aaa
push 0x4c0748
call esi
push str.sID_eID_bID_1
push 0x4c1150
call esi
push ebx
push ebx
push ebx
push 0x40cb90
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x2bf20
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
push ebx
push str.Running
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x4a4]
call fcn.004062b0
mov eax, edi
call fcn.0046c5c0
ret 8
Function at 0x407c42
Capabilities:
Create process on windows

Disassembly:
push 0x410
mov eax, 0x486c70
call fcn.0046c67d
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x418], eax
mov dword [ebp - 0x414], eax
lea eax, [ebp - 0x40c]
push eax
mov dword [ebp - 0x410], edi
call fcn.0042c31b
xor esi, esi
xor eax, eax
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], ax
mov edx, 0x272d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xf0]
call fcn.004100b9
mov edx, eax
lea ecx, [ebp - 0x2fc]
call fcn.004114f8
lea ecx, [ebp - 0xf0]
mov bl, al
call fcn.00410512
test bl, bl
je 0x407ce5
mov ecx, dword [edi + 0xe48]
test ecx, ecx
je 0x407cd2
push dword [edi + 0xf20]
push esi
push esi
call fcn.00438e9e
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x248]
mov byte [edi + 0xeb1], 1
push eax
jmp 0x407d1c
push 1
push esi
push esi
lea ebx, [edi + 0xe4c]
mov byte [ebp - 4], 2
push ebx
lea eax, [edi + 0xe7c]
mov ecx, edi
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0040b86d
push esi
push 1
lea ecx, [ebp - 0x44]
call fcn.00405131
lea eax, [ebp - 0x2c]
cmp eax, ebx
je 0x407d24
push 0xffffffffffffffff
push esi
push ebx
lea ecx, [ebp - 0x2c]
call fcn.0040509e
cmp byte [edi + 0xeb1], 0
je 0x407d49
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 1
cmovae eax, dword [ebp - 0x2c]
push esi
push esi
push eax
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push esi
push 2
push 0x111
push dword [ebp - 0x418]
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
jmp 0x407e8f
push 1
lea ecx, [ebp - 0x2c]
call fcn.00405131
lea ecx, [ebp - 0x40c]
call fcn.0040420a
call fcn.0046c5cf
ret 4
Function at 0x40be8c
Capabilities:
Write file on windows

Disassembly:
push 0x8c
mov eax, 0x487808
call fcn.0046c611
mov dword [ebp - 4], 1
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 8
cmovae eax, dword [ebp + 8]
xor ebx, ebx
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edx, 0x272a
lea ecx, [ebp - 0x60]
mov esi, eax
call fcn.004100b9
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00404e5d
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 4
call fcn.00410512
mov edi, str._nURL_
push edi
call fcn.00402bda
pop ecx
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.0040d945
push ecx
lea eax, [ebp + 0x20]
push eax
lea ecx, [ebp - 0x94]
call fcn.004102c0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.0040d89f
lea ecx, [ebp - 0x94]
call fcn.00410512
mov dword [ebp - 0x98], ebx
test esi, esi
je 0x40bf56
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x98]
push ebx
push ecx
push dword [ebp - 0x1c]
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00403790
push ebx
push 1
lea ecx, [ebp + 8]
call fcn.00405131
push ebx
push 1
lea ecx, [ebp + 0x20]
call fcn.00405131
call fcn.0046c5c0
ret