Function at 0x44cf60
Capabilities:
Hide graphical window
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov ecx, dword [0x4c17f0]
push ebx
push esi
push edi
push 1
push 0
push 0xffffffffffffffff
push 0x49e30c
mov ebx, eax
call fcn.0046dd60
mov esi, dword [ebp + 8]
call fcn.0044c1d0
mov dword [esp + 0x14], eax
test eax, eax
je 0x44d248
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0x18]
call fcn.004402a0
mov dword [esp + 0x18], eax
test eax, eax
je 0x44d248
mov esi, dword [ebp + 0xc]
mov ecx, eax
push ecx
call fcn.0046f620
mov edi, eax
add esp, 4
test edi, edi
je 0x44d248
mov esi, dword [esp + 0x14]
lea eax, [esi - 1]
cmp eax, 0x10
ja case.default.0x44cfde
jmp dword [eax*4 + 0x44d76c]
lea edx, [esp + 0x10]
push edx
push 0x7d0
push 2
push 0
push 0
push pe_nt_image_headers32
push edi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
je 0x44d248
xor eax, eax
cmp esi, 1
sete al
cmp dword [esp + 0x10], eax
je case.default.0x44cfde
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 0x44d063
cmp ebx, dword [0x4c310c]
je 0x44d063
mov esi, dword [esp + 0x18]
call fcn.0046fb60
test al, al
jne 0x44d063
mov edx, dword [0x4c310c]
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 0x44d072
mov eax, edi
call fcn.0046faf0
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 0x44d099
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.0x44cfde
mov edx, dword [esp + 0x14]
mov eax, dword [0x4c310c]
push 0
push edx
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
jmp case.default.0x44cfde
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [0x4bd41c]
mov eax, dword [ecx + 0x58]
cmp eax, 0xffffffff
jle 0x44d118
push 1
push eax
call fcn.00401360
add esp, 8
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 0x18
push 0
jmp 0x44d0f8
push 4
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.default.0x44cfde
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.default.0x44cfde
cmp word [ebx], 0
je 0x44d248
xor eax, eax
cmp esi, 7
sete al
lea eax, [eax*4 - 0x14]
push eax
push edi
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
movzx ecx, word [ebx]
push ecx
push 0x4a47a4
mov dword [esp + 0x20], eax
call fcn.00487101
add esp, 8
test eax, eax
jne 0x44d19a
mov esi, ebx
call fcn.004125b0
mov esi, eax
jmp 0x44d1d2
lea esi, [ebx + 2]
call fcn.004125b0
movzx ecx, word [ebx]
sub ecx, 0x2b
je 0x44d1c6
sub ecx, 2
je 0x44d1bc
sub ecx, 0x31
jne 0x44d1ce
xor eax, dword [esp + 0x18]
mov esi, eax
jmp 0x44d1d2
not eax
and eax, dword [esp + 0x18]
mov esi, eax
jmp 0x44d1d2
or eax, dword [esp + 0x18]
mov esi, eax
jmp 0x44d1d2
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
cmp esi, ebx
je 0x44d118
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
mov esi, dword [esp + 0x18]
push esi
push edi
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
jne 0x44d201
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x44d248
push esi
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
cmp eax, ebx
je 0x44d248
push 1
push 0
push edi
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x44d118
xor eax, eax
lea edx, [esp + 0x10]
push edx
push 0x7d0
cmp esi, 9
sete al
push 2
push 0
push eax
push 0x14f
push edi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
jne case.default.0x44cfde
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp word [ebx], 0
je 0x44d267
mov esi, ebx
call fcn.0040ca10
mov esi, eax
jmp 0x44d26c
mov esi, 1
cmp dword [esp + 0x14], 0xb
setne al
xor bl, bl
lea eax, [eax + eax + 0x25]
mov byte [esp + 0x18], al
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00411c40
movzx eax, ax
add esp, 4
shl eax, 0x10
test esi, esi
jle case.default.0x44cfde
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
lea ebx, [ebx]
mov edx, dword [esp + 0x14]
push edx
push ebx
push 0x100
push edi
call esi
push 1
push 0
mov dword [0x4bd3e4], 0
call fcn.00401360
mov eax, dword [esp + 0x24]
add esp, 8
push eax
push ebx
push 0x101
push edi
mov dword [0x4bd3e4], 1
call esi
dec dword [esp + 0x18]
jne 0x44d2c0
jmp case.default.0x44cfde
mov esi, dword [ebp + 0xc]
cmp word [esi], 0
jne 0x44d322
push 0x20
lea ecx, [esp + 0x34]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetClassNameW]
lea esi, [esp + 0x30]
mov eax, 0x4a5c04
mov ecx, esi
call fcn.0046b6b0
test eax, eax
je 0x44d339
mov eax, 0x143
jmp 0x44d352
mov eax, str.List
mov ecx, esi
call fcn.0046b6b0
test eax, eax
je 0x44d248
mov eax, 0x180
lea edx, [esp + 0x10]
push edx
push 0x7d0
push 2
push ebx
push 0
push eax
push edi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
je 0x44d248
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x44d383
cmp eax, 0xfffffffe
jne case.default.0x44cfde
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp word [ebx], 0
je 0x44d248
mov esi, ebx
call fcn.0040ca10
mov esi, eax
dec esi
js 0x44d248
mov ebx, dword [ebp + 0xc]
cmp word [ebx], 0
jne 0x44d3c6
push 0x20
lea eax, [esp + 0x34]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClassNameW]
lea ebx, [esp + 0x30]
mov eax, 0x4a5c04
mov ecx, ebx
call fcn.0046b6b0
test eax, eax
je 0x44d3dd
mov eax, 0x144
jmp 0x44d3f6
mov eax, str.List
mov ecx, ebx
call fcn.0046b6b0
test eax, eax
je 0x44d248
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 0x44d248
cmp dword [esp + 0x10], 0xffffffff
jne case.default.0x44cfde
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp word [ebx], 0
je 0x44d248
mov esi, ebx
call fcn.0040ca10
mov esi, eax
dec esi
js 0x44d248
mov ebx, dword [ebp + 0xc]
cmp word [ebx], 0
jne 0x44d463
push 0x20
lea edx, [esp + 0x34]
push edx
push edi
call dword [sym.imp.USER32.dll_GetClassNameW]
lea ebx, [esp + 0x30]
mov eax, 0x4a5c04
mov ecx, ebx
call fcn.0046b6b0
test eax, eax
je 0x44d538
mov eax, 0x14e
mov dword [esp + 0x14], 9
lea ecx, [esp + 0x10]
push ecx
push 0x7d0
push 2
push 0
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageTimeoutW]
push eax
push edi
call esi
test eax, eax
je 0x44d248
cmp dword [esp + 0x10], 0xffffffff
je 0x44d248
push edi
call dword [sym.imp.USER32.dll_GetParent]
mov dword [esp + 0x18], eax
test eax, eax
je 0x44d248
push edi
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
test eax, eax
je 0x44d248
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 0x44d248
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
jne case.default.0x44cfde
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, str.List
mov ecx, ebx
call fcn.0046b6b0
test eax, eax
je 0x44d248
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 0x44d484
lea eax, [esp + 0x10]
push eax
push 0x7d0
push 2
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageTimeoutW]
push 1
push 0x185
push edi
call esi
test eax, eax
jne 0x44d4a5
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov esi, dword [ebp + 0xc]
cmp word [esi], 0
jne 0x44d5c4
push 0x20
lea edx, [esp + 0x34]
push edx
push edi
call dword [sym.imp.USER32.dll_GetClassNameW]
lea esi, [esp + 0x30]
mov eax, 0x4a5c04
mov ecx, esi
call fcn.0046b6b0
test eax, eax
je 0x44d69a
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 0x44d248
cmp dword [esp + 0x10], 0xffffffff
je 0x44d248
push edi
call dword [sym.imp.USER32.dll_GetParent]
mov dword [esp + 0x18], eax
test eax, eax
je 0x44d248
push edi
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
test eax, eax
je 0x44d248
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 0x44d248
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
jne case.default.0x44cfde
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, str.List
mov ecx, esi
call fcn.0046b6b0
test eax, eax
je 0x44d248
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 0x44d5e5
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 0x44d72b
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffffff
je 0x44d72b
lea ecx, [esp + 0x10]
push ecx
push 0x7d0
push 2
push eax
push 1
push 0x185
push edi
call ebx
test eax, eax
je 0x44d72b
cmp dword [esp + 0x10], 0xffffffff
jne 0x44d611
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
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.0x44cfde
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x18