Function at 0x46eab0
Capabilities:
Create process on windows
Create thread
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f5f30
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x55800c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp + 8]
push str._keysym_0x_x
push 8
push 0x558c50
call fcn.0041c840
mov ecx, dword [ebp + 8]
add esp, 0x10
lea eax, [ecx - 0xfe50]
cmp eax, 0x10
ja 0x46eb22
push str.__DEAD_KEY
push 8
push 0x558c50
mov dword [0x55b178], ecx
call fcn.0041c840
add esp, 0xc
jmp 0x46f539
cmp ecx, 0x20
jb 0x46eb2c
cmp ecx, 0x7e
jbe 0x46eb3b
lea eax, [ecx - 0xa0]
cmp eax, 0x5f
ja 0x46f258
mov eax, dword [0x55b178]
test eax, eax
je 0x46ee30
cmp byte [ebp + 0xc], 0
je 0x46ee30
push ecx
push eax
push str._Compose_dead_0x_x_0x_x
push 8
push 0x558c50
call fcn.0041c840
mov eax, dword [0x55b178]
add esp, 0x14
add eax, 0xffff01b0
cmp eax, 0xb
ja case.0x46eb7b.65108
jmp dword [eax*4 + 0x46f558]
mov ecx, dword [ebp + 8]
lea eax, [ecx - 0x41]
cmp eax, 0x34
ja case.0x46eb94.66
movzx eax, byte [eax + 0x46f5b4]
jmp dword [eax*4 + 0x46f588]
mov ecx, 0xc0
mov dword [ebp + 8], ecx
jmp case.0x46eb94.66
mov ecx, 0xc8
mov dword [ebp + 8], ecx
jmp case.0x46eb94.66
mov ecx, 0xcc
mov dword [ebp + 8], ecx
jmp case.0x46eb94.66
mov ecx, 0xd2
mov dword [ebp + 8], ecx
jmp case.0x46eb94.66
mov ecx, 0xd9
mov dword [ebp + 8], ecx
jmp case.0x46eb94.66
mov ecx, 0xe0
mov dword [ebp + 8], ecx
jmp case.0x46eb94.66
mov ecx, 0xe8
mov dword [ebp + 8], ecx
jmp case.0x46eb94.66
mov ecx, 0xec
mov dword [ebp + 8], ecx
jmp case.0x46eb94.66
mov ecx, 0xf2
mov dword [ebp + 8], ecx
jmp case.0x46eb94.66
mov ecx, 0xf9
mov dword [ebp + 8], ecx
jmp case.0x46eb94.66
mov ecx, dword [ebp + 8]
lea eax, [ecx - 0x41]
cmp eax, 0x38
ja case.0x46ec15.66
movzx eax, byte [eax + 0x46f620]
jmp dword [eax*4 + 0x46f5ec]
mov ecx, 0xc1
mov dword [ebp + 8], ecx
jmp case.0x46ec15.66
mov ecx, 0xc9
mov dword [ebp + 8], ecx
jmp case.0x46ec15.66
mov ecx, 0xcd
mov dword [ebp + 8], ecx
jmp case.0x46ec15.66
mov ecx, 0xd3
mov dword [ebp + 8], ecx
jmp case.0x46ec15.66
mov ecx, 0xda
mov dword [ebp + 8], ecx
jmp case.0x46ec15.66
mov ecx, 0xe1
mov dword [ebp + 8], ecx
jmp case.0x46ec15.66
mov ecx, 0xe9
mov dword [ebp + 8], ecx
jmp case.0x46ec15.66
mov ecx, 0xed
mov dword [ebp + 8], ecx
jmp case.0x46ec15.66
mov ecx, 0xf3
mov dword [ebp + 8], ecx
jmp case.0x46ec15.66
mov ecx, 0xfa
mov dword [ebp + 8], ecx
jmp case.0x46ec15.66
mov ecx, 0xfd
mov dword [ebp + 8], ecx
jmp case.0x46ec15.66
mov ecx, 0xdd
mov dword [ebp + 8], ecx
jmp case.0x46ec15.66
mov ecx, dword [ebp + 8]
lea eax, [ecx - 0x41]
cmp eax, 0x34
ja case.0x46eca6.66
movzx eax, byte [eax + 0x46f688]
jmp dword [eax*4 + 0x46f65c]
mov ecx, 0xc2
mov dword [ebp + 8], ecx
jmp case.0x46eca6.66
mov ecx, 0xca
mov dword [ebp + 8], ecx
jmp case.0x46eca6.66
mov ecx, 0xce
mov dword [ebp + 8], ecx
jmp case.0x46eca6.66
mov ecx, 0xd4
mov dword [ebp + 8], ecx
jmp case.0x46eca6.66
mov ecx, 0xdb
mov dword [ebp + 8], ecx
jmp case.0x46eca6.66
mov ecx, 0xe2
mov dword [ebp + 8], ecx
jmp case.0x46eca6.66
mov ecx, 0xea
mov dword [ebp + 8], ecx
jmp case.0x46eca6.66
mov ecx, 0xee
mov dword [ebp + 8], ecx
jmp case.0x46eca6.66
mov ecx, 0xf4
mov dword [ebp + 8], ecx
jmp case.0x46eca6.66
mov ecx, 0xfb
mov dword [ebp + 8], ecx
jmp case.0x46eca6.66
mov ecx, dword [ebp + 8]
lea eax, [ecx - 0x41]
cmp eax, 0x2e
ja case.0x46ed23.66
movzx eax, byte [eax + 0x46f6d8]
jmp dword [eax*4 + 0x46f6c0]
mov ecx, 0xd1
mov dword [ebp + 8], ecx
jmp case.0x46ed23.66
mov ecx, 0xd5
mov dword [ebp + 8], ecx
jmp case.0x46ed23.66
mov ecx, 0xe3
mov dword [ebp + 8], ecx
jmp case.0x46ed23.66
mov ecx, 0xf1
mov dword [ebp + 8], ecx
jmp case.0x46ed23.66
mov ecx, 0xf5
mov dword [ebp + 8], ecx
jmp case.0x46ed23.66
mov ecx, dword [ebp + 8]
lea eax, [ecx - 0x41]
cmp eax, 0x38
ja case.0x46ed72.66
movzx eax, byte [eax + 0x46f738]
jmp dword [eax*4 + 0x46f708]
mov ecx, 0xc4
mov dword [ebp + 8], ecx
jmp 0x46ee0e
mov ecx, 0xcb
mov dword [ebp + 8], ecx
jmp 0x46ee0e
mov ecx, 0xcf
mov dword [ebp + 8], ecx
jmp 0x46ee0e
mov ecx, 0xd6
mov dword [ebp + 8], ecx
jmp 0x46ee0e
mov ecx, 0xdc
mov dword [ebp + 8], ecx
jmp 0x46ee0e
mov ecx, 0xe4
mov dword [ebp + 8], ecx
jmp 0x46ee0e
mov ecx, 0xeb
mov dword [ebp + 8], ecx
jmp 0x46ee0e
mov ecx, 0xef
mov dword [ebp + 8], ecx
jmp 0x46ee0e
mov ecx, 0xf6
mov dword [ebp + 8], ecx
jmp 0x46ee0e
mov ecx, 0xfc
mov dword [ebp + 8], ecx
jmp 0x46ee0e
mov ecx, 0xff
mov dword [ebp + 8], ecx
jmp 0x46ee0e
mov ecx, dword [ebp + 8]
cmp ecx, 0x43
je 0x46ee01
cmp ecx, 0x63
jne 0x46ee0e
mov ecx, 0xe7
mov dword [ebp + 8], ecx
jmp 0x46ee0e
mov ecx, 0xc7
mov dword [ebp + 8], ecx
jmp 0x46ee0e
mov ecx, dword [ebp + 8]
push ecx
push str._Composed_0x_x
push 8
push 0x558c50
mov dword [0x55b178], 0
call fcn.0041c840
mov ecx, dword [ebp + 8]
add esp, 0x10
push ecx
call dword [sym.imp.USER32.dll_VkKeyScanA]
cmp byte [ebp + 0x10], 0
movzx ebx, ax
je 0x46ee6a
mov eax, dword [ebp + 8]
cmp eax, 0x4a6
jne 0x46ee51
mov ebx, pe_nt_image_headers32
jmp 0x46ee6a
cmp eax, 0x5c
jne 0x46ee5d
mov ebx, 0xe2
jmp 0x46ee6a
cmp eax, 0xa5
mov ecx, 0xdc
cmove ebx, ecx
movsx eax, bx
push eax
push str._SHORT_s__i
push 8
push 0x558c50
mov dword [ebp - 0x40], eax
call fcn.0041c840
add esp, 0x10
cmp bx, 0xffff
jne 0x46f0d8
cmp byte [ebp + 0xc], 0
je 0x46f539
push str.down
push 8
push 0x558c50
call fcn.0041c840
add esp, 0xc
push str._Found_key
push 8
push 0x558c50
call fcn.0041c840
mov ecx, dword [ebp + 8]
add esp, 0xc
cmp ecx, 0xff
jg 0x46f0be
mov eax, 0x51eb851f
mov dword [ebp - 0x64], 0x10
imul ecx
mov dword [ebp - 0x60], 0
sar edx, 5
mov eax, edx
mov word [ebp - 0x5c], 0
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x3c], eax
imul eax, eax, 0x64
sub ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 2
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov eax, ebx
mov dword [ebp - 0x38], ebx
neg eax
shl eax, 2
sub eax, ebx
lea ebx, [ecx + eax*2]
mov dword [ebp - 0x40], ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x58], 0xa0
mov dword [ebp - 0x54], 0
mov word [ebp - 0x50], 0
mov byte [ebp - 4], 1
mov dword [ebp - 0x4c], 0xa1
mov dword [ebp - 0x48], 0
mov word [ebp - 0x44], 0
mov byte [ebp - 4], 2
cmp dword [0x5674b4], 1
jne 0x46ef65
lea ecx, [ebp - 0x64]
jmp 0x46ef70
lea ecx, [ebp - 0x58]
call fcn.0046e750
lea ecx, [ebp - 0x4c]
call fcn.0046e750
mov eax, dword [ebp - 0x38]
movzx ebx, bl
push ebx
movzx edi, al
mov eax, dword [ebp - 0x3c]
push edi
movzx esi, al
push esi
push str._Simulating_ALT_d_d_d_n
push 8
push 0x558c50
call fcn.0041c840
add esp, 0x14
push 0
push 0
push 0x12
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov dl, al
mov cl, 0x12
call fcn.0042f780
add esp, 4
push 0
push 0
push 0x60
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov dl, al
mov cl, 0x60
call fcn.0042f780
add esp, 4
push 2
push 0
push 0x60
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov dl, al
mov cl, 0x60
call fcn.0042f780
add byte [ebp - 0x3c], 0x60
add esp, 4
add esi, 0x60
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov ecx, dword [ebp - 0x3c]
mov dl, al
call fcn.0042f780
add esp, 4
push 2
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov cl, byte [ebp - 0x3c]
mov dl, al
call fcn.0042f780
add byte [ebp - 0x38], 0x60
lea esi, [edi + 0x60]
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyA]
add esp, 4
push 0
push 0
push esi
call edi
mov ecx, dword [ebp - 0x38]
mov dl, al
call fcn.0042f780
add esp, 4
push 2
push 0
push esi
call edi
mov cl, byte [ebp - 0x38]
mov dl, al
call fcn.0042f780
lea esi, [ebx + 0x60]
mov ebx, dword [ebp - 0x40]
add bl, 0x60
add esp, 4
push 0
push 0
push esi
call edi
mov dl, al
mov cl, bl
call fcn.0042f780
add esp, 4
push 2
push 0
push esi
call edi
mov dl, al
mov cl, bl
call fcn.0042f780
add esp, 4
push 2
push 0
push 0x12
call edi
mov dl, al
mov cl, 0x12
call fcn.0042f780
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.0046e7b0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
call fcn.0046e7b0
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0xffffffff
call fcn.0046e7b0
jmp 0x46f539
push ecx
push str.ignoring_unrecognised_Latin_1_keysym_0x_x
push 8
push 0x558c50
call fcn.0041c840
add esp, 0x10
jmp 0x46f539
push 0x14
call dword [sym.imp.USER32.dll_GetKeyState]
mov edi, eax
mov dword [ebp - 0x7c], 0x11
mov eax, dword [ebp - 0x40]
shr eax, 8
mov cl, al
mov dword [ebp - 0x78], 0
xor cl, 1
mov word [ebp - 0x74], 0
movzx edx, cl
and edi, 1
movzx ecx, al
cmove edx, ecx
mov dword [ebp - 0x38], edx
mov dword [ebp - 4], 3
mov dword [ebp - 0x70], 0x12
mov dword [ebp - 0x6c], 0
mov word [ebp - 0x68], 0
mov byte [ebp - 4], 4
mov dword [ebp - 0x4c], 0x10
mov dword [ebp - 0x48], 0
mov word [ebp - 0x44], 0
mov byte [ebp - 4], 5
mov dword [ebp - 0x58], 0xa0
mov dword [ebp - 0x54], 0
mov word [ebp - 0x50], 0
mov byte [ebp - 4], 6
mov dword [ebp - 0x64], 0xa1
mov dword [ebp - 0x60], 0
mov word [ebp - 0x5c], 0
mov al, byte [ebp + 0xc]
mov byte [ebp - 4], 7
test al, al
je 0x46f1d3
test dl, 2
je 0x46f18e
lea ecx, [ebp - 0x7c]
call fcn.0046e700
mov edx, dword [ebp - 0x38]
test dl, 4
je 0x46f19e
lea ecx, [ebp - 0x70]
call fcn.0046e700
mov edx, dword [ebp - 0x38]
test dl, 1
je 0x46f1ad
lea ecx, [ebp - 0x4c]
call fcn.0046e700
jmp 0x46f1d0
cmp bl, 0x20
je 0x46f1d0
cmp dword [0x5674b4], 1
jne 0x46f1c0
lea ecx, [ebp - 0x4c]
jmp 0x46f1cb
lea ecx, [ebp - 0x58]
call fcn.0046e750
lea ecx, [ebp - 0x64]
call fcn.0046e750
mov al, byte [ebp + 0xc]
push edi
movzx eax, al
push eax
mov eax, dword [ebp + 8]
movzx esi, bl
push esi
push eax
push eax
push str.latin_1_key:_keysym__d_0x_x__vkCode_0x_x_down__d_capslockOn__d_n
push 9
push 0x558c50
call fcn.0041c840
movzx eax, byte [ebp + 0xc]
add esp, 0x1c
xor eax, 1
add eax, eax
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov dl, al
mov cl, bl
call fcn.0042f780
add esp, 8
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x64]
call fcn.0046e7b0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
call fcn.0046e7b0
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 4
call fcn.0046e7b0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.0046e7b0
lea ecx, [ebp - 0x7c]
mov dword [ebp - 4], 0xffffffff
call fcn.0046e7b0
jmp 0x46f539
mov esi, dword [0x569bc8]
mov edx, esi
mov eax, dword [edx + 4]
cmp byte [eax + 0xd], 0
jne 0x46f284
nop dword [eax]
cmp dword [eax + 0x10], ecx
jae 0x46f27a
mov eax, dword [eax + 8]
jmp 0x46f27e
mov edx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x46f270
cmp edx, esi
je 0x46f28d
cmp ecx, dword [edx + 0x10]
jae 0x46f28f
mov edx, esi
cmp edx, esi
jne 0x46f34c
cmp byte [ebp + 0x14], 0
je 0x46f539
cmp ecx, 0xffe5
je 0x46f539
push ecx
lea eax, [ebp - 0x30]
push 0x5405e8
push eax
call fcn.0041e8c0
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
push str.trying_unicode_input_key___s__n
push 9
push 0x558c50
call fcn.0041c840
xor eax, eax
mov dword [ebp - 0x98], 1
add esp, 0x10
mov word [ebp - 0x94], ax
lea eax, [ebp - 0x30]
push eax
call fcn.004d58de
add esp, 4
mov word [ebp - 0x92], ax
cmp byte [ebp + 0xc], 0
lea eax, [ebp - 0x98]
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
push 0x1c
push eax
push 1
je 0x46f337
mov dword [ebp - 0x90], 4
call dword [sym.imp.USER32.dll_SendInput]
jmp 0x46f539
mov dword [ebp - 0x90], 6
call dword [sym.imp.USER32.dll_SendInput]
jmp 0x46f539
lea eax, [ebp + 8]
mov ecx, 0x569bc8
push eax
call fcn.0046f9d0
mov ecx, 0x569bd0
mov bl, byte [eax]
lea eax, [ebp + 8]
push eax
mov byte [ebp - 0x31], bl
call fcn.0046f960
xor ebx, ebx
cmp byte [eax], bl
mov al, byte [ebp - 0x31]
setne bl
cmp byte [ebp + 0xc], 0
jne 0x46f387
or ebx, 2
mov esi, ebx
jmp 0x46f4f3
mov esi, ebx
cmp al, 0x2e
jne 0x46f4f3
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x11
call edi
mov ecx, 0x8000
test cx, ax
je 0x46f4f0
push 0x12
call edi
mov ecx, 0x8000
test cx, ax
je 0x46f4f0
cmp dword [0x5674b4], 2
jne 0x46f4f0
push str.CAD_n
push 9
push 0x558c50
call fcn.0041c840
add esp, 0xc
cmp dword [0x5634ac], 6
jb 0x46f42f
cmp dword [0x5674b8], 0
je 0x46f425
push str.Vista_and_runnning_as_system____CAD_n
push 9
push 0x558c50
call fcn.0041c840
add esp, 0xc
lea eax, [ebp - 0x40]
push eax
push 0
push 0
push 0x431b40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x46f539
push str.Vista_and_runnning_as_user____Taskmgr_n
jmp 0x46f4d2
cmp dword [0x5674b8], 0
je 0x46f4cd
push str.Not_Vista_and_runnning_as_system__use_old_method_n
push 9
push 0x558c50
call fcn.0041c840
add esp, 0xc
push str.d:_saasultravncwinvncwinvnc_vncservice.cpp_:_preparing_to_generate_ctrl_alt_del_n
push 0xa
push 0x558c50
call fcn.0041c840
add esp, 0xc
cmp dword [0x5674b4], 2
jne 0x46f539
push str.d:_saasultravncwinvncwinvnc_vncservice.cpp_:_spawn_ctrl_alt_del_thread..._n
push 0xa
push 0x558c50
call fcn.0041c840
add esp, 0xc
push 0x60
call fcn.004cbf3d
mov esi, eax
add esp, 4
lea ecx, [esi + 4]
mov dword [esi], vtable.omni_thread.0
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0
sub esp, 8
mov ecx, esi
call fcn.004bb0b0
mov ecx, esi
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0x484910
call fcn.004bb220
push 0
mov ecx, esi
call fcn.004bb340
jmp 0x46f539
push str.Not_Vista_and_runnning_as_user____Taskmgr_n
push 9
push 0x558c50
call fcn.0041c840
add esp, 0xc
push 1
push str.taskmgr.exe
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x46f539
mov al, byte [ebp - 0x31]
cmp dword [0x5674b4], 1
jne 0x46f51c
movzx eax, al
sub eax, 0xa1
je 0x46f518
sub eax, 2
je 0x46f514
sub eax, 2
jne 0x46f51c
mov bl, 0x12
jmp 0x46f51f
mov bl, 0x11
jmp 0x46f51f
mov bl, 0x10
jmp 0x46f51f
mov bl, byte [ebp - 0x31]
push ecx
push esi
push 0
movzx eax, bl
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov dl, al
mov cl, bl
call fcn.0042f780
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004cbf27
mov esp, ebp
pop ebp
ret 0x10