joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410f40
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x5708f0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x5d4d80]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
push esi
push edi
mov eax, dword [0x5d4d80]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x1d4]
mov eax, dword [eax - 0xc]
lea ebx, [edi + 0x1d4]
test eax, eax
je 0x411101
lea esi, [esp + 0x1c]
call fcn.0040cb30
push ebx
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x3c], 0
call fcn.00402740
add esp, 0xc
mov bl, 2
mov byte [esp + 0x30], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or esi, 0xffffffff
lea edx, [eax + 0xc]
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x410fd2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [edi + 0x178]
cmp dword [ecx - 0xc], 0
jne 0x41104d
cmp dword [edi + 0x17c], 0
jne 0x4110e0
push 0
push 0x40
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.adobenotice
mov dword [edi + 0x17c], 1
call fcn.00403630
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x40], 3
call fcn.0041b560
mov ecx, eax
mov byte [esp + 0x40], bl
call fcn.0041bec0
mov byte [esp + 0x38], 4
mov eax, dword [eax]
push eax
call fcn.00458e60
mov byte [esp + 0x30], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x4110d4
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push 0x5a7be4
push edx
call fcn.0040ff30
add esp, 0xc
push 0x5a7be0
push eax
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x3c], 5
call fcn.0040a8e0
add esp, 0xc
mov byte [esp + 0x30], 7
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4110a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
mov edi, dword [edi + 0x178]
push 5
push 0
push ecx
push edi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [esp + 0x30], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4110e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x30], esi
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x411101
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0053d842
add esp, 0x24
ret
Function at 0x4113e0
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x57185b
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x5d4d80]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push esi
push edi
mov eax, dword [0x5d4d80]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
mov edi, dword [esi + 0x10]
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], esi
cmp dword [esi + 0xc], edi
jbe 0x41143a
call fcn.0053e0a6
mov ebx, dword [esi + 0xc]
mov ecx, dword [esi]
mov dword [esp + 0x14], ecx
cmp ebx, dword [esi + 0x10]
jbe 0x41144d
call fcn.0053e0a6
mov edx, dword [esp + 0x14]
mov eax, dword [esi]
push edi
push edx
push ebx
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00414ae0
push 0x80
lea ecx, [esp + 0x48]
push ecx
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x4115b6
lea eax, [esp + 0x44]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x411480
mov ecx, dword [esp + 0x10]
sub eax, edx
push eax
lea edx, [esp + 0x48]
push edx
call fcn.004030f0
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [esp + 0x14], eax
test eax, eax
je 0x4115b2
mov dword [esp + 0x10], 0
jmp 0x4114c0
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 0x10]
cmp dword [edx + ecx], 0
lea eax, [edx + ecx]
je 0x4115b2
mov eax, dword [eax]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov ebx, eax
push ebx
push 0x5ddf88
call fcn.00408e20
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00416360
mov edx, dword [esi]
mov eax, dword [edx + 4]
add eax, esi
xor edi, edi
test byte [eax + 8], 6
jne 0x41151d
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x41151d
lea edi, [eax + 5]
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
xor esi, esi
cmp edi, esi
je 0x41153e
mov eax, dword [ecx + 8]
or eax, edi
cmp dword [ecx + 0x28], esi
jne 0x411537
or eax, 4
push esi
push eax
call fcn.00409310
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], esi
mov byte [esp + 0x24], 0
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov eax, ebx
mov dword [esp + 0xd8], esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x411563
sub eax, edx
push eax
push ebx
lea ecx, [esp + 0x28]
call fcn.004030f0
mov edi, dword [esp + 0x1c]
lea edx, [esp + 0x20]
push edx
call fcn.00414670
mov dword [esp + 0xd8], 0xffffffff
cmp dword [esp + 0x38], 0x10
jb 0x4115a4
mov eax, dword [esp + 0x24]
push eax
call fcn.00427143
add esp, 4
add dword [esp + 0x10], 4
mov eax, dword [esp + 0x14]
jmp 0x4114c0
mov al, 1
jmp 0x4115b8
xor al, al
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.0053d842
mov esp, ebp
pop ebp
ret 4
Function at 0x418050
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x57038b
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x5d4d80]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
push esi
mov eax, dword [0x5d4d80]
xor eax, esp
push eax
lea eax, [esp + 0x21c]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, 1
push 0x5a7188
lea ecx, [esp + 0x10]
mov dword [esp + 0x228], ebx
call fcn.00403630
mov byte [esp + 0x224], 2
mov esi, dword [esi]
mov eax, dword [esi - 0xc]
test eax, eax
jne 0x418141
mov byte [esp + 0x224], bl
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4180e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x224], 0
mov eax, dword [esp + 0x22c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41810c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x224], 0xffffffff
mov eax, dword [esp + 0x230]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41813a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x418251
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x1a]
push edx
mov word [esp + 0x1c], cx
call fcn.00542b10
mov ecx, dword [esp + 0x23c]
mov edx, dword [esp + 0x238]
add esp, 0xc
push esi
push 0x104
lea eax, [esp + 0x18]
push eax
push 0x5a7188
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x10]
lea edx, [eax + 2]
jmp 0x418190
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418190
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
call fcn.004039f0
mov eax, dword [esp + 0xc]
cmp dword [eax - 0xc], 0
jne 0x4181c4
mov byte [esp + 0x224], bl
jmp 0x4180c5
push eax
call fcn.0053e7d2
mov esi, eax
mov byte [esp + 0x228], bl
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4181f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x224], 0
mov eax, dword [esp + 0x22c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418221
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x224], 0xffffffff
mov eax, dword [esp + 0x230]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41824f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x21c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.0053d842
add esp, 0x21c
ret 8
Function at 0x41a340
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x56e61b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5d4d80]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0055e911
push 4
mov dword [esp + 0x24], 0
call fcn.00427114
mov edi, eax
add esp, 4
test edi, edi
je 0x41a3c2
call fcn.0055ed61
mov dword [edi], eax
call fcn.0055eb8f
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.0055eab3
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x41a3b7
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.0055eadb
jmp 0x41a3c4
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x420220
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, dword [esp + 8]
test esi, esi
je 0x42026e
test edi, edi
je 0x42026e
cmp dword [ebp + 0x54], 0
je 0x42026e
xor ecx, ecx
test edi, edi
jle 0x42026e
push ebx
lea ebx, [ebx]
mov bl, byte [ecx + esi]
mov eax, 0x80808081
mul ecx
shr edx, 7
imul edx, edx, 0xff
dec bl
ror bl, 3
mov byte [ecx + esi], bl
mov eax, dword [ebp + 0x54]
sub eax, edx
mov dl, byte [eax + ecx]
xor dl, bl
mov byte [ecx + esi], dl
inc ecx
cmp ecx, edi
jl 0x420240
pop ebx
pop ebp
ret 4
Function at 0x424300
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jne 0x424355
cmp byte [ebp + 0x2c], bl
jne 0x42434c
mov byte [ebp + 0x2c], 1
mov dword [ebp + 0x30], 2
mov ebx, dword [str.Failed_to_open_file]
mov eax, ebx
lea edx, [eax + 1]
jmp 0x424330
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x424330
sub eax, edx
lea edi, [ebp + 0x34]
mov esi, eax
call fcn.00422fb0
or eax, 0xffffffff
mov dword [ebp + 0x40], eax
mov dword [ebp + 0x3c], eax
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret 4
mov esi, dword [ebp + 0x18]
cmp esi, ebx
je 0x424371
lea esp, [esp]
mov ecx, esi
mov eax, dword [ecx]
mov edx, dword [eax]
mov esi, dword [esi + 0x28]
push 1
call edx
cmp esi, ebx
jne 0x424360
push 2
or eax, 0xffffffff
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x1c], ebx
push ebx
push edi
mov dword [ebp + 8], eax
mov dword [ebp + 4], eax
call fcn.00540622
push edi
call fcn.00542140
push 0
push 0
push edi
mov ebx, eax
call fcn.00540622
add esp, 0x1c
test ebx, ebx
jg 0x4243cc
cmp byte [ebp + 0x2c], 0
jne 0x42434c
mov byte [ebp + 0x2c], 1
mov dword [ebp + 0x30], 0xc
mov ebx, dword [str.Error_document_empty.]
mov eax, ebx
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4243c0
jmp 0x424337
lea eax, [ebx + 1]
push eax
call fcn.00427114
push edi
mov esi, eax
push 1
push ebx
push esi
mov dword [esp + 0x28], esi
mov byte [esi], 0
call fcn.00541e6a
add esp, 0x14
cmp eax, 1
je 0x42442c
push esi
call fcn.00427143
add esp, 4
cmp byte [ebp + 0x2c], 0
jne 0x42434c
mov byte [ebp + 0x2c], 1
mov dword [ebp + 0x30], 2
mov ebx, dword [str.Failed_to_open_file]
mov eax, ebx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x424420
jmp 0x424337
mov eax, dword [esp + 0x14]
add ebx, eax
mov byte [ebx], 0
cmp byte [eax], 0
mov edi, esi
je 0x4244ac
lea esp, [esp]
cmp esi, ebx
jb 0x42445b
push 0x423
push str.._tiny_xml_tinyxml.cpp
push str.p____buflength_
call fcn.0053e7fb
add esp, 0xc
cmp edi, ebx
jbe 0x424476
push 0x424
push str.._tiny_xml_tinyxml.cpp
push str.q____buflength_
call fcn.0053e7fb
add esp, 0xc
cmp edi, esi
jbe 0x424491
push 0x425
push str.._tiny_xml_tinyxml.cpp
push str.q___p
call fcn.0053e7fb
add esp, 0xc
mov al, byte [esi]
cmp al, 0xd
jne 0x4244a3
mov byte [edi], 0xa
inc esi
inc edi
cmp byte [esi], 0xa
jne 0x4244a7
jmp 0x4244a6
mov byte [edi], al
inc edi
inc esi
cmp byte [esi], 0
jne 0x424440
cmp edi, ebx
jbe 0x4244c7
push 0x432
push str.._tiny_xml_tinyxml.cpp
push str.q____buflength_
call fcn.0053e7fb
add esp, 0xc
mov eax, dword [esp + 0x14]
push 0
mov byte [edi], 0
mov edx, dword [ebp]
mov edx, dword [edx + 8]
push 0
push eax
mov ecx, ebp
call edx
mov eax, dword [esp + 0x14]
push eax
call fcn.00427143
add esp, 4
pop edi
xor eax, eax
cmp byte [ebp + 0x2c], al
pop esi
pop ebp
sete al
pop ebx
ret 4
Function at 0x428825
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.00434891
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 0x42885e
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.00428471
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 0x4288bc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x4288e0
cmp dword [edi + 0x54], 0
jne 0x4288e0
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00434891
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0042887d
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x42fbeb
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 0x42fc32
call fcn.00434891
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42fc32
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x42fc4e
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0042f763
mov esi, eax
test edi, edi
je 0x42fc4c
test ebx, ebx
je 0x42fc4c
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x430464
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x56c916
call fcn.005426ed
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x430489
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x4304cf
lea ecx, [ebp - 0x10]
call fcn.00403740
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.00427309
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.00403b40
mov eax, esi
call fcn.005427c5
ret 8
Function at 0x437e14
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
cmp dword [0x5d9cf0], 0
mov dword [ebp - 4], ecx
jne 0x437e2a
xor eax, eax
jmp 0x437e64
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x437e3a
call fcn.00434891
mov esi, dword [eax + 0xc]
push edi
push dword [0x5d9b2c]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x437e60
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x437e68
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 0x437e86
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x437e62
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.00437d36
mov esi, eax
jmp 0x437e78
Function at 0x446743
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [ebp + 0xc], 0x20
push ebx
mov ebx, ecx
jne 0x446794
lea eax, [ebp - 0x18]
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x18]
add eax, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
add eax, 0x17
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
mov ecx, ebx
call fcn.00445e98
mov ecx, ebx
call fcn.00446635
push 2
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
xor eax, eax
jmp 0x4467ea
xor eax, eax
cmp dword [ebx + 0x2e4], eax
jne 0x4467af
cmp dword [ebp + 0xc], 0x79
je 0x4467aa
cmp dword [ebp + 0xc], 0x12
jne 0x4467ea
xor eax, eax
inc eax
jmp 0x4467ea
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x11
call esi
movzx edi, ax
shr edi, 0xf
push 0x10
and edi, 1
call esi
mov esi, dword [ebp + 0xc]
shr eax, 0xf
and eax, 1
cmp esi, 0x12
je 0x4467ef
cmp esi, 0x79
je 0x4467ef
push 2
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x5da690], 0
jne 0x4467e6
test byte [ebx + 0x2f4], 2
jne 0x4467e6
cmp esi, 0x12
je 0x446813
cmp esi, 0x79
jne 0x4467e6
test edi, edi
jne 0x4467e6
test eax, eax
jne 0x4467e6
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.0042c707
cmp eax, ebx
jne 0x446836
test dword [ebp + 0x10], 0x40000000
jne 0x446836
cmp esi, 0x79
jne 0x446844
mov ecx, dword [ebp + 8]
jmp 0x44683d
cmp esi, 0x79
jne 0x446844
mov ecx, ebx
call fcn.0042ff41
jmp 0x44685f
cmp dword [ebx + 0x2a0], 0
jge 0x44685f
push 0
push 0xc8
push 2
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SetTimer]
xor eax, eax
inc eax
jmp 0x4467e8
Function at 0x450da4
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 0x450ee5
push esi
push edi
push 0x58629c
call fcn.0049484b
mov edi, eax
neg edi
sbb edi, edi
inc edi
cmp dword [ebp + 8], 0
je 0x450e34
mov esi, dword [ebx + 0x168]
jmp 0x450e20
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 0x450e20
push edi
call fcn.0042c707
push eax
push 0x5d2194
call fcn.00494869
pop ecx
pop ecx
test eax, eax
je 0x450e20
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x178]
test eax, eax
jle 0x450e20
push 4
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
test esi, esi
jne 0x450de0
lea ecx, [ebx + 0x164]
call fcn.0044a274
jmp 0x450ee3
mov eax, dword [ebx + 0xcc]
mov dword [ebp - 8], eax
test eax, eax
je 0x450ee3
jmp 0x450e4a
mov ebx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
lea ecx, [ebx + 0xc8]
call fcn.0042a503
mov esi, dword [eax]
test esi, esi
jne 0x450e63
xor ebx, ebx
jmp 0x450e66
mov ebx, dword [esi + 0x20]
push ebx
mov dword [ebp + 8], ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x450ed9
push ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x450ed9
test edi, edi
je 0x450eab
push esi
push 0x5d2194
call fcn.00494869
mov edx, dword [eax]
pop ecx
pop ecx
mov ecx, eax
call dword [edx + 0x180]
push eax
push 0x58ef30
call fcn.00494869
pop ecx
pop ecx
test eax, eax
je 0x450ed9
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.0045035b
test eax, eax
jne 0x450ed9
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.004502c6
cmp dword [ebp - 8], 0
jne 0x450e47
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x45c723
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.0043a53b
pop ecx
mov dword [esi + 0x48], eax
cmp eax, edi
je 0x45c7de
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.0045c2d6
jmp 0x45c7f3
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