Function at 0x4501d0
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.0044f420
mov ebp, eax
test ebp, ebp
je 0x4508d0
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x64]
call fcn.004428c0
mov dword [esp + 0x5c], eax
test eax, eax
je 0x4508d0
mov esi, dword [esp + 0x54]
mov ecx, eax
push ecx
call fcn.004766f0
mov edi, eax
add esp, 4
test edi, edi
je 0x4508d0
lea eax, [ebp - 1]
cmp eax, 0x10
ja case.default.0x450231
jmp dword [eax*4 + 0x450920]
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 0x4508d0
xor eax, eax
cmp ebp, 1
sete al
cmp dword [esp + 0x14], eax
je case.default.0x450231
mov ecx, dword [esp + 0x5c]
push 0
push ecx
xor bl, bl
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebp, eax
mov dword [esp + 0x54], ebp
test ebp, ebp
je 0x4502b1
cmp ebp, dword [0x4abd28]
je 0x4502b1
mov esi, dword [esp + 0x5c]
call fcn.00476bb0
test al, al
jne 0x4502b1
mov edx, dword [0x4abd28]
push 1
push ebp
push edx
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne bl
mov eax, dword [esp + 0x5c]
cmp eax, edi
jne 0x4502c0
mov eax, edi
call fcn.00476b40
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 0x4502e7
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 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.0x450231
mov edx, dword [esp + 0x54]
mov eax, dword [0x4abd28]
push 0
push edx
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
jmp case.default.0x450231
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [0x4a6440]
mov eax, dword [eax + 0x58]
cmp eax, 0xffffffff
jle 0x450362
push 1
push eax
call fcn.00401330
add esp, 8
mov ecx, dword [0x4aa51c]
push 1
push 0
push 0xffffffffffffffff
push 0x498884
push ecx
call fcn.00474ce0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 0x18
push 0
jmp 0x450343
push 4
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.default.0x450231
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.default.0x450231
cmp byte [ebx], 0
jne 0x4503b1
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 0x49d758
call fcn.00485df1
add esp, 8
test eax, eax
jne 0x4503ee
mov esi, ebx
call fcn.00412ac0
mov esi, eax
jmp 0x450420
lea esi, [ebx + 1]
call fcn.00412ac0
movsx ecx, byte [ebx]
sub ecx, 0x2b
je 0x450416
sub ecx, 2
je 0x45040e
sub ecx, 0x31
jne 0x45041c
xor eax, ebp
mov esi, eax
jmp 0x450420
not eax
and eax, ebp
mov esi, eax
jmp 0x450420
or eax, ebp
mov esi, eax
jmp 0x450420
mov esi, dword [esp + 0x54]
cmp esi, ebp
je 0x450362
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
mov esi, dword [esp + 0x58]
push esi
push edi
call dword [sym.imp.USER32.dll_SetWindowLongA]
test eax, eax
jne 0x45044f
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4508d0
push esi
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
cmp eax, ebp
je 0x4508d0
push 1
push 0
push edi
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [0x4aa51c]
push 1
push 0
push 0xffffffffffffffff
push 0x498884
push edx
call fcn.00474ce0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 0x18
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 0x4508d0
jmp case.default.0x450231
cmp byte [ebx], 0
je 0x4504cf
mov esi, ebx
call fcn.0040ce00
mov esi, eax
mov dword [esp + 0x5c], eax
jmp 0x4504d8
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.004120f0
movzx eax, ax
add esp, 4
shl eax, 0x10
test esi, esi
jle case.default.0x450231
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
push ebp
push esi
push 0x100
push edi
call ebx
push 1
push 0
mov dword [0x4a63a4], 0
call fcn.00401330
mov ecx, dword [esp + 0x6c]
add esp, 8
push ecx
push esi
push 0x101
push edi
mov dword [0x4a63a4], 1
call ebx
dec dword [esp + 0x54]
jne 0x450524
jmp case.default.0x450231
cmp byte [esi], 0
jne 0x45057e
push 0x20
lea edx, [esp + 0x2c]
push edx
push edi
call dword [sym.imp.USER32.dll_GetClassNameA]
lea esi, [esp + 0x28]
push str.Combo
mov eax, esi
call fcn.00472460
add esp, 4
test eax, eax
je 0x450598
mov eax, 0x143
jmp 0x4505b4
push str.List
mov eax, esi
call fcn.00472460
add esp, 4
test eax, eax
je 0x4508d0
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 0x4508d0
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x4508d0
cmp eax, 0xfffffffe
jmp 0x4508ca
cmp byte [ebx], 0
je 0x4508d0
mov esi, ebx
call fcn.0040ce00
mov esi, eax
dec esi
js 0x4508d0
mov ebx, dword [esp + 0x54]
cmp byte [ebx], 0
jne 0x45061c
push 0x20
lea edx, [esp + 0x2c]
push edx
push edi
call dword [sym.imp.USER32.dll_GetClassNameA]
lea ebx, [esp + 0x28]
push str.Combo
mov eax, ebx
call fcn.00472460
add esp, 4
test eax, eax
je 0x450636
mov eax, 0x144
jmp 0x450652
push str.List
mov eax, ebx
call fcn.00472460
add esp, 4
test eax, eax
je 0x4508d0
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 0x4508d0
cmp dword [esp + 0x14], 0xffffffff
je 0x4508d0
jmp case.default.0x450231
cmp byte [ebx], 0
je 0x4508d0
mov esi, ebx
call fcn.0040ce00
mov esi, eax
dec esi
js 0x4508d0
mov ebx, dword [esp + 0x54]
cmp byte [ebx], 0
jne 0x4506b5
push 0x20
lea edx, [esp + 0x2c]
push edx
push edi
call dword [sym.imp.USER32.dll_GetClassNameA]
lea ebx, [esp + 0x28]
push str.Combo
mov eax, ebx
call fcn.00472460
add esp, 4
test eax, eax
je 0x45077a
mov eax, 0x14e
mov dword [esp + 0x54], 9
lea ecx, [esp + 0x14]
push ecx
push 0x7d0
push 2
push 0
push esi
push eax
mov esi, dword [sym.imp.USER32.dll_SendMessageTimeoutA]
push edi
call esi
test eax, eax
je 0x4508d0
cmp dword [esp + 0x14], 0xffffffff
je 0x4508d0
push edi
call dword [sym.imp.USER32.dll_GetParent]
mov ebp, eax
test ebp, ebp
je 0x4508d0
push edi
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
test eax, eax
je 0x4508d0
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 0x4508d0
movzx edx, word [esp + 0x54]
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 0x4508d0
jmp case.default.0x450231
push str.List
mov eax, ebx
call fcn.00472460
add esp, 4
test eax, eax
je 0x4508d0
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 0x4506d9
lea eax, [esp + 0x14]
push eax
push 0x7d0
push 2
push esi
push 1
push 0x185
jmp 0x4506e9
cmp byte [esi], 0
jne 0x4507eb
push 0x20
lea eax, [esp + 0x2c]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClassNameA]
lea esi, [esp + 0x28]
push str.Combo
mov eax, esi
call fcn.00472460
add esp, 4
test eax, eax
je 0x45081f
mov eax, 0x14d
mov dword [esp + 0x54], 9
lea ecx, [esp + 0x14]
push ecx
push 0x7d0
push 2
push ebx
push 1
jmp 0x4506e8
push str.List
mov eax, esi
call fcn.00472460
add esp, 4
test eax, eax
je 0x4508d0
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 0x45080b
mov esi, dword [sym.imp.USER32.dll_SendMessageTimeoutA]
lea ecx, [esp + 0x5c]
push ecx
push 0x7d0
push 2
push ebx
push 0xffffffffffffffff
push eax
push edi
call esi
test eax, eax
je 0x4508d0
mov eax, dword [esp + 0x5c]
cmp eax, 0xffffffff
je 0x4508d0
lea edx, [esp + 0x14]
push edx
push 0x7d0
push 2
push eax
push 1
push 0x185
push edi
call esi
test eax, eax
je 0x4508d0
cmp dword [esp + 0x14], 0xffffffff
jne 0x450705
jmp 0x4508d0
lea eax, [esp + 0x14]
push eax
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.0x450231
mov ecx, dword [0x4a6440]
cmp byte [ecx + 0xe4], 0
jne 0x450900
mov edx, dword [0x4aa51c]
push 1
push 0
push 0xffffffffffffffff
push 0x499ee8
push edx
call fcn.00474ce0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 0x18
mov ecx, dword [esp + 0x50]
push 0x4987f9
push 0
push 0x499ee8
call fcn.0042e170
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 0x18