joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4071f0
Capabilities:
Create process on windows
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4348e0
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x443d44]
xor eax, esp
mov dword [esp + 0x148], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x443d44]
xor eax, esp
push eax
lea eax, [esp + 0x160]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
push 0x104
lea eax, [esp + 0x59]
push ebx
mov dword [esp + 0x170], 1
push eax
mov byte [esp + 0x60], bl
call fcn.00420c40
add esp, 0xc
push 0x105
lea ecx, [esp + 0x58]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x18]
call fcn.004023a0
push 0x38
lea eax, [esp + 0x20]
push ebx
push eax
call fcn.00420c40
mov edi, dword [esp + 0x17c]
mov ebp, dword [esp + 0x180]
add esp, 0xc
neg esi
sbb esi, esi
lea ecx, [esp + 0x18]
and esi, 5
push ecx
mov dword [esp + 0x1c], 0x3c
mov dword [esp + 0x20], 0x40
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov eax, dword [esp + 0x50]
cmp eax, ebx
je 0x4072e7
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407307
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x168], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40732a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x168], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407351
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x160]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x148]
xor ecx, esp
call fcn.0041e674
add esp, 0x158
ret 8
Function at 0x408660
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x434118
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push edi
mov eax, dword [0x443d44]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov eax, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push eax
call edi
push eax
call fcn.0041404e
push eax
lea ecx, [esp + 0x30]
call fcn.00417897
lea ecx, [esp + 0xc]
mov dword [esp + 0x4c], 0
mov edx, dword [esi + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x1c]
push edx
push eax
call edi
push eax
call fcn.0041404e
mov ecx, eax
call fcn.004176a0
cmp dword [esi + 0x120], 0
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
jne 0x408781
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0x11c]
call fcn.00417804
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
push eax
push ecx
push edx
lea edi, [esi + 0x12c]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call fcn.00417a3c
test edi, edi
je 0x40873b
mov edi, dword [edi + 4]
mov eax, dword [esi + 0x120]
push edi
push eax
call fcn.00417ac1
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0xc]
push 0xcc0020
push edx
mov edx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x134], eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
push edx
push eax
mov eax, dword [esi + 0x120]
push ecx
push 0
push 0
push eax
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
sub eax, dword [esp + 0x10]
sub ecx, dword [esp + 0xc]
lea edx, [esi + 0x11c]
test edx, edx
je 0x40879e
mov edx, dword [edx + 4]
push 0xcc0020
push 0
push 0
push edx
push eax
push ecx
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 4]
push 0
push 0
push edx
call ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c], 0xffffffff
call fcn.004178eb
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x44
ret 4
Function at 0x4096a0
Capabilities:
Enumerate gui resources

Disassembly:
sub esp, 0x31c
mov eax, dword [0x443d44]
xor eax, esp
mov dword [esp + 0x318], eax
push 0x310
lea eax, [esp + 0xc]
push 0
push eax
call fcn.00420c40
mov ecx, dword [esp + 0x32c]
mov eax, 0x43ad34
add esp, 0xc
mov dword [esp + 4], ecx
lea edx, [eax + 1]
jmp 0x4096e0
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4096e0
sub eax, edx
je 0x409704
push 0x43ad34
lea edx, [esp + 0xc]
push 0x104
push edx
call fcn.0041f4ad
add esp, 0xc
mov eax, 0x43ad34
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x409710
sub eax, edx
je 0x409737
push 0x43ad34
lea eax, [esp + 0x110]
push 0x104
push eax
call fcn.0041f4ad
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 0x4093d0
mov dword [esp + 0x31c], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [esp + 0x318]
mov eax, dword [esp + 0x314]
xor ecx, esp
call fcn.0041e674
add esp, 0x31c
ret

Function at 0x409b00
Capabilities:
Enumerate gui resources

Disassembly:
sub esp, 0x31c
mov eax, dword [0x443d44]
xor eax, esp
mov dword [esp + 0x318], eax
push ebp
mov ebp, dword [esp + 0x324]
push 0x310
lea eax, [esp + 0x10]
push 0
push eax
mov dword [esp + 0x14], 0
call fcn.00420c40
mov eax, esi
add esp, 0xc
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x409b40
sub eax, edx
je 0x409b60
push esi
lea ecx, [esp + 0x10]
push 0x104
push ecx
call fcn.0041f4ad
add esp, 0xc
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x409b65
sub eax, edx
je 0x409b88
push edi
lea edx, [esp + 0x114]
push 0x104
push edx
call fcn.0041f4ad
add esp, 0xc
mov eax, ebp
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x409b90
sub eax, edx
je 0x409bb3
push ebp
lea eax, [esp + 0x218]
push 0x104
push eax
call fcn.0041f4ad
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push 0x409770
mov dword [esp + 0x320], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [esp + 0x31c]
mov eax, dword [esp + 8]
pop ebp
xor ecx, esp
call fcn.0041e674
add esp, 0x31c
ret
Function at 0x40b560
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4340b8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x443d44]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
push 0
push 0
push 0
push 0
push 1
push 0
lea ecx, [esp + 0x34]
call fcn.00419097
mov eax, dword [esp + 0x40]
push 0
push 0
push 0x800002
push 1
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x4c], 0
call fcn.00419cd1
mov esi, eax
or ebx, 0xffffffff
cmp esi, ebx
je 0x40b6b1
mov edx, dword [esi]
mov eax, dword [edx + 0x30]
mov ecx, esi
call eax
mov edi, eax
add edi, edi
cmp edi, ebx
je 0x40b6b1
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
jne 0x40b5fa
mov dword [esp + 0x38], 0xffffffff
jmp 0x40b6be
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x40b5ed
mov edx, dword [esi]
push edi
push eax
mov eax, dword [edx + 0x34]
mov ecx, esi
call eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [esi]
mov eax, dword [edx + 0x4c]
mov ecx, esi
call eax
lea ecx, [esp + 0x1c]
call fcn.004196fa
lea ecx, [esp + 0x10]
push ecx
push 1
push ebx
mov dword [esp + 0x1c], 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push 0x43a9d0
push 1
push edi
push eax
mov dword [esp + 0x28], 0
call dword [sym.imp.OLEAUT32.dll_OleCreatePictureIndirect]
test eax, eax
jl 0x40b5ed
cmp dword [esp + 0x14], 0
je 0x40b5ed
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0041985b
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
lea ecx, [esp + 0x1c]
call fcn.004196fa
mov dword [esp + 0x38], ebx
lea ecx, [esp + 0x1c]
call fcn.0041985b
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
Function at 0x40bde0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret

Function at 0x40be00
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x443d44]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
push edi
push 0x124
xor ebx, ebx
lea eax, [esp + 0x18]
push ebx
push eax
call fcn.00420c40
add esp, 0xc
push ebx
push 2
mov dword [esp + 0x18], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x40be7e
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40be67
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.0041e674
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x10]
push ecx
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
mov edi, dword [ebp + 8]
je 0x40beb8
lea edx, [esp + 0x34]
push edx
push edi
call fcn.0041eb54
add esp, 8
test eax, eax
je 0x40beb3
lea eax, [esp + 0x10]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x40be90
jmp 0x40beb8
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bedb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.0041e674
mov esp, ebp
pop ebp
ret

Function at 0x40bf00
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x130
mov eax, dword [0x443d44]
xor eax, esp
mov dword [esp + 0x12c], eax
push esi
push edi
push 0x124
xor edi, edi
lea eax, [esp + 0x10]
push edi
push eax
call fcn.00420c40
add esp, 0xc
push edi
push 2
mov dword [esp + 0x10], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x40bf5e
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.0041e674
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 8]
push ecx
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x40bf8c
lea ecx, [ecx]
cmp ebx, dword [esp + 0x10]
je 0x40bf87
lea edx, [esp + 8]
push edx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x40bf70
jmp 0x40bf8c
mov edi, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x134]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.0041e674
mov esp, ebp
pop ebp
ret
Function at 0x40c4c0
Capabilities:
Create thread
Enumerate process modules

Disassembly:
push ebp
lea ebp, [esp - 0x228]
sub esp, 0x228
push 0xfffffffffffffffe
push 0x43f888
push 0x4206b0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x443d44]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x224], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov edi, ecx
push 0x220
xor esi, esi
push esi
lea eax, [ebp + 4]
push eax
call fcn.00420c40
add esp, 0xc
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp], 0x224
mov ecx, dword [ebp + 0x230]
push ecx
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40c540
xor eax, eax
jmp 0x40c623
lea edx, [ebp]
push edx
push ebx
call sub.KERNEL32.dll_Module32First
cmp eax, esi
je 0x40c595
mov edi, edi
lea ecx, [ebp + 0x120]
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40c578
test dl, dl
je 0x40c574
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40c578
add eax, 2
add ecx, 2
test dl, dl
jne 0x40c558
xor eax, eax
jmp 0x40c57d
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
jne 0x40c587
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x24], eax
lea ecx, [ebp]
push ecx
push ebx
call sub.KERNEL32.dll_Module32Next
cmp eax, esi
jne 0x40c550
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x24], esi
je 0x40c539
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
push 0x43bbe8
push str.Kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
cmp ebx, esi
je 0x40c539
mov dword [ebp - 4], esi
mov edx, dword [ebp + 0x230]
push edx
push esi
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
mov dword [ebp - 0x1c], edi
test edi, edi
je 0x40c614
push 0
push 0
mov eax, dword [ebp - 0x24]
push eax
push ebx
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov esi, eax
mov dword [ebp - 0x20], esi
test esi, esi
je 0x40c614
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x28], 1
mov dword [ebp - 4], 0xfffffffe
call fcn.0040c64e
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x224]
xor ecx, ebp
call fcn.0041e674
add ebp, 0x228
mov esp, ebp
pop ebp
ret

Function at 0x40dc16
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 0x40dc2e
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 0x40dcd6
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 0x4150e5
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x41511e
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.0040ce57
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00407620
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x41675c
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x43ad34
mov ecx, edi
call fcn.004024a0
cmp dword [esi + 0x4c], 0
push dword [esp + 0xc]
jne 0x4167af
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x4167c2
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.0040ce57
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, edi
call fcn.00407620
jmp 0x4167c2
mov ecx, esi
call fcn.00416f70
test eax, eax
je 0x4167c2
push edi
mov ecx, eax
call fcn.004150e5
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
pop edi
pop esi
ret 8

Function at 0x416dac
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 0x416def
call fcn.00411b20
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x416def
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x416e0a
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00416963
test ebx, ebx
mov esi, eax
je 0x416e08
test edi, edi
je 0x416e08
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x419097
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x4190c0
call fcn.00411b20
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x4190e3
push eax
push dword [esi + 4]
call fcn.00419022
push esi
push eax
mov ecx, 0x446e6c
call fcn.00418cc2
mov eax, esi
pop esi
pop ebp
ret 0x18
Function at 0x419ae8
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x433ca6
call fcn.00420542
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x20]
mov edi, dword [ebp + 8]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push edi
call fcn.00419aaa
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
mov dword [esi], vtable.CHttpConnection.0
call fcn.004027d0
push dword [esi + 8]
mov edi, dword [edi + 8]
push dword [ebp + 0x10]
mov byte [ebp - 4], 1
push 3
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
test eax, eax
mov dword [esi + 4], eax
jne 0x419b4f
push eax
push dword [esi + 8]
call fcn.00419022
push dword [esi + 0xc]
mov ecx, 0x446e6c
push eax
call fcn.00418cc2
mov eax, esi
call fcn.004205e1
ret 0x1c

Function at 0x41a94d
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 0x41a97b
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41a999
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0041a8b7
jmp 0x41a999
mov eax, dword [esi + 0x14]
test eax, eax
je 0x41a999
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0041a8b7
test edi, edi
mov eax, edi
jne 0x41a983
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x446f08]
test ecx, ecx
je 0x41aa5c
jmp 0x41a94c
ret 8

Function at 0x41d45c
Capabilities:
Read file on windows

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x41d465
xor eax, eax
jmp 0x41d4ce
cmp dword [esp + 8], 0
jne 0x41d471
call fcn.0040cced
push edi
push dword [esi + 0x10]
push dword [esp + 0x14]
push 1
push dword [esp + 0x18]
call fcn.00423c2c
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x41d4ac
push dword [esi + 0x10]
call fcn.00423971
test eax, eax
pop ecx
jne 0x41d4ac
mov esi, dword [esi + 0xc]
call fcn.004208ca
push esi
push dword [eax]
push 1
call fcn.0041c1e0
push dword [esi + 0x10]
call fcn.004239a0
test eax, eax
pop ecx
je 0x41d4cb
push dword [esi + 0x10]
call fcn.004238c5
push eax
call fcn.0040c130
pop ecx
pop ecx
jmp 0x41d49a
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x41d4d7
Capabilities:
Write file on windows

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, ecx
jne 0x41d4e1
call fcn.0040cced
push dword [esi + 0x10]
push dword [esp + 0x10]
push 1
push dword [esp + 0x14]
call fcn.00423d61
add esp, 0x10
cmp eax, dword [esp + 0xc]
je 0x41d50e
mov esi, dword [esi + 0xc]
call fcn.004208ca
push esi
push dword [eax]
push 1
call fcn.0041c1e0
pop esi
ret 8

Function at 0x41e674
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x443d44]
jne 0x41e67e
repz ret
jmp fcn.004245a3
Function at 0x42ea4a
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00426531
xor ebx, ebx
cmp dword [0x447bc8], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x42eb1f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x42ea8a
xor eax, eax
jmp 0x42ebe3
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4398f4
push edi
call esi
cmp eax, ebx
je 0x42ea83
push eax
call fcn.004264ce
mov dword [esp], 0x4398e4
push edi
mov dword [0x447bc8], eax
call esi
push eax
call fcn.004264ce
mov dword [esp], 0x4398d0
push edi
mov dword [0x447bcc], eax
call esi
push eax
call fcn.004264ce
mov dword [0x447bd0], eax
lea eax, [ebp - 8]
push eax
call fcn.004209a4
test eax, eax
pop ecx
pop ecx
je 0x42eaed
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004246b1
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x42eb1f
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004264ce
cmp eax, ebx
pop ecx
mov dword [0x447bd8], eax
je 0x42eb1f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004264ce
pop ecx
mov dword [0x447bd4], eax
mov eax, dword [0x447bd4]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x42eb98
cmp dword [0x447bd8], esi
je 0x42eb98
push eax
call fcn.0042653a
pop ecx
call eax
cmp eax, ebx
je 0x42eb65
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x447bd8]
call fcn.0042653a
pop ecx
call eax
test eax, eax
je 0x42eb65
test byte [ebp - 0x18], 1
jne 0x42eb98
lea eax, [ebp - 0xc]
push eax
call fcn.004209db
test eax, eax
pop ecx
je 0x42eb80
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004246b1
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x42eb8f
or dword [ebp + 0x10], 0x200000
jmp 0x42ebc9
or dword [ebp + 0x10], 0x40000
jmp 0x42ebc9
mov eax, dword [0x447bcc]
cmp eax, esi
je 0x42ebc9
push eax
call fcn.0042653a
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x42ebc9
mov eax, dword [0x447bd0]
cmp eax, esi
je 0x42ebc9
push dword [ebp - 4]
push eax
call fcn.0042653a
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 [0x447bc8]
call fcn.0042653a
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x433140
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x443d44]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.004330d5
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.00420c40
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 0x43318f
cmp dword [ebp - 0x1c], 5
jb 0x4331a7
jmp 0x4331a3
cmp dword [ebp - 0x10], 1
jne 0x4331a7
cmp dword [ebp - 0x1c], 4
ja 0x4331a3
jne 0x4331a7
cmp dword [ebp - 0x18], 0
jbe 0x4331a7
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x43aa10
call fcn.00432fa9
test eax, eax
jge 0x4331c8
mov byte [0x447ca5], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041e674
add ebp, 0x78
leave
ret