Function at 0x4a7df0
Capabilities:
Hide graphical window

Disassembly:
mov ecx, dword [edi + 0xd48]
sub esp, 0x2c
push ebx
xor ebx, ebx
push ebp
push esi
cmp dword [ecx + 4], ebx
je 0x4a7e27
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
call edx
mov esi, dword [edi + 0xd48]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x4a7e1e
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi + 4], ebx
mov byte [edi + 0xcec], bl
mov al, byte [edi + 0xdc0]
movzx esi, al
neg esi
sbb esi, esi
and esi, 6
add esi, 0x20
test al, al
je 0x4a7eb4
mov ecx, dword [edi + 0x334]
sub ecx, dword [edi + 0x330]
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0x26
ja 0x4a7e65
call fcn.00501daa
mov ecx, dword [edi + 0x334]
sub ecx, dword [edi + 0x330]
mov ebp, dword [edi + 0x330]
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
add ebp, 0xab0
cmp ecx, 0x26
ja 0x4a7e98
call fcn.00501daa
mov eax, dword [edi + 0x330]
mov edx, dword [ebp + 0x30]
add eax, 0xadc
mov dword [edi + 0xde4], edx
mov eax, dword [eax]
mov dword [edi + 0xde8], eax
cmp dword [edi + 0x2e0], ebx
je 0x4a7ee2
mov edx, dword [edi]
mov edx, dword [edx + 8]
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call edx
fld dword [esp + 0x40]
fadd dword [esp + 0x18]
fstp dword [esp + 0x40]
fld dword [esp + 0x44]
fadd dword [esp + 0x1c]
fstp dword [esp + 0x44]
mov ecx, dword [edi + 0x334]
sub ecx, dword [edi + 0x330]
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x4a7f08
call fcn.00501daa
mov eax, dword [edi + 0x330]
lea ebp, [esi + esi*8]
add ebp, ebp
add ebp, ebp
add ebp, ebp
add eax, ebp
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x2c8]
cmp eax, ebx
je 0x4a7f33
mov ecx, dword [eax + 0x1ec]
mov dword [esp + 0x10], ecx
jmp 0x4a7f37
mov dword [esp + 0x10], ebx
mov ecx, dword [edi + 0x334]
sub ecx, dword [edi + 0x330]
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x4a7f5d
call fcn.00501daa
mov ecx, dword [edi + 0x334]
sub ecx, dword [edi + 0x330]
mov ebx, dword [edi + 0x330]
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
add ebx, ebp
cmp esi, ecx
jb 0x4a7f8b
call fcn.00501daa
mov edx, dword [edi + 0x260]
sub edx, dword [edi + 0x25c]
mov eax, dword [edi + 0x330]
mov esi, dword [edi + 0x290]
add eax, ebp
sar edx, 4
mov dword [esp + 0x14], eax
cmp esi, edx
jb 0x4a7fb9
call fcn.00501daa
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 0x25c]
mov edx, dword [esp + 0x44]
push edx
shl esi, 4
mov esi, dword [esi + ecx]
mov ecx, dword [esp + 0x44]
push ecx
mov ecx, dword [edi + 0x944]
lea edx, [edi + 0x2d0]
push edx
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [edx + 0x10]
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [ebx + 0x28]
push edx
mov edx, dword [eax]
mov eax, dword [edi + 0x948]
push ecx
push edx
push eax
push esi
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x68]
lea esi, [edi + 0xd68]
call fcn.0047c2b0
mov edx, dword [edi]
mov edx, dword [edx + 0x1c]
lea eax, [esp + 0x28]
push eax
mov ecx, edi
call edx
fld dword [esp + 0x24]
fld st(0)
fld dword [esp + 0x1c]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
call fcn.00505040
fld dword [esp + 0x34]
add eax, dword [edi + 0x948]
fcomp st(2)
mov dword [esp + 0x10], eax
fnstsw ax
test ah, 5
jp 0x4a8073
fild dword [esp + 0x10]
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x1c]
fsubp st(1)
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fld dword [esp + 0x1c]
fld dword [esp + 0x2c]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x4a809e
fild dword [esp + 0x10]
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x1c]
faddp st(1)
fstp dword [esp + 0x24]
jmp 0x4a80a2
fstp st(1)
fstp st(0)
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [edi]
mov edx, dword [edx + 0xf0]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], ebx
mov dword [eax + 8], ebp
mov dword [eax + 0xc], ecx
mov ecx, edi
call edx
mov ecx, dword [esp + 0x24]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], ebx
mov dword [eax + 8], ebp
sub esp, 0xc
mov dword [eax + 0xc], ecx
mov eax, esp
mov dword [eax], vtable.Window.0
mov edx, dword [edi + 0x2d4]
mov dword [eax + 4], edx
mov dword [eax + 8], 0
lea eax, [edi + 0xdc4]
mov dword [esp + 0x58], esp
push eax
call fcn.00480cf0
mov ecx, dword [edi + 0xdc8]
push 4
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0xc