Function at 0x4081ac
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
inc word [0x46423e]
mov eax, dword [ebp + 8]
push eax
call fcn.00403e55
add esp, 4
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov ax, word [eax + 0xbc]
shr ax, 4
and ax, 1
movzx eax, ax
test eax, eax
je 0x40820f
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xf2]
mov dword [eax + 0x84], 1
dec word [0x46423e]
xor eax, eax
jmp 0x408544
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xf2]
cmp dword [eax + 0x28], 0
jne 0x408293
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xf2]
add eax, 0x2c
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xf2]
add eax, 0x24
push eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xf2]
add eax, 0x28
push eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xf2]
mov eax, dword [eax + 0x20]
push eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xf2]
mov eax, dword [eax + 0x20]
mov eax, dword [eax]
call dword [eax + 0x20]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x408293
jmp 0x408533
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xf2]
add eax, 0x5c
push eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xf2]
mov eax, dword [eax + 0x28]
push eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xf2]
mov eax, dword [eax + 0x28]
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
je 0x4082e2
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xf2]
mov dword [eax + 0x5c], 0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
push eax
call fcn.00407068
mov eax, dword [ebp - 0x28]
mov dword [0x4644b4], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xf2]
mov eax, dword [eax + 0x20]
push eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xf2]
mov eax, dword [eax + 0x20]
mov eax, dword [eax]
call dword [eax + 0x1c]
push 5
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xea]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x454258
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
add eax, 0x68
push eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xf2]
mov eax, dword [eax + 0x28]
push eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xf2]
mov eax, dword [eax + 0x28]
mov eax, dword [eax]
call dword [eax + 0x20]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xf2]
cmp dword [eax + 0x24], 0
je 0x4083e4
push str.Equation
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
add eax, 0x68
push eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xf2]
mov eax, dword [eax + 0x24]
push eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xf2]
mov eax, dword [eax + 0x24]
mov eax, dword [eax]
call dword [eax + 0x20]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xf2]
add eax, 0x60
push eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xf2]
mov eax, dword [eax + 0x24]
push eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xf2]
mov eax, dword [eax + 0x24]
mov eax, dword [eax]
call dword [eax + 0xc]
jmp 0x4083ff
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xe2]
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + 0xf2]
mov dword [ecx + 0x60], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xea]
push eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xf2]
mov eax, dword [eax + 0x18]
push eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xf2]
mov eax, dword [eax + 0x1c]
push eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xf2]
mov eax, dword [eax + 0x28]
push eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xf2]
mov eax, dword [eax + 0x28]
mov eax, dword [eax]
call dword [eax + 0x28]
test eax, eax
jne 0x4084ac
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xf2]
mov dword [eax + 0x44], 0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xea]
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + 0xf2]
mov dword [ecx + 0x48], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xf2]
mov dword [eax + 0x58], 0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xf2]
mov dword [eax + 0x54], 0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
push eax
call fcn.00407548
add esp, 4
test eax, eax
jne 0x4084c8
jmp 0x408533
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
push eax
call fcn.00407597
add esp, 4
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xf2]
mov dword [eax + 0x84], 1
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov ax, word [eax + 0xbc]
or al, 0x10
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx + 4]
mov word [ecx + 0xbc], ax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov ax, word [eax + 0xbc]
or al, 0x40
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx + 4]
mov word [ecx + 0xbc], ax
dec word [0x46423e]
xor eax, eax
jmp 0x408544
dec word [0x46423e]
mov eax, 0x80004005
jmp 0x408544
pop edi
pop esi
pop ebx
leave
ret 4