joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407da0
Capabilities:
Copy file
Create process on windows
Delete file

Disassembly:
sub esp, 0x260
mov eax, dword [0x46b9d8]
xor eax, esp
mov dword [esp + 0x25c], eax
push ebx
push esi
push edi
push 0x207
lea eax, [esp + 0x65]
push 0
push eax
mov byte [esp + 0x6c], 0
call fcn.004381e0
mov edi, dword [esp + 0x284]
push 0x4541f2
push edi
call fcn.00438429
mov esi, dword [esp + 0x288]
mov ebx, dword [esp + 0x284]
add esp, 0x14
test eax, eax
push 0
push esi
jne 0x407e00
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
jmp 0x407e0e
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebp
push 0
push 0x4000000
push 3
push 0
push 1
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 1
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0x44
lea ecx, [esp + 0x24]
push 0
push ecx
mov edi, eax
call fcn.004381e0
push ebx
push edi
xor eax, eax
push esi
lea edx, [esp + 0x7c]
push str._s__d___s_
push edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], 0x44
mov word [esp + 0x70], ax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x20
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0
push 0
push 0
push 1
push 0
push 0
lea edx, [esp + 0x84]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test ebp, ebp
je 0x407eb1
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
pop ebp
je 0x407ebd
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407ed9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
pop ebx
jg 0x407ef8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x26c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407f1b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x25c]
xor ecx, esp
call fcn.00437acc
add esp, 0x260
ret 0xc
Function at 0x407f40
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x158
mov eax, dword [0x46b9d8]
xor eax, esp
mov dword [esp + 0x154], eax
mov eax, dword [0x46a278]
push ebx
lea eax, [eax + eax*4]
push esi
mov esi, dword [esp + 0x164]
add eax, eax
mov ecx, dword [eax + eax + 0x47051c]
mov edx, dword [eax + eax + 0x470518]
add eax, eax
push esi
push ecx
push edx
lea eax, [esp + 0x68]
push str..clientclient.exe__s__s__k_192198425__t_28665689__s
push eax
call fcn.004393a5
push 0x44
lea ecx, [esp + 0x30]
push 0
push ecx
call fcn.004381e0
add esp, 0x20
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x1c]
push eax
push str..client
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x7c]
push ecx
push 0
mov dword [esp + 0x40], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
lea eax, [esi - 0x10]
setne bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x407fe9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x15c]
pop esi
mov al, bl
pop ebx
xor ecx, esp
call fcn.00437acc
add esp, 0x158
ret

Function at 0x408870
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x44f102
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x46b9d8]
xor eax, esp
mov dword [esp + 0x10c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46b9d8]
xor eax, esp
push eax
lea eax, [esp + 0x124]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x134]
xor eax, eax
mov dword [esp + 0x14], eax
push 0x103
push eax
mov dword [esp + 0x134], eax
mov byte [esp + 0x24], al
lea eax, [esp + 0x25]
push eax
mov edi, ecx
mov dword [esp + 0x24], ebp
call fcn.004381e0
mov esi, dword [0x46a23a]
mov ebx, dword [0x46a23e]
push esi
lea ecx, [esp + 0x2c]
push 0x46a242
push ecx
call fcn.004387d0
mov ecx, dword [edi + 0x27e0]
add esp, 0x18
test ecx, ecx
je 0x40898d
push esi
push ebx
lea edx, [esp + 0x24]
push edx
call fcn.00404ee0
call fcn.0041b539
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40892c
push 0x80004005
call fcn.00401010
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp], eax
lea ecx, [esp + 0x1c]
push ecx
push 0x454a2c
push ebp
mov dword [esp + 0x138], 0
mov dword [esp + 0x20], 1
call fcn.004086d0
add esp, 0xc
mov eax, ebp
mov ecx, dword [esp + 0x124]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.00437acc
add esp, 0x11c
ret 8
push 0
push 0x454a28
push 0x454a0c
mov ecx, edi
call fcn.00415d02
push 0xffffffffffffffff
call fcn.004396d7
int3
Function at 0x40e320
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x44fbf3
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46b9d8]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
call fcn.0041c45c
xor ecx, ecx
lea ebp, [esi + 0x10]
mov dword [esi], vtable.CMemDC.0
mov dword [esp + 0x28], ecx
mov dword [ebp + 4], ecx
mov dword [ebp], vtable.CBitmap.0
mov ebx, dword [esp + 0x30]
xor eax, eax
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ecx
cmp dword [ebx + 0xc], ecx
mov byte [esp + 0x28], 1
sete al
cmp eax, ecx
mov dword [esi + 0x30], eax
je 0x40e3f0
mov eax, dword [ebx]
mov edx, dword [eax + 0x50]
lea edi, [esi + 0x20]
push edi
mov ecx, ebx
call edx
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call fcn.0041c96a
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov ecx, dword [edi + 8]
sub ecx, dword [edi]
push eax
mov eax, dword [ebx + 4]
push ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebp
call fcn.0041cc31
test ebp, ebp
je 0x40e3ce
mov ebp, dword [ebp + 4]
mov ecx, dword [esi + 4]
push ebp
push ecx
call fcn.0041ccff
mov edx, dword [esi + 0x24]
mov dword [esi + 0x18], eax
mov eax, dword [edi]
push edx
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call fcn.0041c570
jmp 0x40e402
mov edx, dword [ebx + 0xc]
mov dword [esi + 0xc], edx
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov ecx, dword [ebx + 8]
mov dword [esi + 8], ecx
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
Function at 0x40f9f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x40f9fb
xor eax, eax
ret
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [esp + 0x14]
cmp edi, 8
not esi
jb 0x40faf7
push ebp
mov ebp, edi
shr ebp, 3
jmp 0x40fa20
movzx edx, byte [ecx]
xor edx, esi
and edx, 0xff
add ecx, 1
mov eax, esi
shr eax, 8
xor eax, dword [edx*4 + 0x456a90]
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x456a90]
movzx edx, byte [ecx + 1]
xor edx, eax
and edx, 0xff
add ecx, 1
shr eax, 8
xor eax, dword [edx*4 + 0x456a90]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x456a90]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x456a90]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x456a90]
movzx edx, byte [ecx + 1]
add ecx, 1
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x456a90]
movzx edx, byte [ecx + 1]
add ecx, 1
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x456a90]
add ecx, 1
sub edi, 8
sub ebp, 1
mov esi, eax
jne 0x40fa20
pop ebp
test edi, edi
je 0x40fb1c
jmp 0x40fb00
movzx eax, byte [ecx]
xor eax, esi
and eax, 0xff
shr esi, 8
xor esi, dword [eax*4 + 0x456a90]
add ecx, 1
sub edi, 1
jne 0x40fb00
mov eax, esi
pop edi
not eax
pop esi
ret

Function at 0x40fb30
Capabilities:
Hash data with crc32

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [edx]
movzx ecx, byte [esp + 8]
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x456a90]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
add eax, 1
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x456a90]
mov dword [edx + 8], ecx
ret

Function at 0x4100d0
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
mov edi, dword [esp + 0x1c]
mov esi, ebx
imul esi, dword [esp + 0x18]
cmp byte [edi], 0
je 0x410112
mov ecx, dword [esp + 0x10]
mov edx, dword [edi + 4]
push 0
lea eax, [esp + 0x18]
push eax
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x410106
mov byte [edi + 8], 1
mov eax, dword [esp + 0x14]
pop edi
xor edx, edx
pop esi
div ebx
pop ebx
ret
mov ecx, dword [edi + 0x1c]
mov eax, dword [edi + 0x18]
lea edx, [ecx + esi]
cmp edx, eax
jbe 0x410123
sub eax, ecx
mov esi, eax
mov eax, dword [edi + 0x14]
add eax, ecx
mov ecx, dword [esp + 0x10]
push esi
push eax
push ecx
call fcn.004387d0
add dword [edi + 0x1c], esi
add esp, 0xc
pop edi
mov eax, esi
xor edx, edx
pop esi
div ebx
pop ebx
ret
Function at 0x4110d0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
sub esp, 0x20c
mov eax, dword [0x46b9d8]
xor eax, esp
mov dword [esp + 0x208], eax
push ebp
mov ebp, dword [esp + 0x218]
push edi
mov edi, dword [esp + 0x218]
test edi, edi
je 0x41110d
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41110d
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov al, byte [ebp]
test al, al
je 0x4111cd
push esi
mov esi, ebp
mov ecx, ebp
lea ecx, [ecx]
cmp al, 0x2f
je 0x411128
cmp al, 0x5c
jne 0x41112a
mov esi, ecx
mov al, byte [ecx + 1]
add ecx, 1
test al, al
jne 0x411120
cmp esi, ebp
je 0x411162
sub esi, ebp
push esi
lea eax, [esp + 0x114]
push ebp
push eax
call fcn.004387d0
lea ecx, [esp + 0x11c]
push ecx
push edi
mov byte [esp + esi + 0x124], 0
call fcn.004110d0
add esp, 0x14
test edi, edi
mov byte [esp + 0xc], 0
je 0x41117f
lea edx, [esp + 0xc]
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x411173
mov eax, ebp
mov edx, ebp
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x411183
lea edi, [esp + 0xc]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x411195
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0xc]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
pop esi
jne 0x4111cd
push 0
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [esp + 0x210]
pop edi
pop ebp
xor ecx, esp
call fcn.00437acc
add esp, 0x20c
ret
Function at 0x4129c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push edi
mov edi, dword [esp + 0x14]
xor ebx, ebx
cmp edi, ebx
jne 0x4129da
pop edi
mov eax, 0xffffff9a
pop ebx
add esp, 8
ret
cmp dword [edi + 0x18], ebx
je 0x4129cf
cmp dword [edi + 0x7c], ebx
je 0x4129ed
push edi
call fcn.00410a30
add esp, 4
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
push edi
call fcn.00410850
add esp, 0x10
test eax, eax
je 0x412a14
pop edi
mov eax, 0xffffff99
pop ebx
add esp, 8
ret
push esi
push 0x84
call fcn.00439c29
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x412a55
push 0x4000
call fcn.00439c29
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
add esp, 4
cmp eax, ebx
mov dword [esi], eax
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], ebx
jne 0x412a61
push esi
call fcn.00439df0
add esp, 4
pop esi
pop edi
mov eax, 0xffffff98
pop ebx
add esp, 8
ret
mov dword [esi + 0x40], ebx
mov ecx, dword [edi + 0x3c]
xor eax, eax
cmp dword [edi + 0x34], ebx
mov dword [esi + 0x54], ecx
mov dword [esi + 0x50], ebx
mov edx, dword [edi + 0x34]
sete al
mov dword [esi + 0x64], edx
mov ecx, dword [edi]
mov dword [esi + 0x60], ecx
mov edx, dword [edi + 0xc]
mov dword [esi + 0x68], edx
mov dword [esi + 0x18], ebx
cmp eax, ebx
jne 0x412aad
lea eax, [esi + 4]
push eax
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.0040fde0
add esp, 4
test eax, eax
jne 0x412aad
mov dword [esi + 0x40], 1
mov ecx, dword [edi + 0x40]
mov dword [esi + 0x58], ecx
mov edx, dword [edi + 0x44]
mov dword [esi + 0x5c], edx
mov al, byte [edi + 0x30]
and al, 1
mov byte [esi + 0x6c], al
mov ecx, dword [edi + 0x30]
shr ecx, 3
test cl, 1
je 0x412ad7
mov dl, byte [edi + 0x39]
mov byte [esi + 0x80], dl
jmp 0x412ae0
mov al, byte [edi + 0x3f]
mov byte [esi + 0x80], al
mov cl, byte [esi + 0x6c]
neg cl
push ebp
mov ebp, dword [esp + 0x20]
lea ebx, [esi + 0x70]
mov dword [ebx], 0x12345678
mov dword [esi + 0x74], 0x23456789
mov dword [esi + 0x78], 0x34567890
sbb ecx, ecx
and ecx, 0xc
test ebp, ebp
mov dword [esi + 0x7c], ecx
je 0x412b27
lea ecx, [ecx]
movzx eax, byte [ebp]
test al, al
je 0x412b27
push eax
push ebx
call fcn.0040fb30
add esp, 8
add ebp, 1
jne 0x412b10
mov edx, dword [edi + 0x78]
mov eax, dword [esp + 0x14]
lea ecx, [edx + eax + 0x1e]
pop ebp
mov dword [esi + 0x3c], ecx
mov dword [esi + 8], 0
mov dword [edi + 0x7c], esi
pop esi
pop edi
xor eax, eax
pop ebx
add esp, 8
ret
Function at 0x413e21
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0041c18d
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x413e58
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.00413a43
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x41847c
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x4184b5
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0041845b
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004077f0
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x41a1e1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x41a224
call fcn.0041c18d
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x41a224
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41a23f
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00419d98
test ebx, ebx
mov esi, eax
je 0x41a23d
test edi, edi
je 0x41a23d
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x422843
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x422889
call fcn.0041c18d
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x422889
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x4228cc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x4228b5
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x4228b5
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x4228c9
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x423164
Capabilities:
Receive data
Receive data on socket

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_recv]
ret 0xc

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

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_send]
ret 0xc

Function at 0x423221
Capabilities:
Connect socket

Disassembly:
push dword [esp + 8]
push dword [esp + 8]
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_connect]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret 8

Function at 0x4288ea
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 0x428918
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x428936
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00428854
jmp 0x428936
mov eax, dword [esi + 0x14]
test eax, eax
je 0x428936
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00428854
test edi, edi
mov eax, edi
jne 0x428920
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x478a10]
test ecx, ecx
je 0x4289f9
jmp 0x4288e9
ret 8

Function at 0x437acc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46b9d8]
jne 0x437ad6
repz ret
jmp fcn.0043eb9f

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

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x4384c4
call fcn.0043ab7d
mov dword [eax], esi
call fcn.0043ab6a
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0043de9f
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x4384a0
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4384f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0043ab90
pop ecx
call fcn.0043ab6a
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x43851a
test al, 1
je 0x43851a
test byte [esp + 0xc], 2
je 0x43851a
call fcn.0043ab7d
mov dword [eax], 5
call fcn.0043ab6a
mov dword [eax], 0xd
jmp 0x4384ea
xor eax, eax
pop esi
ret
Function at 0x44b6dc
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0043faf0
xor ebx, ebx
cmp dword [0x47975c], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x44b7b1
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x44b71c
xor eax, eax
jmp 0x44b875
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x45da04
push edi
call esi
cmp eax, ebx
je 0x44b715
push eax
call fcn.0043fa8d
mov dword [esp], 0x45d9f4
push edi
mov dword [0x47975c], eax
call esi
push eax
call fcn.0043fa8d
mov dword [esp], 0x45d9e0
push edi
mov dword [0x479760], eax
call esi
push eax
call fcn.0043fa8d
mov dword [0x479764], eax
lea eax, [ebp - 8]
push eax
call fcn.00439504
test eax, eax
pop ecx
pop ecx
je 0x44b77f
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043dda3
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x44b7b1
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0043fa8d
cmp eax, ebx
pop ecx
mov dword [0x47976c], eax
je 0x44b7b1
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0043fa8d
pop ecx
mov dword [0x479768], eax
mov eax, dword [0x479768]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x44b82a
cmp dword [0x47976c], esi
je 0x44b82a
push eax
call fcn.0043faf9
pop ecx
call eax
cmp eax, ebx
je 0x44b7f7
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x47976c]
call fcn.0043faf9
pop ecx
call eax
test eax, eax
je 0x44b7f7
test byte [ebp - 0x18], 1
jne 0x44b82a
lea eax, [ebp - 0xc]
push eax
call fcn.0043953b
test eax, eax
pop ecx
je 0x44b812
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043dda3
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x44b821
or dword [ebp + 0x10], 0x200000
jmp 0x44b85b
or dword [ebp + 0x10], 0x40000
jmp 0x44b85b
mov eax, dword [0x479760]
cmp eax, esi
je 0x44b85b
push eax
call fcn.0043faf9
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x44b85b
mov eax, dword [0x479764]
cmp eax, esi
je 0x44b85b
push dword [ebp - 4]
push eax
call fcn.0043faf9
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x47975c]
call fcn.0043faf9
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44e608
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x46b9d8]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0044e59d
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.004381e0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x44e657
cmp dword [ebp - 0x1c], 5
jb 0x44e66f
jmp 0x44e66b
cmp dword [ebp - 0x10], 1
jne 0x44e66f
cmp dword [ebp - 0x1c], 4
ja 0x44e66b
jne 0x44e66f
cmp dword [ebp - 0x18], 0
jbe 0x44e66f
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x45da48
call fcn.0044e471
test eax, eax
jge 0x44e690
mov byte [0x476e60], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00437acc
add ebp, 0x78
leave
ret