Function at 0x4508c0
Capabilities:
Hide graphical window
Log keystrokes

Disassembly:
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov esi, edx
mov ebx, ecx
call fcn.0044fca0
mov ebp, eax
test ebp, ebp
je 0x450ff3
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x84]
call fcn.00442310
mov dword [esp + 0x7c], eax
test eax, eax
je 0x450ff3
mov esi, dword [esp + 0x74]
mov ecx, eax
push ecx
call fcn.004b0980
mov edi, eax
add esp, 4
test edi, edi
je 0x450ff3
lea eax, [ebp - 1]
cmp eax, 0x10
ja case.default.0x450927
jmp dword [eax*4 + 0x451044]
lea edx, [esp + 0x14]
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 0x450ff3
xor eax, eax
cmp ebp, 1
sete al
cmp dword [esp + 0x14], eax
je case.default.0x450927
mov ecx, dword [esp + 0x7c]
push 0
push ecx
xor bl, bl
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [esp + 0x74], eax
test eax, eax
je 0x4509a8
cmp eax, dword [0x51c084]
je 0x4509a8
mov esi, dword [esp + 0x7c]
call fcn.004b0ee0
test al, al
jne 0x4509a8
mov edx, dword [esp + 0x74]
mov eax, dword [0x51c084]
push 1
push edx
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne bl
mov eax, dword [esp + 0x7c]
cmp eax, edi
jne 0x4509b7
mov eax, edi
call fcn.004b0e70
push eax
call dword [sym.imp.USER32.dll_SetActiveWindow]
lea ecx, [esp + 0x18]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
jne 0x4509de
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_PostMessageW]
cdq
sub eax, edx
sar eax, 1
movzx esi, ax
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
shl esi, 0x10
cdq
sub eax, edx
sar eax, 1
movzx edx, ax
or esi, edx
push esi
push 1
push 0x201
push edi
call ebp
push esi
push 0
push 0x202
push edi
call ebp
test bl, bl
je case.default.0x450927
mov eax, dword [esp + 0x74]
mov ecx, dword [0x51c084]
push 0
push eax
push ecx
call dword [sym.imp.USER32.dll_AttachThreadInput]
jmp case.default.0x450927
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [0x5165ec]
mov eax, dword [ecx + 0x58]
cmp eax, 0xffffffff
jle 0x450a5b
push 1
push eax
call fcn.00401930
add esp, 8
mov edx, dword [0x51b6d0]
push 1
push 0
push 0xffffffffffffffff
push 0x4e6a28
push edx
call fcn.004aefb0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0x18
push 0
jmp 0x450a3b
push 4
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.default.0x450927
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.default.0x450927
cmp word [ebx], 0
jne 0x450aab
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0x18
xor eax, eax
cmp ebp, 7
sete al
lea eax, [eax*4 - 0x14]
push eax
push edi
mov dword [esp + 0x7c], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
movzx edx, word [ebx]
push edx
push 0x4f3944
mov ebp, eax
call fcn.004ca9cb
add esp, 8
test eax, eax
jne 0x450ae8
mov esi, ebx
call fcn.0041ac40
mov esi, eax
jmp 0x450b1a
lea esi, [ebx + 2]
call fcn.0041ac40
movzx ecx, word [ebx]
sub ecx, 0x2b
je 0x450b10
sub ecx, 2
je 0x450b08
sub ecx, 0x31
jne 0x450b16
xor eax, ebp
mov esi, eax
jmp 0x450b1a
not eax
and eax, ebp
mov esi, eax
jmp 0x450b1a
or eax, ebp
mov esi, eax
jmp 0x450b1a
mov esi, dword [esp + 0x74]
cmp esi, ebp
jne 0x450b3e
mov eax, dword [0x51b6d0]
push 1
push 0
push 0xffffffffffffffff
push 0x4e6a28
push eax
call fcn.004aefb0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0x18
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
mov esi, dword [esp + 0x78]
push esi
push edi
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
jne 0x450b65
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x450ff3
push esi
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
cmp eax, ebp
je 0x450ff3
push 1
push 0
push edi
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [0x51b6d0]
push 1
push 0
push 0xffffffffffffffff
push 0x4e6a28
push ecx
call fcn.004aefb0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0x18
xor eax, eax
lea edx, [esp + 0x14]
push edx
push 0x7d0
cmp ebp, 9
sete al
push 2
push 0
push eax
push 0x14f
push edi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
je 0x450ff3
jmp case.default.0x450927
cmp word [ebx], 0
je 0x450be6
mov esi, ebx
call fcn.0040e380
mov esi, eax
mov dword [esp + 0x7c], eax
jmp 0x450bef
mov esi, 1
mov dword [esp + 0x7c], esi
cmp ebp, 0xb
setne al
xor bl, bl
lea eax, [eax + eax + 0x25]
mov byte [esp + 0x74], al
mov ecx, dword [esp + 0x74]
push ecx
call fcn.00413870
movzx eax, ax
add esp, 4
shl eax, 0x10
test esi, esi
jle case.default.0x450927
mov edx, dword [esp + 0x7c]
movzx esi, byte [esp + 0x74]
mov ebx, dword [sym.imp.USER32.dll_PostMessageW]
mov ebp, eax
or ebp, 1
or eax, 0xc0000001
mov dword [esp + 0x84], eax
mov dword [esp + 0x74], edx
mov edi, edi
push ebp
push esi
push 0x100
push edi
call ebx
push 1
push 0
mov dword [0x5164f4], 0
call fcn.00401930
mov eax, dword [esp + 0x8c]
add esp, 8
push eax
push esi
push 0x101
push edi
mov dword [0x5164f4], 1
call ebx
dec dword [esp + 0x74]
jne 0x450c40
jmp case.default.0x450927
cmp word [esi], 0
jne 0x450c9e
push 0x20
lea ecx, [esp + 0x2c]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetClassNameW]
lea esi, [esp + 0x28]
mov eax, 0x4f58c0
mov ecx, esi
call fcn.004ac420
test eax, eax
je 0x450cb5
mov eax, 0x143
jmp 0x450cce
mov eax, str.List
mov ecx, esi
call fcn.004ac420
test eax, eax
je 0x450ff3
mov eax, 0x180
lea edx, [esp + 0x14]
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 0x450ff3
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x450ff3
cmp eax, 0xfffffffe
jmp 0x450fed
cmp word [ebx], 0
je 0x450ff3
mov esi, ebx
call fcn.0040e380
mov esi, eax
dec esi
js 0x450ff3
mov ebx, dword [esp + 0x74]
cmp word [ebx], 0
jne 0x450d38
push 0x20
lea eax, [esp + 0x2c]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClassNameW]
lea ebx, [esp + 0x28]
mov eax, 0x4f58c0
mov ecx, ebx
call fcn.004ac420
test eax, eax
je 0x450d4f
mov eax, 0x144
jmp 0x450d68
mov eax, str.List
mov ecx, ebx
call fcn.004ac420
test eax, eax
je 0x450ff3
mov eax, 0x182
lea ecx, [esp + 0x14]
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 0x450ff3
cmp dword [esp + 0x14], 0xffffffff
je 0x450ff3
jmp case.default.0x450927
cmp word [ebx], 0
je 0x450ff3
mov esi, ebx
call fcn.0040e380
mov esi, eax
dec esi
js 0x450ff3
mov ebx, dword [esp + 0x74]
cmp word [ebx], 0
jne 0x450dcd
push 0x20
lea edx, [esp + 0x2c]
push edx
push edi
call dword [sym.imp.USER32.dll_GetClassNameW]
lea ebx, [esp + 0x28]
mov eax, 0x4f58c0
mov ecx, ebx
call fcn.004ac420
test eax, eax
je 0x450dfe
mov eax, 0x14e
mov dword [esp + 0x74], 9
lea ecx, [esp + 0x14]
push ecx
push 0x7d0
push 2
push 0
push esi
jmp 0x450e96
mov eax, str.List
mov ecx, ebx
call fcn.004ac420
test eax, eax
je 0x450ff3
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 + 0x74], 2
cmp eax, 0x185
jne 0x450dea
lea eax, [esp + 0x14]
push eax
push 0x7d0
push 2
push esi
push 1
push 0x185
jmp 0x450e97
cmp word [esi], 0
jne 0x450e66
push 0x20
lea edx, [esp + 0x2c]
push edx
push edi
call dword [sym.imp.USER32.dll_GetClassNameW]
lea esi, [esp + 0x28]
mov eax, 0x4f58c0
mov ecx, esi
call fcn.004ac420
test eax, eax
je 0x450f3d
mov eax, 0x14d
mov dword [esp + 0x74], 9
lea edx, [esp + 0x14]
push edx
push 0x7d0
push 2
push ebx
push 0xffffffffffffffff
push eax
mov esi, dword [sym.imp.USER32.dll_SendMessageTimeoutW]
push edi
call esi
test eax, eax
je 0x450ff3
cmp dword [esp + 0x14], 0xffffffff
je 0x450ff3
push edi
call dword [sym.imp.USER32.dll_GetParent]
mov ebp, eax
test ebp, ebp
je 0x450ff3
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push edi
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov ebx, eax
test ebx, ebx
jne 0x450ee7
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x450ff3
lea eax, [esp + 0x14]
push eax
push 0x7d0
movzx ebx, bx
push 2
push edi
mov ecx, ebx
or ecx, 0x10000
push ecx
push 0x111
push ebp
call esi
test eax, eax
je 0x450ff3
movzx eax, word [esp + 0x74]
lea edx, [esp + 0x14]
push edx
push 0x7d0
push 2
push edi
shl eax, 0x10
or eax, ebx
push eax
push 0x111
push ebp
call esi
test eax, eax
je 0x450ff3
jmp case.default.0x450927
mov eax, str.List
mov ecx, esi
call fcn.004ac420
test eax, eax
je 0x450ff3
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 + 0x74], 2
cmp eax, 0x18f
jne 0x450e87
mov esi, dword [sym.imp.USER32.dll_SendMessageTimeoutW]
lea eax, [esp + 0x7c]
push eax
push 0x7d0
push 2
push ebx
push 0xffffffffffffffff
push 0x18f
push edi
call esi
test eax, eax
je 0x450ff3
mov eax, dword [esp + 0x7c]
cmp eax, 0xffffffff
je 0x450ff3
lea ecx, [esp + 0x14]
push ecx
push 0x7d0
push 2
push eax
push 1
push 0x185
push edi
call esi
test eax, eax
je 0x450ff3
cmp dword [esp + 0x14], 0xffffffff
jne 0x450eb3
jmp 0x450ff3
lea ecx, [esp + 0x14]
push ecx
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.0x450927
mov edx, dword [0x5165ec]
test byte [edx + 0x100], 1
jne 0x451022
mov eax, dword [0x51b6d0]
push 1
push 0
push 0xffffffffffffffff
push 0x4eb75c
push eax
call fcn.004aefb0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0x18
mov ecx, dword [esp + 0x70]
push 0x4f5ac4
push 0
push 0x4eb75c
call fcn.0042dac0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0x18