joyce8/EMBER2024-capa huggingface dataset:
Function at 0x457250
Capabilities:
Access peb ldr_data
Extract resource via kernel32 functions
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x6599af
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push 0x10
push 1
push 0
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
lea eax, [esi + 6]
push eax
call fcn.00468083
mov edx, dword [0x6e8700]
lea ecx, [eax + eax + 0xb]
shr ecx, 2
mov dword [esp + 8], edx
lea ecx, [esi + ecx*4]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov esi, ecx
and ecx, 0xffff
mov edx, eax
and eax, 0xffff
shr esi, 0x10
push ecx
push esi
shr edx, 0x10
push eax
push edx
lea eax, [esp + 0x18]
push 0x6e83ac
push eax
mov dword [esp + 0x30], 1
call fcn.00621062
mov esi, dword [esp + 0x38]
add esp, 0x1c
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call fcn.00628589
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call fcn.00628814
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4578a0
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push 0xffffffffffffffff
push 0x659b20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x3c]
xor ebx, ebx
push eax
push 0x319
mov dword [esp + 0x24], ebx
call fcn.0062ab07
mov ecx, dword [0x6e8700]
lea ebp, [esi + 0x70]
mov dword [ebp], ecx
lea ecx, [esi + 0x84]
mov byte [esp + 0x1c], 2
call fcn.0045a570
lea ecx, [esi + 0x2f4]
mov byte [esp + 0x1c], 3
call fcn.0045a570
lea edi, [esi + 0x564]
mov byte [esp + 0x1c], 4
mov ecx, edi
call fcn.006248f5
mov dword [edi], 0x67c108
push 0x44
mov byte [esp + 0x20], 5
mov dword [esi], 0x678cf4
call fcn.006247b3
mov edi, eax
add esp, 4
mov dword [esp + 0x3c], edi
cmp edi, ebx
mov byte [esp + 0x1c], 6
je 0x457962
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x28]
push ebx
push edx
push eax
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
call fcn.00628589
mov ecx, edi
call fcn.00454750
jmp 0x457964
xor eax, eax
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esi + 0x60], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x78], eax
lea eax, [esp + 0x24]
mov dword [esi + 0x7c], ecx
push eax
mov ecx, ebp
mov byte [esp + 0x20], 5
mov dword [esi + 0x74], 1
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x80], edx
call fcn.0062894d
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00628814
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret 0x1c
Function at 0x457c50
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x659bd0
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, ecx
push edi
push eax
mov ecx, dword [esi + 0x60]
call fcn.00456200
mov edi, eax
test edi, edi
je 0x457dcc
mov eax, dword [edi + 0xc]
push ebx
push ebp
push eax
push 0x49e
mov ecx, esi
call fcn.00627c78
mov ecx, eax
call fcn.00627def
mov ecx, dword [esi + 0x60]
push edi
mov ebp, dword [ecx + 0x1c]
call fcn.004561d0
push 0x7427d8
lea ecx, [esp + 0x38]
mov ebx, eax
call fcn.00628882
inc ebx
push ebp
push ebx
lea ecx, [esp + 0x3c]
push 0x6e8420
push ecx
mov dword [esp + 0x3c], 0
call fcn.00621062
lea edx, [esp + 0x30]
push 0x819
push edx
call fcn.00407170
add esp, 0x18
lea ecx, [esp + 0x34]
lea edx, [esp + 0x1c]
push ecx
push eax
push edx
mov byte [esp + 0x38], 1
call fcn.00628a43
push 0x6e6b7c
push eax
lea eax, [esp + 0x20]
mov byte [esp + 0x34], 2
push eax
call fcn.00628aa9
lea ecx, [edi + 4]
lea edx, [esp + 0x14]
push ecx
push eax
push edx
mov byte [esp + 0x38], 3
call fcn.00628a43
push 0x6e841c
push eax
lea eax, [esp + 0x18]
mov byte [esp + 0x34], 4
push eax
call fcn.00628aa9
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 9
call fcn.00628814
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 8
call fcn.00628814
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 7
call fcn.00628814
lea ecx, [esp + 0x20]
mov byte [esp + 0x2c], 6
call fcn.00628814
mov ecx, dword [esp + 0x10]
push ecx
push 0x49d
mov ecx, esi
call fcn.00627c78
mov ecx, eax
call fcn.00627def
push edi
mov ecx, esi
call fcn.00457e70
mov ecx, dword [esi + 0x60]
push edi
call fcn.00456250
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
call fcn.00628814
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00628814
pop ebp
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 4
mov ecx, esi
call fcn.00457ba0
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 4

Function at 0x457e09
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x659be8
mov edx, dword [esp + 0x14]
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
push edx
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 0x60]
push edx
mov ecx, dword [eax + 0x34]
mov eax, dword [eax + 0x30]
push eax
lea eax, [esp + 0x28]
push ecx
push eax
call fcn.00457570
add esp, 0x14
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xc], 0
push ecx
push 0x4a0
mov ecx, esi
call fcn.00627c78
mov ecx, eax
call fcn.00627def
lea ecx, [esp + 0x1c]
mov dword [esp + 0xc], 0xffffffff
call fcn.00628814
mov ecx, dword [esp + 4]
pop esi
mov dword fs:[0], ecx
add esp, 0xc
ret 0xc
Function at 0x458910
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x659daf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x34]
mov dword [esp + 0x28], 0
push eax
push 0x32a
call fcn.0062ab07
mov ecx, dword [0x6e8700]
lea edi, [esi + 0x60]
mov dword [edi], ecx
mov edx, dword [0x6e8700]
lea ebp, [esi + 0x64]
mov dword [ebp], edx
lea ebx, [esi + 0x68]
mov byte [esp + 0x28], 3
mov ecx, ebx
call fcn.006248f5
mov dword [ebx], 0x67c8dc
lea ebx, [esi + 0xa4]
mov byte [esp + 0x28], 4
mov ecx, ebx
call fcn.006248f5
mov dword [ebx], 0x67c108
lea eax, [esp + 0x30]
mov ecx, edi
push eax
mov byte [esp + 0x2c], 5
mov dword [esi], 0x678dc4
call fcn.0062894d
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x18]
push ecx
push edx
call fcn.00475420
mov edi, eax
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x38], 6
call fcn.004751f0
add esp, 0x10
push edi
lea edx, [esp + 0x14]
push eax
push edx
mov byte [esp + 0x34], 7
call fcn.00628a43
push 0x6e54c8
push eax
lea eax, [esp + 0x3c]
mov bl, 8
push eax
mov byte [esp + 0x34], bl
call fcn.00628aa9
push eax
mov ecx, ebp
mov byte [esp + 0x2c], 9
call fcn.0062894d
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], bl
call fcn.00628814
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 7
call fcn.00628814
mov byte [esp + 0x28], 6
lea ecx, [esp + 0x14]
call fcn.00628814
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 5
call fcn.00628814
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.00628814
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
Function at 0x45b320
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x65a0f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetParent]
mov eax, dword [esi + 0x1c]
push eax
call edi
push eax
call fcn.00624d20
push eax
lea ecx, [esp + 0x30]
call fcn.0062d55e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0xc]
push ecx
push edx
mov dword [esp + 0x50], 0
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi + 0x1c]
push edx
call edi
push eax
call fcn.00624d20
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call fcn.0062d414
mov eax, dword [esi + 0xf4]
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
jne 0x45b45d
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x2c]
neg eax
sbb eax, eax
and eax, ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0xf0]
call fcn.0062ccd0
lea edi, [esi + 0x100]
mov ecx, edi
call fcn.0062d85d
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
sub eax, ecx
mov ecx, dword [esp + 0x14]
push eax
sub ecx, edx
mov edx, dword [esp + 0x34]
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call fcn.0062d806
test edi, edi
je 0x45b409
mov edi, dword [edi + 4]
mov eax, dword [esi + 0xf4]
push edi
push eax
call fcn.0062ce11
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov dword [esi + 0x108], eax
mov eax, dword [esp + 0xc]
sub ecx, edx
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x30]
sub edx, eax
lea eax, [esp + 0x2c]
push 0xcc0020
neg eax
sbb eax, eax
and eax, edi
mov edi, dword [esp + 0x24]
push edi
mov edi, dword [esp + 0x24]
push edi
push eax
push ecx
mov ecx, dword [esi + 0xf4]
push edx
push 0
push 0
push ecx
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
sub eax, ecx
mov ecx, dword [esp + 0x14]
lea edx, [esi + 0xf0]
sub ecx, edi
test edx, edx
je 0x45b47e
mov edx, dword [edx + 4]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x60]
push eax
push ecx
push 0
mov eax, dword [edx + 4]
push 0
push eax
call ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], 0xffffffff
call fcn.0062d5d0
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 4
Function at 0x475680
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x65cb40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [esp + 0x34]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x3c]
sub eax, edi
lea ecx, [esp + 0x14]
cdq
sub eax, edx
mov ebx, eax
mov eax, dword [esp + 0x48]
push eax
push 1
sar ebx, 1
push 0
sub ebx, 2
call fcn.0062d873
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
mov dword [esp + 0x30], 0
call fcn.0062ce64
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x10], eax
lea edx, [edi + ebx + 3]
mov ecx, esi
lea eax, [ebp + 1]
push edx
mov dword [esp + 0x4c], eax
push eax
lea eax, [esp + 0x24]
push eax
call fcn.0062d2e2
mov ecx, dword [esp + 0x44]
add ebp, 3
lea eax, [ecx - 2]
mov ecx, esi
push eax
push ebp
call fcn.0062d32e
mov edx, dword [esp + 0x44]
mov ecx, esi
lea eax, [edx - 2]
push eax
lea eax, [esp + 0x20]
push ebp
push eax
call fcn.0062d2e2
mov ecx, dword [esp + 0x40]
lea edx, [edi + 2]
push edx
lea eax, [ecx - 1]
mov ecx, esi
push eax
mov dword [esp + 0x3c], eax
call fcn.0062d32e
mov ecx, dword [esp + 0x48]
lea eax, [edi + ebx + 2]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.0062d2e2
mov eax, dword [esp + 0x44]
mov ecx, esi
add eax, 0xfffffffd
push eax
push ebp
call fcn.0062d32e
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x1c]
lea eax, [ecx - 3]
mov ecx, esi
push eax
push ebp
push edx
call fcn.0062d2e2
mov ecx, dword [esp + 0x34]
lea eax, [edi + 1]
push eax
push ecx
mov ecx, esi
call fcn.0062d32e
mov eax, dword [esp + 0x48]
lea edx, [edi + ebx + 1]
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, esi
call fcn.0062d2e2
mov edx, dword [esp + 0x44]
mov ecx, esi
lea ebx, [edx - 4]
push ebx
push ebp
call fcn.0062d32e
push ebx
lea eax, [esp + 0x3c]
push ebp
push eax
mov ecx, esi
call fcn.0062d2e2
mov ecx, dword [esp + 0x34]
push edi
push ecx
mov ecx, esi
call fcn.0062d32e
mov edx, dword [esp + 0x10]
mov ecx, esi
push edx
call fcn.0062ce64
mov dword [esp + 0x14], 0x67b26c
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 1
call fcn.0062d85d
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x4759b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x65cbf2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.0047cb80
xor edi, edi
lea ecx, [esi + 0x28]
mov dword [esp + 0x14], edi
call fcn.00622960
push 0xa
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 1
call fcn.0062460c
lea ecx, [esi + 0x4c]
mov byte [esp + 0x14], 2
call fcn.00622960
push 0xa
lea ecx, [esi + 0x54]
mov byte [esp + 0x18], 3
call fcn.0062460c
lea ecx, [esi + 0x70]
mov byte [esp + 0x14], 4
call fcn.00622960
push 0xa
lea ecx, [esi + 0x78]
mov byte [esp + 0x18], 5
call fcn.0062460c
lea ecx, [esi + 0x94]
mov byte [esp + 0x14], 6
call fcn.00623663
push 0xa
lea ecx, [esi + 0xa8]
mov byte [esp + 0x18], 7
call fcn.0062460c
push 0xa
lea ecx, [esi + 0xcc]
mov byte [esp + 0x18], 8
call fcn.00623b3b
mov dword [esi + 0xfc], edi
mov dword [esi + 0xf8], 0x67cc7c
xor eax, eax
xor ecx, ecx
mov dword [esi + 0xf0], eax
mov dword [esi + 0xe8], eax
mov byte [esp + 0x14], 0xa
mov dword [esi], 0x681e00
mov dword [esi + 0xf4], ecx
mov dword [esi + 0xec], ecx
mov dword [esi + 0x10], 1
mov dword [esi + 0x14], edi
mov dword [esi + 0xc4], edi
mov dword [esi + 0xc8], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
call fcn.00477e40
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x20], 0xffffffff
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x475b20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x65cc8a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], 0x681e00
mov eax, dword [esi + 0xd8]
mov dword [esp + 0x14], 0xa
test eax, eax
je 0x475b84
push edi
lea edi, [esi + 0xcc]
push 0
push 0
push 0
mov ecx, edi
call fcn.00623c06
push eax
call fcn.00629c4c
push eax
mov ecx, esi
call fcn.004775d0
mov eax, dword [esi + 0xd8]
test eax, eax
jne 0x475b5e
pop edi
mov ecx, esi
call fcn.00475c50
lea ecx, [esi + 0xf8]
mov dword [esp + 8], ecx
mov dword [ecx], 0x67b26c
mov byte [esp + 0x14], 0xb
call fcn.0062d85d
lea ecx, [esi + 0xcc]
mov byte [esp + 0x14], 8
call fcn.00623b9a
lea ecx, [esi + 0xa8]
mov byte [esp + 0x14], 7
call fcn.0062467a
lea ecx, [esi + 0x94]
mov byte [esp + 0x14], 6
call fcn.00623696
lea ecx, [esi + 0x78]
mov byte [esp + 0x14], 5
call fcn.0062467a
lea ecx, [esi + 0x70]
mov byte [esp + 0x14], 4
call fcn.00622989
lea ecx, [esi + 0x54]
mov byte [esp + 0x14], 3
call fcn.0062467a
lea ecx, [esi + 0x4c]
mov byte [esp + 0x14], 2
call fcn.00622989
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 1
call fcn.0062467a
lea ecx, [esi + 0x28]
mov byte [esp + 0x14], 0
call fcn.00622989
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.0047cbc0
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x475d00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x65ccc0
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x34]
xor ebp, ebp
and edi, 0xffff
push ebp
mov esi, ecx
push edi
call fcn.00478450
add esp, 8
cmp eax, ebp
je 0x475ed6
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], 0x672220
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], ebp
call fcn.0062d806
call fcn.00642d98
mov ebx, dword [eax + 0xc]
cmp ebx, ebp
je 0x475ebd
push 0xf1
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebp
je 0x475ebd
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
cmp ebx, ebp
je 0x475ebd
mov edx, dword [esi + 0xe8]
xor ecx, ecx
mov cx, word [ebx + 4]
xor eax, eax
mov ax, word [ebx + 2]
cmp edx, ebp
jne 0x475e97
push 0xa
push ebp
mov dword [esi + 0xe8], eax
lea edi, [eax + 4]
push 1
mov dword [esi + 0xec], ecx
lea edx, [ecx + 4]
push ecx
mov dword [esi + 0xf0], edi
push eax
lea ecx, [esi + 0x28]
mov dword [esi + 0xf4], edx
call fcn.00622a25
mov eax, dword [esi + 0x2c]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
push 0xf
mov dword [esp + 0x38], eax
call dword [sym.imp.USER32.dll_GetSysColor]
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x1c]
neg ecx
sbb ecx, ecx
push eax
and ecx, edi
push ecx
mov ecx, dword [esi + 0x2c]
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
cmp word [ebx + 6], bp
mov dword [esp + 0x14], ebp
jbe 0x475e6e
lea edx, [ebx + 8]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
xor edi, edi
mov di, word [eax]
test edi, edi
jbe 0x475e50
lea ecx, [esp + 0x18]
lea ebp, [esi + 0x30]
push ecx
push edi
mov ecx, ebp
call fcn.00624726
test eax, eax
je 0x475e3e
mov eax, dword [esp + 0x18]
test eax, eax
jge 0x475e4c
push edi
mov ecx, ebp
call fcn.00624748
mov edx, dword [esp + 0x34]
mov dword [eax], edx
inc dword [esp + 0x34]
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
xor ecx, ecx
inc eax
mov cx, word [ebx + 6]
add edi, 2
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edi
jl 0x475e15
lea ecx, [esp + 0x1c]
call fcn.0062d833
mov dword [esp + 0x1c], 0x67b26c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], 3
call fcn.0062d85d
mov eax, 1
jmp 0x475ed8
cmp dword [esi + 0xe8], eax
jne 0x475eab
cmp dword [esi + 0xec], ecx
je 0x475dd4
mov dword [esp + 0x1c], 0x67b26c
mov dword [esp + 0x2c], 2
jmp 0x475ecd
mov dword [esp + 0x1c], 0x67b26c
mov dword [esp + 0x2c], 1
lea ecx, [esp + 0x1c]
call fcn.0062d85d
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x477cb0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x65ce40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x68]
mov esi, ecx
push 9
mov ecx, edi
mov dword [esp + 0x14], esi
call fcn.00628cdb
xor ebp, ebp
cmp eax, ebp
jle 0x477d0f
push eax
lea eax, [esp + 0x6c]
push eax
mov ecx, edi
call fcn.00620c42
push eax
mov ecx, edi
mov dword [esp + 0x64], ebp
call fcn.0062894d
lea ecx, [esp + 0x68]
mov dword [esp + 0x60], 0xffffffff
call fcn.00628814
mov edx, dword [esp + 0x6c]
lea ecx, [esp + 0x68]
push ecx
push edx
lea ecx, [esi + 0xa8]
call fcn.00624726
mov esi, eax
mov eax, dword [esp + 0x68]
neg esi
sbb esi, esi
and esi, eax
je 0x477e1c
mov ebx, dword [sym.imp.USER32.dll_MapVirtualKeyA]
test ebp, ebp
mov eax, 0x6ed4ac
jne 0x477d4a
mov eax, 0x680c3c
push eax
mov ecx, edi
call fcn.00628bf0
test byte [esi], 0x10
je 0x477d63
push 0x6ed4a4
mov ecx, edi
call fcn.00628bf0
test byte [esi], 8
je 0x477d74
push 0x6ed49c
mov ecx, edi
call fcn.00628bf0
test byte [esi], 4
je 0x477d85
push 0x6ed494
mov ecx, edi
call fcn.00628bf0
test byte [esi], 1
je 0x477de8
xor eax, eax
push 0
mov ax, word [esi + 2]
push eax
call ebx
lea ecx, [esp + 0x18]
push 0x40
shl eax, 0x10
push ecx
push eax
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.00628882
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x70]
push eax
call fcn.00477b30
push eax
mov ecx, edi
mov dword [esp + 0x64], 1
call fcn.00628c2c
lea ecx, [esp + 0x6c]
mov dword [esp + 0x60], 0xffffffff
call fcn.00628814
jmp 0x477df3
mov cl, byte [esi + 2]
push ecx
mov ecx, edi
call fcn.00628c17
mov ax, word [esi + 4]
mov ebp, 1
test ax, ax
je 0x477e1c
and eax, 0xffff
lea edx, [eax*4]
sub edx, eax
neg edx
lea esi, [esi + edx*2]
test esi, esi
jne 0x477d3c
mov ecx, dword [esp + 0x58]
pop edi
mov eax, ebp
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x54
ret 8
Function at 0x478090
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
mov eax, dword [esp + 0x30]
push esi
push edi
xor edi, edi
test eax, eax
mov esi, ecx
mov dword [esp + 8], edi
jne 0x4780af
lea eax, [esi + 0x30]
lea edi, [esi + 0x28]
mov dword [esp + 8], eax
jmp 0x4780cf
cmp eax, 1
jne 0x4780c0
lea ecx, [esi + 0x54]
lea edi, [esi + 0x4c]
mov dword [esp + 8], ecx
jmp 0x4780cf
cmp eax, 2
jne 0x4780cf
lea edx, [esi + 0x78]
lea edi, [esi + 0x70]
mov dword [esp + 8], edx
xor eax, eax
test edi, edi
je 0x47815c
mov ecx, dword [esp + 0x18]
test ecx, ecx
jbe 0x47814e
mov eax, dword [esp + 0x10]
push ebx
mov ebx, dword [esp + 0x18]
push ebp
mov ebp, dword [esp + 0x3c]
sub eax, ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x40], ecx
jmp 0x4780ff
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
test ecx, ecx
mov ecx, dword [esp + 0x38]
push edi
push ebp
push ecx
push edx
je 0x47812a
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov eax, dword [eax + ebx]
push ecx
push edx
push eax
mov ecx, esi
call fcn.00478190
jmp 0x47813e
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov edx, dword [ebx]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00478200
mov eax, dword [esp + 0x40]
add ebx, 4
dec eax
mov dword [esp + 0x40], eax
jne 0x4780fb
pop ebp
pop ebx
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
sub eax, dword [esp + 0x20]
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x478177
mov edx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, dword [esp + 0x28]
push ecx
push edx
mov ecx, esi
call fcn.004783e0
pop edi
mov eax, 1
pop esi
pop ecx
ret 0x2c
Function at 0x478200
Capabilities:
Capture screenshot

Disassembly:
push 0xffffffffffffffff
push 0x65cea0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], 0x672220
mov ebp, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
cmp eax, ebp
mov dword [esp + 0x2c], ebx
jne 0x478250
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0x3c]
cmp eax, edi
je 0x47831e
push ebx
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
push esi
call ebx
push esi
mov edi, eax
call ebx
mov ebx, eax
mov eax, dword [esp + 0x44]
push eax
push ebp
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esp + 0x34]
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
push ecx
push edi
mov dword [esp + 0x18], eax
call ebp
mov edx, dword [esp + 0x10]
mov dword [esp + 0x34], eax
push edx
push ebx
call ebp
mov edx, dword [esp + 0x40]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x38]
push 0xcc0020
sub eax, edx
push 0
cdq
sub eax, edx
mov edx, dword [esp + 0x4c]
sar eax, 1
mov ecx, eax
mov eax, dword [esp + 0x44]
sub eax, edx
push 0
cdq
sub eax, edx
mov edx, dword [esp + 0x48]
push edi
push edx
mov edx, dword [esp + 0x4c]
sar eax, 1
neg eax
neg ecx
push edx
push eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x34]
push eax
push edi
call ebp
mov ecx, dword [esp + 0x14]
push ecx
push ebx
call ebp
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push edx
call fcn.0062d806
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
push edi
call esi
push ebx
call esi
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
jmp 0x47832c
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x1c]
push eax
call fcn.0062d806
mov eax, dword [esi + 0xe8]
test eax, eax
jne 0x478354
lea ecx, [ebp + 4]
lea eax, [edi + 4]
mov dword [esi + 0xe8], ebp
mov dword [esi + 0xf0], ecx
mov dword [esi + 0xec], edi
mov dword [esi + 0xf4], eax
mov esi, dword [esp + 0x4c]
mov eax, dword [esi + 4]
test eax, eax
jne 0x478371
push 0xa
push 0
push 0xff
push edi
push ebp
mov ecx, esi
call fcn.00622a25
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x48]
mov edx, dword [esi + 4]
lea eax, [esp + 0x1c]
neg eax
sbb eax, eax
push ecx
and eax, ebp
push eax
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
lea ecx, [esp + 0x1c]
call fcn.0062d833
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esp + 0x1c], 0x67b26c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], 1
call fcn.0062d85d
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x1c