Function at 0x4090f7
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov ax, word [0x4618be]
add ax, 1
mov word [0x4618be], ax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004045e0
add esp, 4
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 4]
mov cx, word [eax + 0xbc]
shr cx, 4
and cx, 1
and ecx, 0xffff
test ecx, ecx
je 0x40916a
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0xf2]
mov dword [ecx + 0x84], 1
mov dx, word [0x4618be]
sub dx, 1
mov word [0x4618be], dx
xor eax, eax
jmp 0x40948f
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0xf2]
cmp dword [edx + 0x28], 0
jne 0x4091e6
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0xf2]
add edx, 0x2c
push edx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0xf2]
add ecx, 0x24
push ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0xf2]
add ecx, 0x28
push ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0xf2]
mov edx, dword [ecx + 0x20]
push edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0xf2]
mov eax, dword [edx + 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x4091e6
jmp 0x409478
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0xf2]
add ecx, 0x5c
push ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0xf2]
mov edx, dword [ecx + 0x28]
push edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0xf2]
mov eax, dword [edx + 0x28]
mov ecx, dword [eax]
call dword [ecx + 0xc]
test eax, eax
je 0x409231
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0xf2]
mov dword [ecx + 0x5c], 0
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 4]
push eax
call fcn.00407fa3
mov ecx, dword [ebp - 0x28]
mov dword [0x461c18], ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0xf2]
mov edx, dword [ecx + 0x20]
push edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0xf2]
mov eax, dword [edx + 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
push 5
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0xea]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x4503a8
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 4]
add eax, 0x68
push eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0xf2]
mov ecx, dword [eax + 0x28]
push ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0xf2]
mov edx, dword [ecx + 0x28]
mov eax, dword [edx]
call dword [eax + 0x20]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0xf2]
cmp dword [eax + 0x24], 0
je 0x40932d
push str.Equation
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 4]
add edx, 0x68
push edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0xf2]
mov eax, dword [edx + 0x24]
push eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0xf2]
mov ecx, dword [eax + 0x24]
mov edx, dword [ecx]
call dword [edx + 0x20]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0xf2]
add edx, 0x60
push edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0xf2]
mov eax, dword [edx + 0x24]
push eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0xf2]
mov ecx, dword [eax + 0x24]
mov edx, dword [ecx]
call dword [edx + 0xc]
jmp 0x409348
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 4]
mov edx, dword [eax + 0xf2]
mov eax, dword [ecx + 0xe2]
mov dword [edx + 0x60], eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0xea]
push eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0xf2]
mov ecx, dword [eax + 0x18]
push ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0xf2]
mov edx, dword [ecx + 0x1c]
push edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0xf2]
mov eax, dword [edx + 0x28]
push eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0xf2]
mov ecx, dword [eax + 0x28]
mov edx, dword [ecx]
call dword [edx + 0x28]
test eax, eax
jne 0x4093f1
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0xf2]
mov dword [edx + 0x44], 0
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 4]
mov edx, dword [eax + 0xf2]
mov eax, dword [ecx + 0xea]
mov dword [edx + 0x48], eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0xf2]
mov dword [eax + 0x58], 0
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0xf2]
mov dword [eax + 0x54], 0
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 4]
push edx
call fcn.00408468
add esp, 4
test eax, eax
jne 0x409406
jmp 0x409478
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 4]
push ecx
call fcn.004084a8
add esp, 4
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0xf2]
mov dword [ecx + 0x84], 1
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 4]
mov cx, word [eax + 0xbc]
or cl, 0x10
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 4]
mov word [eax + 0xbc], cx
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 4]
mov ax, word [edx + 0xbc]
or al, 0x40
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 4]
mov word [edx + 0xbc], ax
mov ax, word [0x4618be]
sub ax, 1
mov word [0x4618be], ax
xor eax, eax
jmp 0x40948f
mov cx, word [0x4618be]
sub cx, 1
mov word [0x4618be], cx
mov eax, 0x80004005
mov esp, ebp
pop ebp
ret 4