joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419350
Capabilities:
Query or enumerate registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
mov edx, ecx
jne 0x419361
xor eax, eax
pop esi
ret 0x10
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push edi
mov ecx, dword [ebx]
xor eax, eax
mov ebp, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebp
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [edx + 4]
mov edx, dword [edx + 8]
lea ecx, [esp + 0x18]
push ecx
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4193cc
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
push ebx
push esi
push edx
push eax
mov eax, dword [esp + 0x24]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4193cc
mov edx, dword [esp + 0x18]
mov esi, 1
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebp
mov eax, esi
pop ebx
pop esi
ret 0x10
mov edx, dword [esp + 0x18]
xor esi, esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebp
mov eax, esi
pop ebx
pop esi
ret 0x10

Function at 0x419470
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0x10]
cmp esi, 0x400
jbe 0x419482
mov esi, 0x400
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
lea edx, [esp + 0x10]
push edx
push 2
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4194dd
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 8]
push esi
push eax
mov eax, dword [esp + 0x18]
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x4194dd
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
ret 0x10
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
ret 0x10

Function at 0x419bc0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
lea edx, [esp]
mov dword [esp + 8], 4
push edx
push 1
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x419c0b
lea eax, [esp + 8]
lea ecx, [esp + 4]
push eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 8]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x419c13
mov edx, dword [esp + 0x18]
mov dword [esp + 4], edx
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 4]
add esp, 0x10
ret 8
Function at 0x419ee0
Capabilities:
Persist via run registry key

Disassembly:
push 0xffffffffffffffff
push 0x461798
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionRun
mov esi, ecx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00419220
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x419f22
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 8
push eax
lea ecx, [esp + 8]
call fcn.0044f087
lea ecx, [esp + 4]
mov dword [esp + 0x10], 0
call fcn.0044d116
lea ecx, [esp + 4]
call fcn.0044d062
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x18]
push eax
push ecx
mov ecx, esi
call fcn.00419430
lea ecx, [esp + 4]
mov esi, eax
mov dword [esp + 0x10], 0xffffffff
call fcn.0044f019
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x41a100
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov esi, ecx
push str.iphlpapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [esi + 0xc], eax
jne 0x41a127
push eax
push 0x47b650
call fcn.004172f0
add esp, 8
xor eax, eax
pop esi
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetIpNetTable
push eax
call edi
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0xc]
push str.GetIpAddrTable
push eax
call edi
mov ecx, dword [esi + 0xc]
push str.SendARP
push ecx
mov dword [esi + 0x18], eax
call edi
mov edx, dword [esi + 0xc]
push str.CreateIpNetEntry
push edx
mov dword [esi + 0x1c], eax
call edi
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0xc]
push str.GetBestRoute
push eax
call edi
mov ecx, dword [esi + 0xc]
push str.GetAdaptersInfo
push ecx
mov dword [esi + 0x24], eax
call edi
mov edx, dword [esi + 0xc]
push str.DeleteIpNetEntry
push edx
mov dword [esi + 0x28], eax
call edi
mov dword [esi + 0x2c], eax
pop edi
mov eax, 1
pop esi
ret
Function at 0x420ce0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
push eax
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x420d0e
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x420d21
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x420d35
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
mov edx, dword [esp + 0x1c]
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x420d66
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10
lea eax, [esp + 0x18]
push 0
push eax
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
push esi
jne 0x420d92
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x10

Function at 0x4222b0
Capabilities:
Create thread

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
lea eax, [esp + 8]
push eax
push 0
push ecx
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret
Function at 0x423b30
Capabilities:
Access peb ldr_data
Get local ipv4 addresses
Get socket information

Disassembly:
push 0xffffffffffffffff
push 0x462588
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
mov ebx, dword [esp + 0x7c]
push esi
mov esi, ecx
push edi
mov ecx, 0xf
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x44]
call fcn.0041a010
lea ecx, [esp + 0x44]
mov dword [esp + 0x7c], 0
call fcn.0041a070
lea eax, [ebx + 0x28]
lea ecx, [esp + 0x44]
push eax
call fcn.0041a680
test eax, eax
jne 0x423bae
lea ecx, [esp + 0x44]
mov dword [esp + 0x7c], 0xffffffff
call fcn.0041a060
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
add esp, 0x74
ret 4
mov eax, dword [esi + 0x30]
lea ecx, [esp + 0x84]
lea edx, [esp + 0xc]
push ecx
push edx
push eax
mov dword [esp + 0x90], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push ecx
push edx
mov ecx, 0x485218
call fcn.0041a970
mov ecx, 0xa
lea esi, [esp + 0x1c]
mov edi, ebx
mov dword [esp + 0x7c], 0xffffffff
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x44]
call fcn.0041a060
mov ecx, dword [esp + 0x74]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x74
ret 4

Function at 0x426d70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x462c1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
push 0
lea edi, [esi + 0xc]
mov dword [esp + 0xc], esi
mov ecx, edi
call fcn.0042b026
mov dword [edi], vtable.CCriticalSection.0
add edi, 8
push edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0xbb80
push 0x47d068
mov dword [esp + 0x1c], 0
mov dword [esi], 0x466e2c
mov dword [esi + 4], 0
call fcn.004198c0
push 0x2774
push 0x47d060
mov dword [esi + 0x2c], eax
call fcn.004198c0
add esp, 0x10
mov ecx, esi
mov dword [esi + 0x30], eax
call fcn.00426f10
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x438bc9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x47e9d8
cmp edx, dword [eax]
je 0x438beb
add eax, 8
inc ecx
cmp eax, 0x47ea68
jl 0x438bdc
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x47e9d8]
jne 0x438d19
mov eax, dword [0x488eec]
cmp eax, 1
je 0x438cf3
test eax, eax
jne 0x438c1c
cmp dword [0x47e2b8], 1
je 0x438cf3
cmp edx, 0xfc
je 0x438d19
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x438c53
lea eax, [ebp - 0x1a4]
push 0x46a270
push eax
call fcn.0043b0b0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00437dd0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x438c96
lea eax, [ebp - 0x1a4]
push eax
call fcn.00437dd0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x46a26c
push edi
call fcn.00433800
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x46a250
push eax
call fcn.0043b0b0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0043b0c0
lea eax, [ebp - 0xa0]
push 0x479480
push eax
call fcn.0043b0c0
push dword [esi + 0x47e9dc]
lea eax, [ebp - 0xa0]
push eax
call fcn.0043b0c0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x46a228
push eax
call fcn.0043c5ad
add esp, 0x2c
pop edi
jmp 0x438d19
lea eax, [ebp + 8]
lea esi, [esi + 0x47e9dc]
push 0
push eax
push dword [esi]
call fcn.00437dd0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x43f1d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46440e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0044f59f
xor edi, edi
mov dword [esi + 0x38], vtable.CFont.0
mov dword [esp + 0x28], edi
mov dword [esi + 0x3c], edi
mov eax, dword [0x47d208]
lea ebx, [esi + 0x44]
mov dword [ebx], eax
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x10]
push ecx
push edx
mov byte [esp + 0x30], 2
mov dword [esi], 0x46ad30
call dword [sym.imp.USER32.dll_CopyRect]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
lea eax, [esi + 0x24]
mov dword [esi + 0x34], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x1c], edi
mov dword [eax], ecx
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x64], edi
mov dword [eax + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + 8], ecx
xor ecx, ecx
mov dword [eax + 0xc], edx
xor eax, eax
mov dword [esi + 0x5c], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 0x60], ecx
push eax
mov ecx, ebx
call fcn.0044f1a2
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
or eax, 0xffffffff
mov dword [esi + 0x54], ecx
mov ecx, esi
mov dword [esi + 0x50], eax
mov dword [esi + 0x40], 1
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x58], edx
mov dword [esi + 0x1c], edi
mov dword [esi + 0x68], eax
call fcn.0045cc8e
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
Function at 0x4411e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x464638
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
lea ecx, [esp + 0x14]
call fcn.004550d2
xor ebx, ebx
push ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x18]
call fcn.00455189
lea eax, [esp + 0x10]
lea ecx, [esp + 4]
push eax
mov eax, dword [esp + 0x38]
lea edx, [esp + 0xc]
push ecx
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call fcn.00441090
add esp, 0x14
test eax, eax
jne 0x441269
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00455207
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x14]
mov ecx, dword [esp + 8]
push ebp
neg eax
sbb eax, eax
push edi
and eax, edx
push ebx
lea edx, [esp + 0x18]
push ebx
push edx
push ebx
push ecx
push eax
mov dword [esp + 0x2c], ebx
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov edi, dword [esp + 0x14]
mov ebp, eax
cmp edi, ebx
je 0x4412b7
cmp ebp, ebx
je 0x4412b7
mov ecx, dword [esp + 0x18]
push esi
mov esi, dword [esp + 0x10]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x4412cc
push eax
call fcn.0043263e
add esp, 4
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4412e1
push eax
call fcn.0043263e
add esp, 4
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xffffffff
call fcn.00455207
mov ecx, dword [esp + 0x2c]
mov eax, ebp
pop edi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x444610
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
cmp dword [esi + 0x14], ebp
je 0x44462c
mov ecx, dword [esi + 0x10]
xor eax, eax
pop edi
cmp ecx, ebp
pop esi
pop ebp
setne al
pop ebx
ret
push 0x467c6c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, eax
cmp edi, ebp
je 0x44469a
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x467c58
push edi
call ebx
cmp eax, ebp
mov dword [esi], eax
je 0x44469a
push 0x467c44
push edi
call ebx
cmp eax, ebp
mov dword [esi + 4], eax
je 0x44469a
push 0x467c34
push edi
call ebx
cmp eax, ebp
mov dword [esi + 8], eax
je 0x44469a
push 0x467c20
push edi
call ebx
cmp eax, ebp
mov dword [esi + 0xc], eax
je 0x44469a
push 0x467bfc
push edi
call ebx
cmp eax, ebp
mov dword [esi + 0x10], eax
je 0x44469a
mov eax, 1
pop edi
mov dword [esi + 0x14], eax
pop esi
pop ebp
pop ebx
ret
mov dword [esi], ebp
mov dword [esi + 4], ebp
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebp
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], 1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x444780
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x464b58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.0044f59f
or eax, 0xffffffff
xor edx, edx
mov dword [esi + 0x20], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x54], eax
lea edi, [esi + 0x14c]
mov ecx, 0x3a
mov dword [esi], method.COleControlContainer.virtual_0
mov dword [esi + 0x60], edx
mov dword [esi + 0x5c], edx
mov dword [esi + 0x238], 4
mov dword [esi + 0x234], edx
push edx
rep stosd dword es:[edi], eax
mov ecx, esi
mov dword [esp + 0x18], edx
call fcn.00445480
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x44a7a0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00432cf0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x44a86b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x44a86b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x44a81e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x44a829
or bh, 8
and edi, 0x8000000
je 0x44a844
mov eax, dword [0x48aa7c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x44a86b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44ac40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x44ac6b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x44ac8f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x44acaa
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x44fc2f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x44fc51
cmp dword [edi + 0x3c], 0
jne 0x44fc51
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.00459c86
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.0044fc7e
pop edi
pop esi
pop ebx
ret 8

Function at 0x452912
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 0x452954
call fcn.00459c86
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x452954
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x45294b
xor eax, eax
jmp 0x45295c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00452962
pop edi
pop esi
pop ebx
ret 4

Function at 0x45895a
Capabilities:
Create http request

Disassembly:
mov eax, 0x463978
call fcn.00433900
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0xc]
and dword [ebp - 4], 0
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 0x458992
call fcn.00459c86
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 0x4589b7
push eax
push dword [esi + 4]
call fcn.0045959a
jmp 0x4589c3
push esi
push eax
mov ecx, 0x488b90
call fcn.004589d4
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18

Function at 0x458c85
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
mov eax, 0x4639d7
call fcn.00433900
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00454ba0
mov eax, dword [ebp + 0x18]
lea ebx, [esi + 0x24]
mov dword [esi + 0x1c], eax
mov eax, dword [0x47d208]
xor edi, edi
mov dword [ebx], eax
mov dword [ebp - 4], edi
push dword [ebp + 0x10]
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 1
mov dword [esi], vtable.CInternetFile.0
call fcn.0044f1a2
push dword [ebp + 0x14]
mov ecx, ebx
call fcn.0044f1a2
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x18
Function at 0x45b17d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x45b22d
mov ecx, 0x488e80
call fcn.0045ad90
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, eax
cmp word [esi + 8], 0
jne 0x45b20b
push 0x467da0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
mov dword [ebp + 0xc], eax
je 0x45b1e9
mov ecx, dword [ebp + 0x10]
push 5
neg ecx
sbb ecx, ecx
and ecx, 0xe
add ecx, 0x3ee
movzx ecx, cx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x45b1e9
push ebx
push edi
push eax
call fcn.00454986
add esp, 0xc
mov eax, dword [edi]
mov eax, dword [eax - 8]
inc eax
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esi + 4], eax
push dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ax, word [ebx]
mov word [esi + 8], ax
push dword [esi + 4]
mov ecx, edi
call fcn.0044f1a2
mov si, word [esi + 8]
xor eax, eax
mov word [ebx], si
cmp si, 0xffff
pop edi
pop esi
setne al
pop ebx
pop ebp
ret 0xc

Function at 0x45dee6
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 sub.WS2_32.dll_recv
ret 0xc

Function at 0x45defd
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 sub.WS2_32.dll_send
ret 0xc