Function at 0x40bc00
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
cmp dword [ebp + 0x1c], 0
push ebx
push esi
push edi
mov ebx, ecx
jne 0x40bc87
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.0040b110
test eax, eax
jne 0x40be66
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.0040a650
mov dword [ebx + 0x84], esi
test eax, eax
jne 0x40be66
mov eax, dword [ebp + 0xc]
cmp eax, 0x112
jne 0x40bc92
cmp dword [ebp + 0x10], 0xf060
jne 0x40bc7e
mov ecx, ebx
call fcn.00414530
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x111
jne 0x40be0a
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov edi, eax
shr edi, 0x10
cmp cx, di
jne 0x40bdd0
movzx ecx, ax
cmp ecx, 2
jne 0x40bcca
cmp dword [ebx + 0x7e8], 0
je 0x40bdbb
jmp 0x40bdb1
mov edx, 0xce
cmp cx, dx
jne 0x40bce0
mov ecx, ebx
call fcn.00411710
jmp 0x40bdb8
mov edx, 0xd1
cmp cx, dx
jne 0x40bda7
cmp byte [ebx + 0x7e4], 0
jne 0x40bdbb
cmp byte [ebx + 0x7fe], 0
mov byte [ebx + 0x7e4], 1
je 0x40bd58
mov esi, dword [ebx + 0x698]
test esi, esi
je 0x40bd48
mov al, byte [esi + 0x2c]
mov byte [esp + 0x13], al
mov eax, dword [esi + 0x50]
mov byte [esi + 0x2c], 0
test eax, eax
je 0x40bd38
push 0
push 0
push 0x401
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp byte [esp + 0x13], 0
je 0x40bd48
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 0x40bd90
mov eax, dword [ebx + 0x69c]
cmp eax, 3
jne 0x40bd7c
cmp dword [ebx + 0x6a0], 1
jne 0x40bd90
mov ecx, ebx
call fcn.00413f80
mov byte [ebx + 0x7e4], 0
jmp 0x40bdb8
cmp eax, 5
je 0x40bd8b
cmp eax, 7
je 0x40bd8b
cmp eax, 8
jne 0x40bd90
call fcn.00415ed0
mov ecx, ebx
call fcn.00414530
mov byte [ebx + 0x7e5], 1
mov byte [ebx + 0x7e4], 0
jmp 0x40bdb8
mov edx, 0xe3
cmp cx, dx
jne 0x40bdbb
mov ecx, ebx
call fcn.00414530
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0x18]
mov dword [ebx + 0x7f0], 0
mov dword [esi], 0
jmp 0x40bdd3
mov esi, dword [ebp + 0x18]
mov ecx, 0xe0
cmp cx, ax
jne 0x40bc87
mov eax, 0x602
cmp ax, di
jne 0x40bc87
mov ecx, ebx
call fcn.00414e40
mov dword [esi], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x138
jne 0x40be74
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 0x40be4b
push 0xde
push dword [ebx + 4]
call edi
cmp eax, esi
je 0x40be4b
push 0xdc
push dword [ebx + 4]
call edi
cmp eax, esi
jne 0x40be59
push 0x999999
jmp 0x40be50
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
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x113
jne 0x40bf0a
mov eax, dword [ebp + 0x10]
cmp eax, 0x65
jne 0x40bee0
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [ebx + 0x6a0]
cmp eax, 4
je 0x40bebe
cmp eax, 5
je 0x40bebe
push 3
mov ecx, ebx
call fcn.004126f0
mov eax, dword [ebp + 0x18]
mov dword [eax], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push 0
call fcn.00414330
mov ecx, ebx
call fcn.00414250
mov eax, dword [ebp + 0x18]
mov dword [eax], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x66
jne 0x40bef6
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, ebx
call fcn.00414530
mov eax, dword [ebp + 0x18]
mov dword [eax], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x4a
jne 0x40bf47
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 1
push eax
push dword [ebp + 0x14]
mov ecx, ebx
sub esp, 8
call fcn.00414cd0
cmp dword [esp + 0x14], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
je 0x40bc87
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x7e8
jne 0x40bf70
push ecx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ecx
mov ecx, ebx
call fcn.00414610
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x7e9
jne 0x40bc87
push dword [ebp + 0x10]
mov ecx, ebx
call fcn.004126f0
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebx
mov dword [eax], 0
mov eax, 1
mov esp, ebp
pop ebp
ret 0x18