Function at 0x503200
Capabilities:
Log keystrokes via input method manager

Disassembly:
sub esp, 0x118
mov eax, dword [0x596f48]
xor eax, esp
mov dword [esp + 0x114], eax
push ebp
mov ebp, dword [esp + 0x120]
mov eax, dword [ebp]
push esi
push edi
push eax
mov esi, ecx
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
lea eax, [edi - 0x412]
cmp eax, 0xd4
ja case.0x503244.1043
movzx ecx, byte [eax + 0x5034e8]
jmp dword [ecx*4 + 0x5034c4]
cmp dword [ebp + 8], 0x2e
jne case.0x503244.1043
mov eax, esi
call fcn.00500c50
mov eax, 1
jmp 0x503364
cmp dword [ebp + 8], 0x2e
jne case.0x503244.1043
mov eax, esi
call fcn.00500d40
mov eax, 1
jmp 0x503364
mov ebp, dword [ebp + 8]
cmp ebp, 0x2e
jne 0x503296
call fcn.005001d0
lea eax, [ebp - 0x2d]
jmp 0x503364
cmp ebp, 0x71
jne case.0x503244.1043
call fcn.00503190
lea eax, [ebp - 0x70]
jmp 0x503364
mov ebp, dword [ebp + 8]
cmp ebp, 0x2e
jne 0x5032bf
mov eax, esi
call fcn.004ffe50
lea eax, [ebp - 0x2d]
jmp 0x503364
cmp ebp, 0x71
jne case.0x503244.1043
mov edx, dword [esi + 0x44]
push 0
push 0
push 0x188
push 0x4b7
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [0x597dc4]
push eax
mov ecx, esi
call fcn.004ffee0
lea eax, [ebp - 0x70]
jmp 0x503364
mov ebp, dword [ebp + 8]
cmp ebp, 0x2e
jne 0x503302
call fcn.004fe500
lea eax, [ebp - 0x2d]
jmp 0x503364
cmp ebp, 0x71
jne case.0x503244.1043
push esi
call fcn.004fe690
xor eax, eax
jmp 0x503364
mov ebp, dword [ebp + 8]
cmp ebp, 0x2e
jne 0x503325
mov edi, esi
call fcn.004facb0
lea eax, [ebp - 0x2d]
jmp 0x503364
cmp ebp, 0x71
jne case.0x503244.1043
push 1
push esi
call fcn.004ffca0
lea eax, [ebp - 0x70]
jmp 0x503364
push ebx
call fcn.004b2990
mov ebx, dword [ebp + 8]
lea ecx, [ebx - 8]
cmp ecx, 0xdd
mov dword [esp + 0x10], eax
ja case.0x503356.10
movzx ecx, byte [ecx + 0x5035d4]
jmp dword [ecx*4 + 0x5035c0]
test eax, eax
jne case.0x503356.10
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x120]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0054899c
add esp, 0x118
ret 4
test eax, eax
jne case.0x503356.10
xor ebx, ebx
jmp case.0x503356.10
mov edx, dword [ebp]
push edx
call sub.IMM32.dll_ImmGetVirtualKey
mov ebx, eax
mov eax, dword [esp + 0x10]
mov ecx, edi
sub ecx, 0x48c
je 0x5033c5
sub ecx, 1
je 0x5033b7
sub ecx, 1
jne 0x5033d1
mov byte [esi + 0x13c], al
mov byte [esi + 0x13d], bl
jmp 0x5033d1
mov byte [esi + 0x138], al
mov byte [esi + 0x139], bl
jmp 0x5033d1
mov byte [esi + 0x13a], al
mov byte [esi + 0x13b], bl
push edi
push ebx
push eax
call fcn.004fb9c0
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp]
push ebx
push eax
push ecx
call fcn.004b3230
mov edx, dword [ebp]
push edx
call fcn.004af920
mov eax, dword [esi]
push 0x3e9
push eax
call fcn.004a9bc0
mov eax, 1
jmp 0x503363
call fcn.004b2990
mov esi, 0xe5
cmp dword [ebp + 8], esi
mov edi, eax
jne 0x503430
lea esp, [esp]
mov ecx, dword [ebp]
push ecx
call sub.IMM32.dll_ImmGetVirtualKey
cmp eax, esi
mov dword [ebp + 8], eax
je 0x503420
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
cmp eax, 0x95
ja case.0x503444.19
movzx edx, byte [eax + 0x5036bc]
jmp dword [edx*4 + 0x5036b4]
lea eax, [esp + 0x10]
push eax
call fcn.00522730
mov ecx, dword [ebp + 8]
push ecx
push edi
push 0
lea edx, [esp + 0x1c]
push edx
call fcn.004a21b0
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp]
push eax
push ecx
call fcn.004a9a20
lea edx, [esp + 0x10]
push edx
call fcn.00401260
mov eax, dword [ebp]
mov esi, dword [sym.imp.USER32.dll_GetParent]
push eax
call esi
push eax
call fcn.004ac250
mov edx, dword [eax + 4]
mov ecx, dword [ebp + 8]
and edx, 0xf0
or edx, edi
mov dword [eax + 8], ecx
mov dword [eax + 4], edx
mov eax, dword [ebp]
push eax
call esi
push eax
call fcn.004ff6f0
mov ecx, dword [ebp]
push ecx
call fcn.004af920
mov eax, 1
jmp 0x503364