joyce8/EMBER2024-capa huggingface dataset:
Function at 0x512f80
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x1b0], 0
push edi
mov edi, dword [esp + 0xc]
je 0x512fcc
cmp edi, 0x28
jne 0x512fcc
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x512fc5
mov eax, dword [esi + 0xcc]
mov ecx, dword [esi + 0xfc]
push 1
push 0
push 1
push 1
push eax
call fcn.0050ce80
cmp eax, dword [esi + 0xcc]
jg 0x512fcc
mov ecx, esi
call fcn.005126c0
mov ecx, dword [esp + 0x10]
push ecx
push edi
mov ecx, esi
call fcn.0050b590
pop edi
pop esi
ret 8

Function at 0x516a80
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebx + 0x100]
test esi, esi
je 0x516b15
push ebp
mov ebp, dword [esp + 0x10]
mov eax, ebp
shr eax, 8
push edi
mov edi, dword [esi + 0x34]
cmp al, 2
jne 0x516b13
test edi, edi
je 0x516b13
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
push edx
lea eax, [esi + 4]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x516ac5
mov eax, dword [edi + 0x2c]
jmp 0x516aed
mov ecx, dword [esi + 0x34]
cmp dword [ecx + 0x58], 0
mov ecx, dword [esp + 0x1c]
jne 0x516ad6
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 0x1c]
add eax, ecx
mov ecx, dword [edi + 0x40]
cmp eax, ecx
jl 0x516aeb
mov edx, dword [edi + 0x3c]
add ecx, edx
cmp eax, ecx
jl 0x516aed
mov eax, ecx
push eax
mov ecx, ebx
call fcn.00516a00
cmp ebp, 0x202
je 0x516b0a
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x516b13
push 0
mov ecx, ebx
call fcn.00516970
pop edi
pop ebp
pop esi
pop ebx
ret 0xc

Function at 0x517088
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov esi, ecx
mov dword [ebx + 8], 1
call fcn.00515160
test eax, eax
je 0x5170d6
push edi
push esi
lea eax, [esp + 0x10]
push eax
mov ecx, ebx
call fcn.004ea3e0
push 0x10
mov edi, eax
call dword [sym.imp.USER32.dll_GetKeyState]
xor ecx, ecx
test ax, ax
mov eax, dword [edi + 4]
setl cl
lea edx, [esi + 0xa4]
push ecx
mov ecx, dword [edi]
push edx
mov edx, dword [ebx + 0xc]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00516cd0
pop edi
pop esi
pop ebx
add esp, 8
ret 4
Function at 0x521850
Capabilities:
Enumerate gui resources

Disassembly:
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp]
push eax
push 0x5217a0
push ecx
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
mov ax, word [esp]
pop ecx
ret

Function at 0x521f10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov ecx, dword [esp + 0xc]
push ebx
push ebp
push edi
call fcn.00408ab0
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
mov eax, edi
shr eax, 4
inc eax
movzx ecx, ax
push 6
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x521f45
pop edi
pop ebp
xor eax, eax
pop ebx
ret 0xc
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x521f3d
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x521f8b
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x521f80
mov edi, edi
cmp esi, eax
jae 0x521f8b
sub edi, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x521f70
cmp esi, eax
jae 0x521f8b
movzx edi, word [esi]
test edi, edi
jne 0x521f94
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
ret 0xc
mov ebx, dword [esp + 0x1c]
push edi
mov ecx, ebx
call fcn.0047b7d6
lea ecx, [edi + edi]
push ecx
add esi, 2
push esi
push eax
call fcn.004c2690
add esp, 0xc
push edi
mov ecx, ebx
call fcn.0047b7ac
pop esi
mov eax, edi
pop edi
pop ebp
pop ebx
ret 0xc
Function at 0x5264b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x5bacb8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x62ece4]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [ebp + 8], 0
call fcn.00486467
mov esi, dword [esp + 0x50]
test esi, esi
je 0x52654f
mov edi, dword [esp + 0x4c]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x52654f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x52654f
cmp ebx, 0xa
jb 0x52654f
push 0
push ebx
push eax
lea ecx, [esp + 0x20]
call fcn.0059c0e9
lea eax, [esp + 0x14]
push eax
mov ecx, ebp
mov dword [esp + 0x48], 0
call fcn.00526320
lea ecx, [esp + 0x14]
mov esi, eax
mov dword [esp + 0x44], 0xffffffff
call fcn.0059c464
mov eax, esi
jmp 0x526551
xor eax, eax
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 8
Function at 0x528630
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x5bd3a8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x62ece4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x24]
xor edi, edi
cmp eax, edi
je 0x52866c
cmp dword [esi + 0x30], edi
je 0x52866c
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ebp, dword [esp + 0x2c]
push ebp
lea ecx, [esp + 0x18]
call fcn.00408c50
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], edi
cmp dword [eax - 0xc], edi
jne 0x528697
push 0x12
push str.OFFICE2007BLUE_INI
lea ecx, [esp + 0x1c]
call fcn.00408b20
push 0x5f
push 0x2e
lea ecx, [esp + 0x1c]
call fcn.00527e80
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x28]
mov dword [esi + 0x30], ecx
mov ecx, esi
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], edi
call fcn.00527c90
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x24]
push 0x5e7e0c
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x5286e7
test ebp, ebp
jne 0x5286e7
push ebx
mov ecx, esi
call fcn.00528580
mov edi, eax
xor ebx, ebx
test edi, edi
je 0x52871c
mov ecx, dword [esi + 0x24]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x52871c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, dword [esi + 0x24]
push edi
push edx
mov dword [esi + 0x28], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, dword [esi + 0x28]
mov ebx, 1
mov dword [esi + 0x2c], eax
mov ecx, dword [esi + 0x68]
test ecx, ecx
je 0x528733
push 0
push 0
push 0
push 0x294f
call fcn.0056c750
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x52875b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc
Function at 0x528b70
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5bae39
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x62ece4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
call fcn.004827ec
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [esi], vtable.CXTPOffice2007Images.0
call fcn.0047b8ad
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x528bc6
push 0x80004005
call fcn.004072a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x20], eax
lea edi, [esi + 0x4c]
mov ecx, edi
mov byte [esp + 0x20], 1
call fcn.00485c33
mov dword [edi], vtable.CXTPOffice2007Images::CBitmapDC.0
mov dword [edi + 0x10], ebx
lea ebp, [esi + 0x6c]
push 0xa
mov ecx, ebp
mov byte [esp + 0x24], 2
call fcn.00497e22
push ebx
push 0xc7
mov ecx, ebp
mov byte [esp + 0x28], 3
call fcn.00492abb
mov dword [esi + 0x30], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x68], ebx
call fcn.004840f7
mov eax, dword [eax + 8]
push ebx
push ebx
push eax
mov ecx, esi
call fcn.00528630
lea eax, [esi + 0x64]
push eax
push 0x200
push 0x200
push ebx
mov dword [eax], ebx
call fcn.004d0f40
add esp, 0x10
push ebx
mov dword [esi + 0x60], eax
call dword [sym.imp.USER32.dll_GetDC]
mov ebp, eax
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, edi
call fcn.0048613d
push ebp
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [esi + 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x528ed0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5baee8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x62ece4]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0x2c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x10], esp
mov edi, esp
push eax
mov dword [esp + 0x24], 1
call fcn.004087a0
add eax, 0x10
mov dword [edi], eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov edi, esp
push eax
mov byte [esp + 0x28], 2
call fcn.004087a0
add eax, 0x10
mov dword [edi], eax
mov edi, dword [esp + 0x30]
add esp, 4
push edi
mov ecx, esi
mov byte [esp + 0x28], 1
call fcn.00528780
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x1c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x528f76
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x528f9e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 0xc
Function at 0x529330
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5bafd0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x62ece4]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x62ece4]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x50]
mov eax, 0x55
mov edx, eax
mov ecx, 0xaa
mov word [esp + 0x28], ax
mov eax, ecx
mov word [esp + 0x2a], cx
mov ecx, edx
mov word [esp + 0x2c], dx
mov edx, eax
mov word [esp + 0x2e], ax
mov eax, ecx
mov word [esp + 0x30], cx
mov ecx, edx
xor ebx, ebx
mov word [esp + 0x32], dx
mov word [esp + 0x34], ax
mov word [esp + 0x36], cx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], vtable.CBitmap.0
lea edx, [esp + 0x28]
push edx
push 1
push 1
push 8
push 8
mov dword [esp + 0x58], ebx
call dword [sym.imp.GDI32.dll_CreateBitmap]
push eax
lea ecx, [esp + 0x20]
call fcn.0048640f
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], vtable.CBrush.0
mov eax, dword [esp + 0x20]
push eax
mov byte [esp + 0x48], 1
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
push eax
lea ecx, [esp + 0x18]
call fcn.0048640f
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.0048654a
mov ebp, eax
call fcn.004de230
push 0xf
mov ecx, eax
call fcn.004ddbe0
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x2c]
mov ecx, esi
call eax
mov ebx, eax
call fcn.004de230
push 0x14
mov ecx, eax
call fcn.004ddbe0
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x30]
mov ecx, esi
call eax
mov ecx, dword [edi + 4]
mov edx, dword [edi]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0xc]
mov edi, dword [edi + 8]
push 0xf00021
sub eax, ecx
push eax
sub edi, edx
push edi
push ecx
mov ecx, dword [esi + 4]
push edx
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
push ebp
mov ecx, esi
call fcn.0048654a
mov edx, dword [esi]
mov eax, dword [edx + 0x2c]
push ebx
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [esp + 0x24]
mov edx, dword [edx + 0x30]
push eax
mov ecx, esi
call edx
lea ecx, [esp + 0x14]
call fcn.00486467
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 0
mov dword [esp + 0x14], vtable.CBrush.0
call fcn.00407390
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x1c], vtable.CBitmap.0
call fcn.00407390
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00499aa8
add esp, 0x34
ret 8
Function at 0x529c10
Capabilities:
Link many functions at runtime

Disassembly:
push ecx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0xc], 0
call fcn.00529b00
cmp dword [eax + 4], 0
je 0x529c89
mov edi, dword [esi + 8]
push ebx
mov ebx, dword [esi + 4]
call fcn.00529b00
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp ebx, edi
je 0x529c62
cmp dword [esi + 0x24], 0
jne 0x529c54
mov eax, dword [esi]
push str.GdipCreateFromHDC2
push eax
call ebp
mov dword [esi + 0x24], eax
mov edx, dword [esi + 0x24]
lea ecx, [esp + 0x10]
push ecx
push edi
push ebx
call edx
jmp 0x529c80
cmp dword [esi + 0x28], 0
jne 0x529c75
mov eax, dword [esi]
push str.GdipCreateFromHDC
push eax
call ebp
mov dword [esi + 0x28], eax
mov edx, dword [esi + 0x28]
lea ecx, [esp + 0x10]
push ecx
push ebx
call edx
mov edi, dword [esp + 0x10]
pop ebx
test edi, edi
jne 0x529c90
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret
call fcn.00529b00
mov esi, eax
cmp dword [esi + 0x18], 0
jne 0x529caa
mov eax, dword [esi]
push str.GdipSetPageUnit
push eax
call ebp
mov dword [esi + 0x18], eax
mov ecx, dword [esi + 0x18]
push 2
push edi
call ecx
mov edi, dword [esp + 0xc]
call fcn.00529b00
mov esi, eax
cmp dword [esi + 0x1c], 0
jne 0x529cd0
mov edx, dword [esi]
push str.GdipSetSmoothingMode
push edx
call ebp
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x1c]
push 2
push edi
call eax
mov edi, dword [esp + 0xc]
call fcn.00529b00
mov esi, eax
cmp dword [esi + 0x14], 0
jne 0x529cf6
mov ecx, dword [esi]
push str.GdipSetPixelOffsetMode
push ecx
call ebp
mov dword [esi + 0x14], eax
mov edx, dword [esi + 0x14]
push 4
push edi
call edx
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebp
pop ecx
ret
Function at 0x5348b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebp
mov ebp, ecx
mov ecx, dword [ebp + 0xfc]
push edi
movzx edi, word [esp + 0x10]
call fcn.0050ccb0
test edi, edi
jne 0x5348d1
pop edi
xor eax, eax
pop ebp
pop ecx
ret 8
push esi
call fcn.004840f7
mov esi, dword [eax + 0xc]
test esi, esi
je 0x53490c
push 0xf1
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x53490c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esp + 0xc], eax
test eax, eax
je 0x53490c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x534915
pop esi
pop edi
xor eax, eax
pop ebp
pop ecx
ret 8
movzx eax, word [esi + 6]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0047b302
mov edi, eax
xor eax, eax
add esp, 4
xor ecx, ecx
cmp ax, word [esi + 6]
jae 0x534955
mov eax, esi
call fcn.005329a0
movzx edx, word [eax + ecx*2]
mov dword [edi + ecx*4], edx
movzx edx, word [esi + 6]
inc ecx
cmp ecx, edx
jl 0x534945
movzx eax, word [esi + 6]
push ebx
push eax
push edi
mov ecx, ebp
call fcn.00534660
cmp dword [esp + 0x1c], 0
mov ebx, eax
je 0x5349b4
mov ecx, ebp
call fcn.00508480
movzx edx, word [esi + 4]
movzx ecx, word [esi + 2]
push 0
push edx
mov edx, dword [esp + 0x20]
push ecx
movzx ecx, word [esi + 6]
push ecx
push edi
push edx
mov ecx, eax
call fcn.004d72b0
test eax, eax
jne 0x534997
xor ebx, ebx
movzx eax, word [esi + 2]
cmp ax, 0x10
je 0x5349b4
movzx ecx, word [esi + 4]
movzx eax, ax
mov dword [ebp + 0x10c], eax
mov dword [ebp + 0x110], ecx
push edi
call fcn.0047b2f7
mov eax, dword [esp + 0x14]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
pop ecx
ret 8

Function at 0x537ba0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5bb9d3
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x62ece4]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
call fcn.004827ec
xor eax, eax
mov dword [esi], vtable.CXTPRibbonPaintManager.0
mov dword [esp + 0x14], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], vtable.CXTPPaintManagerFont.0
mov dword [esi + 0x30], 1
lea ecx, [esi + 0x4c]
mov byte [esp + 0x14], 1
call fcn.004dd910
mov eax, dword [esp + 0x1c]
mov ecx, esi
mov dword [esi + 0x6c], eax
mov dword [esi + 0x20], 1
call fcn.00535e50
mov dword [esi + 0x38], eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x64]
call eax
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x53a7e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5bbb30
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x62ece4]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x62ece4]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
mov ebp, ecx
mov eax, 0x55
mov edx, eax
mov ecx, 0xaa
mov word [esp + 0x2c], ax
mov eax, ecx
mov word [esp + 0x2e], cx
mov ecx, edx
mov word [esp + 0x30], dx
mov edx, eax
mov word [esp + 0x32], ax
mov eax, ecx
mov word [esp + 0x34], cx
mov ecx, edx
xor ebx, ebx
mov word [esp + 0x36], dx
mov word [esp + 0x38], ax
mov word [esp + 0x3a], cx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], vtable.CBitmap.0
lea edx, [esp + 0x2c]
push edx
push 1
push 1
push 8
push 8
mov dword [esp + 0x5c], ebx
call dword [sym.imp.GDI32.dll_CreateBitmap]
push eax
lea ecx, [esp + 0x24]
call fcn.0048640f
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], vtable.CBrush.0
mov eax, dword [esp + 0x24]
push eax
mov byte [esp + 0x4c], 1
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
push eax
lea ecx, [esp + 0x1c]
call fcn.0048640f
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.0048654a
mov edx, dword [esi]
push 0xf
mov ecx, ebp
mov ebx, eax
mov dword [esp + 0x18], edx
call fcn.004f5b10
push eax
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0x2c]
mov ecx, esi
call edx
mov dword [esp + 0x28], eax
mov eax, dword [esi]
push 0x14
mov ecx, ebp
mov dword [esp + 0x18], eax
call fcn.004f5b10
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [edx + 0x30]
mov ecx, esi
call eax
mov ecx, dword [edi + 4]
mov edx, dword [edi]
mov ebp, eax
mov eax, dword [edi + 0xc]
mov edi, dword [edi + 8]
push 0xf00021
sub eax, ecx
push eax
sub edi, edx
push edi
push ecx
mov ecx, dword [esi + 4]
push edx
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
push ebx
mov ecx, esi
call fcn.0048654a
mov edx, dword [esi]
mov eax, dword [esp + 0x28]
mov edx, dword [edx + 0x2c]
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push ebp
mov ecx, esi
call edx
lea ecx, [esp + 0x18]
call fcn.00486467
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 0
mov dword [esp + 0x18], vtable.CBrush.0
call fcn.00407390
lea ecx, [esp + 0x20]
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x20], vtable.CBitmap.0
call fcn.00407390
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00499aa8
add esp, 0x38
ret 8
Function at 0x53d820
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5bbbd8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x62ece4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.0052d330
mov ecx, esi
mov dword [esp + 0x18], 0
mov dword [esi], vtable.CXTPRibbonTheme.0
call fcn.004f5d00
mov edi, 1
mov dword [eax + 4], edi
push 8
push 0x5dd608
lea ecx, [esi + 0x100]
mov dword [esi + 0x70], edi
mov dword [esi + 0xc4], 0xc
mov dword [esi + 0xc8], 0x1a
mov dword [esi + 0xd0], 0x16
call fcn.00408b20
push edi
push 0
push 0
push 0
lea eax, [esi + 0xec]
push eax
mov dword [esi + 0xfc], edi
mov dword [esi + 0x8c], 0
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [esi + 0x470]
mov dword [ecx + 0x30], edi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x540710
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5bbe68
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x62ece4]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
call fcn.005406c0
lea ecx, [esi + 0x5e8]
mov dword [esp + 0x14], 0
mov dword [esi], vtable.CXTPVisualStudio2008Theme.0
call fcn.004dd910
lea ecx, [esi + 0x608]
call fcn.004dd8f0
lea ecx, [esi + 0x614]
call fcn.004dd8f0
mov eax, dword [esi + 0x470]
mov dword [esi + 0x7c], 0xa
mov dword [eax + 0x30], 1
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x54acf0
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
call fcn.00549910
test eax, eax
je 0x54ad16
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00564500
pop esi
ret 0xc
mov ecx, esi
call fcn.004f2420
test eax, eax
je 0x54ad5e
mov ecx, dword [esi + 0x100]
push 0
push 0xffffffffffffffff
call fcn.00509840
mov ecx, dword [esi + 0x100]
mov eax, dword [ecx]
mov edx, dword [eax + 0x148]
push 0
push 0xffffffffffffffff
call edx
mov ecx, dword [esp + 0x10]
mov eax, dword [esi]
mov edx, dword [esp + 0xc]
mov eax, dword [eax + 0x100]
push ecx
push edx
mov ecx, esi
call eax
pop esi
ret 0xc
mov eax, dword [esi + 0x9c]
cmp eax, 0xffffffff
jne 0x54ad78
mov ecx, dword [esi + 0x15c]
test ecx, ecx
je 0x54ad78
call fcn.004f27e0
test eax, eax
je 0x54ae2d
cmp dword [esp + 8], 0
jne 0x54ae2d
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esi]
mov edx, dword [edx + 0xf4]
push eax
push ecx
mov ecx, esi
call edx
mov eax, dword [esi + 0x1dc]
cmp eax, 0x41
jne 0x54adc4
mov eax, dword [esi + 0x80]
mov ecx, dword [esi + 0x100]
push 0
push eax
call fcn.00509840
pop esi
ret 0xc
test eax, eax
je 0x54ae0d
mov eax, dword [esi + 0x100]
push edi
test eax, eax
jne 0x54add7
xor edi, edi
jmp 0x54adda
mov edi, dword [eax + 0x20]
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
xor ecx, ecx
test ax, ax
mov eax, dword [esp + 0x14]
setl cl
lea edx, [esi + 0x188]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push eax
push ecx
push edi
lea ecx, [esi + 0x184]
call fcn.00502aa0
pop edi
pop esi
ret 0xc
mov ecx, dword [esi + 0x100]
push 0
push 0xffffffffffffffff
call fcn.00509840
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push edx
push eax
mov ecx, esi
call fcn.0054a810
pop esi
ret 0xc