joyce8/EMBER2024-capa huggingface dataset:
Function at 0x464534
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push 0x5c
mov eax, 0x4d9b99
call fcn.004c7549
mov eax, dword [ebp + 8]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], ebx
call fcn.0046397a
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x3c], ebx
call fcn.0044fa72
xor esi, esi
inc esi
mov ecx, edi
mov dword [ebp - 4], esi
call fcn.0044fa72
push dword [ebp - 0x48]
mov eax, 0x4f610c
push eax
push dword [ebp - 0x50]
mov dword [ebp - 0x4c], esi
push eax
push dword [ebp - 0x48]
push edi
call fcn.0044fc3a
pop ecx
pop ecx
push eax
call fcn.0044fc69
pop ecx
pop ecx
push eax
call fcn.0044fc3a
pop ecx
pop ecx
push eax
call fcn.0044fc69
pop ecx
pop ecx
push eax
call fcn.0044fc3a
pop ecx
pop ecx
cmp dword [ebp - 0x44], ebx
jne 0x4645ca
push 0xffffffffffffffff
push 0x5083d3
mov ecx, edi
call fcn.0044fae3
jmp 0x46468e
lea eax, [ebp - 0x3c]
push eax
push ebx
push ebx
push 0x8003
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x4645b7
mov ecx, dword [edi + 8]
mov eax, dword [edi + 4]
push ebx
push ecx
push eax
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x4645b7
mov esi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push 4
pop eax
push ebx
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x40]
push ecx
push eax
push dword [ebp - 0x3c]
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x54], eax
call esi
test eax, eax
je 0x4645b7
push dword [ebp - 0x40]
call fcn.0044fe9f
pop ecx
mov dword [ebp - 0x44], eax
cmp eax, ebx
je 0x4645b7
push ebx
lea ecx, [ebp - 0x40]
push ecx
push eax
push 2
push dword [ebp - 0x3c]
call esi
push 0xffffffffffffffff
mov ecx, edi
push 0x5083d3
test eax, eax
jne 0x46464b
call fcn.0044fae3
jmp 0x464685
call fcn.0044fae3
xor esi, esi
cmp dword [ebp - 0x40], ebx
jbe 0x464685
cmp esi, 0x28
jae 0x464685
mov eax, dword [ebp - 0x44]
movzx eax, byte [esi + eax]
push eax
lea eax, [ebp - 0x38]
push 0x4f5fb8
push eax
call sub.MSVCR100.dll_sprintf
lea eax, [ebp - 0x38]
push eax
push edi
call fcn.0044fc69
add esp, 0x14
inc esi
cmp esi, dword [ebp - 0x40]
jb 0x464657
push dword [ebp - 0x44]
call fcn.0044fec0
pop ecx
cmp dword [ebp - 0x3c], ebx
je 0x46469c
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], bl
call fcn.0044faae
mov eax, edi
call fcn.004c7593
ret
Function at 0x464b16
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, eax
mov eax, dword [esi + 8]
lea eax, [eax + eax + 2]
push edi
push eax
call fcn.0044fe9f
pop ecx
push dword [esi + 8]
mov ebx, eax
push ebx
mov ecx, esi
mov dword [ebp - 0xc], ebx
call fcn.0044fa5c
mov eax, dword [esi + 8]
xor edi, edi
push edi
xor ecx, ecx
push ebx
mov word [ebx + eax*2], cx
call dword [sym.imp.USER32.dll_FindWindowW]
mov ebx, eax
cmp ebx, edi
je 0x464c77
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push edi
push ebx
call esi
mov dword [0x54db04], edi
mov dword [0x54db08], 1
cmp dword [ebp + 8], edi
jne 0x464b83
mov dword [0x54db04], ebx
jmp 0x464b90
push edi
push 0x463cb1
push eax
call dword [sym.imp.USER32.dll_EnumThreadWindows]
mov eax, dword [0x54db04]
cmp eax, edi
je 0x464c77
lea ecx, [ebp - 8]
push ecx
push eax
mov dword [ebp - 8], edi
call esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push edi
mov dword [ebp - 0x10], eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0xfffffffffffffffc
push dword [0x54db04]
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, eax
je 0x464c3c
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 8], eax
jne 0x464c3c
cmp ebx, dword [ebp - 4]
je 0x464c3c
mov esi, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
push dword [ebp - 4]
push ebx
call esi
test eax, eax
je 0x464c3c
push dword [0x54db04]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x464c0a
push 1
jmp 0x464c0c
push 5
push dword [0x54db04]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x54db04]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 1
push edi
push dword [0x54db04]
call dword [sym.imp.USER32.dll_InvalidateRect]
push edi
push dword [ebp - 4]
push ebx
call esi
jmp 0x464c77
mov esi, dword [sym.imp.USER32.dll_SystemParametersInfoA]
push edi
lea eax, [ebp - 4]
push eax
push edi
push 0x2000
call esi
push 2
lea eax, [ebp - 0x10]
push eax
push edi
mov ebx, 0x2001
push ebx
mov dword [ebp - 0x10], edi
call esi
push dword [0x54db04]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 2
lea eax, [ebp - 4]
push eax
push edi
push ebx
call esi
push dword [ebp - 0xc]
call fcn.0044fec0
pop ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x46b506
Capabilities:
Resume thread

Disassembly:
cmp dword [ecx + 0x10], 0
jne 0x46b518
mov eax, dword [ecx + 8]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
ret
Function at 0x46b69f
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x4daeea
call fcn.004c74e0
mov esi, ecx
mov dword [ebp - 0x14], esi
call fcn.004555e6
xor ebx, ebx
push 0x10
mov dword [ebp - 4], ebx
mov dword [esi], vtable.ScObjects::Thread.0
mov dword [esi + 0x10], ebx
mov byte [esi + 0x14], bl
call fcn.0044fe9f
pop ecx
cmp eax, ebx
je 0x46b6e3
mov dword [eax], vtable.ScObjects::ThreadData.0
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
jmp 0x46b6e5
xor eax, eax
mov dword [esi + 8], eax
lea eax, [ebp - 0x10]
push eax
push 4
push esi
push 0x46b467
push ebx
push ebx
call sub.MSVCR100.dll__beginthreadex
add esp, 0x18
cmp eax, 0xffffffff
jne 0x46b715
mov eax, dword [esi + 8]
mov dword [esi + 0x10], 0x20
mov dword [esi + 0xc], ebx
mov dword [eax + 4], ebx
jmp 0x46b721
mov ecx, dword [ebp - 0x10]
mov dword [esi + 0xc], ecx
mov ecx, dword [esi + 8]
mov dword [ecx + 4], eax
mov eax, esi
call fcn.004c757f
ret

Function at 0x471501
Capabilities:
Create mailslot

Disassembly:
push 0x14
mov eax, 0x4dbf9a
call fcn.004c74e0
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [0x549420]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0046b8f3
xor ebx, ebx
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], ebx
mov dword [esi], vtable.WinInterAppStream.0
call fcn.0044fa72
lea eax, [esi + 0x40]
push eax
lea eax, [esi + 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 1
call fcn.0044fc3a
pop ecx
pop ecx
push eax
call fcn.0044fc3a
push 0xc
lea edi, [esi + 0x56]
push ebx
push edi
call sub.MSVCR100.dll_memset
add esp, 0x14
mov eax, edi
xor ecx, ecx
call fcn.004714f0
test al, al
je 0x471576
cmp dword [esi + 0x5a], ebx
je 0x471576
mov ecx, edi
push ecx
push ebx
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateMailslotA]
lea ecx, [ebp - 0x20]
mov dword [esi + 0x52], eax
mov byte [ebp - 4], bl
call fcn.0044faae
mov eax, esi
call fcn.004c757f
ret 8
Function at 0x4715ef
Capabilities:
Write file on windows

Disassembly:
push 0x1c
mov eax, 0x4dbfc5
call fcn.004c74e0
mov esi, ecx
push esi
lea ecx, [ebp - 0x18]
call fcn.004550d9
lea eax, [esi + 0x30]
xor ebx, ebx
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], ebx
call fcn.0044fe2a
mov eax, dword [ebp + 8]
push dword [eax + 8]
lea ecx, [ebp - 0x28]
push dword [eax + 4]
mov byte [ebp - 4], 1
call fcn.0044fb57
mov eax, dword [esi + 0x5a]
push ebx
push 0x80
add esi, 0x56
neg eax
push 3
sbb eax, eax
and eax, esi
push eax
push 1
push 0x40000000
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
mov dword [ebp - 0x10], ebx
cmp edi, 0xffffffff
je 0x47168d
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push ebx
lea edx, [ebp - 0x10]
push edx
push eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 8], ebx
je 0x47168d
mov esi, dword [esi + 8]
mov byte [ebp + 0xb], 1
cmp dword [ebp - 0x10], esi
je 0x471690
mov byte [ebp + 0xb], bl
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.0044faae
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0045510c
mov al, byte [ebp + 0xb]
call fcn.004c757f
ret 8

Function at 0x471815
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
xor eax, eax
cmp byte [ebp + 0xc], al
push ebx
setne al
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov esi, ecx
dec eax
and eax, 0x8001
push eax
call edi
mov ecx, dword [ebp + 8]
mov ebx, eax
lea eax, [ebp + 0xc]
push eax
call dword [sym.imp.ScCore.dll_public:_class_ScCore::String___thiscall_ScCore::FileSpec::getPath_void_]
mov eax, dword [eax]
add eax, 0xc
push eax
call fcn.00464d70
mov ecx, dword [esi + 8]
mov dword [ecx], eax
lea ecx, [ebp + 0xc]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::destructor_void_]
push ebx
call edi
mov eax, dword [esi + 8]
cmp dword [eax], 0
jne 0x471875
mov dword [ebp - 4], 0x34
jmp 0x4718d2
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ESInitialize
push dword [eax]
call edi
mov dword [esi + 0x14], eax
mov eax, dword [esi + 8]
push str.ESTerminate
push dword [eax]
call edi
mov dword [esi + 0x18], eax
mov eax, dword [esi + 8]
push str.ESFreeMem
push dword [eax]
call edi
mov dword [esi + 0xc], eax
mov eax, dword [esi + 8]
push str.ESGetVersion
push dword [eax]
call edi
mov dword [esi + 0x10], eax
mov eax, dword [esi + 8]
push str.ESClientInterface
push dword [eax]
call edi
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 8]
push str.ESMallocMem
push dword [eax]
call edi
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4a0d1d
Capabilities:
Get graphical window text

Disassembly:
push 0
mov eax, 0x4e3f20
call fcn.004c74e0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x4a0d93
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x4a0d93
lea esi, [eax + 1]
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004c7080
pop ecx
push esi
mov edi, eax
push edi
push dword [ebx + 0xc]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp + 8]
push edi
push eax
call fcn.004a85d3
pop ecx
pop ecx
mov ecx, dword [ebp + 0xc]
and dword [ebp - 4], 0
push eax
call dword [sym.imp.ScCore.dll_public:_class_ScCore::String____thiscall_ScCore::String::operator_class_ScCore::String_const__]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::destructor_void_]
push edi
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
pop ecx
call fcn.004c757f
ret 8

Function at 0x4a0df0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 0xc], 0
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 0xc]
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
je 0x4a0e2c
push 5
push dword [esi + 4]
call edi
test ebx, ebx
je 0x4a0e21
push 5
push ebx
call edi
push ebx
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp 0x4a0e48
mov esi, dword [esi + 8]
test esi, esi
je 0x4a0e48
push 5
jmp 0x4a0e45
push 0
push dword [esi + 4]
call edi
test ebx, ebx
je 0x4a0e3c
push 0
push ebx
jmp 0x4a0e46
mov esi, dword [esi + 8]
test esi, esi
je 0x4a0e48
push 0
push esi
call edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4a1005
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4a101b
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret 4
Function at 0x4a4800
Capabilities:
Get graphical window text

Disassembly:
push 0xc
mov eax, 0x4e278c
call fcn.004c74e0
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x14], edi
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], edi
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::constructor_void_]
push dword [esi + 0x54]
xor ebx, ebx
inc ebx
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
cmp eax, edi
jle 0x4a488e
lea edi, [eax + 1]
xor ecx, ecx
push 2
pop edx
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004c7080
pop ecx
push edi
push eax
push dword [esi + 0x54]
mov dword [ebp - 0x10], eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push eax
call fcn.004a85d3
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.ScCore.dll_public:_class_ScCore::String____thiscall_ScCore::String::operator_class_ScCore::String_const__]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::destructor_void_]
push dword [ebp - 0x10]
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
pop ecx
mov eax, dword [ebp + 8]
call fcn.004c757f
ret 4

Function at 0x4a5e8a
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 8], 0
push ebx
push esi
push edi
mov edi, ecx
je 0x4a5f23
lea esi, [edi + 0x48]
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0x5c]
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0x64]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c4]
test al, al
je 0x4a5efd
mov edi, dword [edi + 0x54]
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ebx, eax
call dword [sym.imp.USER32.dll_GetFocus]
mov dword [ebp + 8], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x50]
cmp ebx, edi
je 0x4a5f37
push ebx
call dword [sym.imp.USER32.dll_SetActiveWindow]
cmp dword [ebp + 8], 0
je 0x4a5f37
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x4a5f37
push 5
push dword [edi + 0x54]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 0x54]
call dword [sym.imp.USER32.dll_UpdateWindow]
push dword [edi + 0x54]
mov byte [edi + 0x90], 0
call fcn.004a420c
pop ecx
jmp 0x4a5f37
push dword [edi + 0x54]
call fcn.004a5a5b
pop ecx
push 0
push dword [edi + 0x54]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x4a86f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
xor ebx, ebx
push 0x10
mov dword [ebp - 4], ebx
call esi
mov edi, 0x8000
test di, ax
je 0x4a8711
inc ebx
push 0x11
call esi
test di, ax
je 0x4a871d
or ebx, 2
push 0x12
call esi
test di, ax
je 0x4a8729
or ebx, 4
push 0x5b
call esi
test di, ax
je 0x4a8735
or ebx, 8
push 0x5c
call esi
movzx eax, ax
test edi, eax
je 0x4a8743
or ebx, 8
mov ecx, dword [ebp + 8]
push ebx
call fcn.004779f7
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4a8754
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
xor edi, edi
push 0x14
mov dword [ebp - 4], edi
call esi
test al, 1
je 0x4a876e
inc edi
push 0x90
call esi
movzx eax, ax
test al, 1
je 0x4a877f
or edi, 2
mov ecx, dword [ebp + 8]
push edi
call fcn.00477abb
mov eax, dword [ebp + 8]
pop edi
pop esi
leave
ret

Function at 0x4a880c
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push 2
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
pop ebp
ret

Function at 0x4a881c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
lea eax, [ecx - 0x60]
cmp eax, 9
ja 0x4a882f
push 3
pop eax
pop ebp
ret
mov al, byte [ebp + 0xc]
push esi
push edi
test al, 1
je 0x4a885b
cmp ecx, 0x10
jne 0x4a885b
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa0
call edi
mov esi, 0x8000
test si, ax
jne 0x4a88c2
push 0xa1
jmp 0x4a88cc
test al, 2
je 0x4a8882
cmp ecx, 0x11
jne 0x4a8882
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa2
call edi
mov esi, 0x8000
test si, ax
jne 0x4a88c2
push 0xa3
jmp 0x4a88cc
test al, 8
je 0x4a88a2
cmp ecx, 0x5b
jne 0x4a88a2
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push ecx
call edi
mov esi, 0x8000
test si, ax
jne 0x4a88c2
push 0x5c
jmp 0x4a88cc
test al, 4
je 0x4a88d8
cmp ecx, 0x12
jne 0x4a88d8
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa4
call edi
mov esi, 0x8000
test si, ax
je 0x4a88c7
xor eax, eax
inc eax
jmp 0x4a88da
push 0xa5
call edi
test si, ax
je 0x4a88d8
push 2
pop eax
jmp 0x4a88da
xor eax, eax
pop edi
pop esi
pop ebp
ret

Function at 0x4a9122
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
and dword [ebp - 4], 0
push ebx
push esi
push edi
push 0x17
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
test eax, eax
push 1
setne bl
call esi
mov edi, 0x8000
test di, ax
je 0x4a915d
xor eax, eax
test bl, bl
setne al
inc eax
mov dword [ebp - 4], eax
push 2
call esi
test di, ax
je 0x4a9171
xor eax, eax
test bl, bl
sete al
inc eax
or dword [ebp - 4], eax
push 4
call esi
test di, ax
je 0x4a917e
or dword [ebp - 4], 4
push 5
call esi
test di, ax
je 0x4a918b
or dword [ebp - 4], 8
push 6
call esi
movzx eax, ax
test edi, eax
pop edi
pop esi
pop ebx
je 0x4a919d
or dword [ebp - 4], 0x10
push dword [ebp - 4]
mov ecx, dword [ebp + 8]
call fcn.0048814f
mov eax, dword [ebp + 8]
leave
ret
Function at 0x4a91dc
Capabilities:
Log keystrokes

Disassembly:
push 0x28
mov eax, 0x4e2069
call fcn.004c74e0
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov eax, dword [esi + 0xc]
xor edi, edi
add eax, 0xffffff00
mov ecx, 0xff
inc edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ebx
cmp eax, 7
ja case.default.0x4a9215
movzx eax, byte [eax + 0x4a9314]
jmp dword [eax*4 + 0x4a930c]
mov eax, dword [esi + 0x10]
push 2
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
movzx eax, ax
mov dword [ebp - 0x14], eax
jmp case.default.0x4a9215
movzx eax, word [esi + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x14]
shr eax, 0x10
and eax, ecx
push edi
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov dword [ebp - 0x10], eax
mov esi, dword [esi + 0xc]
sub esi, 0x100
je 0x4a926e
dec esi
je 0x4a9269
sub esi, 3
je 0x4a926e
dec esi
je 0x4a9269
or dword [ebp + 0xc], 0xffffffff
jmp 0x4a9271
mov dword [ebp + 0xc], edi
jmp 0x4a9271
mov dword [ebp + 0xc], ebx
lea eax, [ebp - 0x24]
push eax
call fcn.004a86f0
pop ecx
mov edx, dword [eax]
mov ecx, eax
mov dword [ebp - 4], edi
call dword [edx + 4]
push eax
push dword [ebp - 0x10]
call fcn.004a881c
pop ecx
pop ecx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0
call fcn.00477a0c
lea eax, [ebp - 0x34]
push eax
call fcn.004a8754
mov esi, eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 4], 2
call fcn.004a86f0
pop ecx
pop ecx
mov ebx, eax
push dword [ebp - 0x18]
mov eax, dword [esi]
push dword [ebp + 0xc]
mov ecx, esi
mov byte [ebp - 4], 3
call dword [eax + 4]
push eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov ecx, dword [ebp + 8]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.00478897
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], edi
mov byte [ebp - 4], 2
call fcn.00477a0c
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0
call fcn.00477ad0
mov eax, dword [ebp + 8]
call fcn.004c757f
ret
Function at 0x4a921c
Capabilities:
Log keystrokes

Disassembly:
push 0x28
mov eax, 0x4e2069
call fcn.004c74e0
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov eax, dword [esi + 0xc]
xor edi, edi
add eax, 0xffffff00
mov ecx, 0xff
inc edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ebx
cmp eax, 7
ja case.default.0x4a9215
movzx eax, byte [eax + 0x4a9314]
jmp dword [eax*4 + 0x4a930c]
mov eax, dword [esi + 0x10]
push 2
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
movzx eax, ax
mov dword [ebp - 0x14], eax
jmp case.default.0x4a9215
movzx eax, word [esi + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x14]
shr eax, 0x10
and eax, ecx
push edi
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov dword [ebp - 0x10], eax
mov esi, dword [esi + 0xc]
sub esi, 0x100
je 0x4a926e
dec esi
je 0x4a9269
sub esi, 3
je 0x4a926e
dec esi
je 0x4a9269
or dword [ebp + 0xc], 0xffffffff
jmp 0x4a9271
mov dword [ebp + 0xc], edi
jmp 0x4a9271
mov dword [ebp + 0xc], ebx
lea eax, [ebp - 0x24]
push eax
call fcn.004a86f0
pop ecx
mov edx, dword [eax]
mov ecx, eax
mov dword [ebp - 4], edi
call dword [edx + 4]
push eax
push dword [ebp - 0x10]
call fcn.004a881c
pop ecx
pop ecx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0
call fcn.00477a0c
lea eax, [ebp - 0x34]
push eax
call fcn.004a8754
mov esi, eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 4], 2
call fcn.004a86f0
pop ecx
pop ecx
mov ebx, eax
push dword [ebp - 0x18]
mov eax, dword [esi]
push dword [ebp + 0xc]
mov ecx, esi
mov byte [ebp - 4], 3
call dword [eax + 4]
push eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov ecx, dword [ebp + 8]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.00478897
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], edi
mov byte [ebp - 4], 2
call fcn.00477a0c
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0
call fcn.00477ad0
mov eax, dword [ebp + 8]
call fcn.004c757f
ret