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

Disassembly:
sub esp, 0x68
mov eax, dword [esp + 0x80]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x88]
push eax
mov eax, dword [esp + 0x98]
call fcn.00442e20
mov dword [esp + 0x14], eax
test eax, eax
je case.0x435d52.3
xor bl, bl
mov eax, SysReAllocString
mov dword [esp + 0x18], 2
mov byte [esp + 0x88], 1
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov ebp, edi
cmp byte [edi], bl
je 0x435a97
lea esi, [edi + 1]
lea ebx, [ebx]
movzx edi, byte [ebp]
test edi, 0xffffff80
jne 0x4359ee
push 2
push edi
call fcn.004894be
add esp, 8
test eax, eax
je 0x4359ee
and edi, 0xffffffdf
mov eax, edi
movsx eax, al
add eax, 0xffffffbc
cmp eax, 0x15
ja case.0x435a06.69
movzx ecx, byte [eax + 0x435fb4]
jmp dword [ecx*4 + 0x435f98]
mov dword [esp + 0x18], 0
jmp case.0x435a06.69
mov dword [esp + 0x18], 1
jmp case.0x435a06.69
movzx edi, byte [esi]
test edi, 0xffffff80
jne 0x435a3e
push 2
push edi
call fcn.004894be
add esp, 8
test eax, eax
je 0x435a3e
and edi, 0xffffffdf
mov eax, edi
cmp al, 0x41
jne case.0x435a06.69
inc ebp
inc esi
mov byte [esp + 0x88], 0
jmp case.0x435a06.69
push 3
push 0x4a08fc
push ebp
call fcn.004885ed
add esp, 0xc
test eax, eax
jne case.0x435a06.69
add ebp, 2
add esi, 2
mov bl, 1
jmp case.0x435a06.69
push esi
call fcn.00489506
mov dword [esp + 0x24], eax
jmp 0x435a84
push esi
call fcn.00489506
mov dword [esp + 0x28], eax
add esp, 4
inc ebp
inc esi
cmp byte [ebp], 0
jne 0x4359d0
test bl, bl
jne 0x435abc
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x8c]
push edx
call fcn.00479950
mov edi, eax
add esp, 4
mov dword [esp + 0x94], edi
test edi, edi
jne 0x435c06
push 0x2c
lea eax, [esp + 0x50]
push 0
push eax
mov dword [esp + 0x54], 0
call fcn.004912a0
mov edi, dword [esp + 0x98]
add esp, 0xc
mov byte [esp + 0x70], 1
mov al, byte [edi]
cmp al, 0x20
je 0x435aeb
cmp al, 9
jne 0x435aee
inc edi
jmp 0x435ae1
movzx esi, byte [edi]
test esi, 0xffffff80
jne 0x435b0b
push 2
push esi
call fcn.004894be
add esp, 8
test eax, eax
je 0x435b0b
and esi, 0xffffffdf
mov eax, esi
cmp al, 0x58
jne case.0x435d52.3
cmp byte [edi + 1], 0
lea esi, [edi + 1]
je case.0x435d52.3
mov eax, esi
call fcn.0040ecc0
test al, al
je 0x435b3c
push 0x10
push 0
push esi
call fcn.00489a25
add esp, 0xc
jmp 0x435b45
push esi
call fcn.00489506
add esp, 4
mov dword [esp + 0x48], eax
mov edi, 0x49d1bc
mov eax, esi
call fcn.00409bb0
test eax, eax
je case.0x435d52.3
lea esi, [eax + 1]
mov al, byte [esi]
cmp al, 0x20
je 0x435b6a
cmp al, 9
jne 0x435b6d
inc esi
jmp 0x435b60
mov al, byte [esi]
test al, al
je case.0x435d52.3
movsx ecx, al
push ecx
call fcn.0048a52b
add esp, 4
cmp eax, 0x59
jne case.0x435d52.3
inc esi
cmp byte [esi], 0
je case.0x435d52.3
call fcn.0040ed10
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x38]
push edx
push esi
mov dword [esp + 0x54], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
add dword [esp + 0x48], eax
add dword [esp + 0x4c], ecx
lea edx, [esp + 0x48]
push edx
push 0x43c4c0
push esi
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov edi, dword [esp + 0x60]
test edi, edi
je 0x435be1
mov dword [esp + 0x94], edi
jmp 0x435bea
mov edi, esi
mov dword [esp + 0x94], esi
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
lea edx, [esp + 0x20]
push edx
push edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [esp + 0x84], 1
jge 0x435c30
mov eax, dword [0x4aeadc]
push 1
push 0
push 0xffffffffffffffff
push 0x49b8e8
push eax
call fcn.00477f30
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 0x1c
mov esi, dword [esp + 0x20]
cmp esi, 0x80000000
je 0x435c47
mov eax, dword [esp + 0x24]
cmp eax, 0x80000000
jne 0x435c96
lea ecx, [esp + 0x28]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je case.0x435d52.3
mov esi, dword [esp + 0x20]
cmp esi, 0x80000000
jne 0x435c7a
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x28]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x24]
cmp eax, 0x80000000
jne 0x435c96
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x2c]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x24], eax
mov bl, byte [esp + 0x80]
mov dword [esp + 0x1c], 0
cmp bl, 0x9f
je 0x435cb3
cmp bl, 0x9e
je 0x435cb3
xor dl, dl
jmp 0x435cb5
mov dl, 1
mov byte [esp + 0x80], dl
cmp bl, 0x9c
je 0x435cca
cmp bl, 0x9d
je 0x435cca
xor cl, cl
jmp 0x435ccc
mov cl, 1
mov byte [esp + 0x8c], cl
test dl, dl
je 0x435d1b
mov eax, dword [esp + 0x94]
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
xor ecx, ecx
cmp bl, 0x9f
setne cl
mov ebp, 0x20a
lea ebx, [ecx - 1]
and ebx, 0xf0
add ebx, 0xffffff88
imul ebx, dword [esp + 0x84]
shl ebx, 0x10
jmp 0x435dbe
test cl, cl
je 0x435d45
xor edx, edx
cmp bl, 0x9c
setne dl
mov ebp, 0x20e
lea ebx, [edx - 1]
and ebx, 0xffffff10
add ebx, 0x78
imul ebx, dword [esp + 0x84]
shl ebx, 0x10
jmp 0x435dbe
movzx ecx, bl
dec ecx
cmp ecx, 5
ja case.0x435d52.3
jmp dword [ecx*4 + 0x435fcc]
mov ebp, 0x201
mov dword [esp + 0x7c], 0x202
mov ebx, 1
jmp 0x435dbe
mov ebp, 0x204
mov dword [esp + 0x7c], 0x205
mov ebx, 2
jmp 0x435dbe
mov ebp, 0x207
mov dword [esp + 0x7c], 0x208
mov ebx, 0x10
jmp 0x435dbe
mov dword [esp + 0x1c], 0x10000
mov ebx, 0x10020
jmp 0x435db1
mov dword [esp + 0x1c], 0x20000
mov ebx, 0x20040
mov dword [esp + 0x7c], 0x20c
mov ebp, 0x20b
movzx edi, ax
movzx eax, si
shl edi, 0x10
or edi, eax
cmp byte [esp + 0x88], 0
mov byte [esp + 0x90], 0
je 0x435e36
mov ecx, dword [esp + 0x14]
push 0
push ecx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [esp + 0x88], eax
test eax, eax
je 0x435e2b
mov edx, eax
cmp edx, dword [0x4af25c]
je 0x435e2b
mov esi, dword [esp + 0x14]
call fcn.00479e30
test al, al
jne 0x435e2b
mov eax, dword [esp + 0x88]
mov ecx, dword [0x4af25c]
push 1
push eax
push ecx
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne byte [esp + 0x90]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.USER32.dll_SetActiveWindow]
cmp byte [esp + 0x80], 0
jne 0x435edd
cmp byte [esp + 0x8c], 0
jne 0x435edd
mov eax, dword [esp + 0x84]
test eax, eax
jle 0x435f07
mov esi, dword [sym.imp.USER32.dll_PostMessageA]
mov dword [esp + 0x80], eax
mov edi, edi
cmp dword [esp + 0x18], 1
je 0x435e9d
mov eax, dword [esp + 0x94]
push edi
push ebx
push ebp
push eax
call esi
mov ecx, dword [0x4aa988]
mov eax, dword [ecx + 0x58]
cmp eax, 0xffffffff
jle 0x435e9d
push 1
push eax
call fcn.00401420
add esp, 8
cmp dword [esp + 0x18], 0
je 0x435ed2
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x94]
push edi
push edx
push eax
push ecx
call esi
mov edx, dword [0x4aa988]
mov eax, dword [edx + 0x58]
cmp eax, 0xffffffff
jle 0x435ed2
push 1
push eax
call fcn.00401420
add esp, 8
dec dword [esp + 0x80]
jne 0x435e70
jmp 0x435f07
mov eax, dword [esp + 0x94]
push edi
push ebx
push ebp
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [0x4aa988]
mov eax, dword [ecx + 0x58]
cmp eax, 0xffffffff
jle 0x435f07
push 1
push eax
call fcn.00401420
add esp, 8
cmp byte [esp + 0x90], 0
je 0x435f27
mov edx, dword [esp + 0x88]
mov eax, dword [0x4af25c]
push 0
push edx
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov ecx, dword [0x4aeadc]
push 1
push 0
push 0xffffffffffffffff
push 0x49b8e8
push ecx
call fcn.00477f30
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 0x1c
mov edx, dword [0x4aa988]
test byte [edx + 0xe0], 1
jne 0x435f77
mov eax, dword [0x4aeadc]
push 1
push 0
push 0xffffffffffffffff
push 0x49cf30
push eax
call fcn.00477f30
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 0x1c
mov ecx, dword [esp + 0x7c]
push 0x49b8cd
push 0
push 0x49cf30
call fcn.0042f530
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 0x1c