Function at 0x435270
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.00443070
mov dword [esp + 0x10], eax
test eax, eax
je case.0x435610.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 0x435394
lea edi, [esi + 2]
movzx esi, word [ebx]
test esi, 0xffffff80
jne 0x4352e2
push 2
push esi
call fcn.0048a05e
add esp, 8
test eax, eax
je 0x4352e2
and esi, 0xffffffdf
movzx eax, si
add eax, 0xffffffbc
cmp eax, 0x15
ja case.0x4352f8.69
movzx ecx, byte [eax + 0x435828]
jmp dword [ecx*4 + 0x43580c]
mov dword [esp + 0x1c], 0
jmp case.0x4352f8.69
mov dword [esp + 0x1c], 1
jmp case.0x4352f8.69
movzx esi, word [edi]
test esi, 0xffffff80
jne 0x435330
push 2
push esi
call fcn.0048a05e
add esp, 8
test eax, eax
je 0x435330
and esi, 0xffffffdf
cmp si, 0x41
jne case.0x4352f8.69
add ebx, 2
add edi, 2
mov byte [esp + 0xd], 0
jmp case.0x4352f8.69
push 3
push 0x4a4e1c
push ebx
call fcn.00489652
add esp, 0xc
test eax, eax
jne case.0x4352f8.69
add ebx, 4
add edi, 4
mov byte [esp + 0xc], 1
jmp case.0x4352f8.69
push edi
call fcn.0048a0a6
mov dword [esp + 0x2c], eax
jmp 0x43537a
push edi
call fcn.0048a0a6
mov dword [esp + 0x30], eax
add esp, 4
add ebx, 2
add edi, 2
cmp word [ebx], 0
jne 0x4352c5
cmp byte [esp + 0xc], 0
jne 0x4353b2
mov edx, dword [esp + 0x10]
mov esi, dword [ebp + 0x18]
push edx
call fcn.00474470
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
test esi, esi
jne 0x43550d
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 0x4353ed
cmp eax, 9
jne 0x4353f2
add ebx, 2
jmp 0x4353e0
movzx esi, word [ebx]
test esi, 0xffffff80
jne 0x43540f
push 2
push esi
call fcn.0048a05e
add esp, 8
test eax, eax
je 0x43540f
and esi, 0xffffffdf
cmp si, 0x58
jne case.0x435610.3
cmp word [ebx + 2], 0
lea esi, [ebx + 2]
je case.0x435610.3
mov eax, esi
call fcn.0040cb80
test al, al
je 0x435441
push 0x10
push 0
push esi
call fcn.0048a43b
add esp, 0xc
jmp 0x43544a
push esi
call fcn.0048a0a6
add esp, 4
mov dword [esp + 0x50], eax
mov ebx, 0x49f57c
mov eax, esi
call fcn.00409140
test eax, eax
je case.0x435610.3
lea esi, [eax + 2]
movzx eax, word [esi]
cmp eax, 0x20
je 0x435472
cmp eax, 9
jne 0x435477
add esi, 2
jmp 0x435465
movzx eax, word [esi]
test ax, ax
je case.0x435610.3
push eax
call fcn.0048ae1b
add esp, 4
cmp ax, 0x59
jne case.0x435610.3
add esi, 2
cmp word [esi], 0
je case.0x435610.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 0x43c0b0
push edi
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov esi, dword [esp + 0x68]
test esi, esi
je 0x4354eb
mov dword [esp + 0x18], esi
jmp 0x4354f1
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 0x4357a4
mov ecx, dword [esp + 0x28]
cmp ecx, 0x80000000
je 0x43552e
mov eax, dword [esp + 0x2c]
cmp eax, 0x80000000
jne 0x43557d
lea ecx, [esp + 0x30]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je case.0x435610.3
mov ecx, dword [esp + 0x28]
cmp ecx, 0x80000000
jne 0x435561
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 0x43557d
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 0x43559c
mov byte [esp + 0xc], 0
cmp al, 0x9e
jne 0x4355a1
mov byte [esp + 0xc], 1
cmp al, 0x9c
je 0x4355ad
cmp al, 0x9d
je 0x4355ad
xor cl, cl
jmp 0x4355af
mov cl, 1
cmp byte [esp + 0xc], 0
mov byte [esp + 0xe], cl
je 0x4355de
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 0x43566c
test cl, cl
je 0x435603
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 0x43566c
movzx eax, al
dec eax
cmp eax, 5
ja case.0x435610.3
jmp dword [eax*4 + 0x435840]
mov ebx, 0x201
mov dword [esp + 0x14], 0x202
mov edi, 1
jmp 0x43566c
mov ebx, 0x204
mov dword [esp + 0x14], 0x205
mov edi, 2
jmp 0x43566c
mov ebx, 0x207
mov dword [esp + 0x14], 0x208
mov edi, 0x10
jmp 0x43566c
mov edi, 0x20
jmp 0x43565f
mov edi, 0x40
mov dword [esp + 0x14], 0x20c
mov ebx, 0x20b
cmp byte [esp + 0xd], 0
mov byte [esp + 0xf], 0
je 0x4356cd
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 0x4356be
mov ecx, eax
cmp ecx, dword [0x4c3fe4]
je 0x4356be
mov esi, dword [esp + 0x10]
call fcn.004749b0
test al, al
jne 0x4356be
mov edx, dword [esp + 0x24]
mov eax, dword [0x4c3fe4]
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 0x43575e
test cl, cl
jne 0x43575e
mov eax, dword [ebp + 0x10]
test eax, eax
jle 0x435789
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x1c], 1
je 0x435723
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 0x435723
push 1
push eax
call fcn.004012b0
add esp, 8
cmp dword [esp + 0x1c], 0
je 0x435756
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 0x435756
push 1
push eax
call fcn.004012b0
add esp, 8
dec dword [esp + 0x10]
jne 0x4356f5
jmp 0x435789
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 0x435789
push 1
push eax
call fcn.004012b0
add esp, 8
cmp byte [esp + 0xf], 0
je 0x4357a4
mov eax, dword [esp + 0x24]
mov ecx, dword [0x4c3fe4]
push 0
push eax
push ecx
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov ecx, dword [0x4c26cc]
push 1
push 0
push 0xffffffffffffffff
push 0x49c8d0
call fcn.00472b80
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov edx, dword [0x4be40c]
cmp byte [edx + 0x104], 0
jne 0x4357ee
mov eax, dword [0x4c26cc]
push eax
or eax, 0xffffffff
mov ecx, 0x49f36c
call fcn.00401200
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov ecx, dword [ebp + 8]
push 0x4a6b2c
push 0
push 0x49f36c
call fcn.0042f160
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c