Function at 0x4351f0
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x58
mov eax, dword [esp + 0x70]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x88]
call fcn.00443b70
xor ebp, ebp
mov dword [esp + 0x84], eax
cmp eax, ebp
je case.0x4355b6.3
mov ecx, SysReAllocString
mov dword [esp + 0x14], 2
mov byte [esp + 0x78], 0
mov byte [esp + 0x80], 1
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov esi, edi
cmp word [edi], bp
je 0x435324
lea ebx, [edi + 2]
lea ecx, [ecx]
movzx edi, word [esi]
test edi, 0xffffff80
jne 0x43526d
push 2
push edi
call fcn.0048b9ce
add esp, 8
cmp eax, ebp
je 0x43526d
and edi, 0xffffffdf
movzx eax, di
add eax, 0xffffffbc
cmp eax, 0x15
ja case.0x435283.69
movzx ecx, byte [eax + 0x4357d4]
jmp dword [ecx*4 + 0x4357b8]
mov dword [esp + 0x14], ebp
jmp case.0x435283.69
mov dword [esp + 0x14], 1
jmp case.0x435283.69
movzx edi, word [ebx]
test edi, 0xffffff80
jne 0x4352b7
push 2
push edi
call fcn.0048b9ce
add esp, 8
cmp eax, ebp
je 0x4352b7
and edi, 0xffffffdf
cmp di, 0x41
jne case.0x435283.69
add esi, 2
add ebx, 2
mov byte [esp + 0x80], 0
jmp case.0x435283.69
push 3
push 0x4a6e30
push esi
call fcn.0048afc2
add esp, 0xc
test eax, eax
jne case.0x435283.69
add esi, 4
add ebx, 4
mov byte [esp + 0x78], 1
jmp case.0x435283.69
push ebx
call fcn.0048ba16
mov dword [esp + 0x1c], eax
jmp 0x435304
push ebx
call fcn.0048ba16
mov dword [esp + 0x20], eax
add esp, 4
add esi, 2
add ebx, 2
cmp word [esi], bp
jne 0x435250
cmp byte [esp + 0x78], 0
jne 0x43533f
mov eax, dword [esp + 0x84]
mov esi, dword [esp + 0x7c]
push eax
call fcn.00475be0
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
cmp esi, ebp
jne 0x43549f
mov edi, dword [esp + 0x7c]
xor eax, eax
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 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
lea ecx, [ecx]
movzx eax, word [edi]
cmp eax, 0x20
je 0x43537d
cmp eax, 9
jne 0x435382
add edi, 2
jmp 0x435370
movzx esi, word [edi]
test esi, 0xffffff80
jne 0x43539f
push 2
push esi
call fcn.0048b9ce
add esp, 8
cmp eax, ebp
je 0x43539f
and esi, 0xffffffdf
cmp si, 0x58
jne case.0x4355b6.3
cmp word [edi + 2], bp
lea esi, [edi + 2]
je case.0x4355b6.3
mov eax, esi
call fcn.0040cc10
test al, al
je 0x4353cf
push 0x10
push ebp
push esi
call fcn.0048bdab
add esp, 0xc
jmp 0x4353d8
push esi
call fcn.0048ba16
add esp, 4
mov dword [esp + 0x40], eax
mov ebx, 0x4a14dc
mov eax, esi
call fcn.00409160
test eax, eax
je case.0x4355b6.3
lea esi, [eax + 2]
movzx eax, word [esi]
cmp eax, 0x20
je 0x435400
cmp eax, 9
jne 0x435405
add esi, 2
jmp 0x4353f3
movzx eax, word [esi]
test ax, ax
je case.0x4355b6.3
push eax
call fcn.0048c78b
add esp, 4
cmp ax, 0x59
jne case.0x4355b6.3
add esi, 2
cmp word [esi], bp
je case.0x4355b6.3
call fcn.0040cc70
mov esi, dword [esp + 0x84]
lea edx, [esp + 0x30]
push edx
push esi
mov dword [esp + 0x4c], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
add dword [esp + 0x40], eax
add dword [esp + 0x44], ecx
lea edx, [esp + 0x40]
push edx
push 0x43bff0
push esi
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov eax, dword [esp + 0x58]
test eax, eax
je 0x43547d
mov esi, eax
mov dword [esp + 0x10], eax
jmp 0x435481
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x18]
push edx
push esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
xor ebp, ebp
cmp dword [esp + 0x74], 1
jge 0x4354c5
mov eax, dword [0x4c46ec]
push 1
push ebp
push 0xffffffffffffffff
push 0x49e8dc
push eax
call fcn.004742b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x1c
mov ecx, dword [esp + 0x18]
cmp ecx, 0x80000000
je 0x4354dc
mov eax, dword [esp + 0x1c]
cmp eax, 0x80000000
jne 0x43552b
lea ecx, [esp + 0x20]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je case.0x4355b6.3
mov ecx, dword [esp + 0x18]
cmp ecx, 0x80000000
jne 0x43550f
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x1c]
cmp eax, 0x80000000
jne 0x43552b
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x1c], eax
movzx ebp, ax
mov al, byte [esp + 0x70]
movzx edx, cx
shl ebp, 0x10
or ebp, edx
cmp al, 0x9f
je 0x435546
cmp al, 0x9e
je 0x435546
xor dl, dl
jmp 0x435548
mov dl, 1
mov byte [esp + 0x70], dl
cmp al, 0x9c
je 0x435558
cmp al, 0x9d
je 0x435558
xor cl, cl
jmp 0x43555a
mov cl, 1
mov byte [esp + 0x7c], cl
test dl, dl
je 0x435585
xor ebx, ebx
cmp al, 0x9f
setne bl
mov edi, 0x20a
dec ebx
and ebx, 0xf0
add ebx, 0xffffff88
imul ebx, dword [esp + 0x74]
shl ebx, 0x10
jmp 0x435612
test cl, cl
je 0x4355a9
xor ebx, ebx
cmp al, 0x9c
setne bl
mov edi, 0x20e
dec ebx
and ebx, 0xffffff10
add ebx, 0x78
imul ebx, dword [esp + 0x74]
shl ebx, 0x10
jmp 0x435612
movzx eax, al
dec eax
cmp eax, 5
ja case.0x4355b6.3
jmp dword [eax*4 + 0x4357ec]
mov edi, 0x201
mov dword [esp + 0x6c], 0x202
mov ebx, 1
jmp 0x435612
mov edi, 0x204
mov dword [esp + 0x6c], 0x205
mov ebx, 2
jmp 0x435612
mov edi, 0x207
mov dword [esp + 0x6c], 0x208
mov ebx, 0x10
jmp 0x435612
mov ebx, 0x20
jmp 0x435605
mov ebx, 0x40
mov dword [esp + 0x6c], 0x20c
mov edi, 0x20b
cmp byte [esp + 0x80], 0
mov byte [esp + 0x78], 0
je 0x435680
mov eax, dword [esp + 0x84]
push 0
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [esp + 0x80], eax
test eax, eax
je 0x435672
cmp eax, dword [0x4c6004]
je 0x435672
mov esi, dword [esp + 0x84]
call fcn.00476120
test al, al
jne 0x435672
mov ecx, dword [esp + 0x80]
mov edx, dword [0x4c6004]
push 1
push ecx
push edx
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne byte [esp + 0x78]
mov eax, dword [esp + 0x84]
push eax
call dword [sym.imp.USER32.dll_SetActiveWindow]
cmp byte [esp + 0x70], 0
jne 0x435705
cmp byte [esp + 0x7c], 0
jne 0x435705
mov eax, dword [esp + 0x74]
test eax, eax
jle 0x43572c
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
mov dword [esp + 0x70], eax
cmp dword [esp + 0x14], 1
je 0x4356ce
mov ecx, dword [esp + 0x10]
push ebp
push ebx
push edi
push ecx
call esi
mov edx, dword [0x4c040c]
mov eax, dword [edx + 0x58]
cmp eax, 0xffffffff
jle 0x4356ce
push 1
push eax
call fcn.00401290
add esp, 8
cmp dword [esp + 0x14], 0
je 0x4356fd
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x10]
push ebp
push 0
push eax
push ecx
call esi
mov edx, dword [0x4c040c]
mov eax, dword [edx + 0x58]
cmp eax, 0xffffffff
jle 0x4356fd
push 1
push eax
call fcn.00401290
add esp, 8
dec dword [esp + 0x70]
jne 0x4356a4
jmp 0x43572c
mov eax, dword [esp + 0x10]
push ebp
push ebx
push edi
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [0x4c040c]
mov eax, dword [ecx + 0x58]
cmp eax, 0xffffffff
jle 0x43572c
push 1
push eax
call fcn.00401290
add esp, 8
cmp byte [esp + 0x78], 0
je 0x435749
mov edx, dword [esp + 0x80]
mov eax, dword [0x4c6004]
push 0
push edx
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov ecx, dword [0x4c46ec]
push 1
push 0
push 0xffffffffffffffff
push 0x49e8dc
push ecx
call fcn.004742b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x1c
mov edx, dword [0x4c040c]
cmp byte [edx + 0x104], 0
jne 0x435799
mov eax, dword [0x4c46ec]
push 1
push 0
push 0xffffffffffffffff
push 0x4a12cc
push eax
call fcn.004742b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x1c
mov ecx, dword [esp + 0x6c]
push 0x49e828
push 0
push 0x4a12cc
call fcn.0042ec70
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x1c