Function at 0x40aef0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ec0d3
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x53e01c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebp + 0x1c], 0
jne 0x40af90
push ecx
mov ecx, dword [ebp + 0x18]
push ecx
push dword [ebp + 0x14]
lea ecx, [ebx + 0x90]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040a430
test eax, eax
jne 0x40b183
mov esi, dword [ebx + 0x84]
push ecx
push dword [ebp + 0x18]
lea ecx, [ebx + 0x20]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00409960
mov dword [ebx + 0x84], esi
test eax, eax
jne 0x40b183
mov eax, dword [ebp + 0xc]
cmp eax, 0x112
jne 0x40afa6
cmp dword [ebp + 0x10], 0xf060
jne 0x40af87
mov ecx, ebx
call fcn.00414890
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x111
jne 0x40b127
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov edi, eax
shr edi, 0x10
cmp cx, di
jne 0x40b0e2
movzx ecx, ax
cmp ecx, 2
jne 0x40afde
cmp dword [ebx + 0x7e4], 0
je 0x40b0cd
jmp 0x40b0c3
mov edx, 0xce
cmp cx, dx
jne 0x40aff4
mov ecx, ebx
call fcn.004110e0
jmp 0x40b0ca
mov edx, 0xd1
cmp cx, dx
jne 0x40b0b9
cmp byte [ebx + 0x7e0], 0
jne 0x40b0cd
cmp byte [ebx + 0x7fa], 0
mov byte [ebx + 0x7e0], 1
je 0x40b06a
mov esi, dword [ebx + 0x698]
test esi, esi
je 0x40b05a
mov al, byte [esi + 0x2c]
mov byte [ebp + 0x17], al
mov eax, dword [esi + 0x50]
mov byte [esi + 0x2c], 0
test eax, eax
je 0x40b04b
push 0
push 0
push 0x401
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp byte [ebp + 0x17], 0
je 0x40b05a
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x24]
push 0
push dword [ebx + 0x674]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x40b0a2
mov eax, dword [ebx + 0x69c]
cmp eax, 3
jne 0x40b08e
cmp dword [ebx + 0x6a0], 1
jne 0x40b0a2
mov ecx, ebx
call fcn.004143c0
mov byte [ebx + 0x7e0], 0
jmp 0x40b0ca
cmp eax, 5
je 0x40b09d
cmp eax, 7
je 0x40b09d
cmp eax, 8
jne 0x40b0a2
call fcn.00416430
mov ecx, ebx
call fcn.00414890
mov byte [ebx + 0x7e1], 1
mov byte [ebx + 0x7e0], 0
jmp 0x40b0ca
mov edx, 0xe3
cmp cx, dx
jne 0x40b0cd
mov ecx, ebx
call fcn.00414890
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0x18]
mov dword [ebx + 0x7ec], 0
mov dword [esi], 0
jmp 0x40b0e5
mov esi, dword [ebp + 0x18]
mov ecx, 0xe0
cmp cx, ax
jne 0x40af90
mov eax, 0x602
cmp ax, di
jne 0x40af90
mov ecx, ebx
call fcn.004152b0
mov dword [esi], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x138
jne 0x40b19c
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0xd7
push dword [ebx + 4]
call edi
mov esi, dword [ebp + 0x14]
cmp eax, esi
je 0x40b168
push 0xde
push dword [ebx + 4]
call edi
cmp eax, esi
je 0x40b168
push 0xdc
push dword [ebx + 4]
call edi
cmp eax, esi
jne 0x40b176
push 0x999999
jmp 0x40b16d
push 0x787878
push dword [ebp + 0x10]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x113
jne 0x40b26d
mov eax, dword [ebp + 0x10]
cmp eax, 0x65
jne 0x40b249
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [ebx + 0x6a0]
cmp eax, 4
je 0x40b1e4
cmp eax, 5
je 0x40b1e4
push 3
mov ecx, ebx
call fcn.00412160
mov eax, dword [ebp + 0x18]
mov dword [eax], 1
jmp 0x40af90
push 0
call fcn.00414690
mov eax, dword [0x5552f8]
test al, 1
jne 0x40b21c
or eax, 1
mov dword [0x5552f8], eax
mov dword [ebp - 4], 0
call fcn.00442480
push 0x4f1ff0
call fcn.0045b82b
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 1
mov ecx, 0x555300
call fcn.00446510
push 4
mov ecx, ebx
call fcn.00412160
mov eax, dword [ebp + 0x18]
mov dword [ebx + 0x7ec], 0
mov dword [eax], 1
jmp 0x40af90
cmp eax, 0x66
jne 0x40b25f
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, ebx
call fcn.00414890
mov eax, dword [ebp + 0x18]
mov dword [eax], 1
jmp 0x40af90
cmp eax, 0x4a
jne 0x40b29e
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push eax
push dword [ebp + 0x14]
mov ecx, ebx
sub esp, 8
call fcn.00415140
cmp dword [ebp + 0x10], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
je 0x40af90
jmp 0x40b183
cmp eax, 0x7e8
jne 0x40b2d2
push ecx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ecx
mov ecx, ebx
call fcn.00414950
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x7e9
jne 0x40af90
push dword [ebp + 0x10]
mov ecx, ebx
call fcn.00412160
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18