Function at 0x433880
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.00440f70
mov dword [esp + 0x94], eax
test eax, eax
je case.0x433c36.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 0x4339a7
lea esi, [edi + 1]
lea ecx, [ecx]
movzx edi, byte [ebp]
test edi, 0xffffff80
jne 0x4338fe
push 2
push edi
call fcn.0048698e
add esp, 8
test eax, eax
je 0x4338fe
and edi, 0xffffffdf
mov eax, edi
movsx eax, al
add eax, 0xffffffbc
cmp eax, 0x15
ja case.0x433916.69
movzx ecx, byte [eax + 0x433e8c]
jmp dword [ecx*4 + 0x433e70]
mov dword [esp + 0x18], 0
jmp case.0x433916.69
mov dword [esp + 0x18], 1
jmp case.0x433916.69
movzx edi, byte [esi]
test edi, 0xffffff80
jne 0x43394e
push 2
push edi
call fcn.0048698e
add esp, 8
test eax, eax
je 0x43394e
and edi, 0xffffffdf
mov eax, edi
cmp al, 0x41
jne case.0x433916.69
inc ebp
inc esi
mov byte [esp + 0x88], 0
jmp case.0x433916.69
push 3
push 0x49e58c
push ebp
call fcn.00485ed0
add esp, 0xc
test eax, eax
jne case.0x433916.69
add ebp, 2
add esi, 2
mov bl, 1
jmp case.0x433916.69
push esi
call fcn.004869d6
mov dword [esp + 0x24], eax
jmp 0x433994
push esi
call fcn.004869d6
mov dword [esp + 0x28], eax
add esp, 4
inc ebp
inc esi
cmp byte [ebp], 0
jne 0x4338e0
test bl, bl
jne 0x4339ce
mov ebx, dword [esp + 0x94]
mov esi, dword [esp + 0x8c]
push ebx
call fcn.00476d00
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
test edi, edi
jne 0x433b1c
jmp 0x4339d5
mov ebx, dword [esp + 0x94]
push 0x2c
lea edx, [esp + 0x50]
push 0
push edx
mov dword [esp + 0x54], 0
call fcn.0048e920
mov edi, dword [esp + 0x98]
add esp, 0xc
mov byte [esp + 0x70], 1
lea ebx, [ebx]
mov al, byte [edi]
cmp al, 0x20
je 0x433a0a
cmp al, 9
jne 0x433a0d
inc edi
jmp 0x433a00
movzx esi, byte [edi]
test esi, 0xffffff80
jne 0x433a2a
push 2
push esi
call fcn.0048698e
add esp, 8
test eax, eax
je 0x433a2a
and esi, 0xffffffdf
mov eax, esi
cmp al, 0x58
jne case.0x433c36.3
cmp byte [edi + 1], 0
lea esi, [edi + 1]
je case.0x433c36.3
mov eax, esi
call fcn.0040d480
test al, al
je 0x433a5b
push 0x10
push 0
push esi
call fcn.00486e26
add esp, 0xc
jmp 0x433a64
push esi
call fcn.004869d6
add esp, 4
mov dword [esp + 0x48], eax
mov edi, 0x49b0f8
mov eax, esi
call fcn.00409200
test eax, eax
je case.0x433c36.3
lea esi, [eax + 1]
nop
mov al, byte [esi]
cmp al, 0x20
je 0x433a8a
cmp al, 9
jne 0x433a8d
inc esi
jmp 0x433a80
mov al, byte [esi]
test al, al
je case.0x433c36.3
movsx eax, al
push eax
call fcn.00487ce7
add esp, 4
cmp eax, 0x59
jne case.0x433c36.3
inc esi
cmp byte [esi], 0
je case.0x433c36.3
call fcn.0040d4d0
lea ecx, [esp + 0x38]
push ecx
push ebx
mov dword [esp + 0x54], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
add dword [esp + 0x48], edx
add dword [esp + 0x4c], eax
lea ecx, [esp + 0x48]
push ecx
push 0x43a430
push ebx
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov edi, dword [esp + 0x60]
test edi, edi
je 0x433afa
mov dword [esp + 0x14], edi
jmp 0x433b00
mov edi, ebx
mov dword [esp + 0x14], ebx
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x20]
push ecx
push edi
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [esp + 0x84], 1
jl 0x433dfe
mov ecx, dword [esp + 0x20]
cmp ecx, 0x80000000
je 0x433b41
mov eax, dword [esp + 0x24]
cmp eax, 0x80000000
jne 0x433b90
lea eax, [esp + 0x28]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je case.0x433c36.3
mov ecx, dword [esp + 0x20]
cmp ecx, 0x80000000
jne 0x433b74
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x28]
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x24]
cmp eax, 0x80000000
jne 0x433b90
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x2c]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x24], eax
movzx ebx, ax
mov al, byte [esp + 0x80]
movzx ecx, cx
shl ebx, 0x10
or ebx, ecx
mov dword [esp + 0x1c], 0
cmp al, 0x9f
je 0x433bb6
cmp al, 0x9e
je 0x433bb6
xor dl, dl
jmp 0x433bb8
mov dl, 1
mov byte [esp + 0x8c], dl
cmp al, 0x9c
je 0x433bcb
cmp al, 0x9d
je 0x433bcb
xor cl, cl
jmp 0x433bcd
mov cl, 1
mov byte [esp + 0x80], cl
test dl, dl
je 0x433c00
xor edx, edx
cmp al, 0x9f
setne dl
mov edi, 0x20a
lea ebp, [edx - 1]
and ebp, 0xf0
add ebp, 0xffffff88
imul ebp, dword [esp + 0x84]
shl ebp, 0x10
jmp 0x433ca2
test cl, cl
je 0x433c29
xor edx, edx
cmp al, 0x9c
setne dl
mov edi, 0x20e
lea ebp, [edx - 1]
and ebp, 0xffffff10
add ebp, 0x78
imul ebp, dword [esp + 0x84]
shl ebp, 0x10
jmp 0x433ca2
movzx eax, al
dec eax
cmp eax, 5
ja case.0x433c36.3
jmp dword [eax*4 + 0x433ea4]
mov edi, 0x201
mov dword [esp + 0x7c], 0x202
mov ebp, 1
jmp 0x433ca2
mov edi, 0x204
mov dword [esp + 0x7c], 0x205
mov ebp, 2
jmp 0x433ca2
mov edi, 0x207
mov dword [esp + 0x7c], 0x208
mov ebp, 0x10
jmp 0x433ca2
mov dword [esp + 0x1c], 0x10000
mov ebp, 0x10020
jmp 0x433c95
mov dword [esp + 0x1c], 0x20000
mov ebp, 0x20040
mov dword [esp + 0x7c], 0x20c
mov edi, 0x20b
cmp byte [esp + 0x88], 0
mov byte [esp + 0x90], 0
je 0x433d1d
mov eax, dword [esp + 0x94]
push 0
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [esp + 0x88], eax
test eax, eax
je 0x433d08
cmp eax, dword [0x4ad2b4]
je 0x433d08
mov esi, dword [esp + 0x94]
call fcn.004771e0
test al, al
jne 0x433d08
mov ecx, dword [esp + 0x88]
mov edx, dword [0x4ad2b4]
push 1
push ecx
push edx
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne byte [esp + 0x90]
mov eax, dword [esp + 0x94]
push eax
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov cl, byte [esp + 0x80]
cmp byte [esp + 0x8c], 0
jne 0x433db6
test cl, cl
jne 0x433db6
mov eax, dword [esp + 0x84]
test eax, eax
jle 0x433ddd
mov esi, dword [sym.imp.USER32.dll_PostMessageA]
mov dword [esp + 0x80], eax
nop
cmp dword [esp + 0x18], 1
je 0x433d7a
mov ecx, dword [esp + 0x14]
push ebx
push ebp
push edi
push ecx
call esi
mov edx, dword [0x4a7978]
mov eax, dword [edx + 0x58]
cmp eax, 0xffffffff
jle 0x433d7a
push 1
push eax
call fcn.004013c0
add esp, 8
cmp dword [esp + 0x18], 0
je 0x433dab
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x14]
push ebx
push eax
push ecx
push edx
call esi
mov eax, dword [0x4a7978]
mov eax, dword [eax + 0x58]
cmp eax, 0xffffffff
jle 0x433dab
push 1
push eax
call fcn.004013c0
add esp, 8
dec dword [esp + 0x80]
jne 0x433d50
jmp 0x433ddd
mov ecx, dword [esp + 0x14]
push ebx
push ebp
push edi
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov edx, dword [0x4a7978]
mov eax, dword [edx + 0x58]
cmp eax, 0xffffffff
jle 0x433ddd
push 1
push eax
call fcn.004013c0
add esp, 8
cmp byte [esp + 0x90], 0
je 0x433dfe
mov eax, dword [esp + 0x88]
mov ecx, dword [0x4ad2b4]
push 0
push eax
push ecx
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov edx, dword [0x4abaa0]
push 1
push 0
push 0xffffffffffffffff
push 0x4998ac
push edx
call fcn.00475300
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 0x1c
mov eax, dword [0x4a7978]
test byte [eax + 0xe0], 1
jne 0x433e4e
mov ecx, dword [0x4abaa0]
push 1
push 0
push 0xffffffffffffffff
push 0x49afb0
push ecx
call fcn.00475300
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 0x1c
mov ecx, dword [esp + 0x7c]
push 0x499861
push 0
push 0x49afb0
call fcn.0042d440
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 0x1c