joyce8/EMBER2024-capa huggingface dataset:
Function at 0x452560
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x649348
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov eax, dword [ecx + 0x64]
push esi
xor esi, esi
mov dword [esp + 8], ecx
test eax, eax
mov dword [esp + 0xc], eax
jle 0x4526eb
push ebx
push ebp
push edi
lea ebp, [ecx + 0x70]
jmp 0x45259a
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x60]
mov ecx, 0xa
lea edi, [esp + 0x1c]
push 0x730500
mov ebx, dword [eax + esi*4]
xor eax, eax
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
call fcn.0061887e
push esi
lea ecx, [esp + 0x14]
xor edi, edi
push str.item__d
push ecx
mov dword [esp + 0x58], edi
call fcn.00611062
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov dword [esp + 0x1c], 0xd
mov dword [esp + 0x20], esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], esi
mov eax, dword [edx - 8]
lea ecx, [esp + 0x10]
push eax
call fcn.00618c40
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x2c], 0xf000
mov edx, dword [ecx + 0x8c]
push eax
push edi
push 0x1007
push edx
mov dword [esp + 0x38], 0x3000
mov dword [esp + 0x34], edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebx]
cmp eax, edi
je 0x452638
add eax, 0xc
jmp 0x45263d
mov eax, 0x730500
push eax
push edi
push esi
mov ecx, ebp
call fcn.0061249f
mov eax, dword [ebx + 4]
cmp eax, edi
je 0x452653
add eax, 0xc
jmp 0x452658
mov eax, 0x730500
push eax
push 1
push esi
mov ecx, ebp
call fcn.0061249f
mov eax, dword [ebx + 0xc]
cmp eax, edi
je 0x45266f
add eax, 0xc
jmp 0x452674
mov eax, 0x730500
push eax
push 2
push esi
mov ecx, ebp
call fcn.0061249f
mov eax, dword [ebx + 8]
cmp eax, edi
je 0x45268b
add eax, 0xc
jmp 0x452690
mov eax, 0x730500
push eax
push 3
push esi
mov ecx, ebp
call fcn.0061249f
mov ecx, dword [esp + 0x14]
push ebx
call fcn.004522e0
test eax, eax
je 0x4526b0
push str.TRUE
jmp 0x4526b5
push str.FALSE
push 4
push esi
mov ecx, ebp
call fcn.0061249f
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00618c8f
lea ecx, [esp + 0x10]
mov dword [esp + 0x4c], 0xffffffff
call fcn.00618810
mov eax, dword [esp + 0x18]
inc esi
cmp esi, eax
jl 0x452596
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
pop esi
mov dword fs:[0], ecx
add esp, 0x40
ret

Function at 0x4533d0
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0xc]
cmp dword [esi + 4], edi
je 0x4533e9
mov dword [esi + 0xc], 0
call fcn.00453450
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 4
push 0
push 2
push esi
mov dword [0x730d68], eax
push 0x453200
mov dword [esi + 4], edi
call fcn.00619e2e
mov dword [esi + 8], eax
mov ecx, dword [eax + 0x28]
test ecx, ecx
jne 0x453423
pop edi
xor eax, eax
pop esi
ret 4
mov dword [eax + 0x24], 0
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
mov eax, 1
pop esi
ret 4
Function at 0x4535c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6493e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
push edi
push edi
push edi
push edi
push 1
push edi
lea ecx, [ebp - 0x30]
call fcn.006311fe
mov eax, dword [ebp + 8]
push edi
push edi
push 1
push 1
mov dword [ebp - 4], edi
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.0063138c
push 0x730500
lea ecx, [ebp + 8]
mov esi, eax
call fcn.0061887e
lea ecx, [ebp + 8]
push edi
push ecx
push 5
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.006322c4
mov edx, dword [ebp + 8]
push edx
call fcn.00465a6a
add esp, 4
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x14], eax
cmp edi, ebx
jae 0x453680
cmp edi, 0x1000
jae 0x453680
mov eax, ebx
sub eax, edi
cmp eax, 0x400
jbe 0x45366f
mov eax, dword [esi]
push 0x400
push 0x730968
mov ecx, esi
call dword [eax + 0x34]
add edi, eax
jmp 0x453643
mov edx, dword [esi]
push eax
push 0x730968
mov ecx, esi
call dword [edx + 0x34]
add edi, eax
jmp 0x453643
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x14]
jne 0x453690
mov eax, 1
xor ecx, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], ecx
fild qword [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
fild qword [ebp - 0x18]
mov eax, dword [esi]
mov ecx, esi
fdivp st(1)
fmul qword [0x667b38]
fstp qword [ebp - 0x18]
call dword [eax + 0x4c]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00618810
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.006311b9
fld qword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x453960
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x649481
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
xor ebp, ebp
mov dword [esp + 0x18], ebp
call fcn.00613663
mov dword [esi], method.CPtrArray.virtual_0
lea edi, [esi + 0x14]
mov byte [esp + 0x18], 1
mov ecx, edi
call fcn.00613663
mov dword [edi], method.CPtrArray.virtual_0
mov eax, dword [0x6d6700]
lea ecx, [esi + 0x2c]
mov dword [ecx], eax
lea edx, [esp + 0x20]
mov byte [esp + 0x18], 3
push edx
call fcn.00618949
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
push 0x2c
mov dword [esi + 0x40], eax
mov dword [esi + 0x30], ebp
mov dword [esi + 0x34], ebp
mov dword [esi + 0x38], ebp
mov dword [esi + 0x3c], ecx
call fcn.006147b3
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov byte [esp + 0x18], 4
je 0x4539f5
mov ecx, eax
call fcn.00453730
jmp 0x4539f7
xor eax, eax
mov edx, dword [esp + 0x28]
mov ecx, esi
push edx
mov byte [esp + 0x1c], 3
mov dword [esi + 0x28], eax
call fcn.00454080
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0xffffffff
call fcn.00618810
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10
Function at 0x456390
Capabilities:
Access peb ldr_data
Extract resource via kernel32 functions
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x64997f
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.004671d3
mov edx, dword [0x6d6700]
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 str._d._d._04d._04d
push eax
mov dword [esp + 0x30], 1
call fcn.00611062
mov esi, dword [esp + 0x38]
add esp, 0x1c
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call fcn.00618585
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call fcn.00618810
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4569e0
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push 0xffffffffffffffff
push 0x649af0
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.0061ab06
mov ecx, dword [0x6d6700]
lea ebp, [esi + 0x70]
mov dword [ebp], ecx
lea ecx, [esi + 0x84]
mov byte [esp + 0x1c], 2
call fcn.004596c0
lea ecx, [esi + 0x2f4]
mov byte [esp + 0x1c], 3
call fcn.004596c0
lea edi, [esi + 0x564]
mov byte [esp + 0x1c], 4
mov ecx, edi
call fcn.006148f5
mov dword [edi], vtable.CProgressCtrl.0
push 0x44
mov byte [esp + 0x20], 5
mov dword [esi], method.CDialog.virtual_0
call fcn.006147b3
mov edi, eax
add esp, 4
mov dword [esp + 0x3c], edi
cmp edi, ebx
mov byte [esp + 0x1c], 6
je 0x456aa2
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.00618585
mov ecx, edi
call fcn.00453960
jmp 0x456aa4
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.00618949
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00618810
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 0x456d90
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x649ba0
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.004553b0
mov edi, eax
test edi, edi
je 0x456f0c
mov eax, dword [edi + 0xc]
push ebx
push ebp
push eax
push 0x49e
mov ecx, esi
call fcn.00617c73
mov ecx, eax
call fcn.00617dea
mov ecx, dword [esi + 0x60]
push edi
mov ebp, dword [ecx + 0x1c]
call fcn.00455380
push 0x730500
lea ecx, [esp + 0x38]
mov ebx, eax
call fcn.0061887e
inc ebx
push ebp
push ebx
lea ecx, [esp + 0x3c]
push str.__d_of__d
push ecx
mov dword [esp + 0x3c], 0
call fcn.00611062
lea edx, [esp + 0x30]
push 0x819
push edx
call fcn.00406ca0
add esp, 0x18
lea ecx, [esp + 0x34]
lea edx, [esp + 0x1c]
push ecx
push eax
push edx
mov byte [esp + 0x38], 1
call fcn.00618a3f
push 0x6d4b7c
push eax
lea eax, [esp + 0x20]
mov byte [esp + 0x34], 2
push eax
call fcn.00618aa5
lea ecx, [edi + 4]
lea edx, [esp + 0x14]
push ecx
push eax
push edx
mov byte [esp + 0x38], 3
call fcn.00618a3f
push 0x6d641c
push eax
lea eax, [esp + 0x18]
mov byte [esp + 0x34], 4
push eax
call fcn.00618aa5
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 9
call fcn.00618810
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 8
call fcn.00618810
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 7
call fcn.00618810
lea ecx, [esp + 0x20]
mov byte [esp + 0x2c], 6
call fcn.00618810
mov ecx, dword [esp + 0x10]
push ecx
push 0x49d
mov ecx, esi
call fcn.00617c73
mov ecx, eax
call fcn.00617dea
push edi
mov ecx, esi
call fcn.00456fb0
mov ecx, dword [esi + 0x60]
push edi
call fcn.00455400
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
call fcn.00618810
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00618810
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.00456ce0
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 4

Function at 0x456f49
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x649bb8
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.004566b0
add esp, 0x14
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xc], 0
push ecx
push 0x4a0
mov ecx, esi
call fcn.00617c73
mov ecx, eax
call fcn.00617dea
lea ecx, [esp + 0x1c]
mov dword [esp + 0xc], 0xffffffff
call fcn.00618810
mov ecx, dword [esp + 4]
pop esi
mov dword fs:[0], ecx
add esp, 0xc
ret 0xc
Function at 0x457a50
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x649d7f
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.0061ab06
mov ecx, dword [0x6d6700]
lea edi, [esi + 0x60]
mov dword [edi], ecx
mov edx, dword [0x6d6700]
lea ebp, [esi + 0x64]
mov dword [ebp], edx
lea ebx, [esi + 0x68]
mov byte [esp + 0x28], 3
mov ecx, ebx
call fcn.006148f5
mov dword [ebx], vtable.CEdit.0
lea ebx, [esi + 0xa4]
mov byte [esp + 0x28], 4
mov ecx, ebx
call fcn.006148f5
mov dword [ebx], vtable.CProgressCtrl.0
lea eax, [esp + 0x30]
mov ecx, edi
push eax
mov byte [esp + 0x2c], 5
mov dword [esi], method.CDialog.virtual_0
call fcn.00618949
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x18]
push ecx
push edx
call fcn.00474560
mov edi, eax
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x38], 6
call fcn.00474330
add esp, 0x10
push edi
lea edx, [esp + 0x14]
push eax
push edx
mov byte [esp + 0x34], 7
call fcn.00618a3f
push 0x6d34c8
push eax
lea eax, [esp + 0x3c]
mov bl, 8
push eax
mov byte [esp + 0x34], bl
call fcn.00618aa5
push eax
mov ecx, ebp
mov byte [esp + 0x2c], 9
call fcn.00618949
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], bl
call fcn.00618810
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 7
call fcn.00618810
mov byte [esp + 0x28], 6
lea ecx, [esp + 0x14]
call fcn.00618810
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 5
call fcn.00618810
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.00618810
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 0x45a470
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x64a0c8
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.00614d20
push eax
lea ecx, [esp + 0x30]
call fcn.0061d55e
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.00614d20
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call fcn.0061d414
mov eax, dword [esi + 0xf4]
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
jne 0x45a5ad
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.0061ccd0
lea edi, [esi + 0x100]
mov ecx, edi
call fcn.0061d85d
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.0061d806
test edi, edi
je 0x45a559
mov edi, dword [edi + 4]
mov eax, dword [esi + 0xf4]
push edi
push eax
call fcn.0061ce11
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 0x45a5ce
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.0061d5d0
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 4
Function at 0x4747c0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x64cb10
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.0061d873
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
mov dword [esp + 0x30], 0
call fcn.0061ce64
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.0061d2e2
mov ecx, dword [esp + 0x44]
add ebp, 3
lea eax, [ecx - 2]
mov ecx, esi
push eax
push ebp
call fcn.0061d32e
mov edx, dword [esp + 0x44]
mov ecx, esi
lea eax, [edx - 2]
push eax
lea eax, [esp + 0x20]
push ebp
push eax
call fcn.0061d2e2
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.0061d32e
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.0061d2e2
mov eax, dword [esp + 0x44]
mov ecx, esi
add eax, 0xfffffffd
push eax
push ebp
call fcn.0061d32e
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x1c]
lea eax, [ecx - 3]
mov ecx, esi
push eax
push ebp
push edx
call fcn.0061d2e2
mov ecx, dword [esp + 0x34]
lea eax, [edi + 1]
push eax
push ecx
mov ecx, esi
call fcn.0061d32e
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.0061d2e2
mov edx, dword [esp + 0x44]
mov ecx, esi
lea ebx, [edx - 4]
push ebx
push ebp
call fcn.0061d32e
push ebx
lea eax, [esp + 0x3c]
push ebp
push eax
mov ecx, esi
call fcn.0061d2e2
mov ecx, dword [esp + 0x34]
push edi
push ecx
mov ecx, esi
call fcn.0061d32e
mov edx, dword [esp + 0x10]
mov ecx, esi
push edx
call fcn.0061ce64
mov dword [esp + 0x14], vtable.CGdiObject.0
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 1
call fcn.0061d85d
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x474e50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x64cc90
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.00477600
add esp, 8
cmp eax, ebp
je 0x475026
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], 0x661218
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], ebp
call fcn.0061d806
call fcn.00632d98
mov ebx, dword [eax + 0xc]
cmp ebx, ebp
je 0x47500d
push 0xf1
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebp
je 0x47500d
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
cmp ebx, ebp
je 0x47500d
mov edx, dword [esi + 0xec]
xor ecx, ecx
mov cx, word [ebx + 4]
xor eax, eax
mov ax, word [ebx + 2]
cmp edx, ebp
jne 0x474fe7
push 0xa
push ebp
mov dword [esi + 0xec], eax
lea edi, [eax + 4]
push 1
mov dword [esi + 0xf0], ecx
lea edx, [ecx + 4]
push ecx
mov dword [esi + 0xf4], edi
push eax
lea ecx, [esi + 0x2c]
mov dword [esi + 0xf8], edx
call fcn.00612a25
mov eax, dword [esi + 0x30]
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 + 0x30]
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
cmp word [ebx + 6], bp
mov dword [esp + 0x14], ebp
jbe 0x474fbe
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 0x474fa0
lea ecx, [esp + 0x18]
lea ebp, [esi + 0x34]
push ecx
push edi
mov ecx, ebp
call fcn.00614726
test eax, eax
je 0x474f8e
mov eax, dword [esp + 0x18]
test eax, eax
jge 0x474f9c
push edi
mov ecx, ebp
call fcn.00614748
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 0x474f65
lea ecx, [esp + 0x1c]
call fcn.0061d833
mov dword [esp + 0x1c], vtable.CGdiObject.0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], 3
call fcn.0061d85d
mov eax, 1
jmp 0x475028
cmp dword [esi + 0xec], eax
jne 0x474ffb
cmp dword [esi + 0xf0], ecx
je 0x474f24
mov dword [esp + 0x1c], vtable.CGdiObject.0
mov dword [esp + 0x2c], 2
jmp 0x47501d
mov dword [esp + 0x1c], vtable.CGdiObject.0
mov dword [esp + 0x2c], 1
lea ecx, [esp + 0x1c]
call fcn.0061d85d
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 0x476e60
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x64ce10
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.00618cd7
xor ebp, ebp
cmp eax, ebp
jle 0x476ebf
push eax
lea eax, [esp + 0x6c]
push eax
mov ecx, edi
call fcn.00610c42
push eax
mov ecx, edi
mov dword [esp + 0x64], ebp
call fcn.00618949
lea ecx, [esp + 0x68]
mov dword [esp + 0x60], 0xffffffff
call fcn.00618810
mov edx, dword [esp + 0x6c]
lea ecx, [esp + 0x68]
push ecx
push edx
lea ecx, [esi + 0xac]
call fcn.00614726
mov esi, eax
mov eax, dword [esp + 0x68]
neg esi
sbb esi, esi
and esi, eax
je 0x476fcc
mov ebx, dword [sym.imp.USER32.dll_MapVirtualKeyA]
test ebp, ebp
mov eax, 0x6db4ac
jne 0x476efa
mov eax, 0x66fb84
push eax
mov ecx, edi
call fcn.00618bec
test byte [esi], 0x10
je 0x476f13
push str.Alt
mov ecx, edi
call fcn.00618bec
test byte [esi], 8
je 0x476f24
push str.Ctrl
mov ecx, edi
call fcn.00618bec
test byte [esi], 4
je 0x476f35
push str.Shift
mov ecx, edi
call fcn.00618bec
test byte [esi], 1
je 0x476f98
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.0061887e
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x70]
push eax
call fcn.00476ce0
push eax
mov ecx, edi
mov dword [esp + 0x64], 1
call fcn.00618c28
lea ecx, [esp + 0x6c]
mov dword [esp + 0x60], 0xffffffff
call fcn.00618810
jmp 0x476fa3
mov cl, byte [esi + 2]
push ecx
mov ecx, edi
call fcn.00618c13
mov ax, word [esi + 4]
mov ebp, 1
test ax, ax
je 0x476fcc
and eax, 0xffff
lea edx, [eax*4]
sub edx, eax
neg edx
lea esi, [esi + edx*2]
test esi, esi
jne 0x476eec
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