Function at 0x432850
Capabilities:
Log keystrokes
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
mov eax, dword [ebp + 0x1c]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x20]
call fcn.00440120
mov dword [esp + 0x10], eax
test eax, eax
je case.0x432bd2.3
cmp byte [edi], 0
mov eax, SysReAllocString
mov dword [esp + 0x1c], 2
mov byte [esp + 0xc], 0
mov byte [esp + 0xd], 1
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov esi, edi
je 0x43296c
lea ebx, [edi + 1]
movzx edi, byte [esi]
test edi, 0xffffff80
jne 0x4328c1
push 2
push edi
call fcn.004802de
add esp, 8
test eax, eax
je 0x4328c1
and edi, 0xffffffdf
mov eax, edi
movsx eax, al
add eax, 0xffffffbc
cmp eax, 0x15
ja case.0x4328d9.69
movzx ecx, byte [eax + 0x432de8]
jmp dword [ecx*4 + 0x432dcc]
mov dword [esp + 0x1c], 0
jmp case.0x4328d9.69
mov dword [esp + 0x1c], 1
jmp case.0x4328d9.69
movzx edi, byte [ebx]
test edi, 0xffffff80
jne 0x432911
push 2
push edi
call fcn.004802de
add esp, 8
test eax, eax
je 0x432911
and edi, 0xffffffdf
mov eax, edi
cmp al, 0x41
jne case.0x4328d9.69
inc esi
inc ebx
mov byte [esp + 0xd], 0
jmp case.0x4328d9.69
push 3
push 0x497104
push esi
call fcn.0047f82b
add esp, 0xc
test eax, eax
jne case.0x4328d9.69
add esi, 2
add ebx, 2
mov byte [esp + 0xc], 1
jmp case.0x4328d9.69
push ebx
call fcn.00480326
mov dword [esp + 0x2c], eax
jmp 0x432957
push ebx
call fcn.00480326
mov dword [esp + 0x30], eax
add esp, 4
inc esi
inc ebx
cmp byte [esi], 0
jne 0x4328a4
cmp byte [esp + 0xc], 0
jne 0x43298a
mov edx, dword [esp + 0x10]
mov esi, dword [ebp + 0x18]
push edx
call fcn.00470ac0
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
test esi, esi
jne 0x432ad6
mov edi, dword [ebp + 0x18]
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov al, byte [edi]
cmp al, 0x20
je 0x4329c1
cmp al, 9
jne 0x4329c4
inc edi
jmp 0x4329b7
movzx esi, byte [edi]
test esi, 0xffffff80
jne 0x4329e1
push 2
push esi
call fcn.004802de
add esp, 8
test eax, eax
je 0x4329e1
and esi, 0xffffffdf
mov eax, esi
cmp al, 0x58
jne case.0x432bd2.3
cmp byte [edi + 1], 0
lea esi, [edi + 1]
je case.0x432bd2.3
mov eax, esi
call fcn.0040c660
test al, al
je 0x432a12
push 0x10
push 0
push esi
call fcn.00480724
add esp, 0xc
jmp 0x432a1b
push esi
call fcn.00480326
add esp, 4
mov dword [esp + 0x50], eax
mov edi, 0x49402c
mov eax, esi
call fcn.00408eb0
test eax, eax
je case.0x432bd2.3
lea esi, [eax + 1]
mov al, byte [esi]
cmp al, 0x20
je 0x432a40
cmp al, 9
jne 0x432a43
inc esi
jmp 0x432a36
mov al, byte [esi]
test al, al
je case.0x432bd2.3
movsx eax, al
push eax
call fcn.004814a3
add esp, 4
cmp eax, 0x59
jne case.0x432bd2.3
inc esi
cmp byte [esi], 0
je case.0x432bd2.3
call fcn.0040c6b0
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x40]
push ecx
push edi
mov dword [esp + 0x5c], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
add dword [esp + 0x50], edx
add dword [esp + 0x54], eax
lea ecx, [esp + 0x50]
push ecx
push 0x439590
push edi
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov esi, dword [esp + 0x68]
test esi, esi
je 0x432ab4
mov dword [esp + 0x18], esi
jmp 0x432aba
mov esi, edi
mov dword [esp + 0x18], edi
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x28]
push ecx
push esi
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [ebp + 0x10], 1
jl 0x432d62
mov ecx, dword [esp + 0x28]
cmp ecx, 0x80000000
je 0x432af7
mov eax, dword [esp + 0x2c]
cmp eax, 0x80000000
jne 0x432b46
lea edx, [esp + 0x30]
push edx
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je case.0x432bd2.3
mov ecx, dword [esp + 0x28]
cmp ecx, 0x80000000
jne 0x432b2a
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x2c]
cmp eax, 0x80000000
jne 0x432b46
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x34]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x2c], eax
movzx eax, ax
shl eax, 0x10
movzx ecx, cx
or eax, ecx
mov dword [esp + 0x20], eax
mov al, byte [ebp + 0xc]
cmp al, 0x9f
je 0x432b64
cmp al, 0x9e
je 0x432b64
xor dl, dl
jmp 0x432b66
mov dl, 1
mov byte [esp + 0xc], dl
cmp al, 0x9c
je 0x432b76
cmp al, 0x9d
je 0x432b76
xor cl, cl
jmp 0x432b78
mov cl, 1
mov byte [esp + 0xe], cl
test dl, dl
je 0x432ba2
xor ebx, ebx
cmp al, 0x9f
setne bl
mov edi, 0x20a
dec ebx
and ebx, 0xf0
add ebx, 0xffffff88
imul ebx, dword [ebp + 0x10]
shl ebx, 0x10
jmp 0x432c2e
test cl, cl
je 0x432bc5
xor ebx, ebx
cmp al, 0x9c
setne bl
mov edi, 0x20e
dec ebx
and ebx, 0xffffff10
add ebx, 0x78
imul ebx, dword [ebp + 0x10]
shl ebx, 0x10
jmp 0x432c2e
movzx eax, al
dec eax
cmp eax, 5
ja case.0x432bd2.3
jmp dword [eax*4 + 0x432e00]
mov edi, 0x201
mov dword [esp + 0x14], 0x202
mov ebx, 1
jmp 0x432c2e
mov edi, 0x204
mov dword [esp + 0x14], 0x205
mov ebx, 2
jmp 0x432c2e
mov edi, 0x207
mov dword [esp + 0x14], 0x208
mov ebx, 0x10
jmp 0x432c2e
mov ebx, 0x20
jmp 0x432c21
mov ebx, 0x40
mov dword [esp + 0x14], 0x20c
mov edi, 0x20b
cmp byte [esp + 0xd], 0
mov byte [esp + 0xf], 0
je 0x432c8a
mov edx, dword [esp + 0x10]
push 0
push edx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [esp + 0x24], eax
test eax, eax
je 0x432c7f
cmp eax, dword [0x4a4c40]
je 0x432c7f
mov esi, dword [esp + 0x10]
call fcn.00470fb0
test al, al
jne 0x432c7f
mov ecx, dword [esp + 0x24]
mov edx, dword [0x4a4c40]
push 1
push ecx
push edx
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne byte [esp + 0xf]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_SetActiveWindow]
cmp byte [esp + 0xc], 0
jne 0x432d1d
cmp byte [esp + 0xe], 0
jne 0x432d1d
mov eax, dword [ebp + 0x10]
test eax, eax
jle 0x432d48
mov esi, dword [sym.imp.USER32.dll_PostMessageA]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x1c], 1
je 0x432ce2
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
push ecx
push ebx
push edi
push edx
call esi
mov eax, dword [0x49f440]
mov eax, dword [eax + 0x58]
cmp eax, 0xffffffff
jle 0x432ce2
push 1
push eax
call fcn.004012a0
add esp, 8
cmp dword [esp + 0x1c], 0
je 0x432d15
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push ecx
push 0
push edx
push eax
call esi
mov ecx, dword [0x49f440]
mov eax, dword [ecx + 0x58]
cmp eax, 0xffffffff
jle 0x432d15
push 1
push eax
call fcn.004012a0
add esp, 8
dec dword [esp + 0x10]
jne 0x432cb5
jmp 0x432d48
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
push edx
push ebx
push edi
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [0x49f440]
mov eax, dword [ecx + 0x58]
cmp eax, 0xffffffff
jle 0x432d48
push 1
push eax
call fcn.004012a0
add esp, 8
cmp byte [esp + 0xf], 0
je 0x432d62
mov edx, dword [esp + 0x24]
mov eax, dword [0x4a4c40]
push 0
push edx
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov ecx, dword [0x4a3434]
push 1
push 0
push 0xffffffffffffffff
push 0x492868
call fcn.0046f180
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov ecx, dword [0x49f440]
cmp byte [ecx + 0xe4], 0
jne 0x432dad
mov edx, dword [0x4a3434]
push edx
or eax, 0xffffffff
mov ecx, 0x493f18
call fcn.004011f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov ecx, dword [ebp + 8]
push 0x4927f1
push 0
push 0x493f18
call fcn.0042cb70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c