joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407650
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x4dea9b
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x526a28]
xor eax, esp
mov dword [esp + 0x230], eax
push esi
push edi
mov eax, dword [0x526a28]
xor eax, esp
push eax
lea eax, [esp + 0x240]
mov dword fs:[0], eax
push str.explorer.exe
lea ecx, [esp + 0x10]
call fcn.00408c90
xor edi, edi
push edi
push 2
mov dword [esp + 0x250], edi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [esp + 0x10]
push eax
push esi
mov dword [esp + 0x18], 0x22c
call sub.KERNEL32.dll_Process32FirstW
lea ecx, [ecx]
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x34]
push ecx
push edx
call fcn.0046fdb3
add esp, 8
cmp eax, edi
je 0x4076e7
lea eax, [esp + 0x10]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4076c0
jmp 0x4076eb
mov edi, dword [esp + 0x18]
mov dword [esp + 0x248], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407716
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x240]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.00431c7a
add esp, 0x240
ret

Function at 0x407850
Capabilities:
Set registry value

Disassembly:
sub esp, 0x20c
mov eax, dword [0x526a28]
xor eax, esp
mov dword [esp + 0x208], eax
lea eax, [esp + 4]
push eax
call fcn.00407740
mov ecx, dword [eax]
push ecx
push str._sSoftwareMicrosoftInternet_ExplorerMain
lea edx, [esp + 0x14]
push 0x100
push edx
call fcn.0043368e
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4078a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp]
push ecx
lea edx, [esp + 0xc]
push edx
push reloc.WS2_32.dll_closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4078e7
push 0x100
push esi
push 1
push eax
mov eax, dword [esp + 0x10]
push str.Start_Page
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x4078fe
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.00431c7a
add esp, 0x20c
ret
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x208]
xor ecx, esp
mov eax, 1
call fcn.00431c7a
add esp, 0x20c
ret
Function at 0x407a00
Capabilities:
Get disk information
Set registry value

Disassembly:
sub esp, 0x678
mov eax, dword [0x526a28]
xor eax, esp
mov dword [esp + 0x670], eax
push ebx
push ebp
push edi
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x407bd6
push str.NtCreatePagingFile
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, eax
test ebp, ebp
je 0x407bd6
call fcn.00407930
test eax, eax
je 0x407bd6
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x272]
push ecx
mov word [esp + 0x274], ax
call fcn.004344a0
add esp, 0xc
xor edx, edx
push 0x30
push edx
lea eax, [esp + 0x36]
push eax
mov word [esp + 0x38], dx
call fcn.004344a0
add esp, 0xc
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x6a]
push edx
mov word [esp + 0x6c], cx
call fcn.004344a0
add esp, 0xc
push esi
lea eax, [esp + 0x64]
push 0x104
push eax
call fcn.00432045
add esp, 0xc
push 0x19
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x68]
xor ecx, ecx
push eax
mov word [esp + 0x70], cx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
lea ecx, [esp + 0x66]
push ecx
lea edx, [esp + 0x30]
push edx
push str._s_s
mov eax, 0x104
lea ebx, [esp + 0x274]
call fcn.004051c0
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
add esp, 0xc
mov eax, ebx
push eax
call edi
mov ecx, dword [esp + 0x688]
mov ebx, dword [esp + 0x68c]
xor eax, eax
shl ecx, 0x14
mov edx, ebx
mov dword [esp + 0x1c], eax
shl edx, 0x14
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
lea eax, [esp + 0x268]
lea ecx, [esp + 0x24]
mov dword [esp + 0x10], edx
call fcn.004079c0
push 0
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x30]
push edx
call ebp
lea eax, [esp + 0xc]
push eax
push 0x20006
push 0
push str.SYSTEMCurrentControlSetControlSession_ManagerMemory_Management
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x407bd6
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x47a]
push edx
mov word [esp + 0x47c], cx
call fcn.004344a0
mov eax, dword [esp + 0x694]
add esp, 0xc
push ebx
push eax
push esi
push str._s__d__d
mov eax, 0x104
lea ebx, [esp + 0x480]
call fcn.004051c0
add esp, 0x10
mov ecx, ebx
push ecx
call edi
mov ecx, dword [esp + 0xc]
lea edx, [eax + eax + 2]
push edx
mov eax, ebx
push eax
push 7
push 0
push str.PagingFiles
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x407bf0
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x670]
xor ecx, esp
call fcn.00431c7a
add esp, 0x678
ret
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x67c]
pop edi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.00431c7a
add esp, 0x678
ret
Function at 0x408bb0
Capabilities:
Get mac address on windows

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0
mov dword [esp + 8], 0
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
je 0x408bcd
xor eax, eax
pop ecx
ret
mov ecx, dword [esp]
push edi
push ecx
call fcn.0040b65c
add esp, 4
lea edx, [esp + 4]
mov edi, eax
push edx
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
je 0x408bf9
push edi
call fcn.0040b651
add esp, 4
xor eax, eax
pop edi
pop ecx
ret
push esi
mov esi, edi
test edi, edi
je 0x408c6f
lea eax, [esi + 0x10c]
push 0x5197d8
push eax
call fcn.0046fed0
add esp, 8
test eax, eax
ja 0x408c21
cmp dword [esi + 0x1a0], 0x47
jne 0x408c69
push str.AdapterAddr:
call fcn.00431c89
movzx ecx, byte [esi + 0x199]
movzx edx, byte [esi + 0x198]
movzx eax, byte [esi + 0x197]
push ecx
movzx ecx, byte [esi + 0x196]
push edx
movzx edx, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push ecx
push edx
push eax
push str._02X__02X__02X__02X__02X__02X
push ebx
call fcn.00404780
add esp, 0x24
mov esi, dword [esi]
test esi, esi
jne 0x408c00
push edi
call fcn.0040b651
add esp, 4
pop esi
mov eax, 1
pop edi
pop ecx
ret

Function at 0x409f80
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4de648
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x526a28]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor edi, edi
xor eax, eax
push 0xffffffffffffffff
mov word [esp + 0x14], ax
mov eax, dword [esp + 0x3c]
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
call fcn.004091e0
mov eax, ebx
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x409fd6
sub eax, edx
sar eax, 1
push eax
mov eax, ebx
lea ecx, [esp + 0x10]
call fcn.00409500
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push 0xffffffffffffffff
mov word [esi + 4], cx
push edi
mov ecx, esi
call fcn.004091e0
cmp dword [esp + 0x24], 8
jb 0x40a01f
mov edx, dword [esp + 0x10]
push edx
call fcn.0040b651
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret
Function at 0x40a0d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4de9bb
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x526a28]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
mov dword [esi], vtable.smt::CNTService.0
lea ebx, [esi + 4]
call fcn.0041075a
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40a11c
push 0x80004005
call fcn.00404ef0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
mov eax, 0x518488
mov dword [esp + 0x18], edi
mov dword [0x53c6ec], esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x40a140
sub eax, edx
sar eax, 1
push eax
push 0x518488
mov ecx, ebx
call fcn.00404ce0
mov eax, 1
mov dword [esi + 8], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 0x10
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x40a700
Capabilities:
Initialize winsock library

Disassembly:
push 0xffffffffffffffff
push 0x4de578
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x526a28]
xor eax, esp
mov dword [esp + 0x194], eax
push edi
mov eax, dword [0x526a28]
xor eax, esp
push eax
lea eax, [esp + 0x1a0]
mov dword fs:[0], eax
mov dword [esp + 8], esi
mov dword [esi], vtable.smt::CTFTPClient.0
call fcn.0041075a
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40a75e
push 0x80004005
call fcn.00404ef0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x14], eax
mov dword [esp + 0x1a8], edi
call fcn.0041075a
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40a78e
push 0x80004005
call fcn.00404ef0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x18], eax
mov byte [esp + 0x1a8], 1
call fcn.0041075a
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40a7bf
push 0x80004005
call fcn.00404ef0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x1c], eax
mov byte [esp + 0x1a8], 2
call fcn.0041075a
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40a7f0
push 0x80004005
call fcn.00404ef0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x20], eax
lea ecx, [esi + 0x8058]
mov byte [esp + 0x1a8], 3
call fcn.0041a2dc
lea ecx, [esp + 0xc]
push ecx
push 0x202
mov dword [esi + 0x8090], edi
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0x4004
lea edx, [esi + 0x28]
push edi
push edx
mov dword [esi + 8], edi
mov dword [esi + 0x8050], edi
mov dword [esi + 0x8054], edi
mov dword [esi + 0x8040], edi
call fcn.004344a0
push 0x4004
lea eax, [esi + 0x402c]
push edi
push eax
mov dword [esi + 0x8044], edi
call fcn.004344a0
add esp, 0x18
mov eax, esi
mov ecx, dword [esp + 0x1a0]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.00431c7a
add esp, 0x1a4
ret
Function at 0x40af80
Capabilities:
Create udp socket
Send data
Send data on socket

Disassembly:
sub esp, 0x18
mov eax, dword [0x526a28]
xor eax, esp
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov eax, 2
push 0
push eax
push eax
mov word [esp + 0x10], ax
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 0x8050], eax
cmp eax, 0xffffffff
jne 0x40afd2
xor eax, eax
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00431c7a
add esp, 0x18
ret 4
push 0x10
lea ecx, [esp + 8]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_bind]
push edi
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [esp + 8], eax
cmp eax, 0xffffffff
je 0x40afbf
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [esi + 0x8044]
push 0x10
mov word [esp + 0xa], ax
lea eax, [esp + 8]
push eax
mov eax, dword [esi + 0x8050]
push 0
push ecx
lea edx, [esi + 0x402c]
push edx
push eax
call dword [sym.imp.WS2_32.dll_sendto]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00431c7a
add esp, 0x18
ret 4

Function at 0x40b040
Capabilities:
Connect socket
Receive data
Receive data on socket

Disassembly:
push ecx
cmp dword [esi + 0x8054], 0
mov dword [esp], 0x10
jne 0x40b076
lea eax, [esp]
push eax
mov eax, dword [esi + 0x8050]
lea ecx, [esi + 0x8030]
push ecx
push 0
push 0x4004
lea edx, [esi + 0x28]
push edx
push eax
call dword [sym.imp.WS2_32.dll_recvfrom]
jmp 0x40b08e
mov edx, dword [esi + 0x8050]
push 0
push 0x4004
lea ecx, [esi + 0x28]
push ecx
push edx
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x40b097
xor eax, eax
pop ecx
ret
cmp dword [esi + 0x8054], 0
mov dword [esi + 0x8040], eax
jne 0x40b0cb
mov ecx, dword [esi + 0x8050]
push 0x10
lea eax, [esi + 0x8030]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x40b093
mov dword [esi + 0x8054], 1
mov eax, 1
pop ecx
ret
Function at 0x40b0e0
Capabilities:
Connect socket
Send data
Send data on socket

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
push 0x4004
lea eax, [ebp + 0x402c]
push 0
push eax
call fcn.004344a0
lea ebx, [ebp + 0x28]
lea edi, [ebx + 2]
mov eax, edi
sub eax, ebx
add eax, 0xfffffffe
add esp, 0xc
cmp eax, 0x200
jge 0x40b233
cmp byte [edi], 0
je 0x40b233
cmp eax, 0x200
mov esi, edi
jge 0x40b141
mov eax, 0xfffffffe
sub eax, ebx
nop
cmp byte [esi], 0
je 0x40b141
inc esi
lea ecx, [eax + esi]
cmp ecx, 0x200
jl 0x40b130
inc esi
mov edx, esi
sub edx, ebx
sub edx, 2
cmp edx, 0x200
je 0x40b23f
cmp byte [ebp + 0x10], 1
jne 0x40b1af
push str.tsize
push edi
call fcn.00446f0c
add esp, 8
test eax, eax
jne 0x40b1af
push esi
call fcn.00446f74
add esp, 4
push 4
mov dword [ebp + 0x8078], eax
call dword [sym.imp.WS2_32.dll_htons]
push 0
mov word [ebp + 0x402c], ax
call dword [sym.imp.WS2_32.dll_htons]
push 0
lea ecx, [ebp + 0x402c]
push 4
mov word [ecx + 2], ax
mov eax, dword [ebp + 0x8050]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_send]
push str.blksize
push edi
call fcn.00446f0c
add esp, 8
test eax, eax
jne 0x40b1d0
push esi
call fcn.00446f74
add esp, 4
mov dword [ebp + 0x807c], eax
push str.udpport
push edi
call fcn.00446f0c
add esp, 8
test eax, eax
jne 0x40b20f
push esi
call fcn.00446f74
add esp, 4
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [ebp + 0x8050]
push 0x10
lea ecx, [ebp + 0x8030]
push ecx
push edx
mov word [ebp + 0x8032], ax
call dword [sym.imp.WS2_32.dll_connect]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40b214
sub eax, edx
lea edi, [eax + esi + 1]
mov eax, edi
sub eax, ebx
add eax, 0xfffffffe
cmp eax, 0x200
jl 0x40b116
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 4

Function at 0x40c92d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x40c975
call fcn.004103d2
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40c975
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x40c9b8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x40c9a1
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 0x40c9a1
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x40c9b5
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 0x40dd7b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.004103d2
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40ddb4
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.0040d9c7
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 0x411e5e
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x4dcb15
call fcn.00433fab
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x411e83
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x411ec9
lea ecx, [ebp - 0x10]
call fcn.00404e30
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0042a4a3
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401470
mov eax, esi
call fcn.00434083
ret 8

Function at 0x418224
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x41826b
call fcn.004103d2
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41826b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x418287
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00417d9c
mov esi, eax
test edi, edi
je 0x418285
test ebx, ebx
je 0x418285
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x41b2dc
Capabilities:
Create http request

Disassembly:
mov edi, edi
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]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x41b307
call fcn.004103d2
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_InternetOpenW]
mov dword [esi + 8], eax
test eax, eax
jne 0x41b32a
push eax
push dword [esi + 4]
call fcn.0041b262
push esi
push eax
mov ecx, 0x539670
call fcn.0041af0f
mov eax, esi
pop esi
pop ebp
ret 0x18
Function at 0x431c7a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x526a28]
jne 0x431c84
repz ret
jmp fcn.0043987e

Function at 0x446534
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004391e2
and dword [ebp - 4], 0
cmp dword [0x53a510], 0
mov ebx, eax
jne 0x4465e5
push 0x4e78a4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x446696
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4e7898
push edi
call esi
test eax, eax
je 0x446696
push eax
call fcn.00439170
mov dword [esp], 0x4e7888
push edi
mov dword [0x53a510], eax
call esi
push eax
call fcn.00439170
mov dword [esp], 0x4e7874
push edi
mov dword [0x53a514], eax
call esi
push eax
call fcn.00439170
mov dword [esp], 0x4e7858
push edi
mov dword [0x53a518], eax
call esi
push eax
call fcn.00439170
pop ecx
mov dword [0x53a520], eax
test eax, eax
je 0x4465e5
push 0x4e7840
push edi
call esi
push eax
call fcn.00439170
pop ecx
mov dword [0x53a51c], eax
mov eax, dword [0x53a51c]
cmp eax, ebx
je 0x44663d
cmp dword [0x53a520], ebx
je 0x44663d
push eax
call fcn.004391eb
push dword [0x53a520]
mov esi, eax
call fcn.004391eb
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x44663d
test edi, edi
je 0x44663d
call esi
test eax, eax
je 0x446634
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x446634
test byte [ebp - 0xc], 1
jne 0x44663d
or dword [ebp + 0x10], 0x200000
jmp 0x446676
mov eax, dword [0x53a514]
cmp eax, ebx
je 0x446676
push eax
call fcn.004391eb
pop ecx
test eax, eax
je 0x446676
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x446676
mov eax, dword [0x53a518]
cmp eax, ebx
je 0x446676
push eax
call fcn.004391eb
pop ecx
test eax, eax
je 0x446676
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x53a510]
call fcn.004391eb
pop ecx
test eax, eax
je 0x446696
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x446698
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44c5e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [edi + 0x2c]
push ebp
push esi
mov ebp, dword [edi + 0x3c]
sub ebp, dword [edi + 0x74]
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x2c]
lea edx, [ebx + ecx - 0x106]
sub ebp, eax
cmp eax, edx
jb 0x44c65e
mov eax, dword [edi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.0043ab90
mov edx, dword [edi + 0x4c]
mov eax, dword [edi + 0x44]
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
add esp, 0xc
sub dword [edi + 0x5c], ebx
lea ecx, [eax + edx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebx
jb 0x44c631
sub eax, ebx
jmp 0x44c633
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x44c622
mov ecx, dword [edi + 0x40]
mov edx, ebx
lea ecx, [ecx + ebx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebx
jb 0x44c652
sub eax, ebx
jmp 0x44c654
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x44c643
add ebp, ebx
mov esi, dword [edi]
cmp dword [esi + 4], 0
je 0x44c732
mov edx, dword [edi + 0x74]
add edx, dword [edi + 0x6c]
mov ecx, ebp
add edx, dword [edi + 0x38]
push edx
call fcn.0044c410
add dword [edi + 0x74], eax
mov edx, dword [edi + 0x74]
add esp, 4
cmp edx, 3
jb 0x44c6a9
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x38]
lea esi, [eax + ecx]
movzx eax, byte [esi]
mov ecx, dword [edi + 0x58]
mov dword [edi + 0x48], eax
shl eax, cl
movzx ecx, byte [esi + 1]
xor eax, ecx
and eax, dword [edi + 0x54]
mov dword [edi + 0x48], eax
cmp edx, 0x106
jae 0x44c6bd
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x44c5e6
mov eax, dword [edi + 0x16c0]
mov ecx, dword [edi + 0x3c]
cmp eax, ecx
jae 0x44c732
mov esi, dword [edi + 0x6c]
add esi, edx
cmp eax, esi
jae 0x44c701
sub ecx, esi
mov ebx, ecx
cmp ebx, 0x102
jbe 0x44c6e4
mov ebx, 0x102
mov ecx, dword [edi + 0x38]
push ebx
add ecx, esi
push 0
push ecx
call fcn.004344a0
add esp, 0xc
add ebx, esi
pop esi
pop ebp
mov dword [edi + 0x16c0], ebx
pop ebx
ret
lea edx, [esi + 0x102]
cmp eax, edx
jae 0x44c732
sub esi, eax
add esi, 0x102
sub ecx, eax
cmp esi, ecx
jbe 0x44c71b
mov esi, ecx
mov ecx, dword [edi + 0x38]
push esi
add ecx, eax
push 0
push ecx
call fcn.004344a0
add esp, 0xc
add dword [edi + 0x16c0], esi
pop esi
pop ebp
pop ebx
ret