Function at 0x45655f
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
mov ebx, ecx
push esi
push edi
lea ecx, [ebx + 0xf04]
call fcn.00402457
mov al, byte [ebx + 0xfc0]
xor ecx, ecx
test al, al
sete cl
dec ecx
and ecx, 6
add ecx, 0x20
mov dword [ebp - 8], ecx
test al, al
je 0x4565ae
mov ecx, dword [ebx + 0x2d8]
mov eax, dword [ecx + 0xae0]
mov dword [ebx + 0xfe4], eax
mov eax, dword [ecx + 0xadc]
mov dword [ebx + 0xfe8], eax
cmp dword [ebx + 0x2b8], 0
je 0x4565d4
mov eax, dword [ebx]
lea ecx, [ebp - 0x10]
push ecx
mov ecx, ebx
call dword [eax + 8]
fld dword [ebp + 0xc]
fadd dword [ebp - 0x10]
fstp dword [ebp + 0xc]
fld dword [ebp + 0x10]
fadd dword [ebp - 0xc]
fstp dword [ebp + 0x10]
mov ecx, dword [ebx + 0x260]
push dword [ebp + 0x10]
mov eax, dword [ebx + 0x238]
add ecx, ecx
push dword [ebp + 0xc]
imul esi, dword [ebp - 8], 0x48
mov edx, dword [ebx + 0x2d8]
mov edi, dword [eax + ecx*8]
lea eax, [ebx + 0x2a8]
push eax
push dword [ebx + 0xb74]
mov ecx, ebx
push dword [edx + esi + 0x10]
call fcn.004b65d5
push eax
push dword [edx + esi + 0x28]
lea eax, [ebp - 0x20]
push dword [edx + esi]
lea ecx, [ebx + 0xf6c]
push dword [ebp + 8]
push dword [ebx + 0xb78]
push edi
push eax
call fcn.00403937
mov eax, dword [ebx]
lea ecx, [ebp - 0x30]
push ecx
mov ecx, ebx
call dword [eax + 0x1c]
fld dword [ebp - 0x14]
fld st(0)
fld dword [ebp - 0x1c]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [ebp + 8]
fld dword [ebp + 8]
fld st(0)
call fcn.004b7d00
add eax, dword [ebx + 0xb78]
fld dword [ebp - 0x24]
fcom st(3)
mov dword [ebp - 8], eax
fnstsw ax
test ah, 5
jp 0x4566b9
fld st(0)
fld dword [ebp - 0x2c]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [ebp + 8]
fld dword [ebp + 8]
fcomp st(3)
fnstsw ax
fstp st(2)
test ah, 0x41
jne 0x4566c0
fstp st(1)
fstp st(1)
fstp st(0)
fstp st(0)
fild dword [ebp - 8]
fstp dword [ebp + 8]
fld dword [ebp + 8]
fstp dword [ebp + 8]
fld dword [ebp - 0x1c]
fld dword [ebp + 8]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [ebp - 0x1c]
fsubr dword [ebp - 0x14]
fstp dword [ebp - 0x14]
fld dword [ebp - 0x14]
fld dword [ebp - 0x1c]
fld dword [ebp - 0x24]
jmp 0x4566bb
fstp st(1)
fld dword [ebp - 0x2c]
fxch st(1)
fxch st(2)
fcom st(1)
fnstsw ax
test ah, 5
jp 0x456709
fsubp st(3)
fxch st(2)
fstp dword [ebp + 8]
fld dword [ebp + 8]
fxch st(1)
fsubrp st(2)
fxch st(1)
fstp dword [ebp + 8]
fld dword [ebp + 8]
fcompp
fnstsw ax
test ah, 0x41
jne 0x456711
fild dword [ebp - 8]
fstp dword [ebp + 8]
fld dword [ebp + 8]
fstp dword [ebp + 8]
fld dword [ebp + 8]
fld st(0)
fadd dword [ebp - 0x1c]
fstp dword [ebp - 0x1c]
fadd dword [ebp - 0x14]
fstp dword [ebp - 0x14]
jmp 0x456711
fstp st(1)
fstp st(0)
fstp st(0)
fstp st(0)
mov eax, dword [ebx]
lea esi, [ebp - 0x20]
sub esp, 0x10
mov ecx, ebx
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0xf0]
sub esp, 0x10
lea esi, [ebp - 0x20]
mov edi, esp
sub esp, 0xc
mov ecx, esp
movsd dword es:[edi], dword [esi]
mov dword [ecx], vtable.Window.0
mov eax, dword [ebx + 0x2ac]
and dword [ecx + 8], 0
movsd dword es:[edi], dword [esi]
mov dword [ecx + 4], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebx + 0xfc4]
mov ecx, esi
call fcn.0044defe
push 4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc