joyce8/EMBER2024-capa huggingface dataset:
Function at 0x436e40
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x463cc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.0045cf62
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.004367e0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0045ce90
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00459754
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00459754
push 1
push 0
push 0
mov ecx, esi
call fcn.004596fc
push 1
push 0
push 1
mov ecx, esi
call fcn.004596fc
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0045cfd4
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x436fc0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x463ce8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0045cf62
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.004367e0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0045ce90
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x437084
cmp dword [esp + 0x40], 1
jne 0x437082
cmp ecx, eax
jge 0x437084
mov eax, ecx
cmp eax, 0xc8
jge 0x437090
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00436e40
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0045cfd4
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x437810
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x463d53
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00457b74
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0045d20a
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0045e726
test eax, eax
je 0x43792c
mov ecx, dword [esp + 0x3c]
call fcn.0045d237
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x4378f0
push edi
mov ecx, esi
call fcn.0045a89b
mov ecx, esi
call fcn.00437a90
cmp dword [esp + 0x38], 1
jne 0x437925
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0045a9d6
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x43a350
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43a383
push esi
call fcn.0043d440
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43a37c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43a409
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43a3f2
mov eax, dword [esi + 8]
test eax, eax
je 0x43a3a7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43a3ee
cmp eax, 2
je 0x43a3f2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43a39a
cmp eax, 3
je 0x43a3cd
cmp eax, 1
jne 0x43a39a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43a39a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43a39a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043a430
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43a418
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043a430
add esp, 4
pop esi
ret

Function at 0x45896a
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4589a2
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00456a1e
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004569f6
jmp 0x4589ae
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x45a058
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x45a09a
call fcn.0045fb11
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x45a09a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x45a091
xor eax, eax
jmp 0x45a0a2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0045a0a8
pop edi
pop esi
pop ebx
ret 4

Function at 0x460041
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x46006f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46008d
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0045ffa7
jmp 0x46008d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46008d
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0045ffa7
test edi, edi
mov eax, edi
jne 0x460077
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4029dc
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.0040436c
test esi, esi
jne 0x402a12
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.0040445c
jmp 0x402a30
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004028f0
mov edi, eax
test esi, esi
je 0x402a30
cmp dword [ebx], 0
je 0x402a30
dec esi
jmp 0x402a19
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4033e8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x42d020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403480
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403460
xor eax, eax
push ebp
push 0x403459
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x40349c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403460
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x42d020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x42d020], ax
mov esp, ebp
pop ebp
ret

Function at 0x4041f0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x42f04c], 0
je 0x404251
cmp word [0x42f220], 0xd7b2
jne 0x404219
cmp dword [0x42f228], 0
jbe 0x404219
mov eax, 0x42f21c
call dword [0x42f238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x42d070
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404278
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x42d030], 0
jne 0x40426d
push 0
push 0x42d068
push 0x42d070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405834
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405a64
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4058b7
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405a64
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4058b7
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405a80
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405940
xor eax, eax
push ebp
push 0x405939
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.0040567c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x40591e
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405aa0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x40591e
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405940
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x405a5a
cmp byte [ebp - 0xd], 0
jne 0x405987
cmp byte [ebp - 0x12], 0
je 0x405a5a
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4059a0
dec ebx
cmp byte [ebx], 0x2e
je 0x4059af
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x40599f
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405a5a
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4059ec
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405a5a
cmp byte [ebp - 0xd], 0
je 0x405a5a
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405a5a
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406148
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x4061ae
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.004045dc
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402e74
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406198
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4061b5
lea eax, [ebp - 0x10]
call fcn.0040436c
ret

Function at 0x407eac
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0040482c
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x407ec5
test al, 0x10
jne 0x407ec9
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40a840
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40a879
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040445c
jmp 0x40a882
mov eax, ebx
mov edx, esi
call fcn.004043c0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40a88c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40a8ad
mov al, byte [esp]
jmp 0x40a8af
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40af34
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40adac
mov eax, dword [0x42e288]
cmp byte [eax], 0
je 0x40afb0
mov eax, dword [0x42e0ac]
call fcn.00402d74
call fcn.0040281c
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408188
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40aff8
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40afe6
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x42e06c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x42f668]
call fcn.00405640
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40bd88
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40bdec
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004045dc
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00407b0c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bdf3
lea eax, [ebp - 0xc]
call fcn.0040436c
ret

Function at 0x42c298
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040481c
mov eax, dword [ebp - 8]
call fcn.0040481c
xor eax, eax
push ebp
push 0x42c332
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x44], 0x3c
mov dword [ebp - 0x40], 0x40
xor eax, eax
mov dword [ebp - 0x3c], eax
xor eax, eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 4]
call fcn.0040482c
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 8]
call fcn.0040482c
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x44]
push eax
call sub.shell32.dll_ShellExecuteExA
push ebx
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42c339
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404390
ret

Function at 0x42c340
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee8
push ebx
xor edx, edx
mov dword [ebp - 0x118], edx
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x110], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42c439
push dword fs:[eax]
mov dword fs:[eax], esp
push pe_nt_image_headers32
lea eax, [ebp - 0x109]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea eax, [ebp - 4]
push eax
push 0x1a
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x109]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
lea edx, [ebp - 0x110]
lea eax, [ebp - 0x109]
call fcn.004082b4
lea eax, [ebp - 0x110]
mov edx, 0x42c450
call fcn.00404634
mov eax, dword [ebp - 0x110]
call fcn.00407eac
test al, al
jne 0x42c3f8
lea edx, [ebp - 0x114]
lea eax, [ebp - 0x109]
call fcn.004082b4
lea eax, [ebp - 0x114]
mov edx, 0x42c450
call fcn.00404634
mov eax, dword [ebp - 0x114]
call fcn.00407ed0
lea edx, [ebp - 0x118]
lea eax, [ebp - 0x109]
call fcn.004082b4
mov edx, dword [ebp - 0x118]
mov eax, ebx
mov ecx, 0x42c460
call fcn.00404678
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42c440
lea eax, [ebp - 0x118]
mov edx, 3
call fcn.00404390
ret
Function at 0x401030
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push 0xffffffffffffffff
push 0x42752b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc
mov eax, dword [0x434708]
push ebp
push esi
push edi
mov dword [esp + 0xc], eax
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x20]
xor edx, edx
rep stosd dword es:[edi], eax
mov ecx, 0x11
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
xor ecx, ecx
mov edi, str.arp__d
mov dword [esp + 0x10], ecx
lea ebp, [esp + 0x64]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], 0x44
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x1c], ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x28], edx
mov eax, ecx
mov esi, edi
mov edi, ebp
mov dword [esp + 0x4c], 1
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x20]
and ecx, 3
mov word [esp + 0x52], dx
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], edx
push ecx
push eax
push edx
push edx
push 0x4000000
push 1
push edx
lea ecx, [esp + 0x80]
push edx
push ecx
push edx
mov dword [esp + 0x7c], edx
mov word [esp + 0x78], 0xa
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
pop edi
pop esi
test eax, eax
pop ebp
mov dword [esp + 0xc4], 0xffffffff
lea ecx, [esp]
jne 0x40112c
call fcn.0041a7b6
mov eax, 0xfffffff7
mov ecx, dword [esp + 0xbc]
mov dword fs:[0], ecx
add esp, 0xc8
ret
call fcn.0041a7b6
mov ecx, dword [esp + 0xbc]
xor eax, eax
mov dword fs:[0], ecx
add esp, 0xc8
ret

Function at 0x401400
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [0x4340e8]
push esi
mov esi, dword [esp + 0x10]
mov word [0x43668c], ax
inc eax
push edi
mov dword [0x4340e8], eax
mov eax, dword [0x4340ec]
mov word [0x43668e], ax
mov edi, ecx
inc eax
lea ecx, [esi + 0xd]
mov dword [0x4340ec], eax
xor eax, eax
test ecx, ecx
mov byte [0x436688], 8
mov byte [0x436689], 0
mov word [0x43668a], 0
jle 0x40145a
mov dl, al
add dl, 0x20
mov byte [eax + 0x436695], dl
inc eax
cmp eax, ecx
jl 0x40144a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add esi, 8
mov ecx, edi
push esi
push 0x436688
mov dword [0x436691], eax
call fcn.00401570
mov ecx, dword [esp + 0xc]
mov word [0x43668a], ax
mov eax, dword [esp + 0x10]
push 0x10
push eax
push 0
push esi
push 0x436688
push ecx
call sub.WSOCK32.dll_sendto
pop edi
pop esi
ret 0xc

Function at 0x4014a0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, 0x10118
call fcn.0040bd70
mov ecx, dword [esp + 0x10120]
lea eax, [esp]
push eax
mov eax, dword [esp + 0x10120]
push ecx
push 0
lea edx, [esp + 0x10]
push 0x10111
push edx
push eax
mov dword [esp + 0x18], 0x10
call sub.WSOCK32.dll_recvfrom
cmp eax, 0xffffffff
jne 0x401505
push 0
push 0x10
push str.recvfrom__
call fcn.0042186d
mov ecx, dword [esp + 0x10124]
mov dl, byte [esp + 0xc]
mov eax, dword [esp + 0x21]
mov byte [ecx], dl
add esp, 0x10118
ret 0xc
mov eax, dword [esp + 0x10124]
mov cl, byte [esp + 0xc]
mov byte [eax], cl
mov eax, dword [esp + 0x21]
add esp, 0x10118
ret 0xc
Function at 0x401520
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov ecx, dword [esp + 0x110]
lea edx, [esp]
mov dword [esp + 0xc], ecx
push edx
push 0
lea ecx, [esp + 0x10]
mov eax, 1
push 0
push ecx
push eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0
call sub.WSOCK32.dll_select
add esp, 0x10c
ret 4

Function at 0x4015d0
Capabilities:
Create thread

Disassembly:
mov eax, dword [0x434708]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventA]
push esi
mov esi, ecx
push edi
push 0
push 0
lea edi, [esi + 4]
push 1
mov dword [esi + 0xd4], eax
push 0
mov dword [esi], 0x4295c0
mov dword [edi], 0
mov dword [esi + 8], 0
call ebx
push 0
push 0
push 0
push 0
mov dword [esi + 0xc], eax
call ebx
push edi
push 0
push esi
push 0x401690
push 0
push 0
mov dword [esi + 0x10], eax
call fcn.0040bd9f
add esp, 0x18
mov dword [esi + 8], eax
mov eax, esi
pop edi
pop esi
pop ebx
ret

Function at 0x4015dc
Capabilities:
Create thread

Disassembly:
mov eax, dword [0x434708]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventA]
push esi
mov esi, ecx
push edi
push 0
push 0
lea edi, [esi + 4]
push 1
mov dword [esi + 0xd4], eax
push 0
mov dword [esi], 0x4295c0
mov dword [edi], 0
mov dword [esi + 8], 0
call ebx
push 0
push 0
push 0
push 0
mov dword [esi + 0xc], eax
call ebx
push edi
push 0
push esi
push 0x401690
push 0
push 0
mov dword [esi + 0x10], eax
call fcn.0040bd9f
add esp, 0x18
mov dword [esi + 8], eax
mov eax, esi
pop edi
pop esi
pop ebx
ret

Function at 0x402960
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x20
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebp
push esi
mov dword [esp + 0xc], ecx
push edi
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
call ebx
mov ecx, dword [esp + 0x34]
lea ebp, [eax + ecx]
call ebx
cmp eax, ebp
jae 0x4029ac
sub esp, 0x1c
mov ecx, 7
lea esi, [esp + 0x30]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x2c]
call fcn.00402930
call ebx
cmp eax, ebp
jb 0x40298d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4