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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
push ebx
push esi
push edi
push dword [ebp + 0x24]
mov ebx, ecx
push dword [ebp + 0x20]
mov dword [esp + 0x18], ebx
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
call fcn.00442320
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
je 0x433903
mov esi, dword [ebp + 0x10]
xor dl, dl
mov ebx, dword [ebp + 0x14]
mov dword [esp + 0x14], 2
mov byte [esp + 0xc], dl
movzx eax, word [esi]
mov byte [esp + 0xd], 1
mov dword [esp + 0x28], SysStringLen
mov dword [esp + 0x2c], SysStringLen
test ax, ax
je 0x4334c7
mov ecx, eax
nop dword [eax + eax]
movzx edi, cx
test edi, 0xffffff80
je 0x43340f
xor eax, eax
jmp 0x43341a
push 2
push edi
call fcn.00491ac4
add esp, 8
mov ecx, edi
and ecx, 0xffffffdf
test eax, eax
cmove ecx, edi
add ecx, 0xffffffbc
cmp ecx, 0x15
ja case.0x433433.69
movzx eax, byte [ecx + 0x433968]
jmp dword [eax*4 + 0x43394c]
mov dword [esp + 0x14], 0
jmp case.0x433433.69
mov dword [esp + 0x14], 1
jmp case.0x433433.69
mov cx, word [esi + 2]
call fcn.0040ab40
mov dl, byte [esp + 0xc]
cmp ax, 0x41
jne 0x4334ad
add esi, 2
mov byte [esp + 0xd], 0
jmp 0x4334ad
push 3
push 0x4c5518
push esi
call fcn.00491336
add esp, 0xc
test eax, eax
jne case.0x433433.69
mov dl, 1
add esi, 4
mov byte [esp + 0xc], dl
jmp 0x4334ad
lea eax, [esi + 2]
push eax
call fcn.00492a15
mov dword [esp + 0x2c], eax
jmp 0x4334a6
lea eax, [esi + 2]
push eax
call fcn.00492a15
mov dword [esp + 0x30], eax
add esp, 4
mov dl, byte [esp + 0xc]
movzx eax, word [esi + 2]
add esi, 2
mov ecx, eax
test ax, ax
jne 0x433400
mov edi, dword [esp + 0x18]
test dl, dl
jne 0x4334de
mov edx, ebx
mov ecx, edi
call fcn.00477340
mov esi, eax
mov dword [esp + 0x1c], esi
test esi, esi
jne 0x433626
push 0x30
lea eax, [esp + 0x54]
push 0
push eax
call fcn.0048ce40
add esp, 0xc
mov byte [esp + 0x78], 1
movzx eax, word [ebx]
mov esi, eax
cmp eax, 0x20
je 0x433503
cmp eax, 9
jne 0x433508
add ebx, 2
jmp 0x4334f4
test eax, 0xffffff80
je 0x433513
xor eax, eax
jmp 0x43351e
push 2
push eax
call fcn.00491ac4
add esp, 8
mov ecx, esi
and ecx, 0xffdf
test eax, eax
movzx edx, cx
mov ecx, esi
cmove edx, ecx
cmp dx, 0x58
jne case.0x433734.3
add ebx, 2
cmp word [ebx], 0
je case.0x433734.3
mov ecx, ebx
call fcn.0040ded0
test al, al
je 0x433561
push 0x10
push 0
push ebx
call fcn.00492e76
add esp, 0xc
jmp 0x43356a
push ebx
call fcn.00492a15
add esp, 4
mov edx, 0x4bfc0c
mov dword [esp + 0x50], eax
mov ecx, ebx
call fcn.0040ab90
test eax, eax
je case.0x433734.3
lea esi, [eax + 2]
movzx eax, word [esi]
cmp eax, 0x20
je 0x433592
cmp eax, 9
jne 0x433597
add esi, 2
jmp 0x433585
test ax, ax
je case.0x433734.3
push eax
call fcn.004974c7
add esp, 4
cmp ax, 0x59
jne case.0x433734.3
cmp word [esi + 2], 0
lea ecx, [esi + 2]
je case.0x433734.3
call fcn.0040df30
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x40]
push eax
push edi
call ebx
mov eax, dword [esp + 0x40]
add dword [esp + 0x50], eax
mov eax, dword [esp + 0x44]
add dword [esp + 0x54], eax
lea eax, [esp + 0x50]
push eax
push 0x43acf0
push edi
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov eax, dword [esp + 0x68]
mov esi, edi
test eax, eax
cmovne esi, eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x28]
push eax
push esi
mov dword [esp + 0x24], esi
call dword [sym.imp.USER32.dll_ScreenToClient]
jmp 0x43362c
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [ebp + 0xc]
cmp edi, 1
jl 0x4338e0
mov ecx, dword [esp + 0x28]
cmp ecx, 0x80000000
je 0x43364f
mov eax, dword [esp + 0x2c]
cmp eax, 0x80000000
jne 0x43369a
lea eax, [esp + 0x30]
push eax
push esi
call ebx
test eax, eax
je case.0x433734.3
mov ecx, dword [esp + 0x28]
cmp ecx, 0x80000000
jne 0x43367e
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 0x43369a
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x34]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x2c], eax
movzx ebx, ax
shl ebx, 0x10
movzx eax, cx
or ebx, eax
mov dword [esp + 0x20], 0
mov al, byte [ebp + 8]
cmp al, 0x9f
je 0x4336bc
cmp al, 0x9e
je 0x4336bc
xor dl, dl
jmp 0x4336be
mov dl, 1
mov byte [esp + 0xc], dl
cmp al, 0x9c
je 0x4336ce
cmp al, 0x9d
je 0x4336ce
xor cl, cl
jmp 0x4336d0
mov cl, 1
mov byte [esp + 0xe], cl
test dl, dl
je 0x4336ff
cmp al, 0x9f
mov esi, 0xffffff88
mov eax, dword [esp + 0x24]
mov ecx, 0x78
cmove esi, ecx
mov dword [esp + 0x10], eax
imul esi, edi
mov edi, 0x20a
shl esi, 0x10
jmp 0x4337a0
test cl, cl
je 0x433727
cmp al, 0x9c
mov esi, 0x78
mov eax, dword [esp + 0x24]
mov ecx, 0xffffff88
cmove esi, ecx
mov dword [esp + 0x10], eax
imul esi, edi
mov edi, 0x20e
shl esi, 0x10
jmp 0x4337a0
movzx eax, al
dec eax
cmp eax, 5
ja case.0x433734.3
jmp dword [eax*4 + 0x433980]
mov edi, 0x201
mov dword [esp + 0x10], 0x202
mov esi, 1
jmp 0x4337a0
mov edi, 0x204
mov dword [esp + 0x10], 0x205
mov esi, 2
jmp 0x4337a0
mov edi, 0x207
mov dword [esp + 0x10], 0x208
mov esi, 0x10
jmp 0x4337a0
mov dword [esp + 0x20], 0x10000
mov esi, 0x10020
jmp 0x433793
mov dword [esp + 0x20], 0x20000
mov esi, 0x20040
mov dword [esp + 0x10], 0x20c
mov edi, 0x20b
cmp byte [esp + 0xd], 0
mov byte [esp + 0xf], 0
je 0x4337fe
push 0
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [esp + 0x24], eax
test eax, eax
je 0x4337ee
cmp eax, dword [0x4d3e6c]
je 0x4337ee
mov ecx, dword [esp + 0x18]
call fcn.00477810
test al, al
jne 0x4337ee
push 1
push dword [esp + 0x28]
push dword [0x4d3e6c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne byte [esp + 0xf]
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov dl, byte [esp + 0xc]
jmp 0x433806
mov eax, dword [esp + 0x24]
mov dword [esp + 0x24], eax
test dl, dl
jne 0x4338a3
cmp byte [esp + 0xe], dl
jne 0x4338a3
mov eax, dword [ebp + 0xc]
test eax, eax
jle 0x4338c7
mov ecx, dword [sym.imp.USER32.dll_PostMessageW]
mov edx, dword [esp + 0x14]
nop dword [eax]
cmp edx, 1
je 0x433862
push ebx
push esi
push edi
push dword [esp + 0x28]
call ecx
mov eax, dword [0x4ce8c8]
mov ecx, dword [eax + 0x58]
cmp ecx, 0xffffffff
jle 0x433855
mov edx, 1
call fcn.00401e60
mov edx, dword [esp + 0x14]
mov ecx, dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp + 0xc]
test edx, edx
je 0x433893
push ebx
push dword [esp + 0x24]
push dword [esp + 0x18]
push dword [esp + 0x28]
call ecx
mov eax, dword [0x4ce8c8]
mov ecx, dword [eax + 0x58]
cmp ecx, 0xffffffff
jle 0x43388c
mov edx, 1
call fcn.00401e60
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 0xc]
mov ecx, dword [sym.imp.USER32.dll_PostMessageW]
sub eax, 1
mov dword [ebp + 0xc], eax
jne 0x433830
jmp 0x4338c7
push ebx
push esi
push edi
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [0x4ce8c8]
mov ecx, dword [eax + 0x58]
cmp ecx, 0xffffffff
jle 0x4338c7
mov edx, 1
call fcn.00401e60
cmp byte [esp + 0xf], 0
je 0x4338e0
push 0
push dword [esp + 0x28]
push dword [0x4d3e6c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov ecx, dword [0x4d166c]
push 1
push 0
push 0xffffffffffffffff
push 0x4ac300
call fcn.00475930
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov ebx, dword [esp + 0x10]
mov eax, dword [0x4ce8c8]
cmp byte [eax + 0x108], 0
jne 0x433930
mov ecx, dword [0x4d166c]
push 1
push 0
push 0xffffffffffffffff
push 0x4bf994
call fcn.00475930
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
push 0x4ac22c
push 0
push 0x4bf994
mov ecx, ebx
call fcn.0042cf00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20