Function at 0x4c8c90
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
mov ebx, ecx
push esi
mov ecx, dword [ebx + 0xe58]
push edi
cmp dword [ecx + 4], 0
mov dword [ebp - 0xc], ebx
je 0x4c8cd1
mov eax, dword [ecx]
call dword [eax + 0x20]
mov esi, dword [ebx + 0xe58]
mov eax, dword [esi + 4]
test eax, eax
je 0x4c8cc3
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi + 4], 0
mov byte [ebx + 0xc44], 0
mov al, byte [ebx + 0xecc]
movzx esi, al
neg esi
sbb esi, esi
and esi, 6
add esi, 0x20
test al, al
je 0x4c8d03
mov ecx, dword [ebx + 0x34]
mov eax, dword [ecx + 0xae0]
mov dword [ebx + 0xef0], eax
mov eax, dword [ecx + 0xadc]
mov dword [ebx + 0xef4], eax
cmp dword [ebx + 0x14], 0
je 0x4c8d26
mov eax, dword [ebx]
lea ecx, [ebp - 0x14]
push ecx
mov ecx, ebx
call dword [eax + 0x28]
fld dword [ebp + 0xc]
fadd dword [ebp - 0x14]
fstp dword [ebp + 0xc]
fld dword [ebp + 0x10]
fadd dword [ebp - 0x10]
fstp dword [ebp + 0x10]
mov eax, dword [ebx + 0xc30]
test eax, eax
je 0x4c8d3b
mov eax, dword [eax + 0x1c8]
mov dword [ebp - 8], eax
jmp 0x4c8d42
mov dword [ebp - 8], 0
push dword [ebp + 0x10]
mov ecx, dword [ebx + 0xbc8]
push dword [ebp + 0xc]
mov eax, dword [ebx + 0xba0]
mov edx, dword [ebx + 0x34]
add ecx, ecx
lea esi, [esi + esi*8]
mov edi, dword [eax + ecx*8]
lea eax, [ebx + 4]
push eax
push dword [ebx + 0x648]
lea eax, [ebp - 0x24]
push dword [edx + esi*8 + 0x10]
lea ecx, [ebx + 0xe78]
push dword [ebp - 8]
push dword [edx + esi*8 + 0x28]
push dword [edx + esi*8]
push dword [ebp + 8]
push dword [ebx + 0x64c]
push edi
push eax
call fcn.00495630
mov eax, dword [ebx]
lea ecx, [ebp - 0x34]
push ecx
mov ecx, ebx
call dword [eax + 0x2c]
fld dword [ebp - 0x18]
fsub dword [ebp - 0x20]
fstp dword [ebp + 8]
fld dword [ebp + 8]
fild dword [ebx + 0x64c]
fstp dword [ebp + 8]
fadd dword [ebp + 8]
call fcn.0052af70
fld dword [ebp - 0x20]
fld dword [ebp - 0x30]
mov dword [ebp - 8], eax
fcompp
fnstsw ax
test ah, 0x41
jne 0x4c8de7
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 - 0x20]
fstp dword [ebp - 0x20]
fadd dword [ebp - 0x18]
fstp dword [ebp - 0x18]
fld dword [ebp - 0x18]
fld dword [ebp - 0x28]
fcompp
fnstsw ax
test ah, 5
jp 0x4c8e17
fild dword [ebp - 8]
fstp dword [ebp + 8]
fld dword [ebp + 8]
fstp dword [ebp + 8]
fld dword [ebp - 0x20]
fld dword [ebp + 8]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [ebp - 0x20]
fsubr dword [ebp - 0x18]
fstp dword [ebp - 0x18]
mov edx, dword [ebx]
mov ecx, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword [eax + 4], ebx
mov dword [eax + 8], edi
mov dword [eax + 0xc], esi
call dword [edx + 0xd0]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0xc]
sub esp, 0x10
mov eax, esp
sub esp, 0xc
mov dword [eax], ecx
mov ecx, esp
mov dword [eax + 4], ebx
mov dword [eax + 8], edi
mov dword [eax + 0xc], esi
mov dword [ecx], 0x43cd24
mov eax, dword [edx + 8]
lea esi, [edx + 0xed0]
mov dword [ecx + 4], eax
mov dword [ecx + 8], 0
mov ecx, esi
call fcn.0049a380
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