Function at 0x450930
Capabilities:
Hide graphical window
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
push esi
push edi
mov dword [esp + 0x14], ebx
call fcn.0044fd70
mov dword [esp + 0x1c], eax
test eax, eax
je 0x450d2d
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00442320
mov edi, eax
test edi, edi
je 0x450d2d
mov esi, dword [ebp + 0x10]
mov ecx, edi
mov edx, esi
call fcn.00477340
mov ebx, eax
test ebx, ebx
je 0x450d29
mov ecx, dword [esp + 0x1c]
lea eax, [ecx - 1]
cmp eax, 0x10
ja case.default.0x450997
jmp dword [eax*4 + 0x451108]
lea eax, [esp + 0x18]
push eax
push 0x7d0
push 2
push 0
push 0
push 0xf0
push ebx
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
je 0x450d29
xor eax, eax
cmp dword [esp + 0x1c], 1
sete al
cmp dword [esp + 0x18], eax
je case.default.0x450997
push 0
push edi
mov byte [esp + 0x1b], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, eax
mov dword [esp + 0x20], esi
test esi, esi
je 0x450a17
cmp esi, dword [0x4d3e6c]
je 0x450a17
mov ecx, edi
call fcn.00477810
test al, al
jne 0x450a17
push 1
push esi
push dword [0x4d3e6c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne byte [esp + 0x13]
cmp edi, ebx
jne 0x450a24
mov ecx, ebx
call fcn.004777d0
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_SetActiveWindow]
lea eax, [esp + 0x28]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
jne 0x450a53
xor edx, edx
mov dword [esp + 0x34], eax
xor ecx, ecx
mov dword [esp + 0x2c], edx
xor esi, esi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x28], esi
jmp 0x450a63
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
sub eax, edx
sub ecx, esi
cdq
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
sub eax, edx
sar eax, 1
movzx edi, ax
mov eax, ecx
cdq
sub eax, edx
shl edi, 0x10
sar eax, 1
movzx eax, ax
or edi, eax
push edi
push 1
push 0x201
push ebx
call esi
push edi
push 0
push 0x202
push ebx
call esi
cmp byte [esp + 0x13], 0
je case.default.0x450997
push 0
push dword [esp + 0x24]
push dword [0x4d3e6c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
jmp case.default.0x450997
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.default.0x450997
push 0
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.default.0x450997
push 4
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.default.0x450997
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.default.0x450997
mov edi, dword [ebp + 0xc]
cmp word [edi], 0
jne 0x450b0b
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
xor eax, eax
cmp ecx, 7
sete al
lea eax, [eax*4 - 0x14]
push eax
push ebx
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
movzx edx, word [edi]
push edx
push 0x4c5fe8
mov dword [esp + 0x24], eax
call fcn.0048c759
add esp, 8
test eax, eax
jne 0x450b4e
mov ecx, edi
call fcn.004134f0
mov edi, dword [esp + 0x1c]
mov esi, eax
jmp 0x450b80
lea ecx, [edi + 2]
call fcn.004134f0
mov esi, eax
movzx eax, word [edi]
mov edi, dword [esp + 0x1c]
sub eax, 0x2b
je 0x450b7e
sub eax, 2
je 0x450b78
sub eax, 0x31
jne 0x450b72
xor esi, edi
jmp 0x450b80
mov esi, dword [esp + 0x24]
jmp 0x450b80
not esi
and esi, edi
jmp 0x450b80
or esi, edi
cmp esi, edi
je 0x450bc6
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
mov esi, dword [esp + 0x24]
push esi
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
jne 0x450bab
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x450d29
push esi
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
cmp eax, edi
je 0x450d29
push 1
push 0
push ebx
call dword [sym.imp.USER32.dll_InvalidateRect]
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 0x1c
lea eax, [esp + 0x18]
push eax
push 0x7d0
xor eax, eax
cmp ecx, 9
push 2
push 0
sete al
push eax
push 0x14f
jmp 0x4510ba
mov eax, dword [ebp + 0xc]
cmp word [eax], 0
je 0x450c1e
mov ecx, eax
call fcn.0040df30
mov ecx, dword [esp + 0x1c]
mov esi, eax
jmp 0x450c23
mov esi, 1
cmp ecx, 0xb
setne al
xor dl, dl
lea eax, [eax*2 + 0x25]
mov cl, al
mov dword [esp + 0x20], eax
call fcn.00412ab0
movzx edi, ax
shl edi, 0x10
test esi, esi
jle case.default.0x450997
mov eax, dword [esp + 0x20]
mov ecx, edi
or ecx, 1
movzx eax, al
mov dword [esp + 0x14], ecx
or edi, 0xc0000001
mov dword [esp + 0x1c], eax
push ecx
push eax
push pe_nt_image_headers32
push ebx
call dword [sym.imp.USER32.dll_PostMessageW]
mov edx, 1
mov dword [0x4ce8c0], 0
xor ecx, ecx
call fcn.00401e60
push edi
push dword [esp + 0x20]
mov dword [0x4ce8c0], 1
push 0x101
push ebx
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
sub esi, 1
jne 0x450c65
jmp case.default.0x450997
cmp word [esi], 0
jne 0x450cce
push 0x20
lea eax, [esp + 0x3c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameW]
lea esi, [esp + 0x38]
mov edx, 0x4c7674
mov ecx, esi
call fcn.004730c0
test eax, eax
je 0x450ce5
mov eax, 0x143
jmp 0x450cfa
mov edx, str.List
mov ecx, esi
call fcn.004730c0
test eax, eax
je 0x450d29
mov eax, 0x180
lea ecx, [esp + 0x18]
push ecx
push 0x7d0
push 2
push dword [ebp + 0xc]
push 0
push eax
push ebx
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
je 0x450d29
mov eax, dword [esp + 0x18]
cmp eax, 0xffffffff
je 0x450d29
cmp eax, 0xfffffffe
jne case.default.0x450997
mov ebx, dword [esp + 0x14]
mov eax, dword [0x4ce8c8]
cmp byte [eax + 0x108], 0
jne 0x4510e9
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 0x1c
mov ecx, dword [ebp + 0xc]
cmp word [ecx], 0
je 0x450d29
call fcn.0040df30
mov edi, eax
sub edi, 1
js 0x450d29
cmp word [esi], 0
jne 0x450d8b
push 0x20
lea eax, [esp + 0x3c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameW]
lea esi, [esp + 0x38]
mov edx, 0x4c7674
mov ecx, esi
call fcn.004730c0
test eax, eax
je 0x450da2
mov eax, 0x144
jmp 0x450dbb
mov edx, str.List
mov ecx, esi
call fcn.004730c0
test eax, eax
je 0x450d29
mov eax, 0x182
lea ecx, [esp + 0x18]
push ecx
push 0x7d0
push 2
push 0
push edi
push eax
push ebx
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
je 0x450d29
cmp dword [esp + 0x18], 0xffffffff
jmp 0x4510c3
mov ecx, dword [ebp + 0xc]
cmp word [ecx], 0
je 0x450d29
call fcn.0040df30
mov edi, eax
sub edi, 1
js 0x450d29
cmp word [esi], 0
jne 0x450e19
push 0x20
lea eax, [esp + 0x3c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameW]
lea esi, [esp + 0x38]
mov edx, 0x4c7674
mov ecx, esi
call fcn.004730c0
test eax, eax
je 0x450ed5
mov ecx, 0x14e
mov dword [esp + 0x1c], 0x90000
lea eax, [esp + 0x18]
push eax
push 0x7d0
push 2
push 0
push edi
push ecx
mov esi, dword [sym.imp.USER32.dll_SendMessageTimeoutW]
push ebx
call esi
test eax, eax
je 0x450d29
cmp dword [esp + 0x18], 0xffffffff
je 0x450d29
push ebx
call dword [sym.imp.USER32.dll_GetParent]
mov dword [esp + 0x20], eax
test eax, eax
je 0x450d29
push ebx
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
test eax, eax
je 0x450d29
movzx edi, ax
lea eax, [esp + 0x18]
push eax
push 0x7d0
push 2
push ebx
mov eax, edi
or eax, 0x10000
push eax
push 0x111
push dword [esp + 0x38]
call esi
test eax, eax
je 0x450d29
or edi, dword [esp + 0x1c]
lea eax, [esp + 0x18]
push eax
push 0x7d0
push 2
push ebx
push edi
push 0x111
push dword [esp + 0x38]
call esi
jmp 0x4510c1
mov edx, str.List
mov ecx, esi
call fcn.004730c0
test eax, eax
je 0x450d29
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0x808
mov dword [esp + 0x1c], 0x20000
mov ecx, eax
neg ecx
sbb ecx, ecx
add ecx, 0x186
test eax, eax
je 0x450e3a
lea eax, [esp + 0x18]
push eax
push 0x7d0
push 2
push edi
push 1
push 0x185
jmp 0x450e4a
cmp word [esi], 0
jne 0x450f44
push 0x20
lea eax, [esp + 0x3c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameW]
lea esi, [esp + 0x38]
mov edx, 0x4c7674
mov ecx, esi
call fcn.004730c0
test eax, eax
je 0x451002
mov ecx, 0x14d
mov dword [esp + 0x20], 0x90000
mov esi, dword [sym.imp.USER32.dll_SendMessageTimeoutW]
lea eax, [esp + 0x18]
push eax
push 0x7d0
push 2
push dword [ebp + 0xc]
push 1
push ecx
push ebx
call esi
test eax, eax
je 0x450d29
cmp dword [esp + 0x18], 0xffffffff
je 0x450d29
push ebx
call dword [sym.imp.USER32.dll_GetParent]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x450d29
push ebx
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
test eax, eax
je 0x450d29
movzx edi, ax
lea eax, [esp + 0x18]
push eax
push 0x7d0
push 2
push ebx
mov eax, edi
or eax, 0x10000
push eax
push 0x111
push dword [esp + 0x34]
call esi
test eax, eax
je 0x450d29
or edi, dword [esp + 0x20]
lea eax, [esp + 0x18]
push eax
push 0x7d0
push 2
push ebx
push edi
push 0x111
push dword [esp + 0x34]
call esi
jmp 0x4510c1
mov edx, str.List
mov ecx, esi
call fcn.004730c0
test eax, eax
je 0x450d29
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0x808
mov dword [esp + 0x20], 0x20000
mov ecx, 0x18f
mov edx, 0x18c
cmove ecx, edx
test eax, eax
je 0x450f65
mov esi, dword [sym.imp.USER32.dll_SendMessageTimeoutW]
lea eax, [esp + 0x24]
push eax
push 0x7d0
push 2
push dword [ebp + 0xc]
push 0xffffffffffffffff
push 0x18f
push ebx
call esi
test eax, eax
je 0x450d29
mov eax, dword [esp + 0x24]
cmp eax, 0xffffffff
je 0x450d29
lea ecx, [esp + 0x18]
push ecx
push 0x7d0
push 2
push eax
push 1
push 0x185
push ebx
call esi
test eax, eax
je 0x450d29
cmp dword [esp + 0x18], 0xffffffff
jne 0x450f93
jmp 0x450d29
lea eax, [esp + 0x18]
push eax
push 0x7d0
push 2
push dword [ebp + 0xc]
push 1
push 0xc2
push ebx
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
je 0x450d29
mov eax, dword [0x4ce8c8]
mov ecx, dword [eax + 0x58]
cmp ecx, 0xffffffff
jle 0x450bc6
mov edx, 1
call fcn.00401e60
jmp 0x450bc6
push 0x4ac22c
push 0
push 0x4bf994
mov ecx, ebx
call fcn.0042cf00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c