joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4120a0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x45a268
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov dword [esp + 4], 0
mov dword [esp], vtable.CBitmap.0
mov dword [esp + 0x28], 0
call fcn.00455ed2
movzx ecx, word [esp + 0x30]
mov eax, dword [eax + 0xc]
push 0x2040
push 0
push 0
push 0
push ecx
push eax
call dword [sym.imp.USER32.dll_LoadImageA]
test eax, eax
lea ecx, [esp]
jne 0x412119
mov dword [esp + 0x28], 0xffffffff
mov dword [esp], vtable.CGdiObject.0
call fcn.00448ade
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
push esi
push edi
push eax
call fcn.00448a87
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x24]
cdq
idiv esi
xor edx, edx
mov dh, byte [ecx]
push 0
mov dl, byte [ecx + 1]
movzx ecx, byte [ecx + 2]
shl edx, 8
or edx, ecx
mov edi, edx
mov edx, dword [esp + 0x1c]
push eax
push 0x19
push edx
push esi
mov esi, dword [esp + 0x54]
mov ecx, esi
call fcn.0043f4f3
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 4]
push edi
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
lea ecx, [esp + 8]
call fcn.00448ab4
lea ecx, [esp + 8]
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 8], vtable.CGdiObject.0
call fcn.00448ade
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x4126f0
Capabilities:
Check mutex on windows
Enumerate gui resources

Disassembly:
push 0xffffffffffffffff
push 0x45a328
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
push 0x45d77d
push 0x45f560
lea eax, [esp + 0x1c]
push 0x45e870
push eax
mov esi, ecx
call fcn.0042bf60
add esp, 0x10
xor ebx, ebx
push 0x45e00c
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], ebx
call fcn.0040abf0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
or edi, 0xffffffff
cmp eax, ebx
mov byte [esp + 0x20], 1
jle 0x41279e
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push 0x4600fc
push eax
call fcn.0040aa40
add esp, 0xc
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 2
call fcn.00407b00
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x20], 1
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41279e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0x25
push str._088FA840_B10D_11D3_BC36_006067709674
lea ecx, [esp + 0x14]
call fcn.00407b00
mov eax, dword [esp + 0xc]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esi + 0xa8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4127d7
cmp eax, 5
jne 0x412873
lea ecx, [esp + 0x10]
push ecx
push 0x411ed0
mov dword [esp + 0x18], ebx
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x41281f
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x41281f
mov eax, dword [esp + 0x10]
push ebx
push 0x8005
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x20], bl
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412840
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x20], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x41285f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x20], bl
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412894
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x20], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x4128b3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x413780
Capabilities:
Resume thread

Disassembly:
push esi
push 0
push 4
push 0
push 0
push 0x4609a4
mov esi, ecx
call fcn.00445eba
test eax, eax
mov dword [esi], eax
jne 0x41379f
pop esi
ret 4
mov ecx, dword [esp + 8]
mov dword [eax + 0x40], ecx
mov edx, dword [esi]
mov dword [edx + 0x24], 0
mov eax, dword [esi]
mov ecx, dword [eax + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
pop esi
ret 4

Function at 0x4137d0
Capabilities:
Log keystrokes

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
je 0x413881
mov eax, dword [ecx + 0x4c]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
push 0xffffffffffffffff
push eax
call ebx
call fcn.00455ed2
mov ecx, dword [esi]
mov eax, dword [eax + 4]
mov edx, dword [ecx + 0x2c]
mov eax, dword [eax + 0x2c]
push 1
push edx
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov edi, dword [esp + 0x10]
test edi, edi
jne 0x413827
call fcn.004455de
test eax, eax
je 0x413825
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
mov edi, eax
jmp 0x413827
xor edi, edi
mov ecx, edi
call fcn.00444822
mov eax, dword [edi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, dword [esi]
mov eax, dword [ecx + 0x44]
test eax, eax
je 0x41385d
mov dword [eax + 0x50], 1
mov edx, dword [esi]
mov eax, dword [edx + 0x44]
mov ecx, dword [eax + 0x1c]
push 0
push 0
push 0x10
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov edx, dword [esi]
mov eax, dword [edx + 0x28]
push 0xffffffffffffffff
push eax
call ebx
mov ecx, dword [esi]
test ecx, ecx
pop edi
pop ebx
je 0x413876
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov dword [esi], 0
mov eax, 1
pop esi
ret 4
Function at 0x413c90
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x45a4c2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1e0
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x10], esi
call fcn.0044182a
xor ebx, ebx
mov dword [esi], 0x460b58
mov dword [esp + 0x1f0], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x54], vtable.CBitmap.0
mov dword [esi + 0x60], ebx
mov dword [esi + 0x5c], 0x460b14
lea ecx, [esi + 0x6c]
mov byte [esp + 0x1f0], 2
call fcn.0044182a
mov byte [esp + 0x1f0], 3
call fcn.00440b08
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0xc4], eax
mov dword [esi + 0x1f8], 0xf
mov dword [esi + 0x1f4], ebx
mov byte [esi + 0x1e4], bl
lea ecx, [esp + 0x50]
mov byte [esp + 0x1f0], 5
mov dword [esi + 0x50], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0xbc], ebx
mov dword [esi + 0xc0], ebx
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xcc], ebx
mov dword [esi + 0xd0], 0xff00ff
mov dword [esi + 0xd4], 1
mov dword [esi + 0xdc], ebx
call fcn.0042b4e0
push 0x104
lea eax, [esp + 0xe8]
push eax
push ebx
mov byte [esp + 0x1fc], 6
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0xe4]
push ecx
lea ecx, [esp + 0x54]
call fcn.0042bc50
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x58]
call fcn.0042b360
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
push ecx
push edx
lea eax, [esi + 0xe0]
push str.V__d._d
push eax
call fcn.00431952
add esp, 0x10
lea ecx, [esp + 0x14]
push ecx
push 0x3c
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov edx, dword [0x460b48]
mov ax, word [0x460b4c]
mov dword [esp + 0x30], edx
mov word [esp + 0x34], ax
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x28], 0x2bc
mov dword [esp + 0x18], 0xffffffee
mov byte [esp + 0x2f], bl
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push str.USER32.DLL
mov dword [esi + 0x1fc], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, ebx
je 0x413e3b
push str.SetLayeredWindowAttributes
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0xd8], eax
jmp 0x413e41
mov dword [esi + 0xd8], ebx
lea ecx, [esp + 0x50]
mov byte [esp + 0x1f0], 5
call fcn.0042b4d0
mov ecx, dword [esp + 0x1e8]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1ec
ret
Function at 0x415780
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45a588
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push esi
xor ebx, ebx
push edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], vtable.CFont.0
mov eax, dword [esp + 0x74]
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x70], ebx
call dword [sym.imp.USER32.dll_CopyRect]
push 0xfffffffffffffffe
push 0xfffffffffffffffe
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.USER32.dll_InflateRect]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov edx, dword [str.Marlett]
sub eax, ecx
mov ecx, dword [esp + 0x7c]
neg ecx
sbb ecx, ecx
and ecx, 0x12c
add ecx, 0x190
mov dword [esp + 0x34], ecx
mov dword [esp + 0x24], eax
mov eax, dword [0x461128]
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], bl
mov byte [esp + 0x3e], bl
mov byte [esp + 0x3f], 1
mov byte [esp + 0x40], bl
mov byte [esp + 0x41], bl
mov byte [esp + 0x42], bl
mov byte [esp + 0x43], bl
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
lea ecx, [esp + 0x10]
call fcn.00448a87
mov esi, dword [esp + 0x70]
mov edx, dword [esi]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call dword [edx + 0x28]
push 1
mov ecx, esi
mov edi, eax
call fcn.0044817d
mov edx, dword [esi]
push 0x21
mov ebx, eax
lea eax, [esp + 0x18]
push eax
push 1
lea ecx, [esp + 0x84]
push ecx
mov ecx, esi
call dword [edx + 0x68]
push ebx
mov ecx, esi
call fcn.0044817d
mov edx, dword [esi]
push edi
mov ecx, esi
call dword [edx + 0x28]
lea ecx, [esp + 0xc]
mov dword [esp + 0x68], 0xffffffff
mov dword [esp + 0xc], vtable.CGdiObject.0
call fcn.00448ade
pop edi
mov ecx, dword [esp + 0x5c]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret 0x10

Function at 0x416060
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
push edi
jne 0x416072
call fcn.00455ed2
mov esi, dword [eax + 0xc]
mov edi, dword [esp + 0xc]
movzx eax, di
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x41609e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41609e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x4160a3
pop edi
xor eax, eax
pop esi
ret
mov edx, dword [esp + 0x14]
test edx, edx
je 0x4160b9
push eax
call fcn.00414f80
movzx ecx, ax
add esp, 4
mov dword [edx], ecx
push edi
push esi
call dword [sym.imp.USER32.dll_LoadBitmapA]
pop edi
pop esi
ret
Function at 0x417af0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
mov edx, dword [esp + 4]
push 0xffffffffffffffff
push 0x45a6b8
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
mov esi, ecx
mov eax, dword [esi + 0x24]
test eax, eax
push edi
je 0x417b3c
dec eax
js 0x417c22
cmp eax, dword [esi + 0x24]
jge 0x417c22
mov ecx, dword [esi + 0x20]
mov edi, dword [ecx + eax*4]
cmp edi, edx
lea ecx, [ecx + eax*4]
je 0x417c0c
test eax, eax
jne 0x417b17
push ebx
movzx ebx, dx
call fcn.00455ed2
mov edi, dword [eax + 0xc]
movzx edx, bx
push 2
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x417cee
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x417cee
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x417cee
push ebx
push edi
call dword [sym.imp.USER32.dll_LoadBitmapA]
test eax, eax
je 0x417cee
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], vtable.CBitmap.0
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x40], 0
call fcn.00448a87
mov edx, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x2c], eax
push 0x18
mov dword [esp + 0x34], eax
push edx
mov dword [esp + 0x3c], eax
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
je 0x417cd5
lea edi, [esi + 0x14]
test edi, edi
je 0x417bf0
mov eax, dword [edi + 4]
test eax, eax
jne 0x417c27
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push 0xa
push 0
push 0xff
push eax
push ecx
mov ecx, edi
call fcn.0043f4f3
jmp 0x417c4f
pop edi
lea eax, [eax + eax*2]
pop esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 8
call fcn.0043ee0d
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call fcn.004168b0
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x20]
jne 0x417cd5
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x24]
jne 0x417cd5
lea edx, [esp + 0x48]
push edx
lea ecx, [esi + 0x34]
call fcn.004177f0
lea eax, [esp + 0x44]
push eax
lea ecx, [esi + 0x1c]
call fcn.004177f0
mov ecx, dword [esp + 0x48]
push ecx
lea edx, [esp + 0x10]
push edx
mov ecx, edi
call fcn.004058e0
mov ebx, eax
mov eax, dword [esi + 0x18]
push 0
push ebx
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
mov edx, dword [esi]
mov edi, eax
push 0xffffffffffffffff
push edi
mov ecx, esi
call dword [edx + 0x28]
mov eax, dword [esi]
push 0xffffffffffffffff
push edi
mov ecx, esi
call dword [eax + 0x2c]
push edi
call dword [sym.imp.USER32.dll_DestroyIcon]
lea ecx, [esp + 0xc]
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0xc], vtable.CGdiObject.0
call fcn.00448ade
mov eax, ebx
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 8
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], vtable.CGdiObject.0
mov dword [esp + 0x3c], 0xffffffff
call fcn.00448ade
mov ecx, dword [esp + 0x34]
pop ebx
pop edi
or eax, 0xffffffff
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 8
Function at 0x419200
Capabilities:
Capture screenshot

Disassembly:
push 0xffffffffffffffff
push 0x45a788
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebp
push esi
push edi
mov edi, dword [esp + 0x40]
lea eax, [esp + 0xc]
push eax
xor ebp, ebp
push edi
mov ecx, 0x475258
mov dword [esp + 0x14], ebp
call fcn.004405c6
mov ecx, dword [esp + 0xc]
mov esi, eax
neg esi
sbb esi, esi
and esi, ecx
cmp dword [esi + 0x20], ebp
jne 0x41934b
push ebx
push ebp
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
mov dword [esp + 0x48], eax
call fcn.0044877c
lea ecx, [esp + 0x24]
mov ebx, eax
call fcn.004483c3
cmp ebx, ebp
mov dword [esp + 0x3c], ebp
jne 0x419273
xor eax, eax
jmp 0x419276
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x28]
call fcn.0044878a
lea ecx, [esp + 0x14]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
sub eax, ecx
mov ecx, dword [esp + 0x1c]
sub ecx, edx
mov edx, dword [ebx + 4]
add eax, 0xa
push eax
add ecx, 0xa
push ecx
push edx
lea edi, [esi + 0x1c]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call fcn.00448a87
cmp edi, ebp
jne 0x4192cc
xor edi, edi
jmp 0x4192cf
mov edi, dword [edi + 4]
mov eax, dword [esp + 0x28]
push edi
push eax
call fcn.00448b10
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 0xc]
mov ebp, dword [esi + 8]
mov ebx, dword [ebx + 4]
push 0xcc0020
push edx
mov edi, eax
mov eax, dword [esp + 0x28]
sub eax, ecx
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x1c]
push ebp
push ebx
add eax, 0xa
push eax
add ecx, 0xa
push ecx
mov ecx, dword [esp + 0x40]
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
test edi, edi
pop ebx
jne 0x41931f
xor edi, edi
jmp 0x419322
mov edi, dword [edi + 4]
mov edx, dword [esp + 0x24]
push edi
push edx
call fcn.00448b10
mov eax, dword [esp + 0x40]
push eax
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xffffffff
call fcn.00448808
mov ecx, dword [esp + 0x30]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x30
ret 8
Function at 0x419d40
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
push edi
xor eax, eax
mov ecx, 0x25
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
mov dword [esp + 8], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x419dc3
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x419d83
call fcn.00419c40
mov eax, dword [esp + 0xc]
cmp eax, 4
jne 0x419d96
mov eax, 5
pop edi
mov esp, ebp
pop ebp
ret
cmp eax, 5
jne 0x419dad
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x419daf
mov eax, 6
pop edi
mov esp, ebp
pop ebp
ret
jb 0x419db9
mov eax, 7
pop edi
mov esp, ebp
pop ebp
ret
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret
cmp al, 4
jae 0x419dce
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x419de2
call fcn.00419c40
cmp dword [esp + 0xc], 4
jne 0x419e06
mov eax, dword [esp + 0x10]
cmp eax, 0xa
jne 0x419dfc
mov eax, 3
pop edi
mov esp, ebp
pop ebp
ret
cmp eax, 0x5a
mov eax, 4
je 0x419e0b
mov eax, 2
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x424e60
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
push edi
mov edi, ecx
mov eax, dword [edi]
call dword [eax + 0x190]
test eax, eax
je 0x424f12
push ebx
push esi
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push edx
push eax
mov ecx, edi
call fcn.00424dd0
mov esi, eax
sub esi, 0x14
neg esi
sbb esi, esi
push 1
inc esi
call dword [sym.imp.USER32.dll_GetKeyState]
mov ebx, dword [edi + 0xfc]
xor ecx, ecx
test ax, ax
setl cl
test esi, esi
je 0x424ec3
test ecx, ecx
je 0x424ec3
mov eax, 1
jmp 0x424ec5
xor eax, eax
test esi, esi
mov edx, dword [edi + 0x100]
mov dword [edi + 0xfc], eax
je 0x424ee0
test ecx, ecx
jne 0x424ee0
mov ecx, 1
jmp 0x424ee2
xor ecx, ecx
pop esi
xor eax, ebx
mov dword [edi + 0x100], ecx
pop ebx
jne 0x424ef6
xor ecx, edx
jne 0x424ef6
xor eax, eax
jmp 0x424efb
mov eax, 1
test eax, eax
je 0x424f12
mov ecx, dword [edi + 0x1c]
push 0
push 0
push 0x85
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
add esp, 8
ret 8
Function at 0x4293a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45b118
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 8]
mov ecx, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [eax]
mov eax, edx
sub eax, esi
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
fild dword [esp + 0xc]
movzx ebx, cl
push edi
movzx edi, al
sub ebx, edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x30], edi
movzx edi, ah
fild dword [esp + 0x18]
movzx ebx, ch
fdiv st(1)
sub ebx, edi
mov dword [esp + 0x20], ebx
shr ecx, 0x10
shr eax, 0x10
movzx eax, al
movzx ecx, cl
sub ecx, eax
cmp esi, edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x38], edi
mov dword [esp + 0x40], eax
fstp qword [esp + 0x18]
fild dword [esp + 0x20]
fdiv st(1)
fstp qword [esp + 0x20]
fild dword [esp + 0x28]
fdiv st(1)
fstp qword [esp + 0x10]
fstp st(0)
fild dword [esp + 0x30]
fstp qword [esp + 0x30]
fild dword [esp + 0x38]
fstp qword [esp + 0x38]
fild dword [esp + 0x40]
fstp qword [esp + 0x40]
jg 0x429518
mov edi, dword [ebp + 8]
fld qword [esp + 0x40]
call fcn.00432ee8
fld qword [esp + 0x38]
xor ebx, ebx
mov bh, al
call fcn.00432ee8
fld qword [esp + 0x30]
mov bl, al
shl ebx, 8
call fcn.00432ee8
movzx edx, al
or ebx, edx
push ebx
push 1
push 0
lea ecx, [esp + 0x34]
call fcn.00448c1f
lea eax, [esp + 0x28]
push eax
mov ecx, edi
mov dword [esp + 0x60], 0
call fcn.00448b63
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
push edx
mov ebx, eax
push esi
lea eax, [esp + 0x50]
push eax
mov ecx, edi
call fcn.0044863c
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xc]
push edx
push esi
mov ecx, edi
call fcn.004482de
push ebx
mov ecx, edi
call fcn.00448b63
fld qword [esp + 0x30]
fadd qword [esp + 0x18]
lea ecx, [esp + 0x28]
mov dword [esp + 0x5c], 0xffffffff
mov dword [esp + 0x28], vtable.CGdiObject.0
fstp qword [esp + 0x30]
fld qword [esp + 0x38]
fadd qword [esp + 0x20]
fstp qword [esp + 0x38]
fld qword [esp + 0x40]
fadd qword [esp + 0x10]
fstp qword [esp + 0x40]
call fcn.00448ade
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
inc esi
cmp esi, ecx
jle 0x429454
mov ecx, dword [esp + 0x54]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4297c0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push esi
push edi
push 0
push 0
mov esi, ecx
mov eax, dword [esi + 0x1c]
push 0x476
push eax
call ebx
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x429838
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x429838
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0xc], ecx
mov ecx, esi
mov dword [esp + 0x14], 0xffffff37
call fcn.0044476c
lea edx, [esp + 0xc]
push edx
push eax
push 0x4e
push edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], 0
call ebx
test eax, eax
je 0x42982f
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x10
ret
Function at 0x42bc50
Capabilities:
Get file version info

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x110
push ebp
lea edx, [esp + 0x10]
push esi
mov ebp, ecx
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x42bc64
lea eax, [esp + 0x14]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42bc75
sub eax, edx
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [ebp + 4]
call fcn.00403300
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
ja 0x42bcae
pop esi
xor eax, eax
pop ebp
add esp, 0x110
ret 4
push ebx
push esi
call fcn.00440b03
add esp, 4
mov ebx, eax
push ebx
push esi
push 0
lea eax, [esp + 0x24]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x42bcda
pop ebx
pop esi
xor eax, eax
pop ebp
add esp, 0x110
ret 4
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x10]
push edx
push 0x462a08
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x42bccc
mov esi, dword [esp + 0xc]
push edi
lea edi, [ebp + 0x44]
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
push ebx
mov ecx, ebp
call fcn.0042b830
test eax, eax
pop edi
je 0x42bccc
mov ecx, ebp
call fcn.0042b5b0
test eax, eax
je 0x42bccc
push ebx
call fcn.00440afe
add esp, 4
pop ebx
pop esi
mov eax, 1
pop ebp
add esp, 0x110
ret 4

Function at 0x42be60
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
mov eax, 0x475290
sub esp, 0xc
lea edx, [eax + 1]
jmp 0x42be70
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42be70
sub eax, edx
mov dword [esp + 4], eax
je 0x42bed9
mov eax, dword [esp + 0x10]
push esi
push eax
call fcn.0042be10
mov esi, eax
add esp, 4
test esi, esi
jne 0x42be9c
mov eax, dword [esp + 0x1c]
pop esi
add esp, 0xc
ret
push edi
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push 0
push ecx
push esi
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
jne 0x42be93
mov eax, dword [esp + 8]
pop esi
add esp, 0xc
ret
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push 0x475310
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
add esp, 0xc
ret