Function at 0x451980
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.00450b50
mov ebp, eax
test ebp, ebp
je 0x45209d
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x84]
call fcn.004430f0
mov dword [esp + 0x7c], eax
test eax, eax
je 0x45209d
mov esi, dword [esp + 0x74]
mov ecx, eax
push ecx
call fcn.00477fb0
mov edi, eax
add esp, 4
test edi, edi
je 0x45209d
lea eax, [ebp - 1]
cmp eax, 0x10
ja case.default.0x4519e7
jmp dword [eax*4 + 0x4520ec]
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 0x45209d
xor eax, eax
cmp ebp, 1
sete al
cmp dword [esp + 0x14], eax
je case.default.0x4519e7
mov ecx, dword [esp + 0x7c]
push 0
push ecx
xor bl, bl
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebp, eax
mov dword [esp + 0x74], ebp
test ebp, ebp
je 0x451a67
cmp ebp, dword [0x4c85cc]
je 0x451a67
mov esi, dword [esp + 0x7c]
call fcn.004784d0
test al, al
jne 0x451a67
mov edx, dword [0x4c85cc]
push 1
push ebp
push edx
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne bl
mov eax, dword [esp + 0x7c]
cmp eax, edi
jne 0x451a76
mov eax, edi
call fcn.00478460
push eax
call dword [sym.imp.USER32.dll_SetActiveWindow]
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
jne 0x451a9d
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 ecx, ax
or esi, ecx
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.0x4519e7
mov edx, dword [esp + 0x74]
mov eax, dword [0x4c85cc]
push 0
push edx
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
jmp case.default.0x4519e7
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [0x4c28ec]
mov eax, dword [eax + 0x58]
cmp eax, 0xffffffff
jle 0x451b18
push 1
push eax
call fcn.00401340
add esp, 8
mov ecx, dword [0x4c6cb4]
push 1
push 0
push 0xffffffffffffffff
push 0x4a0900
push ecx
call fcn.00476610
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0x18
push 0
jmp 0x451af9
push 4
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.default.0x4519e7
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.default.0x4519e7
cmp word [ebx], 0
jne 0x451b68
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 ecx, word [ebx]
push ecx
push 0x4a9af0
mov ebp, eax
call fcn.0048dab1
add esp, 8
test eax, eax
jne 0x451ba5
mov esi, ebx
call fcn.004130a0
mov esi, eax
jmp 0x451bd7
lea esi, [ebx + 2]
call fcn.004130a0
movzx ecx, word [ebx]
sub ecx, 0x2b
je 0x451bcd
sub ecx, 2
je 0x451bc5
sub ecx, 0x31
jne 0x451bd3
xor eax, ebp
mov esi, eax
jmp 0x451bd7
not eax
and eax, ebp
mov esi, eax
jmp 0x451bd7
or eax, ebp
mov esi, eax
jmp 0x451bd7
mov esi, dword [esp + 0x74]
cmp esi, ebp
jne 0x451bfc
mov edx, dword [0x4c6cb4]
push 1
push 0
push 0xffffffffffffffff
push 0x4a0900
push edx
call fcn.00476610
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 0x451c23
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x45209d
push esi
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
cmp eax, ebp
je 0x45209d
push 1
push 0
push edi
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [0x4c6cb4]
push 1
push 0
push 0xffffffffffffffff
push 0x4a0900
push eax
call fcn.00476610
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0x18
xor edx, edx
lea ecx, [esp + 0x14]
push ecx
push 0x7d0
cmp ebp, 9
sete dl
push 2
push 0
push edx
push 0x14f
push edi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
je 0x45209d
jmp case.default.0x4519e7
cmp word [ebx], 0
je 0x451ca3
mov esi, ebx
call fcn.0040d260
mov esi, eax
mov dword [esp + 0x7c], eax
jmp 0x451cac
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 eax, dword [esp + 0x74]
push eax
call fcn.00412700
movzx eax, ax
add esp, 4
shl eax, 0x10
test esi, esi
jle case.default.0x4519e7
mov ecx, 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], ecx
jmp 0x451d00
push ebp
push esi
push 0x100
push edi
call ebx
push 1
push 0
mov dword [0x4c28b4], 0
call fcn.00401340
mov edx, dword [esp + 0x8c]
add esp, 8
push edx
push esi
push 0x101
push edi
mov dword [0x4c28b4], 1
call ebx
dec dword [esp + 0x74]
jne 0x451d00
jmp case.default.0x4519e7
cmp word [esi], 0
jne 0x451d5e
push 0x20
lea eax, [esp + 0x2c]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClassNameW]
lea esi, [esp + 0x28]
mov eax, 0x4aae64
mov ecx, esi
call fcn.00473c10
test eax, eax
je 0x451d75
mov eax, 0x143
jmp 0x451d8e
mov eax, str.List
mov ecx, esi
call fcn.00473c10
test eax, eax
je 0x45209d
mov eax, 0x180
lea ecx, [esp + 0x14]
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 0x45209d
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x45209d
cmp eax, 0xfffffffe
jmp 0x452097
cmp word [ebx], 0
je 0x45209d
mov esi, ebx
call fcn.0040d260
mov esi, eax
dec esi
js 0x45209d
mov ebx, dword [esp + 0x74]
cmp word [ebx], 0
jne 0x451df8
push 0x20
lea edx, [esp + 0x2c]
push edx
push edi
call dword [sym.imp.USER32.dll_GetClassNameW]
lea ebx, [esp + 0x28]
mov eax, 0x4aae64
mov ecx, ebx
call fcn.00473c10
test eax, eax
je 0x451e0f
mov eax, 0x144
jmp 0x451e28
mov eax, str.List
mov ecx, ebx
call fcn.00473c10
test eax, eax
je 0x45209d
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 0x45209d
cmp dword [esp + 0x14], 0xffffffff
je 0x45209d
jmp case.default.0x4519e7
cmp word [ebx], 0
je 0x45209d
mov esi, ebx
call fcn.0040d260
mov esi, eax
dec esi
js 0x45209d
mov ebx, dword [esp + 0x74]
cmp word [ebx], 0
jne 0x451e8d
push 0x20
lea edx, [esp + 0x2c]
push edx
push edi
call dword [sym.imp.USER32.dll_GetClassNameW]
lea ebx, [esp + 0x28]
mov eax, 0x4aae64
mov ecx, ebx
call fcn.00473c10
test eax, eax
je 0x451f4f
mov eax, 0x14e
mov dword [esp + 0x74], 9
lea ecx, [esp + 0x14]
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 0x45209d
cmp dword [esp + 0x14], 0xffffffff
je 0x45209d
push edi
call dword [sym.imp.USER32.dll_GetParent]
mov ebp, eax
test ebp, ebp
je 0x45209d
push edi
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
test eax, eax
je 0x45209d
lea edx, [esp + 0x14]
push edx
push 0x7d0
movzx ebx, ax
push 2
push edi
mov eax, ebx
or eax, 0x10000
push eax
push 0x111
push ebp
call esi
test eax, eax
je 0x45209d
movzx edx, word [esp + 0x74]
lea ecx, [esp + 0x14]
push ecx
push 0x7d0
push 2
push edi
shl edx, 0x10
or edx, ebx
push edx
push 0x111
push ebp
call esi
test eax, eax
je 0x45209d
jmp case.default.0x4519e7
mov eax, str.List
mov ecx, ebx
call fcn.00473c10
test eax, eax
je 0x45209d
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 0x451eae
lea eax, [esp + 0x14]
push eax
push 0x7d0
push 2
push esi
push 1
push 0x185
jmp 0x451ebe
cmp word [esi], 0
jne 0x451fbe
push 0x20
lea eax, [esp + 0x2c]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClassNameW]
lea esi, [esp + 0x28]
mov eax, 0x4aae64
mov ecx, esi
call fcn.00473c10
test eax, eax
je 0x451fef
mov eax, 0x14d
mov dword [esp + 0x74], 9
lea ecx, [esp + 0x14]
push ecx
push 0x7d0
push 2
push ebx
push 1
jmp 0x451ebd
mov eax, str.List
mov ecx, esi
call fcn.00473c10
test eax, eax
je 0x45209d
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 0x451fdb
mov esi, dword [sym.imp.USER32.dll_SendMessageTimeoutW]
lea ecx, [esp + 0x7c]
push ecx
push 0x7d0
push 2
push ebx
push 0xffffffffffffffff
push eax
push edi
call esi
test eax, eax
je 0x45209d
mov eax, dword [esp + 0x7c]
cmp eax, 0xffffffff
je 0x45209d
lea edx, [esp + 0x14]
push edx
push 0x7d0
push 2
push eax
push 1
push 0x185
push edi
call esi
test eax, eax
je 0x45209d
cmp dword [esp + 0x14], 0xffffffff
jne 0x451eda
jmp 0x45209d
lea eax, [esp + 0x14]
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.0x4519e7
mov ecx, dword [0x4c28ec]
cmp byte [ecx + 0x104], 0
jne 0x4520cd
mov edx, dword [0x4c6cb4]
push 1
push 0
push 0xffffffffffffffff
push 0x4a331c
push edx
call fcn.00476610
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0x18
mov ecx, dword [esp + 0x70]
push 0x4ab02c
push 0
push 0x4a331c
call fcn.0042dbe0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0x18