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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54a708
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x5b0008]
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 0x5b0d48
call fcn.0041cc90
mov esi, dword [ebp + 8]
add esp, 0x10
lea eax, [esi - 0xfe50]
cmp eax, 0x10
ja 0x472ee2
push str.__DEAD_KEY
push 8
push 0x5b0d48
mov dword [0x5b35e4], esi
call fcn.0041cc90
add esp, 0xc
jmp 0x473b76
cmp esi, 0x20
jb 0x472eec
cmp esi, 0x7e
jbe 0x472efb
lea eax, [esi - 0xa0]
cmp eax, 0x5f
ja 0x4738ac
mov eax, dword [0x5b35e4]
test eax, eax
je 0x4731f0
cmp byte [ebp + 0xc], 0
je 0x4731f0
push esi
push eax
push str._Compose_dead_0x_x_0x_x
push 8
push 0x5b0d48
call fcn.0041cc90
mov eax, dword [0x5b35e4]
add esp, 0x14
add eax, 0xffff01b0
cmp eax, 0xb
ja case.0x472f3b.65108
jmp dword [eax*4 + 0x473b94]
mov ecx, dword [ebp + 8]
lea eax, [ecx - 0x41]
cmp eax, 0x34
ja case.0x472f54.66
movzx eax, byte [eax + 0x473bf0]
jmp dword [eax*4 + 0x473bc4]
mov ecx, 0xc0
mov dword [ebp + 8], ecx
jmp case.0x472f54.66
mov ecx, 0xc8
mov dword [ebp + 8], ecx
jmp case.0x472f54.66
mov ecx, 0xcc
mov dword [ebp + 8], ecx
jmp case.0x472f54.66
mov ecx, 0xd2
mov dword [ebp + 8], ecx
jmp case.0x472f54.66
mov ecx, 0xd9
mov dword [ebp + 8], ecx
jmp case.0x472f54.66
mov ecx, 0xe0
mov dword [ebp + 8], ecx
jmp case.0x472f54.66
mov ecx, 0xe8
mov dword [ebp + 8], ecx
jmp case.0x472f54.66
mov ecx, 0xec
mov dword [ebp + 8], ecx
jmp case.0x472f54.66
mov ecx, 0xf2
mov dword [ebp + 8], ecx
jmp case.0x472f54.66
mov ecx, 0xf9
mov dword [ebp + 8], ecx
jmp case.0x472f54.66
mov ecx, dword [ebp + 8]
lea eax, [ecx - 0x41]
cmp eax, 0x38
ja case.0x472fd5.66
movzx eax, byte [eax + 0x473c5c]
jmp dword [eax*4 + 0x473c28]
mov ecx, 0xc1
mov dword [ebp + 8], ecx
jmp case.0x472fd5.66
mov ecx, 0xc9
mov dword [ebp + 8], ecx
jmp case.0x472fd5.66
mov ecx, 0xcd
mov dword [ebp + 8], ecx
jmp case.0x472fd5.66
mov ecx, 0xd3
mov dword [ebp + 8], ecx
jmp case.0x472fd5.66
mov ecx, 0xda
mov dword [ebp + 8], ecx
jmp case.0x472fd5.66
mov ecx, 0xe1
mov dword [ebp + 8], ecx
jmp case.0x472fd5.66
mov ecx, 0xe9
mov dword [ebp + 8], ecx
jmp case.0x472fd5.66
mov ecx, 0xed
mov dword [ebp + 8], ecx
jmp case.0x472fd5.66
mov ecx, 0xf3
mov dword [ebp + 8], ecx
jmp case.0x472fd5.66
mov ecx, 0xfa
mov dword [ebp + 8], ecx
jmp case.0x472fd5.66
mov ecx, 0xfd
mov dword [ebp + 8], ecx
jmp case.0x472fd5.66
mov ecx, 0xdd
mov dword [ebp + 8], ecx
jmp case.0x472fd5.66
mov ecx, dword [ebp + 8]
lea eax, [ecx - 0x41]
cmp eax, 0x34
ja case.0x473066.66
movzx eax, byte [eax + 0x473cc4]
jmp dword [eax*4 + 0x473c98]
mov ecx, 0xc2
mov dword [ebp + 8], ecx
jmp case.0x473066.66
mov ecx, 0xca
mov dword [ebp + 8], ecx
jmp case.0x473066.66
mov ecx, 0xce
mov dword [ebp + 8], ecx
jmp case.0x473066.66
mov ecx, 0xd4
mov dword [ebp + 8], ecx
jmp case.0x473066.66
mov ecx, 0xdb
mov dword [ebp + 8], ecx
jmp case.0x473066.66
mov ecx, 0xe2
mov dword [ebp + 8], ecx
jmp case.0x473066.66
mov ecx, 0xea
mov dword [ebp + 8], ecx
jmp case.0x473066.66
mov ecx, 0xee
mov dword [ebp + 8], ecx
jmp case.0x473066.66
mov ecx, 0xf4
mov dword [ebp + 8], ecx
jmp case.0x473066.66
mov ecx, 0xfb
mov dword [ebp + 8], ecx
jmp case.0x473066.66
mov ecx, dword [ebp + 8]
lea eax, [ecx - 0x41]
cmp eax, 0x2e
ja case.0x4730e3.66
movzx eax, byte [eax + 0x473d14]
jmp dword [eax*4 + 0x473cfc]
mov ecx, 0xd1
mov dword [ebp + 8], ecx
jmp case.0x4730e3.66
mov ecx, 0xd5
mov dword [ebp + 8], ecx
jmp case.0x4730e3.66
mov ecx, 0xe3
mov dword [ebp + 8], ecx
jmp case.0x4730e3.66
mov ecx, 0xf1
mov dword [ebp + 8], ecx
jmp case.0x4730e3.66
mov ecx, 0xf5
mov dword [ebp + 8], ecx
jmp case.0x4730e3.66
mov ecx, dword [ebp + 8]
lea eax, [ecx - 0x41]
cmp eax, 0x38
ja case.0x473132.66
movzx eax, byte [eax + 0x473d74]
jmp dword [eax*4 + 0x473d44]
mov ecx, 0xc4
mov dword [ebp + 8], ecx
jmp 0x4731ce
mov ecx, 0xcb
mov dword [ebp + 8], ecx
jmp 0x4731ce
mov ecx, 0xcf
mov dword [ebp + 8], ecx
jmp 0x4731ce
mov ecx, 0xd6
mov dword [ebp + 8], ecx
jmp 0x4731ce
mov ecx, 0xdc
mov dword [ebp + 8], ecx
jmp 0x4731ce
mov ecx, 0xe4
mov dword [ebp + 8], ecx
jmp 0x4731ce
mov ecx, 0xeb
mov dword [ebp + 8], ecx
jmp 0x4731ce
mov ecx, 0xef
mov dword [ebp + 8], ecx
jmp 0x4731ce
mov ecx, 0xf6
mov dword [ebp + 8], ecx
jmp 0x4731ce
mov ecx, 0xfc
mov dword [ebp + 8], ecx
jmp 0x4731ce
mov ecx, 0xff
mov dword [ebp + 8], ecx
jmp 0x4731ce
mov ecx, dword [ebp + 8]
cmp ecx, 0x43
je 0x4731c1
cmp ecx, 0x63
jne 0x4731ce
mov ecx, 0xe7
mov dword [ebp + 8], ecx
jmp 0x4731ce
mov ecx, 0xc7
mov dword [ebp + 8], ecx
jmp 0x4731ce
mov ecx, dword [ebp + 8]
push ecx
push str._Composed_0x_x
push 8
push 0x5b0d48
mov dword [0x5b35e4], 0
call fcn.0041cc90
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 0x473331
mov eax, dword [ebp + 8]
cmp eax, 0x4a6
jne 0x473311
mov ebx, pe_nt_image_headers32
push ebx
push str._SHORT_s__i
push 8
push 0x5b0d48
call fcn.0041cc90
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 - 0x5c], 0x11
mov eax, dword [ebp - 0x34]
and esi, 1
shr eax, 8
mov cl, al
mov dword [ebp - 0x64], esi
xor cl, 1
test esi, esi
movzx edx, cl
movzx ecx, al
cmove edx, ecx
xor edi, edi
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x58], edi
mov word [ebp - 0x54], di
xor eax, eax
mov dword [ebp - 4], 6
mov dword [ebp - 0x84], 0x12
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x80], eax
mov word [ebp - 0x7c], ax
mov dword [ebp - 0x78], 0x10
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x74], eax
mov word [ebp - 0x70], 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 al, byte [ebp + 0xc]
mov byte [ebp - 4], 0xa
test al, al
je 0x47364d
test dl, 2
je 0x4732dc
lea ecx, [ebp - 0x5c]
call fcn.00472b20
mov edi, dword [ebp - 0x58]
mov edx, dword [ebp - 0x60]
test dl, 4
je 0x4732f5
lea ecx, [ebp - 0x84]
call fcn.00472b20
mov eax, dword [ebp - 0x80]
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x6c], eax
test dl, 1
je 0x473629
lea ecx, [ebp - 0x78]
call fcn.00472b20
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x68], eax
jmp 0x47364a
cmp eax, 0x5c
jne 0x473321
mov ebx, 0xe2
push ebx
jmp 0x473218
cmp eax, 0xa5
jne 0x473331
lea ebx, [eax + 0x37]
push ebx
jmp 0x473218
movsx eax, bx
push eax
push str._SHORT_s__i
push 8
push 0x5b0d48
mov dword [ebp - 0x34], eax
call fcn.0041cc90
add esp, 0x10
cmp bx, 0xffff
jne 0x473231
cmp byte [ebp + 0xc], 0
je 0x473b76
push str.down
push 8
push 0x5b0d48
call fcn.0041cc90
push str._Found_key
push 8
push 0x5b0d48
call fcn.0041cc90
mov esi, dword [ebp + 8]
add esp, 0x18
cmp esi, 0xff
jg 0x47360f
mov eax, 0x51eb851f
mov dword [ebp - 0x5c], 0x10
imul esi
mov dword [ebp - 0x58], 0
sar edx, 5
mov eax, edx
mov word [ebp - 0x54], 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 - 0x60], 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.00472b70
lea ecx, [ebp - 0x44]
call fcn.00472b70
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 0x5b0d48
call fcn.0041cc90
add esp, 0x14
push 0
push 0
push 0x12
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov dl, al
mov cl, 0x12
call fcn.00431d50
add esp, 4
push 0
push 0
push 0x60
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov dl, al
mov cl, 0x60
call fcn.00431d50
add esp, 4
push 2
push 0
push 0x60
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov dl, al
mov cl, 0x60
call fcn.00431d50
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.00431d50
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.00431d50
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.00431d50
add esp, 4
push 2
push 0
push esi
call edi
mov cl, byte [ebp - 0x34]
mov dl, al
call fcn.00431d50
add esp, 4
lea esi, [ebx + 0x60]
mov ebx, dword [ebp - 0x60]
add bl, 0x60
push 0
push 0
push esi
call edi
mov dl, al
mov cl, bl
call fcn.00431d50
add esp, 4
push 2
push 0
push esi
call edi
mov dl, al
mov cl, bl
call fcn.00431d50
add esp, 4
push 2
push 0
push 0x12
call edi
mov dl, al
mov cl, 0x12
call fcn.00431d50
add esp, 8
mov byte [ebp - 4], 3
cmp byte [ebp - 0x3c], 0
je 0x473573
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.00431d50
push dword [ebp - 0x44]
push str.fake__d_up_n
jmp 0x473598
cmp byte [ebp - 0x3b], 0
je 0x4735a7
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.00431d50
push dword [ebp - 0x44]
push str.fake__d_down_n
push 9
push 0x5b0d48
call fcn.0041cc90
add esp, 0x18
mov byte [ebp - 4], 4
cmp byte [ebp - 0x48], 0
je 0x4735d6
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.00431d50
push dword [ebp - 0x50]
push str.fake__d_up_n
jmp 0x4735fb
cmp byte [ebp - 0x47], 0
je 0x47360a
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.00431d50
push dword [ebp - 0x50]
push str.fake__d_down_n
push 9
push 0x5b0d48
call fcn.0041cc90
add esp, 0x18
jmp 0x473b76
push esi
push str.ignoring_unrecognised_Latin_1_keysym_0x_x
push 8
push 0x5b0d48
call fcn.0041cc90
add esp, 0x10
jmp 0x473b76
cmp bl, 0x20
je 0x47364a
lea ecx, [ebp - 0x44]
call fcn.00472b70
lea ecx, [ebp - 0x50]
call fcn.00472b70
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x34], eax
mov al, byte [ebp + 0xc]
push dword [ebp - 0x64]
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 0x5b0d48
call fcn.0041cc90
movzx eax, byte [ebp + 0xc]
add esp, 0x1c
xor eax, 1
add eax, eax
push eax
push 0
push esi
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyA]
call esi
mov dl, al
mov cl, bl
call fcn.00431d50
add esp, 8
mov byte [ebp - 4], 0xb
cmp byte [ebp - 0x48], 0
je 0x4736c1
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.00431d50
push dword [ebp - 0x50]
push str.fake__d_up_n
jmp 0x4736e6
cmp byte [ebp - 0x47], 0
je 0x4736f5
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.00431d50
push dword [ebp - 0x50]
push str.fake__d_down_n
push 9
push 0x5b0d48
call fcn.0041cc90
add esp, 0x18
mov byte [ebp - 4], 0xc
cmp byte [ebp - 0x3c], 0
je 0x473724
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.00431d50
push dword [ebp - 0x44]
push str.fake__d_up_n
jmp 0x473749
cmp byte [ebp - 0x3b], 0
je 0x473758
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.00431d50
push dword [ebp - 0x44]
push str.fake__d_down_n
push 9
push 0x5b0d48
call fcn.0041cc90
add esp, 0x18
mov byte [ebp - 4], 0xd
cmp byte [ebp - 0x70], 0
je 0x473787
mov eax, dword [ebp - 0x68]
push ecx
or eax, 2
push eax
movzx eax, byte [ebp - 0x78]
push 0
push eax
call esi
mov cl, byte [ebp - 0x78]
mov dl, al
call fcn.00431d50
push dword [ebp - 0x78]
push str.fake__d_up_n
jmp 0x4737ac
cmp byte [ebp - 0x6f], 0
je 0x4737bb
movzx eax, byte [ebp - 0x78]
push ecx
push dword [ebp - 0x68]
push 0
push eax
call esi
mov cl, byte [ebp - 0x78]
mov dl, al
call fcn.00431d50
push dword [ebp - 0x78]
push str.fake__d_down_n
push 9
push 0x5b0d48
call fcn.0041cc90
add esp, 0x18
mov byte [ebp - 4], 0xe
cmp byte [ebp - 0x7c], 0
je 0x4737f3
mov eax, dword [ebp - 0x6c]
push ecx
or eax, 2
push eax
movzx eax, byte [ebp - 0x84]
push 0
push eax
call esi
mov cl, byte [ebp - 0x84]
mov dl, al
call fcn.00431d50
push dword [ebp - 0x84]
push str.fake__d_up_n
jmp 0x473821
cmp byte [ebp - 0x7b], 0
je 0x473830
movzx eax, byte [ebp - 0x84]
push ecx
push dword [ebp - 0x6c]
push 0
push eax
call esi
mov cl, byte [ebp - 0x84]
mov dl, al
call fcn.00431d50
push dword [ebp - 0x84]
push str.fake__d_down_n
push 9
push 0x5b0d48
call fcn.0041cc90
add esp, 0x18
mov dword [ebp - 4], 0xf
cmp byte [ebp - 0x54], 0
je 0x473871
movzx eax, byte [ebp - 0x5c]
or edi, 2
push ecx
push edi
push 0
push eax
call esi
mov cl, byte [ebp - 0x5c]
mov dl, al
call fcn.00431d50
push dword [ebp - 0x5c]
push str.fake__d_up_n
push 9
push 0x5b0d48
call fcn.0041cc90
add esp, 0x18
jmp 0x473b76
cmp byte [ebp - 0x53], 0
je 0x473b76
movzx eax, byte [ebp - 0x5c]
push ecx
push edi
push 0
push eax
call esi
mov cl, byte [ebp - 0x5c]
mov dl, al
call fcn.00431d50
push dword [ebp - 0x5c]
push str.fake__d_down_n
push 9
push 0x5b0d48
call fcn.0041cc90
add esp, 0x18
jmp 0x473b76
lea eax, [ebp + 8]
mov ecx, 0x5be0b4
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004744d0
mov eax, dword [ebp - 0x54]
cmp byte [eax + 0xd], 0
jne 0x473ad4
cmp esi, dword [eax + 0x10]
jb 0x473ad4
cmp eax, dword [0x5be0b4]
je 0x473ad4
lea eax, [ebp + 8]
mov ecx, 0x5be0b4
push eax
call fcn.00473f50
mov ecx, 0x5be0bc
mov bl, byte [eax]
lea eax, [ebp + 8]
push eax
call fcn.00473e70
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 0x473ab5
cmp bl, 0x2e
jne 0x4739ca
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x11
call edi
mov ecx, 0x8000
test cx, ax
je 0x473ab5
push 0x12
call edi
mov ecx, 0x8000
test cx, ax
je 0x473ab5
push str.CAD_n
push 9
push 0x5b0d48
call fcn.0041cc90
mov eax, dword [0x5be08c]
add esp, 0xc
cmp dword [eax + 0xe20], 0
je 0x4739a4
push str.Vista_and_runnning_as_system____CAD_n
push 9
push 0x5b0d48
call fcn.0041cc90
add esp, 0xc
lea eax, [ebp - 0x64]
push eax
push 0
push 0
push 0x41cd80
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x473b76
push str.Vista_and_runnning_as_user____Taskmgr_n
push 9
push 0x5b0d48
call fcn.0041cc90
add esp, 0xc
push 1
push str.taskmgr.exe
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x473b76
cmp bl, 0x15
jne 0x473ab5
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 - 0x64], eax
call dword [sym.imp.USER32.dll_GetWindow]
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x473b76
push ebx
call dword [sym.imp.IMM32.dll_ImmGetDefaultIMEWnd]
mov esi, eax
mov eax, dword [ebp - 0x64]
cmp eax, 1
jne 0x473a56
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 0x473a8c
test eax, eax
jne 0x473a96
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 0x473a11
jmp 0x473b76
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.00431d50
add esp, 8
jmp 0x473b76
cmp byte [ebp + 0x14], 0
je 0x473b76
cmp esi, 0xffe5
je 0x473b76
push esi
lea eax, [ebp - 0x30]
push 0x59af04
push eax
call fcn.00474010
lea eax, [ebp - 0x30]
push eax
push str.trying_unicode_input_key___s__n
push 9
push 0x5b0d48
call fcn.0041cc90
xor eax, eax
mov dword [ebp - 0xa0], 1
add esp, 0x1c
mov word [ebp - 0x9c], ax
lea eax, [ebp - 0x30]
push eax
call fcn.00527749
add esp, 4
mov word [ebp - 0x9a], ax
cmp byte [ebp + 0xc], 0
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
push 0x1c
push eax
push 1
mov dword [ebp - 0x98], 4
jne 0x473b70
mov dword [ebp - 0x98], 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.00519459
mov esp, ebp
pop ebp
ret 0x10