Function at 0x455c26
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
push ebx
mov ebx, ecx
push esi
push edi
lea ecx, [ebx + 0xf6c]
call fcn.00403b9b
cmp byte [ebx + 0xf49], 0
je 0x455cf0
cmp dword [ebx + 0x1010], 0
jne 0x455cf0
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x455cf0
movsx eax, byte [ebx + 0xf38]
push eax
push esi
call fcn.004932a0
pop ecx
pop ecx
test eax, eax
jne 0x455cf0
movsx eax, byte [ebx + 0xf39]
push eax
push esi
call fcn.004932a0
pop ecx
pop ecx
mov ecx, eax
test ecx, ecx
je 0x455c8f
sub ecx, esi
jmp 0x455c98
push esi
call fcn.004914f0
pop ecx
mov ecx, eax
cmp byte [ebx + 0xf48], 0
je 0x455cbd
mov eax, dword [ebx + 0x238]
push ecx
mov ecx, dword [ebx + 0x260]
add ecx, ecx
push esi
push dword [ebp + 8]
mov eax, dword [eax + ecx*8]
sub eax, dword [ebp + 8]
push eax
jmp 0x455cd9
mov eax, dword [ebp + 8]
sub ecx, eax
push ecx
mov ecx, dword [ebx + 0x260]
add eax, esi
push eax
mov eax, dword [ebx + 0x238]
add ecx, ecx
push 0
push dword [eax + ecx*8]
mov ecx, ebx
call fcn.00455a77
lea ecx, [ebx + 0xf04]
call fcn.00402457
jmp 0x45614c
mov ecx, dword [ebx + 0x260]
mov eax, dword [ebx + 0x238]
add ecx, ecx
mov eax, dword [eax + ecx*8]
mov ecx, ebx
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x40]
push eax
call fcn.00418ca7
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0xd04]
mov dword [ebp - 0x18], ecx
mov ecx, ebx
mov dword [ebp - 8], eax
call fcn.00422dd7
lea edi, [ebx + 0xf04]
mov byte [ebp - 4], al
cmp byte [edi], 0
mov eax, dword [ebx + 0xb78]
mov dword [ebp - 0xc], eax
je 0x455d48
mov ecx, edi
call fcn.00402457
push dword [ebp - 8]
mov ecx, dword [edi + 0x48]
lea esi, [ebx + 0x2a8]
push dword [ebp - 4]
push dword [ebp - 0xc]
mov eax, dword [ecx]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push 2
push esi
call dword [eax + 8]
mov ecx, dword [edi + 0x48]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x78]
mov dword [edi + 0x50], eax
mov eax, dword [ebp - 0x1c]
mov byte [edi], 1
mov dword [edi + 0x4c], eax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x1c]
mov ecx, dword [ebx + 0x260]
mov eax, dword [ebx + 0x238]
add ecx, ecx
push 0
mov eax, dword [eax + ecx*8]
mov ecx, ebx
sub eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00417899
push dword [ebp - 0xc]
lea eax, [ebp - 0x68]
mov ecx, esi
push dword [ebp - 0x10]
push eax
call fcn.0044e326
fld dword [ebp - 0x5c]
fsub dword [ebp - 0x64]
fstp dword [ebp - 0x1c]
fld dword [ebp - 0x1c]
fldz
fucompp
fnstsw ax
test ah, 0x44
jp 0x455dde
lea esi, [ebp - 0x78]
lea edi, [ebp - 0x68]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0xf60]
mov esi, dword [ebx + 0xf64]
mov dword [ebp - 4], eax
fild dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esi
fstp dword [ebp - 0x1c]
fld dword [ebp - 0x1c]
fstp dword [ebp - 8]
fld dword [ebp - 0x10]
fld dword [ebp - 0x70]
fld dword [ebp - 8]
fld st(0)
fsubp st(2)
fxch st(1)
fcomp st(2)
fnstsw ax
test ah, 0x41
jp 0x455e59
fstp st(1)
fild dword [ebx + 8]
fstp dword [ebp - 0x1c]
fld dword [ebp - 0x1c]
fadd dword [ebp - 0x10]
fsub dword [ebp - 0x70]
faddp st(1)
call fcn.004b7d00
push eax
mov ecx, ebx
call fcn.00418db3
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x30]
lea eax, [ebp - 0x48]
mov ecx, ebx
push eax
call fcn.00418ca7
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], ecx
fld dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
jmp 0x455e5b
fstp st(0)
cmp dword [ebx + 0x2b8], 0
je 0x455e86
mov eax, dword [ebx]
lea ecx, [ebp - 0x24]
push ecx
mov ecx, ebx
fstp st(0)
call dword [eax + 8]
fld dword [ebp - 0x24]
fadd dword [ebp - 0x10]
fstp dword [ebp - 0x10]
fld dword [ebp - 0xc]
fadd dword [ebp - 0x20]
fstp dword [ebp - 0xc]
fld dword [ebp - 0x10]
mov ecx, dword [ebx + 0xf4c]
fstp qword [ebp - 0x30]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x1c]
fstp dword [ebp - 0x1c]
fld dword [ebp - 0x1c]
fsubr qword [ebp - 0x30]
fstp dword [ebp - 0x38]
fild dword [ebp - 0x18]
fstp dword [ebp - 0x1c]
fld dword [ebp - 0x1c]
fstp dword [ebp - 0x1c]
fld dword [ebp - 0xc]
fld dword [ebp - 0x5c]
fld st(0)
fld dword [ebp - 0x1c]
fld st(0)
fsubp st(2)
fxch st(1)
fcomp st(3)
fnstsw ax
fld qword [0x4ee170]
test ah, 0x41
jp 0x455f11
fld dword [ebp - 0x64]
fld st(0)
fld st(4)
faddp st(1)
fmulp st(2)
fxch st(1)
fcomp st(4)
fnstsw ax
test ah, 0x41
jp 0x455f17
fxch st(3)
fsubrp st(1)
fstp dword [ebp - 0x34]
fld dword [ebp - 0x34]
fcom st(2)
fnstsw ax
test ah, 5
jp 0x4560de
fld st(2)
fsubrp st(1)
call fcn.004b7d00
fxch st(1)
sub esi, eax
fstp dword [ebp - 0x34]
jmp 0x455f34
fstp st(3)
fstp st(1)
jmp 0x455f1b
fstp st(3)
fstp st(2)
fstp st(0)
fstp st(0)
fild dword [ebx + 0xb78]
fstp dword [ebp - 0x1c]
fld dword [ebp - 0x1c]
fadd dword [ebp - 0xc]
fstp dword [ebp - 0x34]
fld dword [ebp - 0x5c]
fld dword [ebp - 0x34]
fxch st(1)
fld dword [ebp - 8]
fadd dword [ebp - 0x38]
fstp dword [ebp - 0x30]
call fcn.004b7d00
mov edi, eax
call fcn.004b7d00
add eax, esi
mov dword [ebp - 8], eax
cmp eax, edi
jl 0x455f5a
mov dword [ebp - 8], edi
fild dword [ebp - 8]
sub esp, 0x10
lea esi, [ebp - 0x38]
mov edi, esp
sub esp, 0xc
mov ecx, esp
fstp dword [ebp - 0x2c]
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
mov ecx, dword [ebx + 0xf4c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0044defe
mov ecx, dword [ebx + 0xf4c]
mov eax, dword [ebx + 0x2d8]
add eax, 0x940
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebx + 0x2d8]
fld dword [eax + 0x920]
call fcn.004b7d36
mov ecx, dword [ebx + 0xf4c]
mov esi, eax
push esi
mov edx, dword [ecx]
call dword [edx + 0xc]
mov ecx, dword [ebx + 0xf4c]
push ebx
push 0x455a6b
mov edx, dword [ecx]
call dword [edx + 0x48]
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x455fe2
mov eax, 0x4d3406
push eax
lea ecx, [ebx + 0xf04]
call fcn.004020f6
mov ecx, dword [ebx + 0xf4c]
lea edx, [ebp - 0x58]
push edx
mov eax, dword [ecx]
call dword [eax + 0x18]
fld dword [ebp - 0x4c]
fsub dword [ebp - 0x54]
call fcn.004b7d00
fld dword [ebp - 0x50]
fsub dword [ebp - 0x58]
mov dword [ebp - 0x1c], eax
call fcn.004b7d00
mov ecx, eax
mov eax, dword [ebp - 0x14]
cmp eax, ecx
jg 0x456024
mov eax, ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebx + 0x1014]
test ecx, ecx
je 0x456038
imul esi, ecx
cmp eax, esi
jl 0x456038
mov dword [ebp - 4], esi
mov ecx, dword [ebx + 0xf4c]
fld dword [ebp - 0x10]
fstp qword [ebp - 0x30]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov dword [ebp + 0xc], eax
fild dword [ebp + 0xc]
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
fsubr qword [ebp - 0x30]
fstp dword [ebp - 0x58]
fild dword [ebp - 4]
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
fadd dword [ebp - 0x58]
mov ecx, dword [ebx + 0xb78]
mov dword [ebp + 0xc], ecx
fstp dword [ebp - 0x50]
fild dword [ebp + 0xc]
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
fadd dword [ebp - 0xc]
fild dword [ebp - 0x1c]
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
fstp dword [ebp + 0xc]
fld dword [ebp - 0x5c]
fld dword [ebp + 0xc]
fld st(0)
fsubp st(2)
fxch st(1)
fcomp st(2)
fnstsw ax
test ah, 0x41
jp 0x4560e7
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [ebp + 0xc], eax
fild dword [ebp + 0xc]
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
fld dword [ebp - 0xc]
fld st(0)
faddp st(2)
fld dword [ebp - 0x64]
fadd dword [ebp - 0x5c]
fmul qword [0x4ee170]
fcomp st(2)
fnstsw ax
fstp st(1)
test ah, 0x41
jp 0x4560e5
fstp st(2)
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [ebp - 0x54]
jmp 0x4560ec
fstp st(2)
jmp 0x455f39
fstp st(0)
fxch st(1)
fstp dword [ebp - 0x54]
fadd dword [ebp - 0x54]
sub esp, 0x10
lea esi, [ebp - 0x58]
mov edi, esp
sub esp, 0xc
mov ecx, esp
fstp dword [ebp - 0x4c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ecx], vtable.Window.0
mov eax, dword [ebx + 0x2ac]
and dword [ecx + 8], 0
mov dword [ecx + 4], eax
mov ecx, dword [ebx + 0xf4c]
call fcn.0044defe
lea esi, [ebx + 0xf04]
mov eax, dword [esi + 0x48]
push 4
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x48]
push 0
mov eax, dword [ecx]
call dword [eax + 0x2c]
cmp dword [ebp + 8], 0
je 0x45614c
mov ecx, ebx
call fcn.004561ef
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8