joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426330
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push edi
call fcn.00451b96
mov eax, dword [eax + 4]
push 0
push 4
push 0
push 0
add eax, 0xd0
push eax
push 0x40e480
call fcn.004586a2
mov dword [esi + 0xc0], eax
mov dword [eax + 0x28], 0
mov eax, dword [esi + 0xc0]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ebx, dword [sym.imp.USER32.dll_PeekMessageW]
jmp 0x426380
mov edx, dword [esi + 0xc0]
push 0x4ff
push 0xa
push 0
add edx, 0x2c
push edx
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
mov edi, eax
mov eax, dword [esi + 0xc0]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp edi, 0x102
jne 0x4263c7
mov edx, dword [esi + 0xc0]
mov eax, dword [edx + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x426380
mov ecx, dword [esi + 0xc0]
mov edx, dword [ecx + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp edi, 1
jne 0x42641b
push edi
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call ebx
test eax, eax
je 0x426380
lea ecx, [ecx]
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call ebx
test eax, eax
jne 0x4263f0
jmp 0x426380
mov edx, dword [esi + 0xc0]
xor ebx, ebx
lea ecx, [ebp - 4]
mov dword [ebp - 4], ebx
mov eax, dword [edx + 0x2c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov ecx, dword [esi + 0xc0]
mov edi, dword [ebp - 4]
cmp ecx, ebx
je 0x426450
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [esi + 0xc0], ebx
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x426460
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push edi
test esi, esi
jne 0x42646f
xor edi, edi
jmp 0x426472
mov edi, dword [esi + 0x20]
call fcn.00451b96
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 4]
mov edx, dword [ebp + 0xc]
push ecx
add eax, 0x13c
mov ecx, edi
call fcn.004174a0
call fcn.00451b96
mov eax, dword [eax + 4]
push 0
push 4
push 0
push 0
add eax, 0x13c
push eax
push 0x416910
call fcn.004586a2
mov dword [esi + 0xd8], eax
test eax, eax
je 0x42657c
mov dword [eax + 0x28], 0
mov edx, dword [esi + 0xd8]
mov eax, dword [edx + 0x2c]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ebx, dword [sym.imp.USER32.dll_PeekMessageW]
lea esp, [esp]
mov ecx, dword [esi + 0xd8]
push 0x4ff
push 0xa
push 0
add ecx, 0x2c
push ecx
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
mov edx, dword [esi + 0xd8]
mov edi, eax
mov eax, dword [edx + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp edi, 0x102
jne 0x426527
mov ecx, dword [esi + 0xd8]
mov edx, dword [ecx + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x4264e0
mov eax, dword [esi + 0xd8]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp edi, 1
jne 0x42657b
push edi
push 0
push 0
push 0
lea edx, [ebp - 0x20]
push edx
call ebx
test eax, eax
je 0x4264e0
lea ecx, [ecx]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 1
push 0
push 0
push 0
lea edx, [ebp - 0x20]
push edx
call ebx
test eax, eax
jne 0x426550
jmp 0x4264e0
pop ebx
mov ecx, dword [esi + 0xd8]
lea eax, [ebp - 4]
mov dword [ebp - 4], 1
mov edx, dword [ecx + 0x2c]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov ecx, dword [esi + 0xd8]
mov edi, dword [ebp - 4]
test ecx, ecx
je 0x4265b7
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
mov dword [esi + 0xd8], 0
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret 8
Function at 0x4273f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56fa68
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5d2614]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0x30]
mov eax, dword [eax - 0xc]
xor ebx, ebx
cmp eax, ebx
je 0x427520
mov ecx, dword [ebp + 8]
cmp dword [ecx - 0xc], ebx
je 0x427520
call fcn.00448a4d
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x427455
push 0x80004005
call fcn.00401fd0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0x30]
push ecx
push str.Deselect
push str.SoftwareEPSONSoftware_Updater
lea edx, [ebp - 0x10]
push str._s_s_s
push edx
call fcn.00402820
add esp, 0x14
call fcn.00407c10
mov edi, dword [ebp - 0x10]
dec eax
neg eax
sbb eax, eax
and eax, 0xffffff00
add eax, 0x100
or eax, 0x20006
mov edx, edi
lea esi, [ebp - 0x20]
call fcn.0041f480
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x18], ebx
je 0x4274e9
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push 4
lea ecx, [ebp + 0xc]
push ecx
push 4
push ebx
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x1c]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x4274e4
push eax
call esi
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ebx
jmp 0x4274ec
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], vtable.Registry.0
cmp eax, ebx
je 0x4274fd
push eax
call esi
mov dword [ebp - 0x1c], ebx
lea eax, [edi - 0x10]
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427520
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], bl
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427542
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [ebp + 0x10]
call fcn.00421b00
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30
Function at 0x43c870
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x572490
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5d2614]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00448a4d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43c8b3
push 0x80004005
call fcn.00401fd0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
call fcn.00448a4d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43c8e3
push 0x80004005
call fcn.00401fd0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 1
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x43c91a
push 0x104
lea ecx, [ebp - 0x14]
call fcn.00401de0
mov esi, dword [ebp - 0x14]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0054213d
add esp, 8
test eax, eax
jl 0x43ca52
cmp eax, dword [esi - 8]
jg 0x43ca52
xor ecx, ecx
mov dword [esi - 0xc], eax
lea edx, [ebp - 0x10]
mov word [esi + eax*2], cx
push edx
lea ecx, [ebp - 0x14]
call fcn.00406bd0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43c97f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx - 0xc]
lea eax, [ecx - 1]
test eax, eax
jl 0x43ca52
cmp eax, ecx
jg 0x43ca52
movzx eax, word [edx + eax*2]
cmp ax, 0x5c
je 0x43c9b1
push 1
push 0x5a12d4
lea ecx, [ebp - 0x10]
call fcn.00403ee0
push 0xd
push str.EPSDNAVI_Temp
lea ecx, [ebp - 0x10]
call fcn.00403ee0
push 1
push 0x5a12d4
lea ecx, [ebp - 0x10]
call fcn.00403ee0
lea edx, [ebp - 0x10]
lea ecx, [edi + 0x78]
push edx
call fcn.00401f40
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.004072b0
add esp, 8
lea ecx, [ebp - 0x10]
call fcn.00407020
lea ecx, [ebp - 0x10]
lea esi, [edi + 0x74]
push ecx
mov ecx, esi
call fcn.00401f40
push 1
push 0x5a12d4
mov ecx, esi
call fcn.00403ee0
push 0xb
push str.LogFile.dat
mov ecx, esi
call fcn.00403ee0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43ca41
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00401fd0
int3
Function at 0x43ee60
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x5d2614]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x118]
push eax
xor esi, esi
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x43eebe
cmp dword [ebp - 0x108], 2
jne 0x43eeaa
mov eax, dword [ebp - 0x114]
cmp eax, 4
je 0x43eebe
cmp eax, 5
je 0x43eebe
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005418f3
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.005418f3
mov esp, ebp
pop ebp
ret

Function at 0x4413e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov ecx, 0x5db33c
mov edi, eax
call fcn.0043faa0
mov eax, dword [0x5db33c]
mov edx, dword [eax + 0x14]
mov ebx, dword [0x5db35c]
mov ecx, 0x5db33c
call edx
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
cmp eax, 0xffff
jne 0x441435
mov ecx, dword [edi + 4]
mov edx, dword [edi]
push ecx
push edx
lea eax, [esi + 0x28]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x441435
mov edi, 1
jmp 0x441437
xor edi, edi
mov ecx, 0x5db33c
call fcn.0043faa0
mov edx, dword [0x5db33c]
mov eax, dword [edx + 0x14]
mov ecx, 0x5db33c
mov dword [0x5db35c], edi
call eax
mov ecx, 0x5db33c
call fcn.0043faa0
mov edx, dword [0x5db33c]
mov eax, dword [edx + 0x14]
mov edi, dword [0x5db35c]
mov ecx, 0x5db33c
call eax
cmp ebx, edi
je 0x44149e
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 4]
lea eax, [edx + esi + 4]
mov eax, dword [eax + 8]
push eax
call fcn.0044cc05
mov ecx, dword [eax + 0x20]
push 0
add esi, 0x28
push esi
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
pop ebx
ret
Function at 0x443c50
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0x101
push edi
jne 0x443c86
mov dword [esi + 0xf0], 1
mov ecx, dword [ebp + 8]
push ecx
mov ecx, esi
call fcn.0044aa22
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ecx + 8]
cmp eax, 9
jne 0x443c72
cmp dword [esi + 0xf0], 0
je 0x443ec1
push 0x10
mov dword [esi + 0xf0], 0
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x443db3
cmp dword [esi + 0xec], 0
jne 0x443cf1
mov edi, 1
lea eax, [esi + 0xc4]
mov dword [esi + 0xec], edi
call fcn.00442190
push eax
push esi
call fcn.00443b50
call fcn.004439f0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
or eax, 0xffffffff
cmp dword [esi + 0xf8], eax
je 0x443ea3
cmp dword [esi + 0xfc], eax
je 0x443ea3
movzx edi, word [esi + 0xf8]
movzx edx, word [esi + 0xfc]
lea ebx, [esi + 0xc4]
shl edi, 0x10
mov eax, ebx
or edi, edx
call fcn.00442160
cmp edi, eax
je 0x443ea3
movzx eax, word [esi + 0xf8]
movzx ecx, word [esi + 0xfc]
shl eax, 0x10
or eax, ecx
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
mov ecx, ebx
call fcn.004462d0
push eax
push esi
call fcn.00443b50
lea edx, [esp + 0xc]
mov ebx, eax
push edx
lea edi, [esi + 0xa8]
mov dword [esp + 0x10], 0
call fcn.00445060
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x443d91
mov eax, dword [ecx]
mov edx, dword [eax + 0x80]
call edx
test al, 8
jne 0x443ea3
mov ecx, dword [esi + 0x100]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
call edx
mov eax, ebx
call fcn.004439f0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0xec], 0
jne 0x443de9
mov edi, 1
lea eax, [esi + 0xc4]
mov dword [esi + 0xec], edi
call fcn.00442160
push eax
push esi
call fcn.00443a90
call fcn.004439f0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
or eax, 0xffffffff
cmp dword [esi + 0xf8], eax
je 0x443ea3
cmp dword [esi + 0xfc], eax
je 0x443ea3
movzx edi, word [esi + 0xf8]
movzx eax, word [esi + 0xfc]
shl edi, 0x10
or edi, eax
lea ebx, [esi + 0xc4]
mov eax, ebx
call fcn.00442190
cmp edi, eax
je 0x443ea3
movzx ecx, word [esi + 0xf8]
movzx edx, word [esi + 0xfc]
shl ecx, 0x10
or ecx, edx
mov dword [esp + 0xc], ecx
lea eax, [esp + 0xc]
mov ecx, ebx
call fcn.00446230
push eax
push esi
call fcn.00443a90
mov ebx, eax
lea eax, [esp + 0xc]
push eax
lea edi, [esi + 0xa8]
mov dword [esp + 0x10], 0
call fcn.00445060
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x443e81
mov edx, dword [ecx]
mov eax, dword [edx + 0x80]
call eax
test al, 8
jne 0x443ea3
mov ecx, dword [esi + 0x100]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
mov eax, ebx
call fcn.004439f0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp + 8]
push ecx
mov ecx, esi
mov dword [esi + 0xec], 0
call fcn.0044aa22
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 9
jne 0x443c72
mov edx, dword [esi]
mov eax, dword [edx + 0x108]
mov edi, 1
push ecx
mov ecx, esi
mov dword [esi + 0xf0], edi
mov dword [esi + 0xec], edi
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x449847
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.00451b96
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 0x449880
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.00449493
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 0x4498de
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 0x449902
cmp dword [edi + 0x54], 0
jne 0x449902
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00451b96
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.0044989f
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 0x44fecc
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 0x44ff13
call fcn.00451b96
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x44ff13
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x44ff2f
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0044fa44
mov esi, eax
test edi, edi
je 0x44ff2d
test ebx, ebx
je 0x44ff2d
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x450738
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x56dfab
call fcn.00544b28
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x45075d
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x4507a3
lea ecx, [ebp - 0x10]
call fcn.00401c70
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.004480f9
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.004020a0
mov eax, esi
call fcn.00544c00
ret 8
Function at 0x45a194
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.0044e643
call fcn.0044903b
cmp eax, esi
pop esi
jne 0x45a1b0
mov ecx, 0x5d6f78
jmp fcn.0045b805
ret
Function at 0x45d398
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 0x45d3e0
call fcn.00451b96
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x45d3e0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x45d423
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 0x45d40c
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 0x45d40c
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x45d420
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 0x46ff2b
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 0x46ff45
call fcn.00448939
call fcn.00451b96
mov esi, dword [eax + 0xc]
push 0xf1
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x46ff65
xor eax, eax
jmp 0x470080
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x46ff5e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x46ff5e
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.00447f04
pop ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x46ff40
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 0x46ffc2
mov ecx, edi
call fcn.0046899b
jmp 0x46ffc7
call fcn.00468885
mov eax, dword [ebp + 0xc]
xor ebx, ebx
inc ebx
cmp dword [eax + 4], 0
jne 0x46ffd9
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
cmp dword [edi + 0xbe0], 0
jne 0x46fff4
push dword [ebp + 0x10]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x310]
test eax, eax
je 0x47006c
mov eax, dword [edi + 0xad0]
mov dword [ebp + 0xc], eax
xor eax, eax
xor ebx, ebx
cmp ax, word [esi + 6]
jae 0x470043
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 0x470036
test eax, eax
jbe 0x470036
push eax
mov ecx, 0x5cf4a4
call fcn.004f8bde
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 0x47000d
mov eax, dword [ebp + 8]
mov dword [edi + 0xbe0], eax
movzx ecx, word [esi + 6]
dec esi
push es
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 0x47006c
and dword [edi + 0xbe0], eax
push dword [ebp - 8]
call fcn.00447f33
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 0x4949ec
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push esi
mov esi, ecx
push edi
xor edi, edi
push 0x57b4f4
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.0045ae6e
pop ecx
mov dword [esi + 0x48], eax
cmp eax, edi
je 0x494aa7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x582764
push eax
call edi
push 0x582754
push dword [esi + 0x48]
mov dword [esi + 0x4c], eax
call edi
push 0x582740
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.004945d7
jmp 0x494abc
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

Function at 0x497def
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x5d2614]
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 0x497e28
push 0x12
call esi
mov ecx, ebx
test cx, ax
je 0x497e4f
cmp dword [0x5d7460], 0
jne 0x497e4f
lea eax, [edi - 0x41]
cmp eax, 0x19
jbe 0x497e42
push 0x12
call esi
test bx, ax
je 0x497e46
mov eax, edi
jmp 0x497ebe
push edi
call fcn.00547ca9
pop ecx
jmp 0x497ebe
push 4
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.00544f30
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
jne 0x497e78
call fcn.00448939
call fcn.00457c0e
push dword [eax + 0x30]
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 1
push 2
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push edi
call dword [sym.imp.USER32.dll_ToUnicodeEx]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
movzx eax, word [ebp - 0x108]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005418f3
leave
ret 4