joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401610
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [eax - 0xd4]
sub esp, 8
push ebx
push esi
push edi
push ecx
lea ecx, [esp + 0x10]
call fcn.0040a90a
mov esi, dword [esp + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov edi, 0x100
cmp dword [esi + 4], edi
jne 0x401665
push 0x74
call ebx
test ax, ax
jge 0x401665
cmp dword [esp + 0x10], 0
je 0x40165a
mov edx, dword [esp + 0xc]
push edx
push 0
call fcn.00409f40
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret 0x10
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4016dd
cmp dword [esi + 4], edi
jne 0x4016dd
push 0x4f
call ebx
test ax, ax
jl 0x401647
cmp dword [esi + 4], edi
jne 0x4016dd
push 0x50
call ebx
test ax, ax
jge 0x4016b1
cmp dword [esp + 0x10], 0
je 0x4016a6
mov eax, dword [esp + 0xc]
push eax
push 0
call fcn.00409f40
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret 0x10
cmp dword [esi + 4], edi
jne 0x4016dd
push 0x4e
call ebx
test ax, ax
jge 0x4016dd
cmp dword [esp + 0x10], 0
je 0x4016d2
mov ecx, dword [esp + 0xc]
push ecx
push 0
call fcn.00409f40
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret 0x10
cmp dword [esp + 0x10], 0
je 0x4016f0
mov edx, dword [esp + 0xc]
push edx
push 0
call fcn.00409f40
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 8
ret 0x10

Function at 0x401810
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401829
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401864
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401860
lea ebx, [ebx]
cmp esi, eax
jae 0x401864
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401850
cmp esi, eax
jb 0x40186a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x402110
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, word [esp + 4]
mov dword [esp + 4], edx
jmp fcn.0040eded
Function at 0x402930
Capabilities:
Extract resource via kernel32 functions
Get common file path
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x528ee0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x572608]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
call fcn.0040bd24
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x402971
push 0x80004005
call fcn.00401b90
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x18], edi
mov dword [esp + 0x28], 0
call fcn.0040bd24
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4029a3
push 0x80004005
call fcn.00401b90
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov ecx, 1
mov byte [esp + 0x28], cl
mov eax, dword [edi - 8]
sub ecx, dword [edi - 4]
sub eax, 0x12c
or eax, ecx
jge 0x4029dd
push 0x12c
lea ecx, [esp + 0x1c]
call fcn.00401ae0
mov edi, dword [esp + 0x18]
push edi
push 0x12c
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push edi
lea ecx, [esp + 0x18]
push str._sMyCert.cer
push ecx
call fcn.00403070
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
je 0x402a86
push 0x552268
push 0x84
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebp, eax
test ebp, ebp
je 0x402a86
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebp
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x402a86
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
test ebp, ebp
je 0x402a86
mov edx, dword [esp + 0x14]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
test esi, esi
je 0x402a86
push 0
lea eax, [esp + 0x20]
push eax
push ebx
push ebp
push esi
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esp + 0x28], 0
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 0x402aab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402acf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x402e50
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x528f3d
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
push esi
push edi
mov eax, dword [0x572608]
xor eax, esp
push eax
lea eax, [esp + 0x108]
mov dword fs:[0], eax
mov esi, ecx
push str.VPNClient_01
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edi, eax
test edi, edi
je 0x402f50
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x402ec7
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [esp + 0x108]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 4
call fcn.00415a54
test eax, eax
je 0x402eda
mov dword [eax], vtable.CCustomOccManager.0
jmp 0x402edc
xor eax, eax
push eax
call fcn.004188b4
add esp, 4
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, esi
call fcn.00416877
call fcn.00402af0
push 0x552384
mov ecx, esi
call fcn.00418d87
lea ecx, [esp + 0x14]
push ecx
call fcn.004030c0
lea edx, [esp + 0x14]
mov dword [esp + 0x110], 0
mov ecx, edx
mov dword [esi + 0x20], edx
call fcn.0040eb5d
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x114], 0xffffffff
call fcn.00402f70
xor eax, eax
mov ecx, dword [esp + 0x108]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40dfa8
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x528808
call fcn.00504594
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x40dfcd
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x40e013
lea ecx, [ebp - 0x10]
call fcn.00403090
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.0040adce
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401be0
mov eax, esi
call fcn.0050466c
ret 8

Function at 0x40ed56
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.0040a8be
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40ed8f
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.0040e9a7
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 0x414ee1
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 0x414f28
call fcn.0040a8be
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x414f28
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x414f44
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00414a5b
mov esi, eax
test edi, edi
je 0x414f42
test ebx, ebx
je 0x414f42
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x416702
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [0x572608]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x11c], eax
mov esi, ecx
lea eax, [ebp - 0x120]
jne 0x4167a0
push 0x52d504
push 4
push eax
call fcn.00505d26
push eax
call fcn.0040ad3f
add esp, 0x10
push ebx
push edi
call fcn.00504f8e
mov edi, dword [eax]
call fcn.00504f8e
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x11c]
lea eax, [ebp - 0x118]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.00505947
add esp, 0x18
mov dword [ebp - 0x11c], eax
call fcn.00504f8e
cmp dword [eax], ebx
je 0x4167b7
call fcn.00504f8e
push dword [eax]
call fcn.00403963
pop ecx
jmp 0x4167be
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x416748
jmp 0x416845
call fcn.00504f8e
mov dword [eax], edi
cmp dword [ebp - 0x11c], 0xffffffff
je 0x416841
cmp dword [ebp - 0x11c], esi
jae 0x416841
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x15c]
push ebx
push eax
mov dword [ebp - 0x160], 0x40
call fcn.005046a0
add esp, 0xc
push str.KERNEL32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, ebx
je 0x416830
push str.FindActCtxSectionStringA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x416830
lea ecx, [ebp - 0x160]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x416830
push ebx
push ebx
push esi
jmp 0x416839
push ebx
push ebx
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
jmp 0x416843
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00501d3b
leave
ret
Function at 0x4184a4
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 0x4184ec
call fcn.0040a8be
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4184ec
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x41852f
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 0x418518
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 0x418518
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x41852c
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 0x42465b
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x572608]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push edi
mov edi, dword [ebp + 8]
lea eax, [edi - 0x60]
mov ebx, 0x8000
cmp eax, 9
ja 0x424694
push 0x12
call esi
mov ecx, ebx
test cx, ax
je 0x4246bb
cmp dword [0x5762a8], 0
jne 0x4246bb
lea eax, [edi - 0x41]
cmp eax, 0x19
jbe 0x4246ae
push 0x12
call esi
test bx, ax
je 0x4246b2
mov eax, edi
jmp 0x424726
push edi
call fcn.00506cab
pop ecx
jmp 0x424726
and dword [ebp - 0x10c], 0
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
call fcn.00419cce
push dword [eax + 0x30]
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 1
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push eax
push edi
call dword [sym.imp.USER32.dll_ToAsciiEx]
mov al, byte [ebp - 0x10c]
mov byte [ebp - 0x108], al
lea eax, [ebp - 0x108]
push eax
mov byte [ebp - 0x107], 0
call dword [sym.imp.USER32.dll_CharUpperA]
movsx eax, byte [ebp - 0x108]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00501d3b
leave
ret 4
Function at 0x434826
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
movzx ebx, word [ebp + 8]
push esi
push edi
mov edi, ecx
test ebx, ebx
jne 0x434840
call fcn.0040bb2e
call fcn.0040a8be
mov esi, dword [eax + 0xc]
push 0xf1
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
jne 0x434860
xor eax, eax
jmp 0x43497b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x434859
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x434859
movzx eax, word [esi + 6]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00403754
pop ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x43483b
cmp dword [ebp + 0x10], 0
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
push ecx
push eax
lea ebx, [ecx + 6]
lea edx, [eax + 6]
push ebx
push edx
je 0x4348bd
mov ecx, edi
call fcn.0042d228
jmp 0x4348c2
call fcn.0042d112
mov eax, dword [ebp + 0xc]
xor ebx, ebx
inc ebx
cmp dword [eax + 4], 0
jne 0x4348d4
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
cmp dword [edi + 0xbe0], 0
jne 0x4348ef
push dword [ebp + 0x10]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x310]
test eax, eax
je 0x434967
mov eax, dword [edi + 0xad0]
mov dword [ebp + 0xc], eax
xor eax, eax
xor ebx, ebx
cmp ax, word [esi + 6]
jae 0x43493e
lea eax, [esi + 8]
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp - 4]
movzx eax, word [eax]
mov ecx, dword [ebp - 8]
mov dword [ecx + ebx*4], eax
jne 0x434931
test eax, eax
jbe 0x434931
push eax
mov ecx, 0x56f484
call fcn.00487813
mov ecx, dword [ebp + 0xc]
inc dword [ebp + 0xc]
mov dword [eax], ecx
movzx eax, word [esi + 6]
add dword [ebp - 4], 2
inc ebx
cmp ebx, eax
jl 0x434908
mov eax, dword [ebp + 8]
mov dword [edi + 0xbe0], eax
movzx ecx, word [esi + 6]
mov eax, dword [edi]
push 1
push ecx
push dword [ebp - 8]
mov ecx, edi
call dword [eax + 0x318]
mov ebx, eax
test ebx, ebx
jne 0x434967
and dword [edi + 0xbe0], eax
push dword [ebp - 8]
call fcn.00403783
pop ecx
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x43a37e
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, ecx
mov ecx, dword [ebx + 0xe4]
mov dword [ebp - 4], ebx
test ecx, ecx
je 0x43a4bf
push esi
push edi
push 0x531ad0
call fcn.0041c3c8
mov edi, eax
neg edi
sbb edi, edi
inc edi
cmp dword [ebp + 8], 0
je 0x43a40e
mov esi, dword [ebx + 0x168]
jmp 0x43a3fa
mov eax, esi
mov edi, dword [eax + 8]
mov esi, dword [esi]
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43a3fa
push edi
call fcn.00411bb7
push eax
push 0x56feb0
call fcn.0041c3e6
pop ecx
pop ecx
test eax, eax
je 0x43a3fa
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x178]
test eax, eax
jle 0x43a3fa
push 4
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
test esi, esi
jne 0x43a3ba
lea ecx, [ebx + 0x164]
call fcn.0043f942
jmp 0x43a4bd
mov eax, dword [ebx + 0xcc]
mov dword [ebp - 8], eax
test eax, eax
je 0x43a4bd
jmp 0x43a424
mov ebx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
lea ecx, [ebx + 0xc8]
call fcn.00417256
mov esi, dword [eax]
test esi, esi
jne 0x43a43d
xor ebx, ebx
jmp 0x43a440
mov ebx, dword [esi + 0x20]
push ebx
mov dword [ebp + 8], ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43a4b3
push ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x43a4b3
test edi, edi
je 0x43a485
push esi
push 0x56feb0
call fcn.0041c3e6
mov edx, dword [eax]
pop ecx
pop ecx
mov ecx, eax
call dword [edx + 0x180]
push eax
push 0x53aebc
call fcn.0041c3e6
pop ecx
pop ecx
test eax, eax
je 0x43a4b3
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [ebp - 4]
push 0
lea eax, [ebp + 8]
add esi, 0x164
push eax
mov ecx, esi
call fcn.00439935
test eax, eax
jne 0x43a4b3
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.00439864
cmp dword [ebp - 8], 0
jne 0x43a421
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x43ea7e
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x572608]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x10c], esi
mov dword [ebp - 0x108], esi
call fcn.0043e53e
mov ebx, eax
cmp ebx, esi
je 0x43eaeb
lea ecx, [ebp - 0x10c]
call fcn.00419025
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00501d3b
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x43eb09
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x10c]
call fcn.0043ea7e
cmp eax, esi
jne 0x43eb50
lea eax, [ebp - 0x11c]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push esi
push dword [ebp - 0x10c]
mov dword [ebp - 0x110], 0x100
call ebx
test eax, eax
je 0x43eaf3
lea ecx, [ebp - 0x10c]
call fcn.00419025
push dword [ebp - 0x114]
mov ecx, edi
call fcn.0043e4df
lea ecx, [ebp - 0x10c]
mov esi, eax
call fcn.00419025
mov eax, esi
jmp 0x43eada
Function at 0x4420eb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
cmp dword [0x576010], 0
mov dword [ebp - 4], ecx
jne 0x442101
xor eax, eax
jmp 0x44213b
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x442111
call fcn.0040a8be
mov esi, dword [eax + 0xc]
push edi
push dword [0x576d90]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x442137
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x44213f
xor eax, eax
pop edi
pop esi
leave
ret 8
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x44215d
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x442139
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.0044200c
mov esi, eax
jmp 0x44214f
Function at 0x443a63
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0x54
mov eax, 0x51ebd9
call fcn.005045c7
mov esi, ecx
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], ebx
call fcn.0041b952
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.0041b13d
push ebx
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.0041bbbb
mov edi, vtable.CBitmap.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], edi
push dword [esi + 0x54]
lea eax, [ebp - 0x60]
push dword [esi + 0x50]
lea ecx, [ebp - 0x20]
push eax
mov byte [ebp - 4], 3
call fcn.00421c10
cmp eax, ebx
jne 0x443afa
push 0xffffffffffffffff
push ebx
push 0x3e8a
call fcn.0041ac66
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], edi
call fcn.00408d6c
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.0041b8aa
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.0041b9a6
xor eax, eax
call fcn.0050466c
ret 4
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0041bd32
mov ecx, dword [esi + 0x50]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x54]
mov dword [ebp - 0x40], eax
push 0x575f2c
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x44], ecx
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
call fcn.0041b0eb
push ebx
push ecx
push ecx
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x18], esp
push eax
mov ecx, esi
call fcn.004416ce
push 0xff
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0x3c]
push ebx
push ebx
push eax
mov ecx, esi
call fcn.00442efd
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.0043fcf1
push dword [ebp - 0x14]
lea ecx, [ebp - 0x3c]
call fcn.0041bd32
call fcn.0040e54f
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x443abd
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x443bac
push 0xffffffffffffffff
push ebx
push 0x3e8a
call fcn.0041ac66
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x443aca
lea ecx, [ebp - 0x20]
call fcn.0041bb29
push eax
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
cmp eax, ebx
jne 0x443bce
push 0xffffffffffffffff
push ebx
push 0x3e8a
call fcn.0041ac66
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], edi
call fcn.00408d6c
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.0041b8aa
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.0041b9a6
xor eax, eax
inc eax
jmp 0x443af2
Function at 0x44e270
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push esi
mov esi, ecx
push edi
xor edi, edi
push str.UxTheme.dll
mov dword [esi], vtable.CMFCBaseVisualManager.0
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
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 dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
call fcn.0046ccbf
pop ecx
mov dword [esi + 0x48], eax
cmp eax, edi
je 0x44e32b
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.OpenThemeData
push eax
call edi
push str.CloseThemeData
push dword [esi + 0x48]
mov dword [esi + 0x4c], eax
call edi
push str.DrawThemeBackground
push dword [esi + 0x48]
mov dword [esi + 0x50], eax
call edi
push str.GetThemeColor
push dword [esi + 0x48]
mov dword [esi + 0x54], eax
call edi
push str.GetThemeSysColor
push dword [esi + 0x48]
mov dword [esi + 0x58], eax
call edi
push str.GetCurrentThemeName
push dword [esi + 0x48]
mov dword [esi + 0x5c], eax
call edi
push str.GetWindowTheme
push dword [esi + 0x48]
mov dword [esi + 0x60], eax
call edi
mov ecx, esi
mov dword [esi + 0x64], eax
call fcn.0044dd34
jmp 0x44e340
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
pop edi
mov eax, esi
pop esi
ret