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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
mov ecx, dword [0x4c17f0]
push ebx
push esi
push edi
push 1
push 0
push 0xffffffffffffffff
push 0x49e30c
mov esi, eax
call fcn.0046dd60
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x1c]
call fcn.004402a0
mov dword [esp + 0x10], eax
test eax, eax
je case.0x4334e0.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 0x43325f
lea edi, [esi + 2]
movzx esi, word [ebx]
test esi, 0xffffff80
jne 0x4331ad
push 2
push esi
call fcn.0048757e
add esp, 8
test eax, eax
je 0x4331ad
and esi, 0xffffffdf
movzx eax, si
add eax, 0xffffffbc
cmp eax, 0x15
ja case.0x4331c3.69
movzx ecx, byte [eax + 0x4336c0]
jmp dword [ecx*4 + 0x4336a4]
mov dword [esp + 0x1c], 0
jmp case.0x4331c3.69
mov dword [esp + 0x1c], 1
jmp case.0x4331c3.69
movzx esi, word [edi]
test esi, 0xffffff80
jne 0x4331fb
push 2
push esi
call fcn.0048757e
add esp, 8
test eax, eax
je 0x4331fb
and esi, 0xffffffdf
cmp si, 0x41
jne case.0x4331c3.69
add ebx, 2
add edi, 2
mov byte [esp + 0xd], 0
jmp case.0x4331c3.69
push 3
push 0x4a3f5c
push ebx
call fcn.00486b72
add esp, 0xc
test eax, eax
jne case.0x4331c3.69
add ebx, 4
add edi, 4
mov byte [esp + 0xc], 1
jmp case.0x4331c3.69
push edi
call fcn.004875c6
mov dword [esp + 0x2c], eax
jmp 0x433245
push edi
call fcn.004875c6
mov dword [esp + 0x30], eax
add esp, 4
add ebx, 2
add edi, 2
cmp word [ebx], 0
jne 0x433190
cmp byte [esp + 0xc], 0
jne 0x43327d
mov edx, dword [esp + 0x10]
mov esi, dword [ebp + 0x10]
push edx
call fcn.0046f620
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
test esi, esi
jne 0x4333dd
mov ebx, dword [ebp + 0x10]
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
lea ebx, [ebx]
movzx eax, word [ebx]
cmp eax, 0x20
je 0x4332bd
cmp eax, 9
jne 0x4332c2
add ebx, 2
jmp 0x4332b0
movzx esi, word [ebx]
test esi, 0xffffff80
jne 0x4332df
push 2
push esi
call fcn.0048757e
add esp, 8
test eax, eax
je 0x4332df
and esi, 0xffffffdf
cmp si, 0x58
jne case.0x4334e0.3
cmp word [ebx + 2], 0
lea esi, [ebx + 2]
je case.0x4334e0.3
mov eax, esi
call fcn.0040c9b0
test al, al
je 0x433311
push 0x10
push 0
push esi
call fcn.0048795b
add esp, 0xc
jmp 0x43331a
push esi
call fcn.004875c6
add esp, 4
mov dword [esp + 0x50], eax
mov ebx, 0x49e6d0
mov eax, esi
call fcn.00409070
test eax, eax
je case.0x4334e0.3
lea esi, [eax + 2]
movzx eax, word [esi]
cmp eax, 0x20
je 0x433342
cmp eax, 9
jne 0x433347
add esi, 2
jmp 0x433335
movzx eax, word [esi]
test ax, ax
je case.0x4334e0.3
push eax
call fcn.00488208
add esp, 4
cmp ax, 0x59
jne case.0x4334e0.3
add esi, 2
cmp word [esi], 0
je case.0x4334e0.3
call fcn.0040ca10
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 0x439880
push edi
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov esi, dword [esp + 0x68]
test esi, esi
je 0x4333bb
mov dword [esp + 0x18], esi
jmp 0x4333c1
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 + 0xc], 1
jl 0x433674
mov ecx, dword [esp + 0x28]
cmp ecx, 0x80000000
je 0x4333fe
mov eax, dword [esp + 0x2c]
cmp eax, 0x80000000
jne 0x43344d
lea ecx, [esp + 0x30]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je case.0x4334e0.3
mov ecx, dword [esp + 0x28]
cmp ecx, 0x80000000
jne 0x433431
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 0x43344d
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 + 8]
cmp al, 0x9f
je 0x43346c
mov byte [esp + 0xc], 0
cmp al, 0x9e
jne 0x433471
mov byte [esp + 0xc], 1
cmp al, 0x9c
je 0x43347d
cmp al, 0x9d
je 0x43347d
xor cl, cl
jmp 0x43347f
mov cl, 1
cmp byte [esp + 0xc], 0
mov byte [esp + 0xe], cl
je 0x4334ae
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 + 0xc]
shl edi, 0x10
jmp 0x43353c
test cl, cl
je 0x4334d3
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 + 0xc]
shl edi, 0x10
jmp 0x43353c
movzx eax, al
dec eax
cmp eax, 5
ja case.0x4334e0.3
jmp dword [eax*4 + 0x4336d8]
mov ebx, 0x201
mov dword [esp + 0x14], 0x202
mov edi, 1
jmp 0x43353c
mov ebx, 0x204
mov dword [esp + 0x14], 0x205
mov edi, 2
jmp 0x43353c
mov ebx, 0x207
mov dword [esp + 0x14], 0x208
mov edi, 0x10
jmp 0x43353c
mov edi, 0x20
jmp 0x43352f
mov edi, 0x40
mov dword [esp + 0x14], 0x20c
mov ebx, 0x20b
cmp byte [esp + 0xd], 0
mov byte [esp + 0xf], 0
je 0x43359d
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 0x43358e
mov ecx, eax
cmp ecx, dword [0x4c310c]
je 0x43358e
mov esi, dword [esp + 0x10]
call fcn.0046fb60
test al, al
jne 0x43358e
mov edx, dword [esp + 0x24]
mov eax, dword [0x4c310c]
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 0x43362e
test cl, cl
jne 0x43362e
mov eax, dword [ebp + 0xc]
test eax, eax
jle 0x433659
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x1c], 1
je 0x4335f3
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
push edx
push edi
push ebx
push eax
call esi
mov ecx, dword [0x4bd41c]
mov eax, dword [ecx + 0x58]
cmp eax, 0xffffffff
jle 0x4335f3
push 1
push eax
call fcn.00401360
add esp, 8
cmp dword [esp + 0x1c], 0
je 0x433626
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 [0x4bd41c]
mov eax, dword [edx + 0x58]
cmp eax, 0xffffffff
jle 0x433626
push 1
push eax
call fcn.00401360
add esp, 8
dec dword [esp + 0x10]
jne 0x4335c5
jmp 0x433659
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 [0x4bd41c]
mov eax, dword [edx + 0x58]
cmp eax, 0xffffffff
jle 0x433659
push 1
push eax
call fcn.00401360
add esp, 8
cmp byte [esp + 0xf], 0
je 0x433674
mov eax, dword [esp + 0x24]
mov ecx, dword [0x4c310c]
push 0
push eax
push ecx
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov ecx, dword [0x4c17f0]
push 1
push 0
push 0xffffffffffffffff
push 0x49b8d0
call fcn.0046dd60
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x1c