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

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esp + 8]
lea eax, [ecx - 9]
cmp eax, 0x1f
ja case.0x4be96a.10
movzx eax, byte [eax + 0x4beb48]
jmp dword [eax*4 + 0x4beb20]
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
sub ecx, 0x10
sbb edx, 0
push edx
push ecx
mov ecx, esi
call fcn.004be8d0
xor eax, eax
pop esi
ret 8
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
add eax, 0x10
adc ecx, 0
push ecx
push eax
mov ecx, esi
call fcn.004be8d0
xor eax, eax
pop esi
ret 8
cmp byte [esi + 0x58], 0
jne 0x4be9bf
cmp byte [esi + 0x59], 0
sete al
test al, al
mov byte [esi + 0x59], al
je 0x4beaec
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
sub ecx, 1
sbb edx, 0
push edx
push ecx
mov ecx, esi
call fcn.004be8d0
xor eax, eax
pop esi
ret 8
cmp byte [esi + 0x58], 0
jne 0x4bea03
cmp byte [esi + 0x59], 0
sete al
test al, al
mov byte [esi + 0x59], al
je 0x4bea03
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
push eax
push ecx
mov ecx, esi
call fcn.004be8d0
xor eax, eax
pop esi
ret 8
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
add edx, 1
adc eax, 0
push eax
push edx
mov ecx, esi
call fcn.004be8d0
xor eax, eax
pop esi
ret 8
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0x18]
shl eax, 4
sub eax, 0x10
cdq
sub ecx, eax
mov eax, dword [esi + 0x1c]
sbb eax, edx
push eax
push ecx
mov ecx, esi
call fcn.004be8d0
xor eax, eax
pop esi
ret 8
mov eax, dword [esi + 0x44]
shl eax, 4
sub eax, 0x10
cdq
add eax, dword [esi + 0x18]
mov ecx, esi
adc edx, dword [esi + 0x1c]
push edx
push eax
call fcn.004be8d0
xor eax, eax
pop esi
ret 8
push 0x11
mov byte [esi + 0x59], 0
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x4bea82
push 0
push 0
mov ecx, esi
call fcn.004be8d0
xor eax, eax
pop esi
ret 8
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
and ecx, 0xfffffff0
push edx
push ecx
mov ecx, esi
call fcn.004be8d0
xor eax, eax
pop esi
ret 8
push 0x11
mov byte [esi + 0x59], 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x4beac6
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
sub eax, 1
sbb ecx, 0
push ecx
push eax
mov ecx, esi
call fcn.004be8d0
xor eax, eax
pop esi
ret 8
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
or edx, 0xf
push eax
push edx
mov ecx, esi
call fcn.004be8d0
xor eax, eax
pop esi
ret 8
cmp byte [esi + 0x58], 0
mov byte [esi + 0x59], 0
sete cl
mov byte [esi + 0x58], cl
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
push edx
push eax
mov ecx, esi
call fcn.004be8d0
xor eax, eax
pop esi
ret 8
mov edx, dword [esp + 0xc]
mov eax, dword [esi]
push edx
push ecx
push 0x100
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
pop esi
ret 8
Function at 0x4bf8e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x61ca30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push esi
mov esi, ecx
lea ecx, [esp + 8]
call fcn.0051b1b6
xor ebx, ebx
xor eax, eax
push ebx
push str.HexEdit:_Default_to_read_only
lea ecx, [esp + 0x10]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x28], 4
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
call fcn.0051afda
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x24]
push edx
push ebx
movzx eax, al
push 0x640ba8
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 4]
push ebx
push eax
lea ecx, [esp + 0x2c]
push 0x68786564
push ecx
call fcn.005279e2
add esp, 0x20
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x18]
mov byte [esp + 0x50], 1
je 0x4bf9b5
cmp dword [esp + 0xc], ebx
setne cl
cmp cl, bl
sete dl
mov byte [esp + 0x10], cl
mov ecx, esi
push edx
push eax
call fcn.004befe0
mov eax, dword [esp + 0x10]
push eax
push str.HexEdit:_Default_to_read_only
lea ecx, [esp + 0x10]
call fcn.0051aeda
mov eax, dword [esp + 0x14]
cmp eax, 0x6575cc
pop esi
pop ebx
je 0x4bf9c7
push eax
call fcn.005f7371
add esp, 4
lea ecx, [esp]
mov dword [esp + 0x48], 0xffffffff
call fcn.0051aec7
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret

Function at 0x4c07d0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
add eax, 0xffffffba
cmp eax, 0x2c
push esi
mov esi, ecx
ja case.0x4c07ea.72
movzx eax, byte [eax + 0x4c0914]
jmp dword [eax*4 + 0x4c08f8]
lea ecx, [esi + 0x18]
call fcn.005200fd
test al, al
je case.0x4c07ea.72
push 0
push 0x9d25
mov ecx, esi
call fcn.004c0490
xor eax, eax
pop esi
ret 8
lea ecx, [esi + 0x18]
call fcn.005200fd
test al, al
je case.0x4c07ea.72
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge case.0x4c07ea.72
push 0
push 0x9d24
mov ecx, esi
call fcn.004c0490
xor eax, eax
pop esi
ret 8
lea ecx, [esi + 0x18]
call fcn.005200fd
test al, al
je case.0x4c07ea.72
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge case.0x4c07ea.72
push 0
push 0x9d18
mov ecx, esi
call fcn.004c0490
xor eax, eax
pop esi
ret 8
lea ecx, [esi + 0x18]
call fcn.005200fd
test al, al
je case.0x4c07ea.72
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge case.0x4c07ea.72
push 0
push 0x9d30
mov ecx, esi
call fcn.004c0490
xor eax, eax
pop esi
ret 8
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge case.0x4c07ea.72
mov ecx, esi
call fcn.004bf8e0
xor eax, eax
pop esi
ret 8
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge case.0x4c07ea.72
lea ecx, [esi + 0x18]
call fcn.005200fd
test al, al
je case.0x4c07ea.72
cmp byte [esi + 0x9f], 0
je case.0x4c07ea.72
mov ecx, esi
call fcn.004bdcd0
xor eax, eax
pop esi
ret 8
Function at 0x4c1160
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x61ca83
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi], 0x640e24
mov dword [esp + 8], esi
mov dword [esi + 4], edi
mov eax, dword [esp + 0x1c]
mov dword [esi + 8], eax
mov eax, 0x6575cc
mov dword [esi], 0x640e40
mov dword [esp + 0x14], edi
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 1
call fcn.0051e425
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x4c4bf0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
cmp eax, dword [esi + 8]
jne 0x4c4c90
cmp dword [esp + 0xc], 1
jne 0x4c4c90
cmp dword [esi + 0xc], 0
je 0x4c4c90
cmp dword [esi + 0x38], 0
je 0x4c4c25
mov ecx, dword [esi + 0x78]
push ecx
call dword [sym.imp.USER32.dll_SetCursor]
pop esi
ret 0xc
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call edi
test ax, ax
jge 0x4c4c44
mov edx, dword [esi + 0x7c]
push edx
call dword [sym.imp.USER32.dll_SetCursor]
pop edi
pop esi
ret 0xc
cmp dword [esi + 0x90], 0
je 0x4c4c77
push 0x11
call edi
test ax, ax
jge 0x4c4c68
mov eax, dword [esi + 0x80]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
pop edi
pop esi
ret 0xc
mov ecx, dword [esi + 0x78]
push ecx
call dword [sym.imp.USER32.dll_SetCursor]
pop edi
pop esi
ret 0xc
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
pop edi
pop esi
ret 0xc
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
pop esi
ret 0xc
Function at 0x4c51a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x61cc31
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esi], 0x640f1c
push edi
mov dword [esp + 0x10], esi
mov dword [esi + 4], ebx
mov ebp, dword [esp + 0x5c]
mov dword [esi], 0x640f40
mov dword [esi + 8], ebp
mov dword [esp + 0x54], ebx
mov dword [esi + 0xc], ebx
mov edi, dword [sym.imp.GDI32.dll_CreatePen]
push 0x404040
mov eax, 1
push ebx
push ebx
mov byte [esp + 0x60], al
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x38], ebx
mov byte [esi + 0x50], bl
mov dword [esi + 0x54], ebx
call edi
push 0x80808
push ebx
push ebx
mov dword [esi + 0x60], eax
call edi
push 0xffffff
push ebx
push ebx
mov dword [esi + 0x64], eax
call edi
push 0xc0ff80
push ebx
push ebx
mov dword [esi + 0x68], eax
call edi
push 0x80e0e0
push ebx
push ebx
mov dword [esi + 0x6c], eax
call edi
push 0x80
push ebx
push ebx
mov dword [esi + 0x70], eax
call edi
mov edi, dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [esi + 0x74], eax
mov eax, dword [0x6b48a8]
push 0x10d
push eax
call edi
mov dword [esi + 0x78], eax
mov ecx, dword [0x6b48a8]
push 0x10e
push ecx
call edi
mov dword [esi + 0x7c], eax
mov edx, dword [0x6b48a8]
push 0x10f
push edx
call edi
mov dword [esi + 0x80], eax
mov eax, dword [0x6b48a8]
push 0x110
push eax
call edi
lea ecx, [esi + 0x98]
mov dword [esi + 0x84], eax
call fcn.0051e425
lea ecx, [esi + 0xb0]
mov byte [esp + 0x54], 2
call fcn.0051e425
fldz
push 0x11
fstp qword [esi + 0x18]
fld qword [0x62ffe8]
fstp qword [esi + 0x20]
fld qword [0x63fa38]
fstp qword [esi + 0x28]
fld qword [0x640f70]
fstp qword [esi + 0x30]
call dword [sym.imp.GDI32.dll_GetStockObject]
push ebp
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], 0x10
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
cmp edi, ebx
je 0x4c531d
mov ecx, dword [esi + 0x58]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
test eax, eax
je 0x4c5315
lea edx, [esp + 0x14]
push edx
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
test eax, eax
je 0x4c5315
mov eax, dword [esp + 0x14]
mov dword [esi + 0x5c], eax
push edi
push ebp
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esp + 0x4c]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret 4
Function at 0x4c72a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x61cc48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esi], 0x641470
push edi
mov dword [esp + 0xc], esi
mov dword [esi + 4], ebx
fldz
mov eax, dword [esp + 0x20]
mov dword [esi + 8], eax
mov dword [esi], 0x6414b8
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
fst qword [esi + 0xc8]
or eax, 0xffffffff
fst qword [esi + 0xd0]
lea ecx, [esi + 0x108]
fstp qword [esi + 0xd8]
mov dword [esp + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
mov dword [esi + 0xbc], ebx
mov dword [esi + 0xc0], ebx
mov dword [esi + 0xe0], ebx
mov dword [esi + 0xf8], ebx
mov byte [esi + 0xfc], bl
mov byte [esi + 0xfd], bl
mov byte [esi + 0xfe], bl
mov byte [esi + 0xff], 1
mov byte [esi + 0x100], bl
call fcn.0051e425
mov edi, dword [sym.imp.GDI32.dll_CreateSolidBrush]
push 0xff
call edi
push ebx
mov dword [esi + 0x30], eax
call edi
push 0x808080
mov dword [esi + 0x34], eax
call edi
push 0xffe0c0
mov dword [esi + 0x38], eax
call edi
mov edi, dword [sym.imp.USER32.dll_SetRect]
push ebx
push ebx
push ebx
push ebx
lea ecx, [esi + 0xa8]
push ecx
mov dword [esi + 0x3c], eax
call edi
push ebx
push ebx
push ebx
push ebx
lea edx, [esi + 0x98]
push edx
call edi
push ebx
push ebx
push ebx
push ebx
lea eax, [esi + 0x78]
push eax
call edi
push ebx
push ebx
push ebx
push ebx
lea ecx, [esi + 0x68]
push ecx
call edi
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x4c9820
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x61cca1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push esi
mov esi, ecx
mov ecx, 1
mov dword [esi], eax
xor eax, eax
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], ecx
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], ecx
mov ecx, 0x6575c8
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esp + 4], esi
mov dword [esi + 0x4c], ecx
mov dword [esi + 0x50], ecx
mov dword [esi + 0x54], ecx
mov dword [esp + 0x10], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x74], eax
push 0xfffffffffffffff6
mov ecx, esi
mov byte [esp + 0x14], 2
call fcn.004c9010
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x4c9930
Capabilities:
Allocate thread local storage

Disassembly:
push 0xffffffffffffffff
push 0x61ccdc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x6415c8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi + 4], eax
lea eax, [esi + 0xc]
xor ebx, ebx
push eax
mov dword [esi + 8], ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea edi, [esi + 0x24]
mov dword [esp + 0x18], ebx
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 0xc], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x50], ebx
mov eax, dword [edi + 4]
cmp eax, dword [edi + 0xc]
mov byte [esp + 0x18], 3
jne 0x4c99a2
mov ecx, edi
call fcn.004c97e0
mov ecx, dword [edi + 4]
mov dword [ecx], 0x62aa66
add dword [edi + 4], 4
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4c9d50
Capabilities:
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x61db4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
push 0x20
mov edi, ecx
call fcn.005f7f03
mov esi, eax
add esp, 4
mov dword [esp + 0xc], esi
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x18], ebx
je 0x4c9da4
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], 0x400
mov dword [esi + 0x1c], ebx
jmp 0x4c9da6
xor esi, esi
mov eax, dword [edi + 4]
push esi
push eax
mov dword [esp + 0x20], 0xffffffff
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea ebx, [edi + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [edi + 0x48]
add edi, 0x44
cmp ecx, dword [edi + 0xc]
jne 0x4c9dd5
mov ecx, edi
call fcn.004c97e0
mov edx, dword [edi + 4]
mov dword [edx], esi
add dword [edi + 4], 4
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4c9e00
Capabilities:
Set thread local storage value

Disassembly:
sub esp, 0xc
push ebp
push esi
push edi
mov edi, ecx
lea eax, [edi + 0xc]
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 8]
mov dword [esp + 0x10], 0
mov ecx, dword [esp + 0x10]
cmp eax, ecx
setg al
test al, al
mov byte [esp + 0xf], al
je 0x4c9e6c
push 0x4000
call fcn.005f7f03
mov ebp, dword [esp + 0x20]
mov edx, dword [ebp + 8]
lea esi, [ebp + 4]
add esp, 4
cmp edx, dword [esi + 0xc]
mov edi, eax
jne 0x4c9e57
mov ecx, esi
call fcn.004c97e0
mov eax, dword [esi + 4]
mov dword [eax], edi
add dword [esi + 4], 4
mov dword [ebp + 0x14], edi
mov dword [ebp + 0x18], 0
jmp 0x4c9ee6
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 8]
mov ebp, 0xfffffffc
je 0x4c9e9a
lea ecx, [ecx]
mov edx, dword [esi + 8]
mov eax, dword [edx - 4]
push eax
call fcn.005f7e65
add dword [esi + 8], ebp
mov eax, dword [esi + 4]
add esp, 4
cmp eax, dword [esi + 8]
jne 0x4c9e80
mov ecx, dword [edi + 4]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [edi + 0x48]
mov eax, dword [edi + 0x44]
cmp eax, ecx
je 0x4c9ec9
cmp dword [eax], esi
je 0x4c9ebb
add eax, 4
cmp eax, ecx
jne 0x4c9eb0
cmp eax, ecx
je 0x4c9ec9
mov edx, ecx
mov ecx, dword [edx - 4]
mov dword [eax], ecx
add dword [edi + 0x48], ebp
test esi, esi
je 0x4c9ee6
mov eax, dword [esi + 4]
test eax, eax
je 0x4c9edd
push eax
call fcn.005f7a6f
add esp, 4
push esi
call fcn.005f7e65
add esp, 4
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, byte [esp + 0xf]
pop edi
pop esi
pop ebp
add esp, 0xc
ret 4
Function at 0x4ca420
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
cmp eax, 0x25
push esi
mov esi, ecx
jne 0x4ca43e
mov eax, dword [esi + 0xc]
sub eax, 1
push eax
call fcn.004c9010
xor al, al
pop esi
ret 4
cmp eax, 0x27
jne 0x4ca457
mov ecx, dword [esi + 0xc]
add ecx, 1
push ecx
mov ecx, esi
call fcn.004c9010
xor al, al
pop esi
ret 4
cmp eax, 0x58
jne 0x4ca438
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x4ca438
mov ecx, esi
call fcn.004ca3e0
mov al, 1
pop esi
ret 4
Function at 0x4cbd90
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x61cd03
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [esp + 0x20]
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov dword [esi], 0x641678
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
mov ecx, dword [0x6b48a8]
push 0xce
push ecx
mov dword [esp + 0x14], esi
call dword [sym.imp.USER32.dll_LoadMenuA]
fldz
fstp qword [esi + 0x28]
lea edi, [esi + 0x58]
fld1
mov dword [esi + 0xc], eax
fst qword [esi + 0x30]
mov dword [esi + 0x10], ebx
fst qword [esi + 0x38]
mov dword [esi + 0x14], ebx
fld qword [0x62cf08]
mov dword [esi + 0x18], ebx
fstp qword [esi + 0x40]
mov byte [esi + 0x51], bl
mov byte [esi + 0x52], bl
mov byte [esi + 0x53], bl
mov dword [esi + 0x54], ebx
fstp qword [esi + 0x48]
mov dword [edi], 0x6575cc
mov dword [edi + 4], 0x6575cc
mov dword [edi + 8], 0x6575cc
mov edx, dword [esi + 4]
push esi
push ebx
push edx
mov dword [esp + 0x30], ebx
mov dword [esi + 0x64], ebx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, dword [esi + 0xc]
push 0x9e37
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00519a9b
add esp, 0xc
push eax
mov ecx, edi
mov byte [esp + 0x28], 1
call fcn.00403990
mov eax, dword [esp + 0x10]
cmp eax, 0x6575cc
mov byte [esp + 0x24], bl
je 0x4cbe6b
push eax
call fcn.005f7371
add esp, 4
mov ecx, esi
call fcn.004cbc30
mov ecx, dword [esp + 0x1c]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x4d1180
Capabilities:
Create pipe

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
mov esi, ecx
mov eax, dword [esi]
cmp eax, 0xffffffff
push edi
je 0x4d119b
push eax
call ebx
mov dword [esi], 0xffffffff
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
lea edi, [esi + 4]
je 0x4d11af
push eax
call ebx
mov dword [edi], 0xffffffff
mov eax, dword [esp + 0x10]
push eax
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x4d11ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x18]
push str.Unable_to_create_pipe:___s
push ecx
call fcn.0051c348
add esp, 0xc
push 0x694d20
lea edx, [esp + 0x18]
push edx
call fcn.005f8355
cmp byte [esp + 0x14], 0
je 0x4d121c
mov eax, dword [esi]
cmp eax, 0xffffffff
mov dword [esp + 0x14], 0xffffffff
je 0x4d120c
push 1
push eax
lea ecx, [esp + 0x1c]
call fcn.004d01a0
mov eax, dword [esi]
cmp eax, 0xffffffff
mov ecx, dword [esp + 0x14]
mov dword [esi], ecx
je 0x4d121c
push eax
call ebx
cmp byte [esp + 0x18], 0
je 0x4d124e
mov eax, dword [edi]
cmp eax, 0xffffffff
mov dword [esp + 0x14], 0xffffffff
je 0x4d123e
push 1
push eax
lea ecx, [esp + 0x1c]
call fcn.004d01a0
mov eax, dword [edi]
cmp eax, 0xffffffff
mov edx, dword [esp + 0x14]
mov dword [edi], edx
je 0x4d124e
push eax
call ebx
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x4d27d8
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x61d105
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
call fcn.004cff70
xor ebp, ebp
mov dword [esp + 0x1c], ebp
mov dword [esi + 0xc], 0x646130
mov dword [esi], 0x646798
mov dword [esi + 0xc], 0x646784
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], ebp
mov dword [esi + 0x18], ebp
mov dword [esi + 0x1c], ebp
mov ebx, 0x6575cc
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
or eax, 0xffffffff
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], ebp
mov dword [esi + 0x8c], eax
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], ebp
mov dword [esi + 0x98], eax
mov dword [esi + 0xa0], ebp
mov dword [esi + 0xa4], ebp
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], eax
mov dword [esi + 0xb8], eax
mov dword [esi + 0xbc], eax
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esi + 0xc0]
call fcn.004d0eb0
lea edi, [esi + 0xd0]
push ebp
mov ecx, edi
mov byte [esp + 0x20], 0xd
call fcn.0051a0b9
mov dword [edi], 0x6465f4
mov dword [edi + 0x14], 0xffffffff
mov dword [edi + 0x18], ebp
mov dword [edi + 0x1c], ebp
mov dword [edi + 0x24], ebp
mov dword [edi + 0x28], ebp
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x40], ebx
lea edi, [esi + 0x114]
push ebp
mov ecx, edi
mov byte [esp + 0x20], 0xe
call fcn.0051a0b9
mov dword [edi], 0x6465f4
mov dword [edi + 0x14], 0xffffffff
mov dword [edi + 0x18], ebp
mov dword [edi + 0x1c], ebp
mov dword [edi + 0x24], ebp
mov dword [edi + 0x28], ebp
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x40], ebx
push str.VideoEnc:
lea ecx, [esi + 0xfc]
mov byte [esp + 0x20], 0xf
mov dword [esi + 0x20], 0x10000
call fcn.004039e0
push 0x646754
lea ecx, [esi + 0x140]
call fcn.004039e0
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4