joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c6af0
Capabilities:
Create thread
Resume thread

Disassembly:
push ecx
lea eax, [esp]
push esi
push eax
push 4
push 0
mov esi, ecx
push 0x4c6a80
push 0
push 0
mov dword [esi], 0
mov dword [esi + 0xc], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 8], eax
je 0x4c6b33
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
pop ecx
ret

Function at 0x4c6b40
Capabilities:
Terminate thread

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x4c6bbb
push ebp
lea ecx, [esp + 0xc]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push ecx
push eax
mov dword [esi + 0xc], 1
mov dword [esp + 0x18], ebx
call edi
test eax, eax
je 0x4c6ba8
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [esp + 0x10], 0x103
jne 0x4c6ba8
inc ebx
cmp ebx, 0xa
ja 0x4c6b9c
mov edx, dword [esi + 8]
push 0x64
push edx
call ebp
mov ecx, dword [esi + 8]
lea eax, [esp + 0x10]
push eax
push ecx
call edi
test eax, eax
jne 0x4c6b73
jmp 0x4c6ba8
mov edx, dword [esi + 8]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov dword [esi + 8], 0
pop ebp
pop esi
pop ebx
pop ecx
ret
Function at 0x4c9d10
Capabilities:
Log keystrokes via application hook

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
test eax, eax
mov eax, dword [esi + 4]
je 0x4c9d48
test eax, eax
jne 0x4c9d5a
push edi
call fcn.005885ac
mov edi, dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push edi
push 0x4ca050
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [esi + 4], eax
pop edi
pop esi
ret 4
test eax, eax
je 0x4c9d5a
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov dword [esi + 4], 0
pop esi
ret 4
Function at 0x4d0d90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x59feba
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov ecx, dword [esp + 0x20]
push esi
call fcn.004a0840
mov esi, eax
test esi, esi
mov dword [esp + 8], esi
je 0x4d0f39
mov eax, dword [esi + 0x80]
push ebp
xor ebp, ebp
mov dword [esp + 0x10], eax
test eax, eax
jle 0x4d0f04
push ebx
mov ebx, dword [esp + 0x3c]
push edi
push ebp
mov ecx, esi
call fcn.004449e0
mov edi, eax
mov eax, dword [edi + 0x190]
test eax, eax
je 0x4d0ef5
mov eax, dword [edi + 0x11c]
test eax, eax
je 0x4d0ef5
push 0x170
call fcn.0056bc5e
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
xor eax, eax
cmp esi, eax
mov dword [esp + 0x28], eax
je 0x4d0e34
mov ecx, esi
call fcn.00494b70
mov dword [esi], 0x5bc3e0
mov dword [esi + 0x1c], 0x5bc384
mov eax, esi
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push 1
push edx
mov edx, dword [esp + 0x40]
mov ecx, dword [ecx + 0xe4]
push 0x5fb410
push edx
push eax
mov dword [esp + 0x3c], 0xffffffff
call fcn.00497640
mov esi, eax
push ebx
mov ecx, esi
mov eax, dword [esi]
mov dword [esi + 0x78], ebp
call dword [eax + 0x5c]
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call fcn.00443410
push 0
lea edx, [esp + 0x44]
push eax
push edx
mov dword [esp + 0x34], 1
call fcn.004d0850
add esp, 0xc
mov eax, dword [eax]
mov ecx, esi
push eax
mov byte [esp + 0x2c], 2
call fcn.00492a60
lea ecx, [esp + 0x40]
mov byte [esp + 0x28], 1
call fcn.0056bf1d
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.0056bf1d
push 8
mov ecx, esi
call fcn.00493ea0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xdc]
cmp dword [esi + 0x9c], eax
je 0x4d0ee6
push 1
mov ecx, esi
mov dword [esi + 0x9c], eax
call fcn.00492730
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x14]
inc eax
xor ebx, ebx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
inc ebp
cmp ebp, eax
jl 0x4d0ddb
pop edi
pop ebx
mov eax, dword [esp + 0x34]
pop ebp
test eax, eax
je 0x4d0f39
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x4d0f39
mov ecx, dword [esp + 0x24]
push 0
push 0xffffffffffffffff
push 0
mov ecx, dword [ecx + 0xe4]
push 0x88b9
push 1
call fcn.00497310
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 0x5c]
mov ecx, dword [esp + 0x14]
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x4f8a20
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
push esi
mov esi, dword [ecx + 0x100]
test esi, esi
push edi
mov dword [esp + 8], ecx
je 0x4f8ab9
mov edi, dword [esi + 0x34]
xor eax, eax
mov al, byte [esp + 0x11]
cmp al, 2
jne 0x4f8ab9
test edi, edi
je 0x4f8ab9
push ebx
mov ebx, dword [esp + 0x18]
push ebp
mov ebp, dword [esp + 0x20]
push ebp
lea ecx, [esi + 4]
push ebx
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x4f8a65
mov eax, dword [edi + 0x2c]
jmp 0x4f8a8a
mov edx, dword [esi + 0x34]
mov ecx, ebp
mov eax, dword [edx + 0x58]
test eax, eax
jne 0x4f8a73
mov ecx, ebx
mov eax, dword [esi + 0x1c]
add eax, ecx
mov ecx, dword [edi + 0x40]
cmp eax, ecx
jl 0x4f8a88
mov edx, dword [edi + 0x3c]
add ecx, edx
cmp eax, ecx
jl 0x4f8a8a
mov eax, ecx
mov esi, dword [esp + 0x10]
push eax
mov ecx, esi
call fcn.004f89a0
mov eax, dword [esp + 0x18]
pop ebp
cmp eax, 0x202
pop ebx
je 0x4f8ab0
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x4f8ab9
push 0
mov ecx, esi
call fcn.004f88a0
pop edi
pop esi
pop ecx
ret 0xc

Function at 0x50bfa0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a3c6f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x5f2228]
push esi
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
lea edx, [esp + 0x10]
push ecx
push edx
mov dword [esp + 0x28], 1
call fcn.00568f1c
mov esi, dword [esp + 0x30]
add esp, 0x14
lea eax, [esp + 4]
mov ecx, esi
push eax
call fcn.0056bc92
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call fcn.0056bf1d
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x50fc10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5a3f47
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
xor eax, eax
or ecx, 0xffffffff
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
mov byte [esi + 0x10], al
mov byte [esi + 0x11], al
mov byte [esi + 0x12], al
mov byte [esi + 0x13], al
mov byte [esi + 0x14], al
mov byte [esi + 0x15], 1
mov byte [esi + 0x16], al
mov edx, dword [0x5f2228]
mov dword [esp + 4], esi
mov dword [esi + 0x18], edx
mov edx, dword [0x5f2228]
mov dword [esp + 0x10], eax
mov dword [esi + 0x1c], edx
mov edx, dword [0x5f2228]
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], 0x5c1410
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], 0xa
lea ecx, [esi + 0x50]
mov byte [esp + 0x10], 3
call fcn.0045eb50
mov ecx, esi
mov byte [esp + 0x10], 4
mov dword [esi], 0x5c13b0
call fcn.0050fda0
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x512ea0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a422f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
mov dword [esp + 0xc], 0
push ecx
lea eax, [esp + 0x30]
mov ebx, 1
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
mov dword [esp + 0x28], ebx
call fcn.0056bc92
push ecx
mov byte [esp + 0x28], 2
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x5f80b8
call fcn.0056bf8b
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], bl
push ecx
mov ecx, esi
call fcn.005135d0
mov edx, dword [esp + 8]
mov byte [esp + 0x20], 3
mov eax, dword [edx - 8]
test eax, eax
je 0x512f22
lea eax, [esp + 8]
lea ecx, [esp + 0x2c]
push eax
call fcn.0056c056
push 0x5f
push 0x2e
lea ecx, [esp + 0x34]
call fcn.005687d6
push 0x5f
push 0x5c
lea ecx, [esp + 0x34]
call fcn.005687d6
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call fcn.0056bc92
mov dword [esp + 0xc], ebx
lea ecx, [esp + 8]
mov byte [esp + 0x20], bl
call fcn.0056bf1d
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], 0
call fcn.0056bf1d
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret 8

Function at 0x513080
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a4278
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0xc]
lea eax, [edi + 0x30]
push eax
call fcn.00490790
mov eax, dword [edi + 0x20]
mov dword [esp + 0x1c], 0
test eax, eax
jne 0x5130e0
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.004907b0
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 4
mov esi, dword [esp + 0x24]
test esi, esi
jne 0x51310f
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.004907b0
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 4
lea ecx, [esp + 0x10]
lea ebx, [edi + 0x68]
push ecx
push esi
mov ecx, ebx
mov dword [esp + 0x18], 0
call fcn.0056bb33
test eax, eax
jne 0x51317a
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push esi
call fcn.0056bf8b
mov ecx, edi
call fcn.00512f80
test eax, eax
mov dword [esp + 0x10], eax
jne 0x51316e
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.004907b0
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 4
push esi
mov ecx, ebx
mov edi, eax
call fcn.0056bb77
mov dword [eax], edi
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.004907b0
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret 4
Function at 0x5132a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x5a42b8
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
xor edi, edi
mov eax, dword [esi + 0x20]
cmp eax, edi
je 0x5132d1
cmp dword [esi + 0x2c], edi
je 0x5132d1
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ebp, dword [esp + 0x28]
lea ecx, [esp + 0x10]
push ebp
call fcn.0056bf8b
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], edi
cmp dword [eax - 8], edi
jne 0x5132fa
push 0x5ff8a0
lea ecx, [esp + 0x14]
call fcn.0056c0a6
push 0x5f
push 0x2e
lea ecx, [esp + 0x18]
call fcn.005687d6
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
mov dword [esi + 0x2c], ecx
mov ecx, esi
mov dword [esi + 0x20], ebx
mov dword [esi + 0x28], edi
mov dword [esi + 0x24], edi
call fcn.00512e00
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 0x20]
push 0x5f7a9c
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x51334a
test ebp, ebp
jne 0x51334a
push ebx
mov ecx, esi
call fcn.005131f0
mov edi, eax
xor ebx, ebx
test edi, edi
je 0x513381
mov ecx, dword [esi + 0x20]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x513381
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, dword [esi + 0x20]
push edi
push edx
mov dword [esi + 0x24], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esi + 0x24]
mov ebx, 1
add eax, ecx
mov dword [esi + 0x28], eax
mov ecx, dword [esi + 0x64]
test ecx, ecx
je 0x513398
push 0
push 0
push 0
push 0x294f
call fcn.0054a440
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0056bf1d
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc
Function at 0x5134a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a4310
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push ecx
lea eax, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
mov dword [esp + 0x30], 1
call fcn.0056bc92
push ecx
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
mov byte [esp + 0x34], 2
call fcn.0056bc92
lea eax, [esp + 0x10]
mov ecx, esi
push eax
mov byte [esp + 0x34], 1
call fcn.00513670
mov eax, dword [esp + 8]
xor ebx, ebx
cmp dword [eax - 8], ebx
jne 0x513549
lea ecx, [esp + 8]
mov byte [esp + 0x28], 1
call fcn.0056bf1d
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], bl
call fcn.0056bf1d
lea ecx, [esp + 0x34]
mov dword [esp + 0x28], 0xffffffff
call fcn.0056bf1d
or eax, 0xffffffff
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop esi
pop ebx
add esp, 0x24
ret 8
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
push edx
push ecx
push 0x5f86b0
push eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
call fcn.0042469d
mov eax, dword [esp + 0x28]
xor edx, edx
mov dh, byte [esp + 0x20]
and eax, 0xff
mov dl, byte [esp + 0x24]
add esp, 0x14
shl edx, 8
or edx, eax
lea ecx, [esp + 8]
mov esi, edx
mov byte [esp + 0x28], 1
call fcn.0056bf1d
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], bl
call fcn.0056bf1d
lea ecx, [esp + 0x34]
mov dword [esp + 0x28], 0xffffffff
call fcn.0056bf1d
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 8

Function at 0x514890
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a4539
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0056fcc1
mov eax, dword [esp + 0x5c]
xor edi, edi
push eax
lea ecx, [esi + 0x24]
mov dword [esp + 0x58], edi
call fcn.0056bf8b
lea ebx, [esi + 0x28]
mov dword [ebx + 4], edi
mov dword [ebx], vtable.CFont.0
mov dword [esi + 0x60], 0x5c1900
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], 0x11
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], 0xa
lea ecx, [esp + 0x10]
push edi
push ecx
push 0x3c
push 0x1f
mov byte [esp + 0x64], 3
mov dword [esi], 0x5c1898
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
mov ecx, ebx
call fcn.005745e8
push 0x12
call fcn.004a5d60
mov ecx, eax
call fcn.004a65f0
mov dword [esi + 0x30], eax
lea ebx, [esi + 0x3c]
xor eax, eax
xor ecx, ecx
mov dword [ebx], eax
xor edx, edx
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], ecx
mov dword [ebx + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [ebx + 8], edx
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x54], 1
mov dword [ebx + 0xc], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret 4
Function at 0x5148a9
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a4539
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0056fcc1
mov eax, dword [esp + 0x5c]
xor edi, edi
push eax
lea ecx, [esi + 0x24]
mov dword [esp + 0x58], edi
call fcn.0056bf8b
lea ebx, [esi + 0x28]
mov dword [ebx + 4], edi
mov dword [ebx], vtable.CFont.0
mov dword [esi + 0x60], 0x5c1900
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], 0x11
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], 0xa
lea ecx, [esp + 0x10]
push edi
push ecx
push 0x3c
push 0x1f
mov byte [esp + 0x64], 3
mov dword [esi], 0x5c1898
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
mov ecx, ebx
call fcn.005745e8
push 0x12
call fcn.004a5d60
mov ecx, eax
call fcn.004a65f0
mov dword [esi + 0x30], eax
lea ebx, [esi + 0x3c]
xor eax, eax
xor ecx, ecx
mov dword [ebx], eax
xor edx, edx
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], ecx
mov dword [ebx + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [ebx + 8], edx
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x54], 1
mov dword [ebx + 0xc], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret 4
Function at 0x528110
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, ecx
mov ebx, dword [ebp + 0x1e0]
test bl, 0x80
jne 0x5281eb
push esi
push edi
mov edi, ebx
and edi, 2
call fcn.004b2540
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x14]
push eax
push 0
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, edi
neg esi
sbb esi, esi
and esi, 3
add esi, 3
test bl, 8
jne 0x528178
test edi, edi
jne 0x52816c
and ebx, 4
or ebx, 0x10
shr ebx, 2
jmp 0x528176
and bl, 4
neg bl
sbb ebx, ebx
add ebx, 8
mov esi, ebx
mov eax, dword [ebp + 0x1e4]
mov edi, 1
test eax, eax
je 0x52818c
mov edi, 2
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [ebp + 0x1c]
jne 0x52819e
mov edi, 3
jmp 0x5281c4
mov ebx, dword [ebp + 0x1c]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, ebx
jne 0x5281c4
push 0
push 0
push 0x129
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
test al, 1
jne 0x5281c4
mov edi, 4
mov ecx, ebp
call fcn.0056fb8b
test eax, eax
jne 0x5281d4
mov edi, 5
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push edi
push esi
push eax
call fcn.004383f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4

Function at 0x5287b7
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x20
lea eax, [esp + 0x10]
push esi
mov esi, ecx
push eax
push 0
mov ecx, dword [esi + 0x1c]
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
cmp eax, dword [esi + 0x1e4]
je 0x528831
mov edx, dword [esi + 0x1c]
push 0
push 0
push edx
mov dword [esi + 0x1e4], eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esi + 0x1e4]
test eax, eax
je 0x528831
mov eax, dword [esi + 0x1c]
lea ecx, [esp + 4]
push ecx
mov dword [esp + 8], 0x10
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0xffffffff
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov ecx, esi
call fcn.0056c987
pop esi
add esp, 0x20
ret 0xc
Function at 0x52a930
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
push esi
mov esi, dword [ecx + 0xcc]
test esi, esi
push edi
mov dword [esp + 8], ecx
je 0x52a9cc
mov edi, dword [esi + 0x44]
xor eax, eax
mov al, byte [esp + 0x11]
cmp al, 2
jne 0x52a9cc
test edi, edi
je 0x52a9cc
push ebx
mov ebx, dword [esp + 0x18]
push ebp
mov ebp, dword [esp + 0x20]
push ebp
lea ecx, [esi + 8]
push ebx
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x52a975
mov eax, dword [edi + 0x2c]
jmp 0x52a997
mov eax, dword [esi + 4]
mov ecx, ebp
test eax, eax
jne 0x52a980
mov ecx, ebx
mov eax, dword [esi + 0x20]
add eax, ecx
mov ecx, dword [edi + 0x3c]
cmp eax, ecx
jl 0x52a995
mov edx, dword [edi + 0x38]
add ecx, edx
cmp eax, ecx
jl 0x52a997
mov eax, ecx
mov edi, dword [esp + 0x10]
push eax
mov ecx, edi
call fcn.0052a890
mov eax, dword [esp + 0x18]
pop ebp
cmp eax, 0x202
mov dword [esi], 1
pop ebx
je 0x52a9c3
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x52a9cc
push 0
mov ecx, edi
call fcn.0052a790
pop edi
pop esi
pop ecx
ret 0xc

Function at 0x5336e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a5d79
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.0056fcc1
mov eax, dword [0x5f2228]
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esi + 0x50], eax
mov ecx, dword [0x5f2228]
mov dword [esi + 0x54], ecx
mov dword [esi + 0x68], 0x5c4cf8
mov dword [esi + 0x6c], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x70], edi
mov ecx, esi
mov byte [esp + 0x14], 3
mov dword [esi], 0x5c4ca0
call fcn.0058ec1c
lea edx, [esi + 0x40]
or eax, 0xffffffff
push edx
mov dword [esi + 0x30], 1
mov dword [esi + 0x2c], 1
mov dword [esi + 0x38], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x28], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x3c], edi
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x60], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x64], 1
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x53a970
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a62b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.005743f4
mov eax, dword [esi + 0x1c]
lea ecx, [esp + 0xc]
add eax, 0x10c
mov dword [esp + 0x38], 0
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0046bd40
mov edx, dword [esp + 0x24]
lea ecx, [esp + 4]
push ecx
push 1
push 0x5f0f10
push edx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [esp + 8]
add eax, 0xa
cmp eax, 0x12
jge 0x53992d
mov eax, 0x12
lea ecx, [esp + 0xc]
mov dword [esi + 0x18], eax
call fcn.0046bde0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00574466
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret
jmp 0x5398c0