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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570e30
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x5d1614]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x5a04b0
lea ecx, [ebp - 0x10]
call fcn.00401a30
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], 0
call fcn.00406a00
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 0xc]
add esp, 4
test ecx, ecx
je 0x4213c7
mov edx, ecx
lea ecx, [edx - 1]
test ecx, ecx
jl 0x4213fb
cmp ecx, edx
jg 0x4213fb
movzx ecx, word [eax + ecx*2]
cmp cx, 0x5c
je 0x4212f4
push 0x5a02d4
lea ecx, [ebp - 0x10]
call fcn.00403fd0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00401fe0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x14], eax
push 8
push str.Link.ini
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00403ec0
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x5a4858
call fcn.00401a30
push ecx
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.EpsonConnect
call fcn.00401a30
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x14]
push ecx
add esi, 0xfffffff0
mov dword [ebp - 0x24], esp
mov edi, esp
push esi
call fcn.00401fe0
add eax, 0x10
lea ecx, [ebp - 0x18]
add esp, 4
mov dword [edi], eax
push ecx
mov byte [ebp - 4], 1
call fcn.00407a10
mov eax, dword [ebp - 0x18]
add esp, 0x10
cmp dword [eax - 0xc], 0
je 0x42138b
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4213a7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4213c4
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4213ea
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.00401fc0
int3

Function at 0x421bd0
Capabilities:
Resume thread

Disassembly:
push 0
push 0x5d3e00
push 0x5d3de4
push 0
push 0
push 4
push 0
push 2
push 0x5a5078
call fcn.00457bbd
push eax
call fcn.00560a99
add esp, 0x14
mov dword [esi + 0x2fc], eax
test eax, eax
je 0x421c2f
mov dword [eax + 0x28], 0
mov eax, dword [esi + 0x2fc]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, dword [esi + 0x2fc]
mov eax, dword [edx + 0x178]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
ret
Function at 0x422780
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x572708
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x5d1614]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x7c]
lea edi, [esi + 0x7c]
sub eax, 0x10
push eax
call fcn.00401fe0
add eax, 0x10
add esp, 4
mov dword [esp + 0x10], eax
xor ebx, ebx
mov dword [esp + 0x30], ebx
push 0x5a04b0
lea ecx, [esp + 0x18]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call fcn.00401a30
push ebx
mov byte [esp + 0x34], 1
call fcn.00540bc0
add esp, 4
mov dword [esp + 0x1c], eax
push str._Y_m_d_H_M_S
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x28], edx
call fcn.00421ef0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 2
call fcn.00401f10
mov byte [esp + 0x30], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422840
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00403ec0
lea edx, [esp + 0x10]
lea ecx, [esi + 0x78]
push edx
call fcn.00401f10
lea ecx, [esp + 0x10]
call fcn.00407010
add esi, 0x74
push edi
mov ecx, esi
call fcn.00401f10
call fcn.00407ed0
push 0xd
push str.ShareFile.dat
mov ecx, esi
call fcn.00403ec0
mov byte [esp + 0x30], bl
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 0x4228aa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4228d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x425720
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x5d1614]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push edi
push 0x410
mov ebx, ecx
lea ecx, [ebp - 0x41c]
push 0
push ecx
mov dword [ebp - 0x424], eax
call fcn.005440c0
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x2c]
add esp, 0xc
mov dword [ebp - 0x410], 0
mov dword [ebp - 0x414], edx
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x418], ecx
call fcn.00451023
mov eax, dword [eax + 4]
add eax, 0xd0
lea edx, [ebp - 0x41c]
mov dword [eax + 0x54], 0xd
mov dword [eax + 0x58], edx
call fcn.00451023
call fcn.00451023
mov edi, dword [eax + 4]
add edi, 0xd0
mov dword [ebp - 0x420], 0xffffffff
je 0x4257e1
mov eax, dword [edi + 0x60]
test eax, eax
je 0x4257e1
push str.Download
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4257e1
mov ecx, dword [edi + 0x58]
mov edx, dword [edi + 0x54]
push ecx
push edx
call eax
mov dword [ebp - 0x420], eax
mov dword [edi + 0x5c], eax
lea eax, [ebp - 0x40c]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4257f0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x40c]
lea edi, [esi + 0x30]
push eax
mov ecx, edi
call fcn.00401e60
mov ecx, dword [ebp - 0x410]
mov dword [esi + 0x14], 0x270e
mov dword [ebx], ecx
mov eax, dword [edi]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0
push str.Installed
push str.DownDLLLog
call ebx
mov edx, dword [ebp - 0x424]
mov dword [edx], eax
mov edi, dword [edi]
push edi
push 0
push str.FileSize
push str.DownDLLLog
call ebx
mov ecx, dword [ebp - 8]
pop edi
mov dword [esi + 0x3c], eax
mov eax, dword [ebp - 0x420]
xor ecx, ebp
pop ebx
call fcn.00540a86
mov esp, ebp
pop ebp
ret 4
Function at 0x425f80
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push edi
call fcn.00451023
mov eax, dword [eax + 4]
push 0
push 4
push 0
push 0
add eax, 0xd0
push eax
push 0x40e510
call fcn.00457b46
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 0x425fd0
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 0x426017
mov edx, dword [esi + 0xc0]
mov eax, dword [edx + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x425fd0
mov ecx, dword [esi + 0xc0]
mov edx, dword [ecx + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp edi, 1
jne 0x42606b
push edi
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call ebx
test eax, eax
je 0x425fd0
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 0x426040
jmp 0x425fd0
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 0x4260a0
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 0x4260b0
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push edi
test esi, esi
jne 0x4260bf
xor edi, edi
jmp 0x4260c2
mov edi, dword [esi + 0x20]
call fcn.00451023
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.004174b0
call fcn.00451023
mov eax, dword [eax + 4]
push 0
push 4
push 0
push 0
add eax, 0x13c
push eax
push 0x416920
call fcn.00457b46
mov dword [esi + 0xd8], eax
test eax, eax
je 0x4261cc
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 0x426177
mov ecx, dword [esi + 0xd8]
mov edx, dword [ecx + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x426130
mov eax, dword [esi + 0xd8]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp edi, 1
jne 0x4261cb
push edi
push 0
push 0
push 0
lea edx, [ebp - 0x20]
push edx
call ebx
test eax, eax
je 0x426130
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 0x4261a0
jmp 0x426130
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 0x426207
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 0x427040
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56ec28
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5d1614]
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 0x427170
mov ecx, dword [ebp + 8]
cmp dword [ecx - 0xc], ebx
je 0x427170
call fcn.00447edb
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4270a5
push 0x80004005
call fcn.00401fc0
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.00402800
add esp, 0x14
call fcn.00407c00
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.0041f4e0
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x18], ebx
je 0x427139
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 0x427134
push eax
call esi
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ebx
jmp 0x42713c
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], vtable.Registry.0
cmp eax, ebx
je 0x42714d
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 0x427170
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 0x427192
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [ebp + 0x10]
call fcn.00421b50
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 0x43bc20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570ad0
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5d1614]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00447edb
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43bc63
push 0x80004005
call fcn.00401fc0
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.00447edb
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43bc93
push 0x80004005
call fcn.00401fc0
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 0x43bcca
push 0x104
lea ecx, [ebp - 0x14]
call fcn.00401db0
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.005412d0
add esp, 8
test eax, eax
jl 0x43be02
cmp eax, dword [esi - 8]
jg 0x43be02
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.00406bc0
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 0x43bd2f
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 0x43be02
cmp eax, ecx
jg 0x43be02
movzx eax, word [edx + eax*2]
cmp ax, 0x5c
je 0x43bd61
push 1
push 0x5a02d4
lea ecx, [ebp - 0x10]
call fcn.00403ec0
push 0xd
push str.EPSDNAVI_Temp
lea ecx, [ebp - 0x10]
call fcn.00403ec0
push 1
push 0x5a02d4
lea ecx, [ebp - 0x10]
call fcn.00403ec0
lea edx, [ebp - 0x10]
lea ecx, [edi + 0x78]
push edx
call fcn.00401f10
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.004072a0
add esp, 8
lea ecx, [ebp - 0x10]
call fcn.00407010
lea ecx, [ebp - 0x10]
lea esi, [edi + 0x74]
push ecx
mov ecx, esi
call fcn.00401f10
push 1
push 0x5a02d4
mov ecx, esi
call fcn.00403ec0
push 0xb
push str.LogFile.dat
mov ecx, esi
call fcn.00403ec0
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 0x43bdf1
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.00401fc0
int3
Function at 0x43e210
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x5d1614]
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 0x43e26e
cmp dword [ebp - 0x108], 2
jne 0x43e25a
mov eax, dword [ebp - 0x114]
cmp eax, 4
je 0x43e26e
cmp eax, 5
je 0x43e26e
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00540a86
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00540a86
mov esp, ebp
pop ebp
ret

Function at 0x440790
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov ecx, 0x5da2dc
mov edi, eax
call fcn.0043ee50
mov eax, dword [0x5da2dc]
mov edx, dword [eax + 0x14]
mov ebx, dword [0x5da2fc]
mov ecx, 0x5da2dc
call edx
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
cmp eax, 0xffff
jne 0x4407e5
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 0x4407e5
mov edi, 1
jmp 0x4407e7
xor edi, edi
mov ecx, 0x5da2dc
call fcn.0043ee50
mov edx, dword [0x5da2dc]
mov eax, dword [edx + 0x14]
mov ecx, 0x5da2dc
mov dword [0x5da2fc], edi
call eax
mov ecx, 0x5da2dc
call fcn.0043ee50
mov edx, dword [0x5da2dc]
mov eax, dword [edx + 0x14]
mov edi, dword [0x5da2fc]
mov ecx, 0x5da2dc
call eax
cmp ebx, edi
je 0x44084e
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 4]
lea eax, [edx + esi + 4]
mov eax, dword [eax + 8]
push eax
call fcn.0044c054
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 0x443030
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 0x443066
mov dword [esi + 0xf0], 1
mov ecx, dword [ebp + 8]
push ecx
mov ecx, esi
call fcn.00449e7f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ecx + 8]
cmp eax, 9
jne 0x443052
cmp dword [esi + 0xf0], 0
je 0x4432a1
push 0x10
mov dword [esi + 0xf0], 0
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x443193
cmp dword [esi + 0xec], 0
jne 0x4430d1
mov edi, 1
lea eax, [esi + 0xc4]
mov dword [esi + 0xec], edi
call fcn.00441540
push eax
push esi
call fcn.00442f30
call fcn.00442dd0
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 0x443283
cmp dword [esi + 0xfc], eax
je 0x443283
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.00441510
cmp edi, eax
je 0x443283
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.00445780
push eax
push esi
call fcn.00442f30
lea edx, [esp + 0xc]
mov ebx, eax
push edx
lea edi, [esi + 0xa8]
mov dword [esp + 0x10], 0
call fcn.00444440
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x443171
mov eax, dword [ecx]
mov edx, dword [eax + 0x80]
call edx
test al, 8
jne 0x443283
mov ecx, dword [esi + 0x100]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
call edx
mov eax, ebx
call fcn.00442dd0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0xec], 0
jne 0x4431c9
mov edi, 1
lea eax, [esi + 0xc4]
mov dword [esi + 0xec], edi
call fcn.00441510
push eax
push esi
call fcn.00442e70
call fcn.00442dd0
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 0x443283
cmp dword [esi + 0xfc], eax
je 0x443283
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.00441540
cmp edi, eax
je 0x443283
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.004456e0
push eax
push esi
call fcn.00442e70
mov ebx, eax
lea eax, [esp + 0xc]
push eax
lea edi, [esi + 0xa8]
mov dword [esp + 0x10], 0
call fcn.00444440
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x443261
mov edx, dword [ecx]
mov eax, dword [edx + 0x80]
call eax
test al, 8
jne 0x443283
mov ecx, dword [esi + 0x100]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
mov eax, ebx
call fcn.00442dd0
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.00449e7f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 9
jne 0x443052
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 0x448ccd
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.00451023
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 0x448d06
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.00448919
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 0x448d64
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 0x448d88
cmp dword [edi + 0x54], 0
jne 0x448d88
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00451023
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.00448d25
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 0x44f31d
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 0x44f364
call fcn.00451023
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 0x44f364
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x44f380
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0044ee95
mov esi, eax
test edi, edi
je 0x44f37e
test ebx, ebx
je 0x44f37e
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x44fbca
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x566bf3
call fcn.00543c7c
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x44fbef
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x44fc35
lea ecx, [ebp - 0x10]
call fcn.00401c40
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.004475a9
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.00402080
mov eax, esi
call fcn.00543d54
ret 8
Function at 0x459627
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.0044da92
call fcn.004484c1
cmp eax, esi
pop esi
jne 0x459643
mov ecx, 0x5d5f18
jmp fcn.0045ac98
ret