Function at 0x456c70
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.00455fd0
mov edi, eax
mov dword [esp + 0x20], edi
test edi, edi
je 0x45708f
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00445950
mov dword [esp + 0x1c], eax
test eax, eax
je 0x45708f
mov esi, dword [ebp + 0x10]
mov ecx, eax
mov edx, esi
call fcn.00481780
mov ebx, eax
test ebx, ebx
je 0x45708b
lea eax, [edi - 1]
cmp eax, 0x10
ja case.default.0x456cd7
jmp dword [eax*4 + 0x4573f0]
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 0x45708b
xor eax, eax
cmp edi, 1
sete al
cmp dword [esp + 0x18], eax
je case.default.0x456cd7
mov esi, dword [esp + 0x1c]
push 0
push esi
mov byte [esp + 0x1b], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edi, eax
mov dword [esp + 0x1c], edi
test edi, edi
je 0x456d59
cmp edi, dword [0x4ddc88]
je 0x456d59
mov ecx, esi
call fcn.00481c20
test al, al
jne 0x456d59
push 1
push edi
push dword [0x4ddc88]
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne byte [esp + 0x13]
cmp esi, ebx
jne 0x456d8a
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
mov esi, ebx
push 0xfffffffffffffff0
push ebx
call edi
test eax, 0x40000000
je 0x456d8a
push esi
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x456d8a
push 0xfffffffffffffff0
push eax
mov esi, eax
call edi
test eax, 0x40000000
jne 0x456d71
push esi
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 0x456db9
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 0x456dc9
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.0x456cd7
push 0
push dword [esp + 0x20]
push dword [0x4ddc88]
call dword [sym.imp.USER32.dll_AttachThreadInput]
jmp case.default.0x456cd7
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.default.0x456cd7
push 0
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.default.0x456cd7
push 4
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.default.0x456cd7
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.default.0x456cd7
mov edi, dword [ebp + 0xc]
cmp word [edi], 0
jne 0x456e71
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
xor eax, eax
cmp dword [esp + 0x20], 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 0x4d129c
mov dword [esp + 0x24], eax
call fcn.00496bcf
add esp, 8
test eax, eax
jne 0x456eb6
mov ecx, edi
call fcn.004151f0
mov edi, dword [esp + 0x1c]
mov esi, eax
jmp 0x456ee8
lea ecx, [edi + 2]
call fcn.004151f0
mov esi, eax
movzx eax, word [edi]
mov edi, dword [esp + 0x1c]
sub eax, 0x2b
je 0x456ee6
sub eax, 2
je 0x456ee0
sub eax, 0x31
jne 0x456eda
xor esi, edi
jmp 0x456ee8
mov esi, dword [esp + 0x24]
jmp 0x456ee8
not esi
and esi, edi
jmp 0x456ee8
or esi, edi
cmp esi, edi
je 0x456f2e
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 0x456f13
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x45708b
push esi
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
cmp eax, edi
je 0x45708b
push 1
push 0
push ebx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [0x4dc408]
push 1
push 0
push 0xffffffffffffffff
push 0x4b716c
call fcn.0047faa0
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 edi, 9
push 2
push 0
sete al
push eax
push 0x14f
jmp 0x4573a2
mov ecx, dword [ebp + 0xc]
cmp word [ecx], 0
je 0x456f80
call fcn.0040f490
mov esi, eax
jmp 0x456f85
mov esi, 1
cmp edi, 0xb
setne al
xor dl, dl
lea eax, [eax*2 + 0x25]
mov cl, al
mov dword [esp + 0x20], eax
call fcn.00414720
movzx edi, ax
shl edi, 0x10
test esi, esi
jle case.default.0x456cd7
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 [0x4d98d0], 0
xor ecx, ecx
call fcn.004015d0
push edi
push dword [esp + 0x20]
mov dword [0x4d98d0], 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 0x456fc7
jmp case.default.0x456cd7
cmp word [esi], 0
jne 0x457030
push 0x20
lea eax, [esp + 0x3c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameW]
lea esi, [esp + 0x38]
mov edx, 0x4d2620
mov ecx, esi
call fcn.0047cda0
test eax, eax
je 0x457047
mov eax, 0x143
jmp 0x45705c
mov edx, str.List
mov ecx, esi
call fcn.0047cda0
test eax, eax
je 0x45708b
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 0x45708b
mov eax, dword [esp + 0x18]
cmp eax, 0xffffffff
je 0x45708b
cmp eax, 0xfffffffe
jne case.default.0x456cd7
mov ebx, dword [esp + 0x14]
mov eax, dword [0x4d98d8]
test byte [eax + 0x100], 1
jne 0x4573d1
mov ecx, dword [0x4dc408]
push 1
push 0
push 0xffffffffffffffff
push 0x4ca34c
call fcn.0047faa0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov ecx, dword [ebp + 0xc]
cmp word [ecx], 0
je 0x45708b
call fcn.0040f490
mov edi, eax
sub edi, 1
js 0x45708b
cmp word [esi], 0
jne 0x4570ed
push 0x20
lea eax, [esp + 0x3c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameW]
lea esi, [esp + 0x38]
mov edx, 0x4d2620
mov ecx, esi
call fcn.0047cda0
test eax, eax
je 0x457104
mov eax, 0x144
jmp 0x45711d
mov edx, str.List
mov ecx, esi
call fcn.0047cda0
test eax, eax
je 0x45708b
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 0x45708b
cmp dword [esp + 0x18], 0xffffffff
jmp 0x4573ab
mov ecx, dword [ebp + 0xc]
cmp word [ecx], 0
je 0x45708b
call fcn.0040f490
sub eax, 1
mov dword [esp + 0x1c], eax
js 0x45708b
cmp word [esi], 0
jne 0x45717d
push 0x20
lea eax, [esp + 0x3c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameW]
lea esi, [esp + 0x38]
mov edx, 0x4d2620
mov ecx, esi
call fcn.0047cda0
test eax, eax
je 0x4571ae
mov ecx, 0x14e
mov edi, 9
lea eax, [esp + 0x18]
push eax
push 0x7d0
push 2
push 0
push dword [esp + 0x2c]
jmp 0x457244
mov edx, str.List
mov ecx, esi
call fcn.0047cda0
test eax, eax
je 0x45708b
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0x808
mov edi, 2
mov ecx, eax
neg ecx
sbb ecx, ecx
add ecx, 0x186
test eax, eax
je 0x457197
lea eax, [esp + 0x18]
push eax
push 0x7d0
push edi
push dword [esp + 0x28]
push 1
push 0x185
jmp 0x457245
cmp word [esi], 0
jne 0x457215
push 0x20
lea eax, [esp + 0x3c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameW]
lea esi, [esp + 0x38]
mov edx, 0x4d2620
mov ecx, esi
call fcn.0047cda0
test eax, eax
je 0x4572ef
mov ecx, 0x14d
mov edi, 9
lea eax, [esp + 0x18]
push eax
push 0x7d0
push 2
push dword [ebp + 0xc]
push 0xffffffffffffffff
push ecx
mov esi, dword [sym.imp.USER32.dll_SendMessageTimeoutW]
push ebx
call esi
test eax, eax
je 0x45708b
cmp dword [esp + 0x18], 0xffffffff
je 0x45708b
push ebx
call dword [sym.imp.USER32.dll_GetParent]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x45708b
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push ebx
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov dword [esp + 0x24], eax
test eax, eax
jne 0x45729d
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x45708b
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x18]
movzx eax, ax
push ecx
push 0x7d0
push 2
push ebx
mov dword [esp + 0x34], eax
or eax, 0x10000
push eax
push 0x111
push dword [esp + 0x34]
call esi
test eax, eax
je 0x45708b
lea eax, [esp + 0x18]
shl edi, 0x10
or edi, dword [esp + 0x24]
push eax
push 0x7d0
push 2
push ebx
push edi
push 0x111
push dword [esp + 0x34]
call esi
jmp 0x4573a9
mov edx, str.List
mov ecx, esi
call fcn.0047cda0
test eax, eax
je 0x45708b
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0x808
mov ecx, 0x18f
mov edx, 0x18c
mov edi, 2
cmove ecx, edx
test eax, eax
je 0x457233
mov esi, dword [sym.imp.USER32.dll_SendMessageTimeoutW]
lea eax, [esp + 0x20]
push eax
push 0x7d0
push edi
push dword [ebp + 0xc]
push 0xffffffffffffffff
push 0x18f
push ebx
call esi
test eax, eax
je 0x45708b
mov eax, dword [esp + 0x20]
cmp eax, 0xffffffff
je 0x45708b
lea ecx, [esp + 0x18]
push ecx
push 0x7d0
push edi
push eax
push 1
push 0x185
push ebx
call esi
test eax, eax
je 0x45708b
cmp dword [esp + 0x18], 0xffffffff
jne 0x457261
jmp 0x45708b
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 0x45708b
mov eax, dword [0x4d98d8]
mov ecx, dword [eax + 0x58]
cmp ecx, 0xffffffff
jle 0x456f2e
mov edx, 1
call fcn.004015d0
jmp 0x456f2e
push 0x4b70dc
push 0
push 0x4ca34c
mov ecx, ebx
call fcn.0042fd40
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c