joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4797f0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
xor esi, esi
push edi
xor edi, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], esi
cmp dword [esp + 0x30], esi
je 0x47982a
cmp dword [esp + 0x34], esi
je 0x47982a
push 0x200
call fcn.005351d9
mov ebx, eax
add esp, 4
cmp ebx, esi
jne 0x479835
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
lea eax, [esp + 0x14]
push eax
push 0x20119
push esi
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x479994
mov edx, dword [esp + 0x14]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push esi
push esi
push esi
push esi
lea ecx, [esp + 0x20]
push ecx
push ebx
push esi
push edx
mov dword [esp + 0x30], 0x100
call ebp
test eax, eax
jne 0x47992a
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x47988d
mov eax, reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x1c]
push ecx
push 0x20119
push 0
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x479903
lea edx, [esp + 0x34]
push edx
mov edx, dword [esp + 0x20]
lea eax, [ebx + 4]
push eax
lea ecx, [esp + 0x28]
push ecx
push 0
push str.ServiceName
push edx
mov dword [esp + 0x38], 1
mov dword [esp + 0x28], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4798f8
mov eax, ebx
mov dword [ebx], 0x5c2e5c5c
call fcn.00479760
cmp edx, edi
jb 0x4798f8
ja 0x4798f2
cmp eax, dword [esp + 0x24]
jbe 0x4798f8
mov dword [esp + 0x24], eax
mov edi, edx
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x14]
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
push ebx
inc esi
push esi
push edx
mov dword [esp + 0x30], 0x100
call ebp
test eax, eax
je 0x479880
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
ja 0x479940
cmp dword [esp + 0x24], 0
jbe 0x479994
mov ecx, dword [esp + 0x24]
push edi
push ecx
push str._012I64X
mov ecx, 0x200
call fcn.00476810
add esp, 0xc
test eax, eax
jne 0x479979
push ebx
mov dword [esp + 0x1c], 0xffffffff
call fcn.00534c33
mov eax, dword [esp + 0x1c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
push ebx
push edx
push str.MAC:
call fcn.004793b0
add esp, 0xc
mov dword [esp + 0x18], eax
push ebx
call fcn.00534c33
mov eax, dword [esp + 0x1c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x47ece0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x566ae0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5a53f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ecx, dword [0x5aad50]
xor edi, edi
cmp ecx, edi
jne 0x47ed2b
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
jne 0x47ed38
mov dword [ebp - 0x14], edi
jmp 0x47ed50
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x14], eax
cmp eax, edi
jne 0x47ede6
mov ecx, dword [0x5aad50]
mov eax, dword [ecx]
cmp eax, edi
je 0x47ed17
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x47ed17
mov ebx, 0x5aad50
mov dword [ebp - 4], edi
call fcn.0047ee00
mov esi, eax
mov dword [ebp - 0x14], esi
cmp esi, edi
jne 0x47ed8e
push 0x5952d0
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], 1
call fcn.0053090b
mov ecx, dword [0x5aad50]
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
je 0x47eda8
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp eax, edi
jne 0x47edd2
push 0x5952d0
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x1c], 4
call fcn.0053090b
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x47edc9
call fcn.0047f240
mov eax, 0x47edcf
ret
mov eax, dword [0x5aad50]
mov eax, dword [eax]
test eax, eax
je 0x47ede4
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47ee00
Capabilities:
Print debug messages

Disassembly:
sub esp, 8
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 4], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0x5b0]
add eax, 8
mov dword [eax + 0x5b0], ecx
cmp ecx, eax
jne 0x47ee2d
xor ecx, ecx
jmp 0x47ee39
mov edx, dword [ecx + 0x5a8]
mov dword [eax + 0x5b0], edx
push esi
mov esi, ecx
test ecx, ecx
je 0x47eeed
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenThread]
mov eax, dword [esi]
cmp dword [esp + 0x10], eax
jne 0x47ee60
mov dword [esp + 0xc], esi
jmp 0x47eec0
push eax
push 1
push 0x40
call edi
test eax, eax
jne 0x47eeb9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x47eeac
mov eax, dword [esi + 0x5ac]
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5a8], ecx
mov edx, dword [esi + 0x5a8]
mov eax, dword [esi + 0x5ac]
mov dword [edx + 0x5ac], eax
call ebp
test eax, eax
je 0x47eec0
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x47eec0
push 0x58b970
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x47eec0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx]
mov esi, dword [eax + 0x5b8]
add eax, 8
cmp esi, eax
je 0x47eee3
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5b0], ecx
test esi, esi
jne 0x47ee52
mov eax, dword [esp + 0xc]
pop edi
pop ebp
test eax, eax
jne 0x47ef01
mov ecx, dword [ebx]
add ecx, 8
call fcn.0047f170
test eax, eax
je 0x47ef01
mov edx, dword [esp + 8]
mov dword [eax], edx
pop esi
add esp, 8
ret

Function at 0x47ef10
Capabilities:
Allocate thread local storage

Disassembly:
push 0xffffffffffffffff
push 0x566d2b
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5a53f4]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
lea esi, [edi + 8]
push 0x5a0
lea eax, [esi + 8]
push 0
mov dword [edi], 0
mov dword [edi + 4], 0xffffffff
push eax
mov dword [esi], 0
call fcn.00534b20
add esp, 0xc
mov dword [esi + 0x5ac], esi
mov dword [esi + 0x5a8], esi
mov dword [esi + 0x5b0], esi
mov dword [esp + 0x14], 0
mov dword [edi + 0x5bc], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [edi + 4], eax
cmp eax, 0xffffffff
jne 0x47efa8
push 0x5952d0
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], 2
call fcn.0053090b
mov ecx, dword [esp + 0x20]
mov dword [edi], ecx
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 8
Function at 0x49d670
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x454
mov eax, dword [0x5a53f4]
xor eax, ebp
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x454], ecx
call fcn.00426950
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x2c]
call fcn.0049fef0
mov eax, dword [ebp - 0x454]
push eax
lea ecx, [ebp - 0x18]
call fcn.0049d960
lea ecx, [ebp - 0x438]
call fcn.004a0310
push 0x400
mov ecx, dword [ebp + 8]
push ecx
call fcn.0049d440
add esp, 8
mov dword [ebp - 8], eax
push 2
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x49d6ee
call fcn.0049d070
mov dword [ebp - 0x444], eax
jmp 0x49d843
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x440], eax
cmp dword [ebp - 0x440], 0
jne 0x49d71f
call fcn.0049d070
mov dword [ebp - 0x444], eax
jmp 0x49d843
mov eax, dword [ebp - 0x440]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x448], eax
cmp dword [ebp - 0x448], 0
jne 0x49d74f
call fcn.0049d070
mov dword [ebp - 0x444], eax
jmp 0x49d843
mov edx, dword [ebp - 0x440]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x448]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x1c]
add edx, 1
cmp edx, dword [ebp - 0x1c]
jae 0x49d79f
mov dword [ebp - 0x44c], 0x8007000e
lea ecx, [ebp - 0x438]
call fcn.004a0330
lea ecx, [ebp - 0x2c]
call fcn.0049ff10
mov eax, dword [ebp - 0x44c]
jmp 0x49d878
mov eax, dword [ebp - 0x1c]
add eax, 1
push eax
lea ecx, [ebp - 0x438]
call fcn.004a0360
lea ecx, [ebp - 0x438]
call fcn.004a0350
test eax, eax
jne 0x49d7cc
mov dword [ebp - 0x444], 0x8007000e
jmp 0x49d843
mov ecx, dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x438]
call fcn.004a0350
push eax
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0xc]
push eax
push 0
call fcn.00426950
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x43c], eax
cmp dword [ebp - 0x43c], 0
jne 0x49d80e
call fcn.0049d070
mov dword [ebp - 0x444], eax
jmp 0x49d843
lea ecx, [ebp - 0x438]
call fcn.004a0350
xor ecx, ecx
mov edx, dword [ebp - 0x43c]
mov word [eax + edx*2], cx
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x438]
call fcn.004a0350
push eax
lea ecx, [ebp - 0x18]
call fcn.0049d990
mov dword [ebp - 0x444], eax
cmp dword [ebp - 0x10], 0
je 0x49d853
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [ebp - 0x444]
mov dword [ebp - 0x450], edx
lea ecx, [ebp - 0x438]
call fcn.004a0330
lea ecx, [ebp - 0x2c]
call fcn.0049ff10
mov eax, dword [ebp - 0x450]
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.005308cb
mov esp, ebp
pop ebp
ret 0x10
Function at 0x49f040
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x5a53f4]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x230], ecx
lea ecx, [ebp - 0x14]
call fcn.00414070
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004140d0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x49f0ab
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x224], edx
lea ecx, [ebp - 0x14]
call fcn.00414080
mov eax, dword [ebp - 0x224]
jmp 0x49f13c
mov dword [ebp - 4], 0x100
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x49f111
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0049f040
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x49f108
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x228], edx
lea ecx, [ebp - 0x14]
call fcn.00414080
mov eax, dword [ebp - 0x228]
jmp 0x49f13c
mov dword [ebp - 4], 0x100
jmp 0x49f0b2
lea ecx, [ebp - 0x14]
call fcn.004140a0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x230]
call fcn.0049efe0
mov dword [ebp - 0x22c], eax
lea ecx, [ebp - 0x14]
call fcn.00414080
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.005308cb
mov esp, ebp
pop ebp
ret 4
Function at 0x49f610
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x49f619
xor ecx, ecx
jne 0x49f619
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x49f63a
mov eax, 0xd
jmp 0x49f695
xor eax, eax
jne 0x49f621
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax*2]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2]
mov dword [ebp - 4], edx
cmp dword [ebp - 0xc], 1
jne 0x49f64b
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 7
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 8
Function at 0x4a81b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
movzx eax, byte [ebp + 0x10]
test eax, eax
jne 0x4a81f0
movzx ecx, byte [ebp + 0xc]
test ecx, ecx
je 0x4a81df
push 0x43
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x4a81eb
push 5
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4a82ee
lea ecx, [ebp - 0x10]
call fcn.004047b0
lea ecx, [ebp - 0x20]
call fcn.004047b0
lea ecx, [ebp - 0x10]
call fcn.004047a0
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [ebp - 0x20]
call fcn.004047a0
push eax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x10]
call fcn.00404b50
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x10]
call fcn.00404b40
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x20]
call fcn.00404b50
mov esi, eax
lea ecx, [ebp - 0x10]
call fcn.00404b50
sub esi, eax
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x20]
call fcn.00404b40
mov esi, eax
lea ecx, [ebp - 0x10]
call fcn.00404b40
sub esi, eax
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x28]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x24]
mov dword [ebp - 4], ecx
push 0
push 0x14
lea edx, [ebp - 0x10]
push edx
call fcn.004021f0
add esp, 0xc
mov dword [ebp - 0x2c], 1
movzx eax, byte [ebp + 0xc]
test eax, eax
jne 0x4a82bf
mov ecx, dword [ebp - 0x2c]
or ecx, 4
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
push edx
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
movzx edx, byte [ebp + 0xc]
neg edx
sbb edx, edx
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push 5
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4c60d0
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
test eax, eax
jne 0x4c60ee
xor eax, eax
jmp 0x4c61d4
mov dword [ebp - 0x14], 1
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 8]
jne 0x4c6110
mov eax, 1
jmp 0x4c61d4
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
je 0x4c61c7
push 1
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
je 0x4c6167
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SetActiveWindow]
jmp 0x4c61b5
mov edx, dword [ebp - 0x10]
push edx
call fcn.004c6020
add esp, 4
test eax, eax
je 0x4c61ae
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
je 0x4c619f
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SetActiveWindow]
test eax, eax
je 0x4c619d
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x4c61a6
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_FreeConsole]
jmp 0x4c61b5
mov dword [ebp - 0x14], 0
push 0
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_AttachThreadInput]
jmp 0x4c61d1
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret

Function at 0x4c61e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x5a53f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x108], 0
push 0xff
push 0
lea eax, [ebp - 0x107]
push eax
call fcn.00534b20
add esp, 0xc
mov dword [ebp - 0x10c], 0
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x4c6252
movzx edx, byte [ebp - 0xf6]
and edx, 0x80
jne 0x4c6252
push 0
push 1
push 0
push 0x12
call dword [sym.imp.USER32.dll_keybd_event]
mov dword [ebp - 0x10c], 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x10c], 0
je 0x4c6279
push 0
push 3
push 0
push 0x12
call dword [sym.imp.USER32.dll_keybd_event]
mov eax, dword [ebp - 0x110]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005308cb
mov esp, ebp
pop ebp
ret
Function at 0x4c6350
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x5a53f4]
xor eax, ebp
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
call fcn.00464d50
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x4c646b
mov dword [ebp - 0x238], 0
push 0x228
push 0
lea eax, [ebp - 0x234]
push eax
call fcn.00534b20
add esp, 0xc
push 0x22c
push 0
lea ecx, [ebp - 0x238]
push ecx
call fcn.00534b20
add esp, 0xc
mov dword [ebp - 0x238], 0x22c
lea edx, [ebp - 0x238]
push edx
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4c6461
lea ecx, [ebp - 0x214]
push ecx
lea ecx, [ebp - 0x23c]
call fcn.00403220
lea ecx, [ebp - 0x23c]
call fcn.004204e0
lea ecx, [ebp - 0x23c]
call fcn.004063c0
lea edx, [ebp - 0x23c]
push edx
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp + 8]
call fcn.00464b80
mov ecx, eax
call fcn.004032d0
push 0x22c
push 0
lea ecx, [ebp - 0x238]
push ecx
call fcn.00534b20
add esp, 0xc
mov dword [ebp - 0x238], 0x22c
lea ecx, [ebp - 0x23c]
call fcn.00404d70
lea edx, [ebp - 0x238]
push edx
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4c63d9
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.005308cb
mov esp, ebp
pop ebp
ret
Function at 0x4c7230
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5a53f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x120], 0x114
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4c728d
cmp dword [ebp - 0x11c], 6
jae 0x4c726d
xor eax, eax
jmp 0x4c728f
cmp dword [ebp - 0x11c], 6
jne 0x4c7286
cmp dword [ebp - 0x118], 0
sbb eax, eax
add eax, 1
jmp 0x4c728f
mov eax, 1
jmp 0x4c728f
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005308cb
mov esp, ebp
pop ebp
ret

Function at 0x4c7760
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2018
call fcn.005308e0
mov eax, dword [0x5a53f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [ebp + 8], 0
jne 0x4c7784
xor al, al
jmp 0x4c7843
mov byte [ebp - 0x2010], 0
push 0x1fff
push 0
lea eax, [ebp - 0x200f]
push eax
call fcn.00534b20
add esp, 0xc
mov dword [ebp - 8], 0
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4c77c7
cmp dword [ebp - 0xc], 0x1fff
jbe 0x4c77cb
xor al, al
jmp 0x4c7843
mov byte [ebp - 1], 0
lea eax, [ebp - 0x2010]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4c7840
mov dword [ebp - 0x2014], 0
mov dword [ebp - 0x2018], 0
lea eax, [ebp - 0x2018]
push eax
lea ecx, [ebp - 0x2014]
push ecx
push 0x576158
lea edx, [ebp - 0x2010]
push edx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4c7840
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x2014]
mov edx, dword [ecx + 8]
mov dword [eax], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x2014]
mov edx, dword [ecx + 0xc]
mov dword [eax], edx
mov byte [ebp - 1], 1
mov al, byte [ebp - 1]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005308cb
mov esp, ebp
pop ebp
ret
Function at 0x4c7910
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x5a53f4]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x9c], 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4c794e
mov eax, dword [ebp - 0x9c]
jmp 0x4c7a1f
mov edx, dword [ebp - 8]
push edx
call fcn.005351d9
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4c7a0d
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0x576174
mov edx, dword [ebp - 0x10]
push edx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4c7a0d
cmp dword [ebp + 0xc], 0
je 0x4c7a0d
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
and ecx, 0xffff
movzx edx, cx
push edx
push 0x5761a8
push 0x80
lea eax, [ebp - 0x98]
push eax
call fcn.004082f0
add esp, 0x14
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x98]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4c7a0d
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00407af0
test eax, eax
jl 0x4c7a0d
mov dword [ebp - 0x9c], 1
mov edx, dword [ebp - 0x10]
push edx
call fcn.00534c33
add esp, 4
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.005308cb
mov esp, ebp
pop ebp
ret

Function at 0x4c7b90
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2018
call fcn.005308e0
mov eax, dword [0x5a53f4]
xor eax, ebp
mov dword [ebp - 0xc], eax
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4c7bc6
cmp dword [ebp - 8], 0x1fff
jbe 0x4c7bca
xor eax, eax
jmp 0x4c7c2d
lea edx, [ebp - 0x2010]
push edx
mov eax, dword [ebp - 8]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4c7c2b
lea edx, [ebp - 0x2018]
push edx
lea eax, [ebp - 0x2014]
push eax
push 0x576210
lea ecx, [ebp - 0x2010]
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4c7c2b
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x2014]
mov ecx, dword [eax + 0xc]
mov dword [edx], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x2014]
mov ecx, dword [eax + 8]
mov dword [edx + 4], ecx
mov eax, 1
jmp 0x4c7c2d
xor eax, eax
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.005308cb
mov esp, ebp
pop ebp
ret