Function at 0x450d10
Capabilities:
Hide graphical window
Log keystrokes

Disassembly:
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov esi, edx
mov ebx, ecx
call fcn.0044ff50
mov ebp, eax
test ebp, ebp
je 0x451412
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x64]
call fcn.00442660
mov dword [esp + 0x5c], eax
test eax, eax
je 0x451412
mov esi, dword [esp + 0x54]
mov ecx, eax
push ecx
call fcn.00478660
mov edi, eax
add esp, 4
test edi, edi
je 0x451412
lea eax, [ebp - 1]
cmp eax, 0x10
ja case.default.0x450d71
jmp dword [eax*4 + 0x451460]
lea edx, [esp + 0x14]
push edx
push 0x7d0
push 2
push 0
push 0
push 0xf0
push edi
call dword [sym.imp.USER32.DLL_SendMessageTimeoutA]
test eax, eax
je 0x451412
xor eax, eax
cmp ebp, 1
sete al
cmp dword [esp + 0x14], eax
je case.default.0x450d71
mov ecx, dword [esp + 0x5c]
push 0
push ecx
xor bl, bl
call dword [sym.imp.USER32.DLL_GetWindowThreadProcessId]
mov dword [esp + 0x54], eax
test eax, eax
je 0x450df2
cmp eax, dword [0x4ad250]
je 0x450df2
mov esi, dword [esp + 0x5c]
call fcn.00478b40
test al, al
jne 0x450df2
mov edx, dword [esp + 0x54]
mov eax, dword [0x4ad250]
push 1
push edx
push eax
call dword [sym.imp.USER32.DLL_AttachThreadInput]
test eax, eax
setne bl
mov eax, dword [esp + 0x5c]
cmp eax, edi
jne 0x450e01
mov eax, edi
call fcn.00478ad0
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 0x450e28
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_PostMessageA]
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.0x450d71
mov eax, dword [esp + 0x54]
mov ecx, dword [0x4ad250]
push 0
push eax
push ecx
call dword [sym.imp.USER32.DLL_AttachThreadInput]
jmp case.default.0x450d71
push 1
push edi
call dword [sym.imp.USER32.DLL_EnableWindow]
mov ecx, dword [0x4a8978]
mov eax, dword [ecx + 0x58]
cmp eax, 0xffffffff
jle 0x450ea5
push 1
push eax
call fcn.004013c0
add esp, 8
mov edx, dword [0x4acad0]
push 1
push 0
push 0xffffffffffffffff
push 0x49a8c8
push edx
call fcn.00476c10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 0x18
push 0
jmp 0x450e85
push 4
push edi
call dword [sym.imp.USER32.DLL_ShowWindow]
jmp case.default.0x450d71
push 0
push edi
call dword [sym.imp.USER32.DLL_ShowWindow]
jmp case.default.0x450d71
cmp byte [ebx], 0
jne 0x450ef4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 0x18
xor eax, eax
cmp ebp, 7
sete al
lea eax, [eax*4 - 0x14]
push eax
push edi
mov dword [esp + 0x5c], eax
call dword [sym.imp.USER32.DLL_GetWindowLongA]
mov ebp, eax
movsx eax, byte [ebx]
push eax
push 0x49fc0c
call fcn.00487e91
add esp, 8
test eax, eax
jne 0x450f31
mov esi, ebx
call fcn.004142e0
mov esi, eax
jmp 0x450f63
lea esi, [ebx + 1]
call fcn.004142e0
movsx ecx, byte [ebx]
sub ecx, 0x2b
je 0x450f59
sub ecx, 2
je 0x450f51
sub ecx, 0x31
jne 0x450f5f
xor eax, ebp
mov esi, eax
jmp 0x450f63
not eax
and eax, ebp
mov esi, eax
jmp 0x450f63
or eax, ebp
mov esi, eax
jmp 0x450f63
mov esi, dword [esp + 0x54]
cmp esi, ebp
je 0x450ea5
push 0
call dword [sym.imp.KERNEL32.DLL_SetLastError]
mov eax, dword [esp + 0x54]
push esi
push eax
push edi
call dword [sym.imp.USER32.DLL_SetWindowLongA]
test eax, eax
jne 0x450f92
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
jne 0x451412
mov ecx, dword [esp + 0x54]
push ecx
push edi
call dword [sym.imp.USER32.DLL_GetWindowLongA]
cmp eax, ebp
je 0x451412
push 1
push 0
push edi
call dword [sym.imp.USER32.DLL_InvalidateRect]
jmp 0x450ea5
xor ecx, ecx
lea eax, [esp + 0x14]
push eax
push 0x7d0
cmp ebp, 9
sete cl
push 2
push 0
push ecx
push 0x14f
push edi
call dword [sym.imp.USER32.DLL_SendMessageTimeoutA]
test eax, eax
je 0x451412
jmp case.default.0x450d71
cmp byte [ebx], 0
je 0x450ffa
mov esi, ebx
call fcn.0040e430
mov esi, eax
mov dword [esp + 0x5c], eax
jmp 0x451003
mov esi, 1
mov dword [esp + 0x5c], esi
cmp ebp, 0xb
setne al
xor bl, bl
lea eax, [eax + eax + 0x25]
mov byte [esp + 0x54], al
mov edx, dword [esp + 0x54]
push edx
call fcn.00413840
movzx eax, ax
add esp, 4
shl eax, 0x10
test esi, esi
jle case.default.0x450d71
movzx esi, byte [esp + 0x54]
mov ebx, dword [sym.imp.USER32.DLL_PostMessageA]
mov ebp, eax
or ebp, 1
or eax, 0xc0000001
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x54], eax
nop
push ebp
push esi
push 0x100
push edi
call ebx
push 1
push 0
mov dword [0x4a88ec], 0
call fcn.004013c0
mov ecx, dword [esp + 0x6c]
add esp, 8
push ecx
push esi
push 0x101
push edi
mov dword [0x4a88ec], 1
call ebx
dec dword [esp + 0x54]
jne 0x451050
jmp case.default.0x450d71
cmp byte [esi], 0
jne 0x4510aa
push 0x20
lea edx, [esp + 0x2c]
push edx
push edi
call dword [sym.imp.USER32.DLL_GetClassNameA]
lea esi, [esp + 0x28]
push 0x4a06f0
mov eax, esi
call fcn.004740a0
add esp, 4
test eax, eax
je 0x4510c4
mov eax, 0x143
jmp 0x4510e0
push 0x49f80c
mov eax, esi
call fcn.004740a0
add esp, 4
test eax, eax
je 0x451412
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_SendMessageTimeoutA]
test eax, eax
je 0x451412
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x451412
cmp eax, 0xfffffffe
jmp 0x45140c
cmp byte [ebx], 0
je 0x451412
mov esi, ebx
call fcn.0040e430
mov esi, eax
dec esi
js 0x451412
mov ebx, dword [esp + 0x54]
cmp byte [ebx], 0
jne 0x451148
push 0x20
lea edx, [esp + 0x2c]
push edx
push edi
call dword [sym.imp.USER32.DLL_GetClassNameA]
lea ebx, [esp + 0x28]
push 0x4a06f0
mov eax, ebx
call fcn.004740a0
add esp, 4
test eax, eax
je 0x451162
mov eax, 0x144
jmp 0x45117e
push 0x49f80c
mov eax, ebx
call fcn.004740a0
add esp, 4
test eax, eax
je 0x451412
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_SendMessageTimeoutA]
test eax, eax
je 0x451412
cmp dword [esp + 0x14], 0xffffffff
je 0x451412
jmp case.default.0x450d71
cmp byte [ebx], 0
je 0x451412
mov esi, ebx
call fcn.0040e430
mov esi, eax
dec esi
js 0x451412
mov ebx, dword [esp + 0x54]
cmp byte [ebx], 0
jne 0x4511e1
push 0x20
lea edx, [esp + 0x2c]
push edx
push edi
call dword [sym.imp.USER32.DLL_GetClassNameA]
lea ebx, [esp + 0x28]
push 0x4a06f0
mov eax, ebx
call fcn.004740a0
add esp, 4
test eax, eax
je 0x451215
mov eax, 0x14e
mov dword [esp + 0x54], 9
lea ecx, [esp + 0x14]
push ecx
push 0x7d0
push 2
push 0
push esi
jmp 0x4512b2
push 0x49f80c
mov eax, ebx
call fcn.004740a0
add esp, 4
test eax, eax
je 0x451412
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.DLL_GetWindowLongA]
and eax, 0x808
neg eax
sbb eax, eax
add eax, 0x186
mov dword [esp + 0x54], 2
cmp eax, 0x185
jne 0x451201
lea eax, [esp + 0x14]
push eax
push 0x7d0
push 2
push esi
push 1
push 0x185
jmp 0x4512b3
cmp byte [esi], 0
jne 0x45127f
push 0x20
lea edx, [esp + 0x2c]
push edx
push edi
call dword [sym.imp.USER32.DLL_GetClassNameA]
lea esi, [esp + 0x28]
push 0x4a06f0
mov eax, esi
call fcn.004740a0
add esp, 4
test eax, eax
je 0x451359
mov eax, 0x14d
mov dword [esp + 0x54], 9
lea edx, [esp + 0x14]
push edx
push 0x7d0
push 2
push ebx
push 0xffffffffffffffff
push eax
mov esi, dword [sym.imp.USER32.DLL_SendMessageTimeoutA]
push edi
call esi
test eax, eax
je 0x451412
cmp dword [esp + 0x14], 0xffffffff
je 0x451412
push edi
call dword [sym.imp.USER32.DLL_GetParent]
mov ebp, eax
test ebp, ebp
je 0x451412
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 0x451303
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
jne 0x451412
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 0x451412
movzx eax, word [esp + 0x54]
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 0x451412
jmp case.default.0x450d71
push 0x49f80c
mov eax, esi
call fcn.004740a0
add esp, 4
test eax, eax
je 0x451412
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.DLL_GetWindowLongA]
and eax, 0x808
neg eax
sbb eax, eax
and eax, 3
add eax, 0x18c
mov dword [esp + 0x54], 2
cmp eax, 0x18f
jne 0x4512a3
mov esi, dword [sym.imp.USER32.DLL_SendMessageTimeoutA]
lea eax, [esp + 0x5c]
push eax
push 0x7d0
push 2
push ebx
push 0xffffffffffffffff
push 0x18f
push edi
call esi
test eax, eax
je 0x451412
mov eax, dword [esp + 0x5c]
cmp eax, 0xffffffff
je 0x451412
lea ecx, [esp + 0x14]
push ecx
push 0x7d0
push 2
push eax
push 1
push 0x185
push edi
call esi
test eax, eax
je 0x451412
cmp dword [esp + 0x14], 0xffffffff
jne 0x4512cf
jmp 0x451412
lea ecx, [esp + 0x14]
push ecx
push 0x7d0
push 2
push ebx
push 1
push 0xc2
push edi
call dword [sym.imp.USER32.DLL_SendMessageTimeoutA]
test eax, eax
jne case.default.0x450d71
mov edx, dword [0x4a8978]
test byte [edx + 0xe0], 1
jne 0x451441
mov eax, dword [0x4acad0]
push 1
push 0
push 0xffffffffffffffff
push 0x49bec0
push eax
call fcn.00476c10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 0x18
mov ecx, dword [esp + 0x50]
push 0x49a8ad
push 0
push 0x49bec0
call fcn.0042ed70
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 0x18