Function at 0x434f20
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
mov esi, dword [ebp + 0x14]
push edi
push eax
mov eax, dword [ebp + 0x20]
call fcn.00442ca0
mov dword [esp + 0x10], eax
test eax, eax
je case.0x4352c0.3
cmp word [esi], 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 ebx, esi
je 0x435044
lea edi, [esi + 2]
movzx esi, word [ebx]
test esi, 0xffffff80
jne 0x434f92
push 2
push esi
call fcn.00489d0e
add esp, 8
test eax, eax
je 0x434f92
and esi, 0xffffffdf
movzx eax, si
add eax, 0xffffffbc
cmp eax, 0x15
ja case.0x434fa8.69
movzx ecx, byte [eax + 0x4354d8]
jmp dword [ecx*4 + 0x4354bc]
mov dword [esp + 0x1c], 0
jmp case.0x434fa8.69
mov dword [esp + 0x1c], 1
jmp case.0x434fa8.69
movzx esi, word [edi]
test esi, 0xffffff80
jne 0x434fe0
push 2
push esi
call fcn.00489d0e
add esp, 8
test eax, eax
je 0x434fe0
and esi, 0xffffffdf
cmp si, 0x41
jne case.0x434fa8.69
add ebx, 2
add edi, 2
mov byte [esp + 0xd], 0
jmp case.0x434fa8.69
push 3
push 0x4a4d40
push ebx
call fcn.00489302
add esp, 0xc
test eax, eax
jne case.0x434fa8.69
add ebx, 4
add edi, 4
mov byte [esp + 0xc], 1
jmp case.0x434fa8.69
push edi
call fcn.00489d56
mov dword [esp + 0x2c], eax
jmp 0x43502a
push edi
call fcn.00489d56
mov dword [esp + 0x30], eax
add esp, 4
add ebx, 2
add edi, 2
cmp word [ebx], 0
jne 0x434f75
cmp byte [esp + 0xc], 0
jne 0x435062
mov edx, dword [esp + 0x10]
mov esi, dword [ebp + 0x18]
push edx
call fcn.00474160
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
test esi, esi
jne 0x4351bd
mov ebx, 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
nop
movzx eax, word [ebx]
cmp eax, 0x20
je 0x43509d
cmp eax, 9
jne 0x4350a2
add ebx, 2
jmp 0x435090
movzx esi, word [ebx]
test esi, 0xffffff80
jne 0x4350bf
push 2
push esi
call fcn.00489d0e
add esp, 8
test eax, eax
je 0x4350bf
and esi, 0xffffffdf
cmp si, 0x58
jne case.0x4352c0.3
cmp word [ebx + 2], 0
lea esi, [ebx + 2]
je case.0x4352c0.3
mov eax, esi
call fcn.0040cb80
test al, al
je 0x4350f1
push 0x10
push 0
push esi
call fcn.0048a0eb
add esp, 0xc
jmp 0x4350fa
push esi
call fcn.00489d56
add esp, 4
mov dword [esp + 0x50], eax
mov ebx, 0x49f4d4
mov eax, esi
call fcn.00409140
test eax, eax
je case.0x4352c0.3
lea esi, [eax + 2]
movzx eax, word [esi]
cmp eax, 0x20
je 0x435122
cmp eax, 9
jne 0x435127
add esi, 2
jmp 0x435115
movzx eax, word [esi]
test ax, ax
je case.0x4352c0.3
push eax
call fcn.0048aacb
add esp, 4
cmp ax, 0x59
jne case.0x4352c0.3
add esi, 2
cmp word [esi], 0
je case.0x4352c0.3
call fcn.0040cbe0
mov edi, dword [esp + 0x10]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x40]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
add dword [esp + 0x50], ecx
add dword [esp + 0x54], edx
lea eax, [esp + 0x50]
push eax
push 0x43bce0
push edi
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov esi, dword [esp + 0x68]
test esi, esi
je 0x43519b
mov dword [esp + 0x18], esi
jmp 0x4351a1
mov esi, edi
mov dword [esp + 0x18], edi
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
lea eax, [esp + 0x28]
push eax
push esi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [ebp + 0x10], 1
jl 0x435454
mov ecx, dword [esp + 0x28]
cmp ecx, 0x80000000
je 0x4351de
mov eax, dword [esp + 0x2c]
cmp eax, 0x80000000
jne 0x43522d
lea ecx, [esp + 0x30]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je case.0x4352c0.3
mov ecx, dword [esp + 0x28]
cmp ecx, 0x80000000
jne 0x435211
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 0x43522d
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 edx, cx
or eax, edx
mov dword [esp + 0x20], eax
mov al, byte [ebp + 0xc]
cmp al, 0x9f
je 0x43524c
mov byte [esp + 0xc], 0
cmp al, 0x9e
jne 0x435251
mov byte [esp + 0xc], 1
cmp al, 0x9c
je 0x43525d
cmp al, 0x9d
je 0x43525d
xor cl, cl
jmp 0x43525f
mov cl, 1
cmp byte [esp + 0xc], 0
mov byte [esp + 0xe], cl
je 0x43528e
xor edx, edx
cmp al, 0x9f
setne dl
mov ebx, 0x20a
lea edi, [edx - 1]
and edi, 0xf0
add edi, 0xffffff88
imul edi, dword [ebp + 0x10]
shl edi, 0x10
jmp 0x43531c
test cl, cl
je 0x4352b3
xor edx, edx
cmp al, 0x9c
setne dl
mov ebx, 0x20e
lea edi, [edx - 1]
and edi, 0xffffff10
add edi, 0x78
imul edi, dword [ebp + 0x10]
shl edi, 0x10
jmp 0x43531c
movzx eax, al
dec eax
cmp eax, 5
ja case.0x4352c0.3
jmp dword [eax*4 + 0x4354f0]
mov ebx, 0x201
mov dword [esp + 0x14], 0x202
mov edi, 1
jmp 0x43531c
mov ebx, 0x204
mov dword [esp + 0x14], 0x205
mov edi, 2
jmp 0x43531c
mov ebx, 0x207
mov dword [esp + 0x14], 0x208
mov edi, 0x10
jmp 0x43531c
mov edi, 0x20
jmp 0x43530f
mov edi, 0x40
mov dword [esp + 0x14], 0x20c
mov ebx, 0x20b
cmp byte [esp + 0xd], 0
mov byte [esp + 0xf], 0
je 0x43537d
mov eax, dword [esp + 0x10]
push 0
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [esp + 0x24], eax
test eax, eax
je 0x43536e
mov ecx, eax
cmp ecx, dword [0x4c3f64]
je 0x43536e
mov esi, dword [esp + 0x10]
call fcn.004746a0
test al, al
jne 0x43536e
mov edx, dword [esp + 0x24]
mov eax, dword [0x4c3f64]
push 1
push edx
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne byte [esp + 0xf]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov cl, byte [esp + 0xe]
cmp byte [esp + 0xc], 0
jne 0x43540e
test cl, cl
jne 0x43540e
mov eax, dword [ebp + 0x10]
test eax, eax
jle 0x435439
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x1c], 1
je 0x4353d3
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
push edx
push edi
push ebx
push eax
call esi
mov ecx, dword [0x4be40c]
mov eax, dword [ecx + 0x58]
cmp eax, 0xffffffff
jle 0x4353d3
push 1
push eax
call fcn.004012b0
add esp, 8
cmp dword [esp + 0x1c], 0
je 0x435406
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push edx
push 0
push eax
push ecx
call esi
mov edx, dword [0x4be40c]
mov eax, dword [edx + 0x58]
cmp eax, 0xffffffff
jle 0x435406
push 1
push eax
call fcn.004012b0
add esp, 8
dec dword [esp + 0x10]
jne 0x4353a5
jmp 0x435439
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
push eax
push edi
push ebx
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov edx, dword [0x4be40c]
mov eax, dword [edx + 0x58]
cmp eax, 0xffffffff
jle 0x435439
push 1
push eax
call fcn.004012b0
add esp, 8
cmp byte [esp + 0xf], 0
je 0x435454
mov eax, dword [esp + 0x24]
mov ecx, dword [0x4c3f64]
push 0
push eax
push ecx
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov ecx, dword [0x4c264c]
push 1
push 0
push 0xffffffffffffffff
push 0x49c8d4
call fcn.00472870
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov edx, dword [0x4be40c]
cmp byte [edx + 0x104], 0
jne 0x43549e
mov eax, dword [0x4c264c]
push eax
or eax, 0xffffffff
mov ecx, 0x49f2c4
call fcn.00401200
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov ecx, dword [ebp + 8]
push 0x49c820
push 0
push 0x49f2c4
call fcn.0042ee20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c