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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x540bc5
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x5a6008]
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 0x5a6c48
call fcn.0041d720
mov esi, dword [ebp + 8]
add esp, 0x10
lea eax, [esi - 0xfe50]
cmp eax, 0x10
ja 0x46e682
push str.__DEAD_KEY
push 8
push 0x5a6c48
mov dword [0x5ab9e4], esi
call fcn.0041d720
add esp, 0xc
jmp 0x46f2f5
cmp esi, 0x20
jb 0x46e68c
cmp esi, 0x7e
jbe 0x46e69b
lea eax, [esi - 0xa0]
cmp eax, 0x5f
ja 0x46f024
mov eax, dword [0x5ab9e4]
test eax, eax
je 0x46e98b
cmp byte [ebp + 0xc], 0
je 0x46e98b
push esi
push eax
push str._Compose_dead_0x_x_0x_x
push 8
push 0x5a6c48
call fcn.0041d720
add eax, 0xffff01b0
add esp, 0x14
cmp eax, 0xb
ja case.0x46e6d6.65108
jmp dword [eax*4 + 0x46f314]
mov ecx, dword [ebp + 8]
lea eax, [ecx - 0x41]
cmp eax, 0x34
ja case.0x46e6ef.66
movzx eax, byte [eax + 0x46f370]
jmp dword [eax*4 + 0x46f344]
mov ecx, 0xc0
mov dword [ebp + 8], ecx
jmp case.0x46e6ef.66
mov ecx, 0xc8
mov dword [ebp + 8], ecx
jmp case.0x46e6ef.66
mov ecx, 0xcc
mov dword [ebp + 8], ecx
jmp case.0x46e6ef.66
mov ecx, 0xd2
mov dword [ebp + 8], ecx
jmp case.0x46e6ef.66
mov ecx, 0xd9
mov dword [ebp + 8], ecx
jmp case.0x46e6ef.66
mov ecx, 0xe0
mov dword [ebp + 8], ecx
jmp case.0x46e6ef.66
mov ecx, 0xe8
mov dword [ebp + 8], ecx
jmp case.0x46e6ef.66
mov ecx, 0xec
mov dword [ebp + 8], ecx
jmp case.0x46e6ef.66
mov ecx, 0xf2
mov dword [ebp + 8], ecx
jmp case.0x46e6ef.66
mov ecx, 0xf9
mov dword [ebp + 8], ecx
jmp case.0x46e6ef.66
mov ecx, dword [ebp + 8]
lea eax, [ecx - 0x41]
cmp eax, 0x38
ja case.0x46e770.66
movzx eax, byte [eax + 0x46f3dc]
jmp dword [eax*4 + 0x46f3a8]
mov ecx, 0xc1
mov dword [ebp + 8], ecx
jmp case.0x46e770.66
mov ecx, 0xc9
mov dword [ebp + 8], ecx
jmp case.0x46e770.66
mov ecx, 0xcd
mov dword [ebp + 8], ecx
jmp case.0x46e770.66
mov ecx, 0xd3
mov dword [ebp + 8], ecx
jmp case.0x46e770.66
mov ecx, 0xda
mov dword [ebp + 8], ecx
jmp case.0x46e770.66
mov ecx, 0xe1
mov dword [ebp + 8], ecx
jmp case.0x46e770.66
mov ecx, 0xe9
mov dword [ebp + 8], ecx
jmp case.0x46e770.66
mov ecx, 0xed
mov dword [ebp + 8], ecx
jmp case.0x46e770.66
mov ecx, 0xf3
mov dword [ebp + 8], ecx
jmp case.0x46e770.66
mov ecx, 0xfa
mov dword [ebp + 8], ecx
jmp case.0x46e770.66
mov ecx, 0xfd
mov dword [ebp + 8], ecx
jmp case.0x46e770.66
mov ecx, 0xdd
mov dword [ebp + 8], ecx
jmp case.0x46e770.66
mov ecx, dword [ebp + 8]
lea eax, [ecx - 0x41]
cmp eax, 0x34
ja case.0x46e801.66
movzx eax, byte [eax + 0x46f444]
jmp dword [eax*4 + 0x46f418]
mov ecx, 0xc2
mov dword [ebp + 8], ecx
jmp case.0x46e801.66
mov ecx, 0xca
mov dword [ebp + 8], ecx
jmp case.0x46e801.66
mov ecx, 0xce
mov dword [ebp + 8], ecx
jmp case.0x46e801.66
mov ecx, 0xd4
mov dword [ebp + 8], ecx
jmp case.0x46e801.66
mov ecx, 0xdb
mov dword [ebp + 8], ecx
jmp case.0x46e801.66
mov ecx, 0xe2
mov dword [ebp + 8], ecx
jmp case.0x46e801.66
mov ecx, 0xea
mov dword [ebp + 8], ecx
jmp case.0x46e801.66
mov ecx, 0xee
mov dword [ebp + 8], ecx
jmp case.0x46e801.66
mov ecx, 0xf4
mov dword [ebp + 8], ecx
jmp case.0x46e801.66
mov ecx, 0xfb
mov dword [ebp + 8], ecx
jmp case.0x46e801.66
mov ecx, dword [ebp + 8]
lea eax, [ecx - 0x41]
cmp eax, 0x2e
ja case.0x46e87e.66
movzx eax, byte [eax + 0x46f494]
jmp dword [eax*4 + 0x46f47c]
mov ecx, 0xd1
mov dword [ebp + 8], ecx
jmp case.0x46e87e.66
mov ecx, 0xd5
mov dword [ebp + 8], ecx
jmp case.0x46e87e.66
mov ecx, 0xe3
mov dword [ebp + 8], ecx
jmp case.0x46e87e.66
mov ecx, 0xf1
mov dword [ebp + 8], ecx
jmp case.0x46e87e.66
mov ecx, 0xf5
mov dword [ebp + 8], ecx
jmp case.0x46e87e.66
mov ecx, dword [ebp + 8]
lea eax, [ecx - 0x41]
cmp eax, 0x38
ja case.0x46e8cd.66
movzx eax, byte [eax + 0x46f4f4]
jmp dword [eax*4 + 0x46f4c4]
mov ecx, 0xc4
mov dword [ebp + 8], ecx
jmp 0x46e969
mov ecx, 0xcb
mov dword [ebp + 8], ecx
jmp 0x46e969
mov ecx, 0xcf
mov dword [ebp + 8], ecx
jmp 0x46e969
mov ecx, 0xd6
mov dword [ebp + 8], ecx
jmp 0x46e969
mov ecx, 0xdc
mov dword [ebp + 8], ecx
jmp 0x46e969
mov ecx, 0xe4
mov dword [ebp + 8], ecx
jmp 0x46e969
mov ecx, 0xeb
mov dword [ebp + 8], ecx
jmp 0x46e969
mov ecx, 0xef
mov dword [ebp + 8], ecx
jmp 0x46e969
mov ecx, 0xf6
mov dword [ebp + 8], ecx
jmp 0x46e969
mov ecx, 0xfc
mov dword [ebp + 8], ecx
jmp 0x46e969
mov ecx, 0xff
mov dword [ebp + 8], ecx
jmp 0x46e969
mov ecx, dword [ebp + 8]
cmp ecx, 0x43
je 0x46e95c
cmp ecx, 0x63
jne 0x46e969
mov ecx, 0xe7
mov dword [ebp + 8], ecx
jmp 0x46e969
mov ecx, 0xc7
mov dword [ebp + 8], ecx
jmp 0x46e969
mov ecx, dword [ebp + 8]
push ecx
push str._Composed_0x_x
push 8
push 0x5a6c48
mov dword [0x5ab9e4], 0
call fcn.0041d720
mov esi, dword [ebp + 8]
add esp, 0x10
push esi
call dword [sym.imp.USER32.dll_VkKeyScanA]
cmp byte [ebp + 0x10], 0
movzx ebx, ax
je 0x46eabf
mov eax, dword [ebp + 8]
cmp eax, 0x4a6
jne 0x46ea9f
mov ebx, pe_nt_image_headers32
push ebx
push str._SHORT_s__i
push 8
push 0x5a6c48
call fcn.0041d720
mov eax, ebx
add esp, 0x10
mov dword [ebp - 0x34], eax
push 0x14
call dword [sym.imp.USER32.dll_GetKeyState]
mov esi, eax
mov dword [ebp - 0x60], 0x11
mov eax, dword [ebp - 0x34]
shr eax, 8
mov cl, al
xor cl, 1
and esi, 1
movzx edx, cl
movzx ecx, al
cmove edx, ecx
xor edi, edi
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x5c], edi
mov word [ebp - 0x58], di
xor eax, eax
mov dword [ebp - 4], 6
mov dword [ebp - 0x80], 0x12
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x7c], eax
mov word [ebp - 0x78], ax
mov dword [ebp - 0x74], 0x10
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x70], eax
mov word [ebp - 0x6c], ax
mov dword [ebp - 0x44], 0xa0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x40], eax
mov word [ebp - 0x3c], ax
mov dword [ebp - 0x50], 0xa1
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x4c], eax
mov word [ebp - 0x48], ax
mov byte [ebp - 4], 0xa
cmp byte [ebp + 0xc], al
je 0x46edd8
test dl, 2
je 0x46ea6d
lea ecx, [ebp - 0x60]
call fcn.0046e2c0
mov edi, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x54]
test dl, 4
je 0x46ea83
lea ecx, [ebp - 0x80]
call fcn.0046e2c0
mov eax, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x68], eax
test dl, 1
je 0x46edb7
lea ecx, [ebp - 0x74]
call fcn.0046e2c0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
jmp 0x46edd8
cmp eax, 0x5c
jne 0x46eaaf
mov ebx, 0xe2
push ebx
jmp 0x46e9b3
cmp eax, 0xa5
jne 0x46eabf
lea ebx, [eax + 0x37]
push ebx
jmp 0x46e9b3
movsx eax, bx
push eax
push str._SHORT_s__i
push 8
push 0x5a6c48
mov dword [ebp - 0x34], eax
call fcn.0041d720
add esp, 0x10
cmp bx, 0xffff
jne 0x46e9cc
cmp byte [ebp + 0xc], 0
je 0x46f2f5
push str.down
push 8
push 0x5a6c48
call fcn.0041d720
push str._Found_key
push 8
push 0x5a6c48
call fcn.0041d720
mov esi, dword [ebp + 8]
add esp, 0x18
cmp esi, 0xff
jg 0x46ed9d
mov eax, 0x51eb851f
mov dword [ebp - 0x60], 0x10
imul esi
mov dword [ebp - 0x5c], 0
sar edx, 5
mov eax, edx
mov word [ebp - 0x58], 0
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x38], eax
imul eax, eax, 0x64
sub esi, eax
mov eax, 0x66666667
imul esi
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, ecx
mov dword [ebp - 0x34], ecx
neg eax
shl eax, 2
sub eax, ecx
lea ebx, [esi + eax*2]
mov dword [ebp - 0x54], ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x50], 0xa0
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xa1
mov dword [ebp - 0x40], 0
mov word [ebp - 0x3c], 0
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.0046e310
lea ecx, [ebp - 0x44]
call fcn.0046e310
mov eax, dword [ebp - 0x34]
movzx ebx, bl
push ebx
movzx edi, al
mov eax, dword [ebp - 0x38]
push edi
movzx esi, al
push esi
push str._Simulating_ALT_d_d_d_n
push 8
push 0x5a6c48
call fcn.0041d720
add esp, 0x14
push 0
push 0
push 0x12
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov dl, al
mov cl, 0x12
call fcn.0042e870
add esp, 4
push 0
push 0
push 0x60
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov dl, al
mov cl, 0x60
call fcn.0042e870
add esp, 4
push 2
push 0
push 0x60
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov dl, al
mov cl, 0x60
call fcn.0042e870
add byte [ebp - 0x38], 0x60
add esi, 0x60
add esp, 4
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov ecx, dword [ebp - 0x38]
mov dl, al
call fcn.0042e870
add esp, 4
push 2
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov cl, byte [ebp - 0x38]
mov dl, al
call fcn.0042e870
add byte [ebp - 0x34], 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 - 0x34]
mov dl, al
call fcn.0042e870
add esp, 4
push 2
push 0
push esi
call edi
mov cl, byte [ebp - 0x34]
mov dl, al
call fcn.0042e870
add esp, 4
lea esi, [ebx + 0x60]
mov ebx, dword [ebp - 0x54]
add bl, 0x60
push 0
push 0
push esi
call edi
mov dl, al
mov cl, bl
call fcn.0042e870
add esp, 4
push 2
push 0
push esi
call edi
mov dl, al
mov cl, bl
call fcn.0042e870
add esp, 4
push 2
push 0
push 0x12
call edi
mov dl, al
mov cl, 0x12
call fcn.0042e870
add esp, 8
mov byte [ebp - 4], 3
cmp byte [ebp - 0x3c], 0
je 0x46ed01
mov eax, dword [ebp - 0x40]
push ecx
or eax, 2
push eax
movzx eax, byte [ebp - 0x44]
push 0
push eax
call edi
mov cl, byte [ebp - 0x44]
mov dl, al
call fcn.0042e870
push dword [ebp - 0x44]
push str.fake__d_up_n
jmp 0x46ed26
cmp byte [ebp - 0x3b], 0
je 0x46ed35
movzx eax, byte [ebp - 0x44]
push ecx
push dword [ebp - 0x40]
push 0
push eax
call edi
mov cl, byte [ebp - 0x44]
mov dl, al
call fcn.0042e870
push dword [ebp - 0x44]
push str.fake__d_down_n
push 9
push 0x5a6c48
call fcn.0041d720
add esp, 0x18
mov byte [ebp - 4], 4
cmp byte [ebp - 0x48], 0
je 0x46ed64
mov eax, dword [ebp - 0x4c]
push ecx
or eax, 2
push eax
movzx eax, byte [ebp - 0x50]
push 0
push eax
call edi
mov cl, byte [ebp - 0x50]
mov dl, al
call fcn.0042e870
push dword [ebp - 0x50]
push str.fake__d_up_n
jmp 0x46ed89
cmp byte [ebp - 0x47], 0
je 0x46ed98
movzx eax, byte [ebp - 0x50]
push ecx
push dword [ebp - 0x4c]
push 0
push eax
call edi
mov cl, byte [ebp - 0x50]
mov dl, al
call fcn.0042e870
push dword [ebp - 0x50]
push str.fake__d_down_n
push 9
push 0x5a6c48
call fcn.0041d720
add esp, 0x18
jmp 0x46f2f5
push esi
push str.ignoring_unrecognised_Latin_1_keysym_0x_x
push 8
push 0x5a6c48
call fcn.0041d720
add esp, 0x10
jmp 0x46f2f5
cmp bl, 0x20
je 0x46edd8
lea ecx, [ebp - 0x44]
call fcn.0046e310
lea ecx, [ebp - 0x50]
call fcn.0046e310
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x34], eax
movzx eax, byte [ebp + 0xc]
push esi
push eax
mov eax, dword [ebp + 8]
movzx edx, bl
push edx
push eax
push eax
push str.latin_1_key:_keysym__d_0x_x__vkCode_0x_x_down__d_capslockOn__d_n
push 9
push 0x5a6c48
call fcn.0041d720
movzx eax, byte [ebp + 0xc]
add esp, 0x1c
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyA]
xor eax, 1
add eax, eax
push eax
push 0
push edx
call esi
mov dl, al
mov cl, bl
call fcn.0042e870
add esp, 8
mov byte [ebp - 4], 0xb
cmp byte [ebp - 0x48], 0
je 0x46ee4b
mov eax, dword [ebp - 0x34]
push ecx
or eax, 2
push eax
movzx eax, byte [ebp - 0x50]
push 0
push eax
call esi
mov cl, byte [ebp - 0x50]
mov dl, al
call fcn.0042e870
push dword [ebp - 0x50]
push str.fake__d_up_n
jmp 0x46ee70
cmp byte [ebp - 0x47], 0
je 0x46ee7f
movzx eax, byte [ebp - 0x50]
push ecx
push dword [ebp - 0x34]
push 0
push eax
call esi
mov cl, byte [ebp - 0x50]
mov dl, al
call fcn.0042e870
push dword [ebp - 0x50]
push str.fake__d_down_n
push 9
push 0x5a6c48
call fcn.0041d720
add esp, 0x18
mov byte [ebp - 4], 0xc
cmp byte [ebp - 0x3c], 0
je 0x46eeae
mov eax, dword [ebp - 0x38]
push ecx
or eax, 2
push eax
movzx eax, byte [ebp - 0x44]
push 0
push eax
call esi
mov cl, byte [ebp - 0x44]
mov dl, al
call fcn.0042e870
push dword [ebp - 0x44]
push str.fake__d_up_n
jmp 0x46eed3
cmp byte [ebp - 0x3b], 0
je 0x46eee2
movzx eax, byte [ebp - 0x44]
push ecx
push dword [ebp - 0x38]
push 0
push eax
call esi
mov cl, byte [ebp - 0x44]
mov dl, al
call fcn.0042e870
push dword [ebp - 0x44]
push str.fake__d_down_n
push 9
push 0x5a6c48
call fcn.0041d720
add esp, 0x18
mov byte [ebp - 4], 0xd
cmp byte [ebp - 0x6c], 0
je 0x46ef11
mov eax, dword [ebp - 0x64]
push ecx
or eax, 2
push eax
movzx eax, byte [ebp - 0x74]
push 0
push eax
call esi
mov cl, byte [ebp - 0x74]
mov dl, al
call fcn.0042e870
push dword [ebp - 0x74]
push str.fake__d_up_n
jmp 0x46ef36
cmp byte [ebp - 0x6b], 0
je 0x46ef45
movzx eax, byte [ebp - 0x74]
push ecx
push dword [ebp - 0x64]
push 0
push eax
call esi
mov cl, byte [ebp - 0x74]
mov dl, al
call fcn.0042e870
push dword [ebp - 0x74]
push str.fake__d_down_n
push 9
push 0x5a6c48
call fcn.0041d720
add esp, 0x18
mov byte [ebp - 4], 0xe
cmp byte [ebp - 0x78], 0
je 0x46ef74
mov eax, dword [ebp - 0x68]
push ecx
or eax, 2
push eax
movzx eax, byte [ebp - 0x80]
push 0
push eax
call esi
mov cl, byte [ebp - 0x80]
mov dl, al
call fcn.0042e870
push dword [ebp - 0x80]
push str.fake__d_up_n
jmp 0x46ef99
cmp byte [ebp - 0x77], 0
je 0x46efa8
movzx eax, byte [ebp - 0x80]
push ecx
push dword [ebp - 0x68]
push 0
push eax
call esi
mov cl, byte [ebp - 0x80]
mov dl, al
call fcn.0042e870
push dword [ebp - 0x80]
push str.fake__d_down_n
push 9
push 0x5a6c48
call fcn.0041d720
add esp, 0x18
mov dword [ebp - 4], 0xf
cmp byte [ebp - 0x58], 0
je 0x46efe9
movzx eax, byte [ebp - 0x60]
or edi, 2
push ecx
push edi
push 0
push eax
call esi
mov cl, byte [ebp - 0x60]
mov dl, al
call fcn.0042e870
push dword [ebp - 0x60]
push str.fake__d_up_n
push 9
push 0x5a6c48
call fcn.0041d720
add esp, 0x18
jmp 0x46f2f5
cmp byte [ebp - 0x57], 0
je 0x46f2f5
movzx eax, byte [ebp - 0x60]
push ecx
push edi
push 0
push eax
call esi
mov cl, byte [ebp - 0x60]
mov dl, al
call fcn.0042e870
push dword [ebp - 0x60]
push str.fake__d_down_n
push 9
push 0x5a6c48
call fcn.0041d720
add esp, 0x18
jmp 0x46f2f5
lea eax, [ebp + 8]
mov ecx, 0x5b6e90
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.0046fc70
mov eax, dword [ebp - 0x58]
cmp byte [eax + 0xd], 0
jne 0x46f253
cmp esi, dword [eax + 0x10]
jb 0x46f253
cmp eax, dword [0x5b6e90]
je 0x46f253
lea eax, [ebp + 8]
mov ecx, 0x5b6e90
push eax
call fcn.0046f6f0
mov ecx, 0x5b6e98
mov bl, byte [eax]
lea eax, [ebp + 8]
push eax
call fcn.0046f610
xor ecx, ecx
cmp byte [eax], cl
mov al, byte [ebp + 0xc]
setne cl
mov esi, ecx
or esi, 2
test al, al
cmovne esi, ecx
je 0x46f234
cmp bl, 0x2e
jne 0x46f142
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x11
call edi
mov ecx, 0x8000
test cx, ax
je 0x46f234
push 0x12
call edi
mov ecx, 0x8000
test cx, ax
je 0x46f234
push str.CAD_n
push 9
push 0x5a6c48
call fcn.0041d720
mov eax, dword [0x5b6e6c]
add esp, 0xc
cmp dword [eax + 0xe20], 0
je 0x46f11c
push str.Vista_and_runnning_as_system____CAD_n
push 9
push 0x5a6c48
call fcn.0041d720
add esp, 0xc
lea eax, [ebp - 0x54]
push eax
push 0
push 0
push 0x41d730
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x46f2f5
push str.Vista_and_runnning_as_user____Taskmgr_n
push 9
push 0x5a6c48
call fcn.0041d720
add esp, 0xc
push 1
push str.taskmgr.exe
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x46f2f5
cmp bl, 0x15
jne 0x46f234
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
push esi
call dword [sym.imp.IMM32.dll_ImmGetDefaultIMEWnd]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 5
push 0x283
push eax
call edi
push 5
push esi
mov dword [ebp - 0x54], eax
call dword [sym.imp.USER32.dll_GetWindow]
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46f2f5
nop dword [eax]
push ebx
call dword [sym.imp.IMM32.dll_ImmGetDefaultIMEWnd]
mov esi, eax
mov eax, dword [ebp - 0x54]
cmp eax, 1
jne 0x46f1d5
push 0
push 2
push 0x283
push esi
call edi
push 0
push 1
push 0x283
push esi
call edi
push 0
push 3
push 0x283
push esi
call edi
push 0
push 4
push 0x283
push esi
call edi
push 0
jmp 0x46f20b
test eax, eax
jne 0x46f215
push 1
push 2
push 0x283
push esi
call edi
push 1
push 1
push 0x283
push esi
call edi
push 1
push 3
push 0x283
push esi
call edi
push 1
push 4
push 0x283
push esi
call edi
push 1
push 6
push 0x283
push esi
call edi
push 2
push ebx
call dword [sym.imp.USER32.dll_GetWindow]
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x46f190
jmp 0x46f2f5
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.0042e870
add esp, 8
jmp 0x46f2f5
cmp byte [ebp + 0x14], 0
je 0x46f2f5
cmp esi, 0xffe5
je 0x46f2f5
push esi
lea eax, [ebp - 0x30]
push 0x591c30
push eax
call fcn.0046f7b0
lea eax, [ebp - 0x30]
push eax
push str.trying_unicode_input_key___s__n
push 9
push 0x5a6c48
call fcn.0041d720
xor eax, eax
mov dword [ebp - 0x9c], 1
add esp, 0x1c
mov word [ebp - 0x98], ax
lea eax, [ebp - 0x30]
push eax
call fcn.0051e079
add esp, 4
mov word [ebp - 0x96], ax
cmp byte [ebp + 0xc], 0
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
push 0x1c
push eax
push 1
mov dword [ebp - 0x94], 4
jne 0x46f2ef
mov dword [ebp - 0x94], 6
call dword [sym.imp.USER32.dll_SendInput]
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.00511339
mov esp, ebp
pop ebp
ret 0x10