Function at 0x450340
Capabilities:
Hide graphical window
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
push ebx
push esi
push edi
mov esi, edx
mov ebx, ecx
call fcn.0044f530
mov dword [esp + 0x14], eax
test eax, eax
je 0x450ae0
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0x18]
call fcn.00443070
mov dword [esp + 0x18], eax
test eax, eax
je 0x450ae0
mov esi, dword [ebp + 0xc]
mov ecx, eax
push ecx
call fcn.00474470
mov edi, eax
add esp, 4
test edi, edi
je 0x450ae0
mov esi, dword [esp + 0x14]
lea eax, [esi - 1]
cmp eax, 0x10
ja case.default.0x4503a7
jmp dword [eax*4 + 0x450b2c]
lea edx, [esp + 0x10]
push edx
push 0x7d0
push 2
push 0
push 0
push 0xf0
push edi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
je 0x450ae0
xor eax, eax
cmp esi, 1
sete al
cmp dword [esp + 0x10], eax
je case.default.0x4503a7
mov ecx, dword [esp + 0x18]
push 0
push ecx
mov byte [esp + 0x17], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x45042c
cmp ebx, dword [0x4c3fe4]
je 0x45042c
mov esi, dword [esp + 0x18]
call fcn.004749b0
test al, al
jne 0x45042c
mov edx, dword [0x4c3fe4]
push 1
push ebx
push edx
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne byte [esp + 0xf]
mov eax, dword [esp + 0x18]
cmp eax, edi
jne 0x45043b
mov eax, edi
call fcn.00474940
push eax
call dword [sym.imp.USER32.dll_SetActiveWindow]
lea eax, [esp + 0x20]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
jne 0x450462
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
mov ebx, dword [sym.imp.USER32.dll_PostMessageW]
cdq
sub eax, edx
sar eax, 1
movzx esi, ax
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
shl esi, 0x10
cdq
sub eax, edx
sar eax, 1
movzx ecx, ax
or esi, ecx
push esi
push 1
push 0x201
push edi
call ebx
push esi
push 0
push 0x202
push edi
call ebx
cmp byte [esp + 0xf], 0
je case.default.0x4503a7
mov edx, dword [esp + 0x14]
mov eax, dword [0x4c3fe4]
push 0
push edx
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
jmp case.default.0x4503a7
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [0x4be40c]
mov eax, dword [eax + 0x58]
cmp eax, 0xffffffff
jle 0x4504e0
push 1
push eax
call fcn.004012b0
add esp, 8
mov ecx, dword [0x4c26cc]
push 1
push 0
push 0xffffffffffffffff
push 0x49c8d0
call fcn.00472b80
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push 0
jmp 0x4504c1
push 4
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.default.0x4503a7
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.default.0x4503a7
cmp word [ebx], 0
jne 0x45052d
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
xor eax, eax
cmp esi, 7
sete al
lea eax, [eax*4 - 0x14]
push eax
push edi
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
movzx ecx, word [ebx]
push ecx
push 0x4a5594
mov dword [esp + 0x1c], eax
call fcn.00489be1
add esp, 8
test eax, eax
jne 0x45056c
mov esi, ebx
call fcn.00412970
mov esi, eax
jmp 0x4505a4
lea esi, [ebx + 2]
call fcn.00412970
movzx ecx, word [ebx]
sub ecx, 0x2b
je 0x450598
sub ecx, 2
je 0x45058e
sub ecx, 0x31
jne 0x4505a0
xor eax, dword [esp + 0x14]
mov esi, eax
jmp 0x4505a4
not eax
and eax, dword [esp + 0x14]
mov esi, eax
jmp 0x4505a4
or eax, dword [esp + 0x14]
mov esi, eax
jmp 0x4505a4
mov esi, dword [esp + 0x1c]
cmp esi, dword [esp + 0x14]
je 0x4504e0
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edx, dword [esp + 0x18]
push esi
push edx
push edi
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
jne 0x4505d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x450ae0
mov eax, dword [esp + 0x18]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
cmp eax, dword [esp + 0x14]
je 0x450ae0
push 1
push 0
push edi
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x4504e0
xor edx, edx
lea ecx, [esp + 0x10]
push ecx
push 0x7d0
cmp esi, 9
sete dl
push 2
push 0
push edx
push 0x14f
push edi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
je 0x450ae0
jmp case.default.0x4503a7
cmp word [ebx], 0
je 0x45063c
mov esi, ebx
call fcn.0040cbe0
mov esi, eax
jmp 0x450641
mov esi, 1
cmp dword [esp + 0x14], 0xb
setne al
xor bl, bl
lea eax, [eax + eax + 0x25]
mov byte [esp + 0x18], al
mov eax, dword [esp + 0x18]
push eax
call fcn.00411fc0
movzx eax, ax
add esp, 4
shl eax, 0x10
test esi, esi
jle case.default.0x4503a7
movzx ebx, byte [esp + 0x18]
mov ecx, eax
or ecx, 1
or eax, 0xc0000001
mov dword [esp + 0x18], esi
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
nop
mov ecx, dword [esp + 0x14]
push ecx
push ebx
push 0x100
push edi
call esi
push 1
push 0
mov dword [0x4be3d4], 0
call fcn.004012b0
mov edx, dword [esp + 0x24]
add esp, 8
push edx
push ebx
push 0x101
push edi
mov dword [0x4be3d4], 1
call esi
dec dword [esp + 0x18]
jne 0x450690
jmp case.default.0x4503a7
mov esi, dword [ebp + 0xc]
cmp word [esi], 0
jne 0x4506f2
push 0x20
lea eax, [esp + 0x34]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClassNameW]
lea esi, [esp + 0x30]
mov eax, 0x4a6960
mov ecx, esi
call fcn.00470450
test eax, eax
je 0x450709
mov eax, 0x143
jmp 0x450722
mov eax, str.List
mov ecx, esi
call fcn.00470450
test eax, eax
je 0x450ae0
mov eax, 0x180
lea ecx, [esp + 0x10]
push ecx
push 0x7d0
push 2
push ebx
push 0
push eax
push edi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
je 0x450ae0
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x450ae0
cmp eax, 0xfffffffe
jmp 0x450ada
cmp word [ebx], 0
je 0x450ae0
mov esi, ebx
call fcn.0040cbe0
mov esi, eax
dec esi
js 0x450ae0
mov ebx, dword [ebp + 0xc]
cmp word [ebx], 0
jne 0x45078b
push 0x20
lea edx, [esp + 0x34]
push edx
push edi
call dword [sym.imp.USER32.dll_GetClassNameW]
lea ebx, [esp + 0x30]
mov eax, 0x4a6960
mov ecx, ebx
call fcn.00470450
test eax, eax
je 0x4507a2
mov eax, 0x144
jmp 0x4507bb
mov eax, str.List
mov ecx, ebx
call fcn.00470450
test eax, eax
je 0x450ae0
mov eax, 0x182
lea ecx, [esp + 0x10]
push ecx
push 0x7d0
push 2
push 0
push esi
push eax
push edi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
je 0x450ae0
cmp dword [esp + 0x10], 0xffffffff
je 0x450ae0
jmp case.default.0x4503a7
cmp word [ebx], 0
je 0x450ae0
mov esi, ebx
call fcn.0040cbe0
mov esi, eax
dec esi
js 0x450ae0
mov ebx, dword [ebp + 0xc]
cmp word [ebx], 0
jne 0x45081f
push 0x20
lea edx, [esp + 0x34]
push edx
push edi
call dword [sym.imp.USER32.dll_GetClassNameW]
lea ebx, [esp + 0x30]
mov eax, 0x4a6960
mov ecx, ebx
call fcn.00470450
test eax, eax
je 0x4508eb
mov eax, 0x14e
mov dword [esp + 0x14], 9
lea ecx, [esp + 0x10]
push ecx
push 0x7d0
push 2
push 0
push esi
push eax
mov esi, dword [sym.imp.USER32.dll_SendMessageTimeoutW]
push edi
call esi
test eax, eax
je 0x450ae0
cmp dword [esp + 0x10], 0xffffffff
je 0x450ae0
push edi
call dword [sym.imp.USER32.dll_GetParent]
mov dword [esp + 0x18], eax
test eax, eax
je 0x450ae0
push edi
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
test eax, eax
je 0x450ae0
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x10]
push edx
push 0x7d0
movzx ebx, ax
push 2
push edi
mov eax, ebx
or eax, 0x10000
push eax
push 0x111
push ecx
call esi
test eax, eax
je 0x450ae0
movzx eax, word [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x10]
push edx
push 0x7d0
push 2
push edi
shl eax, 0x10
or eax, ebx
push eax
push 0x111
push ecx
call esi
test eax, eax
je 0x450ae0
jmp case.default.0x4503a7
mov eax, str.List
mov ecx, ebx
call fcn.00470450
test eax, eax
je 0x450ae0
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0x808
neg eax
sbb eax, eax
add eax, 0x186
mov dword [esp + 0x14], 2
cmp eax, 0x185
jne 0x450840
lea eax, [esp + 0x10]
push eax
push 0x7d0
push 2
push esi
push 1
push 0x185
jmp 0x450850
mov esi, dword [ebp + 0xc]
cmp word [esi], 0
jne 0x45095d
push 0x20
lea edx, [esp + 0x34]
push edx
push edi
call dword [sym.imp.USER32.dll_GetClassNameW]
lea esi, [esp + 0x30]
mov eax, 0x4a6960
mov ecx, esi
call fcn.00470450
test eax, eax
je 0x450a2a
mov eax, 0x14d
mov dword [esp + 0x14], 9
lea edx, [esp + 0x10]
push edx
push 0x7d0
push 2
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageTimeoutW]
push 1
push eax
push edi
call ebx
test eax, eax
je 0x450ae0
cmp dword [esp + 0x10], 0xffffffff
je 0x450ae0
push edi
call dword [sym.imp.USER32.dll_GetParent]
mov dword [esp + 0x18], eax
test eax, eax
je 0x450ae0
push edi
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
test eax, eax
je 0x450ae0
mov edx, dword [esp + 0x18]
movzx esi, ax
lea eax, [esp + 0x10]
push eax
push 0x7d0
push 2
push edi
mov ecx, esi
or ecx, 0x10000
push ecx
push 0x111
push edx
call ebx
test eax, eax
je 0x450ae0
movzx ecx, word [esp + 0x14]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x10]
push eax
push 0x7d0
push 2
push edi
shl ecx, 0x10
or ecx, esi
push ecx
push 0x111
push edx
call ebx
test eax, eax
je 0x450ae0
jmp case.default.0x4503a7
mov eax, str.List
mov ecx, esi
call fcn.00470450
test eax, eax
je 0x450ae0
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0x808
neg eax
sbb eax, eax
and eax, 3
add eax, 0x18c
mov dword [esp + 0x14], 2
cmp eax, 0x18f
jne 0x45097e
lea eax, [esp + 0x1c]
push eax
push 0x7d0
push 2
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageTimeoutW]
push 0xffffffffffffffff
push 0x18f
push edi
call ebx
test eax, eax
je 0x450ae0
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffffff
je 0x450ae0
lea ecx, [esp + 0x10]
push ecx
push 0x7d0
push 2
push eax
push 1
push 0x185
push edi
call ebx
test eax, eax
je 0x450ae0
cmp dword [esp + 0x10], 0xffffffff
jne 0x4509aa
jmp 0x450ae0
lea eax, [esp + 0x10]
push eax
push 0x7d0
push 2
push ebx
push 1
push 0xc2
push edi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
jne case.default.0x4503a7
mov ecx, dword [0x4be40c]
cmp byte [ecx + 0x104], 0
jne 0x450b0c
mov edx, dword [0x4c26cc]
push edx
or eax, 0xffffffff
mov ecx, 0x49f36c
call fcn.00401200
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [ebp + 8]
push 0x4a6b2c
push 0
push 0x49f36c
call fcn.0042f160
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18