Function at 0x4508e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d435b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x550], 1
jl case.0x450963.9
mov ecx, dword [esi + 0x1c]
mov edi, dword [esi + 0x3c]
lea eax, [esp + 0x64]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [0x880a98]
xor ebx, ebx
cmp eax, ebx
je 0x45093d
xor al, al
mov byte [esp + 0x1a], 0x80
mov byte [esp + 0x1b], al
jmp 0x45094b
mov byte [esp + 0x1b], 0xff
mov byte [esp + 0x1a], 0
mov al, byte [esp + 0x1b]
mov ecx, dword [esi + 0x54c]
dec ecx
cmp ecx, 0x15
ja case.0x450963.9
xor edx, edx
mov dl, byte [ecx + 0x453764]
jmp dword [edx*4 + 0x453740]
xor ecx, ecx
mov dword [esp + 0xd4], ebx
mov ch, byte [esp + 0x1a]
mov dword [esp + 0x30], ebx
mov cl, al
mov dword [esp + 0x2c], vtable.CPen.0
shl ecx, 8
mov dword [esp + 0xd8], ecx
push ebx
lea edx, [esp + 0xd8]
push ebx
push edx
push 1
push 1
mov dword [esp + 0x234], ebx
call dword [sym.imp.GDI32.dll_ExtCreatePen]
push eax
lea ecx, [esp + 0x30]
call fcn.005b7f6c
mov edi, dword [ebp + 0xc]
lea eax, [esp + 0x2c]
push eax
mov ecx, edi
call fcn.005b7738
mov ecx, dword [esi + 0x8c]
mov ebx, eax
mov eax, dword [esi + 0x88]
push ecx
lea ecx, [esp + 0x1b0]
push eax
push ecx
mov ecx, edi
call fcn.005b7b1a
mov edx, dword [esi + 0x94]
mov eax, dword [esi + 0x88]
push edx
push eax
mov ecx, edi
call fcn.005b7b66
mov ecx, dword [esi + 0x94]
mov eax, dword [esi + 0x90]
push ecx
push eax
mov ecx, edi
call fcn.005b7b66
mov ecx, dword [esi + 0x8c]
mov edx, dword [esi + 0x90]
push ecx
push edx
mov ecx, edi
call fcn.005b7b66
mov eax, dword [esi + 0x88]
mov esi, dword [esi + 0x8c]
push esi
push eax
mov ecx, edi
call fcn.005b7b66
push ebx
mov ecx, edi
call fcn.005b7738
mov dword [esp + 0x2c], vtable.CGdiObject.0
mov dword [esp + 0x220], 1
lea ecx, [esp + 0x2c]
jmp 0x453722
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], vtable.CPen.0
lea ecx, [edi + 0x58]
mov dword [esp + 0x220], 2
call fcn.0054a870
push eax
lea ecx, [edi + 0x58]
call fcn.0054ade0
mov ecx, dword [eax]
call fcn.0054a830
push eax
push 1
push ebx
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x20]
call fcn.005b7f6c
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x1c]
push eax
call fcn.005b7738
mov ecx, dword [esi + 0x84]
mov edx, dword [esp + 0x70]
sub ecx, edx
mov edx, dword [esi + 0x80]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x5c], eax
fild dword [esp + 0xc]
mov eax, dword [esi + 0xf4]
mov dword [esp + 0x8c], 0
neg edx
mov dword [esp + 0xc], edx
cmp eax, 2
fild dword [esp + 0xc]
mov dword [esp + 0x90], 0
fstp qword [esp + 0x7c]
fstp qword [esp + 0x84]
jl 0x450b50
lea eax, [edi + 0x58]
lea ecx, [edi + 0x614]
push eax
call fcn.00470290
cmp eax, ebx
mov dword [esp + 0xc], eax
je 0x450b50
mov edi, dword [eax]
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
sub eax, edx
lea edx, [esp + 0x7c]
push eax
mov eax, dword [esp + 0x68]
sub ecx, eax
mov eax, dword [ebp + 8]
push ecx
push edx
mov ecx, dword [eax + 4]
push ecx
mov ecx, esi
call fcn.00464840
fdivr qword [esi + 0x78]
mov ecx, dword [esp + 0x1c]
sub esp, 8
fstp qword [esp]
call dword [edi + 0x28]
mov edx, dword [esp + 0x5c]
mov ecx, dword [ebp + 8]
push edx
call fcn.005b7738
lea ecx, [esp + 0x1c]
call fcn.005b7fc3
xor eax, eax
mov ah, byte [esp + 0x1a]
mov al, byte [esp + 0x1b]
shl eax, 8
push eax
push 1
push ebx
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x20]
call fcn.005b7f6c
mov edi, dword [ebp + 0xc]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
call fcn.005b7738
mov edx, dword [esi + 0xa0]
mov ecx, dword [esi + 0xa8]
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 0xa4]
fld qword [esi + 0x98]
mov dword [esp + 0xb4], eax
mov eax, dword [esi + 0xb0]
mov dword [esp + 0xb0], edx
mov edx, dword [esi + 0xac]
sub esp, 0x1c
mov dword [esp + 0xdc], eax
mov dword [esp + 0xd4], ecx
mov ecx, dword [esp + 0xcc]
mov eax, esp
mov dword [esp + 0xd8], edx
mov edx, dword [esp + 0xd0]
mov dword [esp + 0x48], esp
fstp qword [eax]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0xd4]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0xd8]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0xdc]
mov dword [eax + 0x14], edx
lea edx, [esp + 0x90]
mov dword [eax + 0x18], ecx
push edx
mov ecx, esi
call fcn.0044ce80
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov edx, dword [edi + 4]
push ebx
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_MoveToEx]
mov eax, dword [esi + 0x94]
mov ecx, dword [esi + 0x90]
mov edx, dword [edi + 4]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_LineTo]
mov eax, dword [esp + 0x5c]
mov ecx, edi
push eax
call fcn.005b7738
mov dword [esp + 0x1c], vtable.CGdiObject.0
mov dword [esp + 0x220], 3
lea ecx, [esp + 0x1c]
jmp 0x453722
mov ecx, dword [esi + 0x80]
mov edx, dword [esi + 0x84]
mov eax, dword [esp + 0x70]
mov dword [esp + 0x8c], 0
neg ecx
mov dword [esp + 0xc], ecx
sub edx, eax
fild dword [esp + 0xc]
mov dword [esp + 0xc], edx
lea eax, [edi + 0x58]
push eax
lea ecx, [edi + 0x614]
fstp qword [esp + 0x80]
fild dword [esp + 0x10]
mov dword [esp + 0x94], 0
fstp qword [esp + 0x88]
call fcn.00470290
mov edi, eax
mov ecx, edi
call fcn.00570d30
mov ecx, dword [esi + 0x94]
mov edx, dword [esi + 0x90]
mov ebx, eax
push ecx
lea eax, [esp + 0xec]
push edx
push eax
mov ecx, esi
call fcn.0044ce00
fld qword [esp + 0xe8]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov ecx, dword [ebx]
lea eax, [esp + 0x40]
push eax
fsub qword [ecx]
fstp qword [esp + 0x44]
mov edx, dword [ebx]
fld qword [esp + 0xf4]
fsub qword [edx + 8]
fstp qword [esp + 0x4c]
mov ecx, dword [ebx]
push ecx
mov ecx, edi
call fcn.005719e0
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
sub edx, ecx
push edx
mov edx, dword [esp + 0x68]
mov ebx, dword [edi]
sub eax, edx
mov edx, dword [ebp + 0xc]
push eax
lea ecx, [esp + 0x84]
mov eax, dword [edx + 4]
push ecx
push eax
jmp 0x45167f
mov ecx, dword [esi + 0x84]
mov edx, dword [esp + 0x70]
sub ecx, edx
mov edx, dword [esi + 0x80]
mov dword [esp + 0xc], ecx
lea eax, [edi + 0x58]
fild dword [esp + 0xc]
neg edx
mov dword [esp + 0xc], edx
push eax
fild dword [esp + 0x10]
lea ecx, [edi + 0x614]
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
fstp qword [esp + 0xac]
fstp qword [esp + 0xb4]
call fcn.00470290
mov ebx, dword [esi + 0x88]
mov edi, dword [esi + 0x94]
mov edx, dword [esi + 0x90]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x8c]
lea ecx, [esi + 0x400]
shl eax, 1
shl ebx, 1
sub eax, edi
push ecx
sub ebx, edx
mov dword [esp + 0x7c], eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov edi, dword [ebp + 0xc]
test eax, eax
je 0x450f73
xor edx, edx
xor eax, eax
mov dh, byte [esp + 0x1a]
mov dword [esp + 0xd4], eax
mov dl, byte [esp + 0x1b]
mov dword [esp + 0x30], eax
shl edx, 8
mov dword [esp + 0xd8], edx
mov dword [esp + 0x2c], vtable.CPen.0
push eax
push eax
lea eax, [esp + 0xdc]
mov dword [esp + 0x228], 4
push eax
push 1
push 1
call dword [sym.imp.GDI32.dll_ExtCreatePen]
push eax
lea ecx, [esp + 0x30]
call fcn.005b7f6c
lea ecx, [esp + 0x2c]
push ecx
mov ecx, edi
call fcn.005b7738
mov ecx, dword [esi + 0x94]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x90]
push ecx
lea edx, [esp + 0x198]
push eax
push edx
mov ecx, edi
call fcn.005b7b1a
mov eax, dword [esp + 0x78]
mov ecx, edi
push eax
push ebx
call fcn.005b7b66
mov edx, dword [esp + 0x78]
lea ecx, [ebx + 2]
lea eax, [edx + 2]
add edx, 0xfffffffe
push eax
mov dword [esp + 0x10], edx
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [ebx - 2]
push ecx
push edx
mov edx, dword [edi + 4]
push edx
call dword [sym.imp.GDI32.dll_Rectangle]
mov eax, dword [esi + 0x8c]
lea ecx, [eax + 2]
add eax, 0xfffffffe
mov dword [esp + 0xc], ecx
mov ecx, dword [esi + 0x88]
lea edx, [ecx + 2]
add ecx, 0xfffffffe
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0xc]
push ecx
push edx
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [edi + 4]
push edx
push eax
call dword [sym.imp.GDI32.dll_Rectangle]
mov eax, dword [esi + 0x94]
lea ecx, [eax + 2]
add eax, 0xfffffffe
mov dword [esp + 0xc], ecx
mov ecx, dword [esi + 0x90]
lea edx, [ecx + 2]
add ecx, 0xfffffffe
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0xc]
push ecx
push edx
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [edi + 4]
push edx
push eax
call dword [sym.imp.GDI32.dll_Rectangle]
mov ecx, dword [esp + 0x34]
push ecx
mov ecx, edi
call fcn.005b7738
mov dword [esp + 0x2c], vtable.CGdiObject.0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x220], 5
call fcn.005b7fc3
mov dword [esp + 0x220], 0xffffffff
mov eax, dword [esi + 0x20c]
test eax, eax
je 0x4510f3
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
call fcn.00570d30
mov edx, dword [esi + 0x94]
mov dword [esp + 0xa0], eax
mov eax, dword [esi + 0x90]
push edx
lea ecx, [esp + 0xec]
push eax
push ecx
mov ecx, esi
call fcn.0044ce00
mov eax, dword [esp + 0xa0]
fld qword [esp + 0xe8]
mov edx, dword [eax]
fsub qword [edx]
fstp qword [esp + 0x40]
mov eax, dword [eax]
fld qword [esp + 0xf0]
fsub qword [eax + 8]
cmp dword [esi + 0x550], 1
fstp qword [esp + 0x48]
jne 0x451066
mov edx, dword [esp + 0xa0]
lea ecx, [esp + 0x40]
push 0
push ecx
mov eax, dword [edx]
mov ecx, dword [esp + 0x2c]
push eax
jmp 0x4510ee
mov ecx, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0x28]
call fcn.00570d50
mov ecx, dword [esp + 0x24]
push eax
call fcn.00570d50
mov edx, dword [esp + 0x78]
mov dword [esp + 0xc], eax
push edx
lea eax, [esp + 0x108]
push ebx
push eax
mov ecx, esi
call fcn.0044ce00
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x24]
fld qword [esp + 0x104]
mov ecx, dword [eax]
push 0
fsub qword [ecx]
lea ecx, [esp + 0x80]
push ecx
mov ecx, ebx
fstp qword [esp + 0x84]
mov edx, dword [eax]
fld qword [esp + 0x114]
fsub qword [edx + 8]
fstp qword [esp + 0x8c]
mov edx, dword [eax]
push edx
call fcn.0056cc00
mov ecx, dword [esp + 0xa0]
lea eax, [esp + 0x40]
push 0
push eax
mov edx, dword [ecx]
mov ecx, ebx
push edx
call fcn.0056cc00
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x68]
mov ebx, dword [esp + 0x24]
sub eax, ecx
mov ecx, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x68]
mov edx, dword [ebx]
sub ecx, eax
lea eax, [esp + 0xac]
push ecx
mov ecx, dword [edi + 4]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x1c], edx
call fcn.00464840
fdivr qword [esi + 0x78]
mov edx, dword [esp + 0x1c]
sub esp, 8
mov ecx, ebx
fstp qword [esp]
call dword [edx + 0x28]
mov ecx, dword [esp + 0x218]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
xor ecx, ecx
mov ch, byte [esp + 0x1a]
mov cl, al
shl ecx, 8
push ecx
push 1
push ebx
lea ecx, [esp + 0x80]
call fcn.005b7fd9
mov edi, dword [ebp + 0xc]
lea edx, [esp + 0x74]
push edx
mov ecx, edi
mov dword [esp + 0x224], 6
call fcn.005b7738
mov ecx, dword [esi + 0x90]
mov edx, dword [esi + 0x8c]
mov ebx, eax
mov eax, dword [esi + 0x94]
mov esi, dword [esi + 0x88]
push eax
mov eax, dword [edi + 4]
push ecx
push edx
push esi
push eax
call dword [sym.imp.GDI32.dll_Rectangle]
push ebx
mov ecx, edi
call fcn.005b7738
mov dword [esp + 0x74], vtable.CGdiObject.0
mov dword [esp + 0x220], 7
lea ecx, [esp + 0x74]
jmp 0x453722
mov ecx, dword [esi + 0x80]
mov edx, dword [esi + 0x84]
mov eax, dword [esp + 0x70]
mov dword [esp + 0xb8], 0
neg ecx
mov dword [esp + 0xc], ecx
sub edx, eax
fild dword [esp + 0xc]
mov dword [esp + 0xc], edx
lea eax, [edi + 0x58]
push eax
lea ecx, [edi + 0x614]
fstp qword [esp + 0xac]
fild dword [esp + 0x10]
mov dword [esp + 0xc0], 0
fstp qword [esp + 0xb4]
call fcn.00470290
lea ecx, [esp + 0x104]
mov edi, eax
push ecx
mov ecx, edi
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0x2710
mov dword [esp + 0x124], 5
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0x54442d18
mov dword [esp + 0x134], 0x3ff921fb
call fcn.0057d1b0
mov eax, dword [esi + 0xf4]
mov dword [esp + 0x7c], 0
cmp eax, ebx
mov ebx, dword [sym.imp.USER32.dll_IsRectEmpty]
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
jne 0x4513a4
lea edx, [esi + 0x400]
push edx
call ebx
test eax, eax
je 0x4513a4
mov eax, dword [esi + 0x8c]
mov ecx, dword [esi + 0x88]
push eax
lea edx, [esp + 0x1c8]
push ecx
push edx
mov ecx, esi
call fcn.0044ce00
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x7c], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x80], edx
mov edx, dword [eax + 0xc]
mov eax, dword [esi + 0x94]
mov dword [esp + 0x84], ecx
mov ecx, dword [esi + 0x90]
mov dword [esp + 0x88], edx
push eax
lea edx, [esp + 0x1e4]
push ecx
push edx
mov ecx, esi
call fcn.0044ce00
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x40], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
jmp 0x451492
cmp dword [esi + 0xf4], 1
jne 0x451492
lea eax, [esi + 0x400]
push eax
call ebx
test eax, eax
je 0x451422
mov eax, dword [esi + 0xf0]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
fld qword [eax]
mov dword [esp + 0xf0], ecx
mov eax, ecx
fstp qword [esp + 0x7c]
mov dword [esp + 0xf4], edx
mov ecx, edx
mov edx, dword [esi + 0x94]
mov dword [esp + 0x84], eax
mov eax, dword [esi + 0x90]
mov dword [esp + 0x88], ecx
push edx
lea ecx, [esp + 0x200]
push eax
push ecx
mov ecx, esi
call fcn.0044ce00
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x40], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x44], ecx
jmp 0x45148a
cmp dword [esi + 0xf4], 1
jne 0x451492
lea ecx, [esi + 0x400]
push ecx
call ebx
test eax, eax
jne 0x451492
mov eax, dword [esi + 0xf0]
fld qword [eax]
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
fstp qword [esp + 0x7c]
mov dword [esp + 0xf0], edx
mov ecx, edx
mov dword [esp + 0xf4], eax
mov edx, eax
mov eax, dword [esi + 0xb4]
mov dword [esp + 0x84], ecx
mov ecx, dword [esi + 0xb8]
mov dword [esp + 0x88], edx
mov edx, dword [esi + 0xbc]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0xc0]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
fld qword [esp + 0x40]
fadd qword [esp + 0x7c]
fmul qword [0x5e7c18]
fld qword [esp + 0x48]
fadd qword [esp + 0x84]
fmul qword [0x5e7c18]
fstp qword [esp + 0xf0]
fld qword [esp + 0x7c]
fsub st(1)
fstp qword [esp + 0xc]
fstp st(0)
fld qword [esp + 0xc]
fcomp qword [0x5e80d8]
fnstsw ax
test ah, 1
je 0x4514df
fld qword [esp + 0xc]
fchs
fstp qword [esp + 0xc]
fld qword [esp + 0x84]
fsub qword [esp + 0xf0]
fst qword [esp + 0x2c]
fcomp qword [0x5e80d8]
fnstsw ax
test ah, 1
je 0x451508
fld qword [esp + 0x2c]
fchs
fstp qword [esp + 0x2c]
fld qword [esp + 0x40]
fcomp qword [esp + 0x7c]
fld qword [esp + 0xc]
fnstsw ax
fcomp qword [esp + 0x2c]
test ah, 0x41
fnstsw ax
jne 0x45153a
test ah, 0x41
jne 0x451530
fld qword [esp + 0x2c]
fadd qword [esp + 0x7c]
jmp 0x45154d
fld qword [esp + 0xc]
fadd qword [esp + 0x7c]
jmp 0x45154d
test ah, 0x41
jne 0x451545
fld qword [esp + 0x2c]
jmp 0x451549
fld qword [esp + 0xc]
fsubr qword [esp + 0x7c]
fld qword [esp + 0x48]
fcomp qword [esp + 0x84]
fld qword [esp + 0xc]
fnstsw ax
fcomp qword [esp + 0x2c]
test ah, 0x41
fnstsw ax
jne 0x451588
test ah, 0x41
jne 0x45157b
fld qword [esp + 0x2c]
fadd qword [esp + 0x84]
jmp 0x45159e
fld qword [esp + 0xc]
fadd qword [esp + 0x84]
jmp 0x45159e
test ah, 0x41
jne 0x451593
fld qword [esp + 0x2c]
jmp 0x451597
fld qword [esp + 0xc]
fsubr qword [esp + 0x84]
fxch st(1)
fstp qword [esp + 0x104]
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
fstp qword [esp + 0x10c]
fld qword [esp + 0x40]
fsub qword [esp + 0x7c]
mov dword [esp + 0x11c], 0x2710
mov dword [esp + 0x120], 5
fcom qword [0x5e80d8]
fnstsw ax
test ah, 1
je 0x4515f1
fchs
fmul qword [0x5e7c18]
fstp qword [esp + 0x74]
fld qword [esp + 0x48]
fsub qword [esp + 0x84]
fcom qword [0x5e80d8]
fnstsw ax
test ah, 1
je 0x451615
fchs
fmul qword [0x5e7c18]
fld qword [esp + 0x74]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x451631
fstp qword [esp + 0x124]
jmp 0x451649
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
fstp st(0)
mov dword [esp + 0x124], ecx
mov dword [esp + 0x128], edx
lea eax, [esp + 0x104]
mov ecx, edi
push eax
call fcn.0057d230
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x68]
mov ebx, dword [edi]
sub edx, ecx
mov ecx, dword [ebp + 0xc]
push edx
lea eax, [esp + 0xb0]
mov edx, dword [ecx + 4]
push eax
push edx
mov ecx, esi
call fcn.00464840
fdivr qword [esi + 0x78]
sub esp, 8
mov ecx, edi
fstp qword [esp]
call dword [ebx + 0x28]
mov ecx, dword [esp + 0x218]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edi, dword [ebp + 0xc]
push 5
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x24]
xor ecx, ecx
mov dword [esp + 0xc], eax
mov ch, byte [esp + 0x1a]
mov cl, byte [esp + 0x1b]
shl ecx, 8
push ecx
push 1
push ebx
lea ecx, [esp + 0x80]
call fcn.005b7fd9
lea edx, [esp + 0x74]
mov ecx, edi
push edx
mov dword [esp + 0x224], 8
call fcn.005b7738
mov ecx, dword [esi + 0x90]
mov edx, dword [esi + 0x8c]
mov ebx, eax
mov eax, dword [esi + 0x94]
mov esi, dword [esi + 0x88]
push eax
mov eax, dword [edi + 4]
push ecx
push edx
push esi
push eax
call dword [sym.imp.GDI32.dll_Ellipse]
mov ecx, dword [esp + 0xc]
push ecx
mov ecx, edi
call fcn.005b7738
push ebx
mov ecx, edi
call fcn.005b7738
mov dword [esp + 0x74], vtable.CGdiObject.0
mov dword [esp + 0x220], 9
lea ecx, [esp + 0x74]
jmp 0x453722
cmp dword [esi + 0x318], ebx
je 0x4535f0
cmp dword [esi + 0x31c], ebx
je 0x4535f0
xor edx, edx
lea ecx, [esp + 0x74]
mov dh, byte [esp + 0x1a]
mov dl, al
mov eax, edx
shl eax, 8
push eax
push 1
push ebx
mov dword [esp + 0x28], eax
call fcn.005b7fd9
mov edi, dword [ebp + 0xc]
lea eax, [esp + 0x74]
push eax
mov ecx, edi
mov dword [esp + 0x224], 0xa
call fcn.005b7738
mov ecx, dword [esi + 0x318]
mov dword [esp + 0x2c], eax
cmp ecx, ebx
je 0x451ac0
call fcn.00549f80
cmp eax, 0xb
jne 0x451ac0
lea ecx, [esp + 0xc4]
push 4
lea edx, [esi + 0x320]
push ecx
mov ecx, dword [esi + 0x318]
push edx
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0x3ff00000
call fcn.00565640
mov ecx, dword [esi + 0x318]
push eax
mov dword [esp + 0xa4], eax
call fcn.00567100
cmp eax, ebx
mov dword [esp + 0x1c], eax
jne 0x45183f
mov dword [esi + 0x1d0], ebx
mov dword [esi + 0x1d8], ebx
mov dword [esi + 0x1e0], ebx
mov dword [esi + 0x1e8], ebx
mov dword [esi + 0x1d4], ebx
mov dword [esi + 0x1dc], ebx
mov dword [esi + 0x1e4], ebx
mov dword [esi + 0x1ec], ebx
mov ecx, dword [esi + 0x318]
call fcn.00567190
mov eax, dword [esi + 0x4e4]
mov dword [esp + 0xc], ebx
cmp eax, ebx
mov dword [esp + 0x5c], eax
je 0x45186d
mov eax, dword [esp + 0x5c]
push eax
mov ecx, dword [eax + 4]
mov dword [esp + 0x60], ecx
call fcn.005b44c3
mov eax, dword [esp + 0x60]
add esp, 4
cmp eax, ebx
jne 0x451851
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x4e4], ebx
cmp eax, ebx
mov dword [esi + 0x4e8], ebx
mov dword [esi + 0x4e0], ebx
je 0x4518d0
mov ecx, dword [esi + 0x318]
lea edx, [esp + 0xcc]
lea eax, [esp + 0xc]
push edx
push eax
call fcn.00567140
cmp dword [esp + 0xc], ebx
je 0x4518d0
mov ecx, dword [esp + 0xcc]
push 0xc
mov dword [esp + 0x38], ecx
call fcn.005b449a
mov edx, dword [esp + 0x38]
add esp, 4
lea ecx, [esi + 0x4e0]
mov dword [eax + 8], edx
push eax
push ebx
call fcn.004e84b0
jmp 0x451887
mov eax, dword [esi + 0x90]
mov edx, dword [esi + 0x88]
mov ecx, dword [esi + 0x8c]
sub eax, edx
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 0x94]
sub eax, ecx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jne 0x451933
mov ebx, dword [esp + 0xa0]
mov ecx, dword [esi + 0x318]
push ebx
call fcn.005655e0
mov ecx, dword [esi + 0x318]
push ebx
mov dword [esp + 0x20], eax
call fcn.00565610
push eax
mov eax, dword [esp + 0x20]
push eax
push ebx
push edi
mov ecx, esi
call fcn.00461250
jmp 0x4535c8
mov eax, dword [esi + 0x4e4]
cmp eax, ebx
mov dword [esp + 0x24], eax
je 0x4535c8
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + 8]
mov ecx, dword [esi + 0x318]
push ebx
call fcn.005655e0
mov ecx, dword [esi + 0x318]
mov edi, eax
push edi
mov dword [esp + 0x20], edi
call fcn.00567100
cmp eax, 1
jne 0x45197b
test edi, edi
je 0x45197b
mov dword [esp + 0x1c], 0
mov ecx, dword [esi + 0x318]
push ebx
call fcn.00565610
mov ecx, dword [esi + 0x318]
mov edi, eax
push edi
call fcn.00567100
cmp eax, 1
jne 0x451a7e
test edi, edi
je 0x451a7e
mov eax, dword [ebx]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0xbc], esp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0xc]
mov dword [ecx + 0xc], edx
mov edx, dword [eax + 0x10]
mov dword [ecx + 0x10], edx
mov edx, dword [eax + 0x14]
mov dword [ecx + 0x14], edx
mov eax, dword [eax + 0x18]
mov dword [ecx + 0x18], eax
lea ecx, [esp + 0xb4]
push ecx
mov ecx, esi
call fcn.0044ce80
mov eax, dword [edi]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0xbc], esp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0xc]
mov dword [ecx + 0xc], edx
mov edx, dword [eax + 0x10]
mov dword [ecx + 0x10], edx
mov edx, dword [eax + 0x14]
mov dword [ecx + 0x14], edx
mov eax, dword [eax + 0x18]
mov dword [ecx + 0x18], eax
lea ecx, [esp + 0xf0]
push ecx
mov ecx, esi
call fcn.0044ce80
mov edx, dword [esp + 0x9c]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x98]
mov edi, dword [esp + 0x5c]
add edx, eax
add ecx, edi
push edx
lea edx, [esp + 0x1c0]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
call fcn.005b7b1a
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0xd4]
add eax, ecx
mov ecx, dword [ebp + 0xc]
add edx, edi
push eax
push edx
call fcn.005b7b66
xor edi, edi
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 0xc]
push edi
push eax
push ebx
push ecx
mov ecx, esi
call fcn.00461250
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x451aa4
mov edx, dword [esi + 0x4e4]
mov dword [esp + 0x24], edx
jmp 0x451aaf
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x451945
jmp 0x4535c5
mov ecx, dword [esi + 0x318]
cmp ecx, ebx
je 0x452663
call fcn.00549f80
cmp eax, 0x10
jne 0x452663
mov edx, dword [esi + 0x94]
mov eax, dword [esi + 0x90]
push edx
lea ecx, [esp + 0xac]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0xd0], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0xa4], ebx
call fcn.0044ce00
mov edi, dword [esi + 0x4e4]
mov eax, 0x2710
cmp edi, ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], eax
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], eax
mov dword [esp + 0x178], 0
mov dword [esp + 0x17c], 0
mov dword [esp + 0x180], 0
mov dword [esp + 0x184], 0
mov dword [esp + 0x188], 0
mov dword [esp + 0x18c], 0
mov dword [esp + 0x190], eax
mov dword [esp + 0x15c], 0
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], 0
mov dword [esp + 0x170], 0
mov dword [esp + 0x174], eax
je 0x451c84
mov eax, edi
mov edi, dword [edi + 4]
push eax
call fcn.005b44c3
add esp, 4
cmp edi, ebx
jne 0x451c72
lea edx, [esp + 0x15c]
lea eax, [esp + 0x178]
push edx
lea ecx, [esp + 0x108]
push eax
lea edx, [esp + 0xf0]
push ecx
push edx
lea eax, [esp + 0xe4]
lea edi, [esi + 0x320]
push 4
mov dword [esi + 0x4e4], ebx
mov dword [esi + 0x4e8], ebx
mov dword [esi + 0x4e0], ebx
mov ecx, dword [esi + 0x318]
push eax
push edi
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0x3ff00000
call fcn.0056b9f0
mov ecx, dword [esi + 0x318]
push eax
mov dword [esp + 0x20], eax
call fcn.0056eba0
cmp eax, ebx
jne 0x451dd7
mov dword [esi + 0x1d0], ebx
mov dword [esi + 0x1d8], ebx
mov dword [esi + 0x1e0], ebx
mov dword [esi + 0x1e8], ebx
mov dword [esi + 0x1d4], ebx
mov dword [esi + 0x1dc], ebx
mov dword [esi + 0x1e4], ebx
mov dword [esi + 0x1ec], ebx
mov ecx, dword [esi + 0x318]
call fcn.0056ec30
lea eax, [esp + 0xc]
lea ecx, [esp + 0xc4]
push eax
lea edx, [esp + 0x28]
push ecx
mov ecx, dword [esi + 0x318]
lea eax, [esp + 0xa0]
push edx
push eax
push edi
call fcn.0056e1a0
cmp eax, ebx
jne 0x4520fe
fld qword [esp + 0xa8]
fsub qword [edi]
lea ecx, [esp + 0xc]
lea edx, [esp + 0xc4]
push ecx
lea eax, [esp + 0x28]
push edx
lea ecx, [esp + 0xa0]
fstp qword [esp + 0x48]
fld qword [esp + 0xb8]
fsub qword [esi + 0x328]
push eax
lea edx, [esi + 0x558]
push ecx
mov ecx, dword [esi + 0x318]
push edx
fstp qword [esp + 0x5c]
call fcn.0056e1a0
cmp eax, ebx
jne 0x451e79
mov dword [esp + 0x74], vtable.CGdiObject.0
mov dword [esp + 0x220], 0xb
lea ecx, [esp + 0x74]
jmp 0x453722
cmp eax, 1
jne 0x451d3b
mov eax, dword [esp + 0x1c]
push 1
fld qword [esp + 0xac]
mov ecx, dword [eax]
fsub qword [ecx]
mov ecx, dword [esi + 0x318]
fstp qword [esp + 0x44]
mov edx, dword [eax]
lea eax, [esp + 0x44]
fld qword [esp + 0xb4]
fsub qword [edx + 8]
push eax
push ebx
fstp qword [esp + 0x54]
call fcn.0056cc00
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov edx, dword [eax]
mov dword [edi], edx
mov ecx, dword [eax + 4]
mov dword [edi + 4], ecx
mov edx, dword [eax + 8]
mov dword [edi + 8], edx
mov ecx, dword [eax + 0xc]
mov dword [edi + 0xc], ecx
mov edx, dword [eax + 0x10]
mov dword [edi + 0x10], edx
mov ecx, dword [eax + 0x14]
mov dword [edi + 0x14], ecx
mov edx, dword [eax + 0x18]
mov dword [edi + 0x18], edx
mov dword [esi + 0x1d0], ebx
mov dword [esi + 0x1d8], ebx
mov dword [esi + 0x1e0], ebx
mov dword [esi + 0x1e8], ebx
mov dword [esi + 0x1d4], ebx
mov dword [esi + 0x1dc], ebx
mov dword [esi + 0x1e4], ebx
mov dword [esi + 0x1ec], ebx
jmp 0x452556
mov eax, dword [esp + 0x24]
mov dword [esp + 0xcc], ebx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xc4]
cmp eax, ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x5c], ebx
je 0x4520b4
mov ecx, dword [esi + 0x318]
push eax
call fcn.00570d80
cmp eax, ebx
mov dword [esp + 0xa0], eax
je 0x451ee6
mov ecx, eax
push ecx
mov ecx, dword [esi + 0x318]
call fcn.00570d80
cmp eax, ebx
mov dword [esp + 0xcc], eax
je 0x451ee6
mov ecx, dword [esi + 0x318]
push eax
mov dword [esp + 0x60], eax
call fcn.00570d80
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x40]
push ebx
push edx
mov ecx, dword [eax]
push ecx
mov ecx, dword [esi + 0x318]
call fcn.0056cc00
cmp dword [esp + 0x1c], ebx
je 0x451fc9
mov edx, dword [esp + 0x98]
cmp edx, ebx
je 0x451fc9
mov eax, dword [esi + 0x554]
cmp eax, 2
je 0x451f9b
cmp eax, 0xffffffff
je 0x451f9b
cmp eax, 1
jne 0x451fc9
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
mov eax, dword [edx]
mov edx, dword [esp + 0x1c]
fld qword [ecx + 8]
fsub qword [eax + 8]
fld qword [ecx]
fsub qword [eax]
mov ecx, dword [edx]
fpatan
fld qword [ecx + 8]
fsub qword [eax + 8]
fld qword [ecx]
fsub qword [eax]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fsqrt
fstp qword [esp + 0x1c]
fstp st(0)
fstp st(0)
fadd qword [0x5e9fe0]
fld st(0)
fcos
fmul qword [esp + 0x1c]
fstp qword [esp + 0x34]
fsin
fmul qword [esp + 0x1c]
fadd qword [eax + 8]
fstp qword [ecx + 8]
mov ecx, dword [esp + 0x98]
fld qword [esp + 0x34]
mov eax, dword [ecx]
mov ecx, dword [edx]
fadd qword [eax]
fstp qword [ecx]
jmp 0x451fc9
mov edx, dword [edx]
mov ecx, dword [esp + 0x34]
fld qword [edx]
mov eax, dword [ecx]
fadd st(0), st(0)
fsub qword [eax]
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
fstp qword [edx]
mov edx, dword [esp + 0x98]
mov ecx, dword [ecx]
mov edx, dword [edx]
fld qword [edx + 8]
mov edx, dword [eax]
fadd st(0), st(0)
fsub qword [ecx + 8]
fstp qword [edx + 8]
cmp dword [esp + 0xa0], ebx
je 0x4520b4
mov ecx, dword [esp + 0xa0]
lea eax, [esp + 0x40]
push ebx
push eax
mov edx, dword [ecx]
mov ecx, dword [esi + 0x318]
push edx
call fcn.0056cc00
cmp dword [esp + 0x5c], ebx
je 0x4520b4
mov edx, dword [esp + 0xcc]
cmp edx, ebx
je 0x4520b4
mov eax, dword [esi + 0x554]
cmp eax, 2
je 0x45208a
cmp eax, 0xffffffff
je 0x45208a
cmp eax, 1
jne 0x4520b4
mov eax, dword [esp + 0xa0]
mov ebx, dword [esp + 0x5c]
mov ecx, dword [eax]
mov eax, dword [ebx]
fld qword [ecx + 8]
fsub qword [eax + 8]
fld qword [ecx]
fsub qword [eax]
mov ecx, dword [edx]
fpatan
fld qword [ecx + 8]
fsub qword [eax + 8]
fld qword [ecx]
fsub qword [eax]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fsqrt
fstp qword [esp + 0x1c]
fstp st(0)
fstp st(0)
fadd qword [0x5e9fe0]
fld st(0)
fcos
fmul qword [esp + 0x1c]
fstp qword [esp + 0x34]
fsin
fmul qword [esp + 0x1c]
fadd qword [eax + 8]
fstp qword [ecx + 8]
mov ecx, dword [ebx]
mov edx, dword [edx]
fld qword [esp + 0x34]
fadd qword [ecx]
fstp qword [edx]
jmp 0x4520b4
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax]
fld qword [ecx]
mov ecx, dword [esp + 0xa0]
fadd st(0), st(0)
mov ebx, dword [ecx]
fsub qword [ebx]
mov ebx, dword [edx]
fstp qword [ebx]
mov eax, dword [eax]
mov ecx, dword [ecx]
mov edx, dword [edx]
fld qword [eax + 8]
fadd st(0), st(0)
fsub qword [ecx + 8]
fstp qword [edx + 8]
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0xb0]
mov dword [edi], eax
mov eax, dword [esp + 0xb4]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0xb8]
mov dword [edi + 8], edx
mov edx, dword [esp + 0xbc]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0xc0]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], edx
mov dword [edi + 0x18], eax
jmp 0x452556
cmp eax, 1
jne 0x45227a
mov eax, dword [esp + 0x98]
cmp eax, ebx
je 0x452556
mov ecx, dword [eax]
mov dword [esi + 0x1ac], ecx
mov ecx, dword [esi + 0x318]
call fcn.0054a160
fld qword [esp + 0xa8]
mov dword [esi + 0x1b0], eax
mov eax, dword [esp + 0x98]
push ebx
mov edx, dword [eax]
fsub qword [edx]
lea edx, [esp + 0x44]
push edx
fstp qword [esp + 0x48]
mov ecx, dword [eax]
fld qword [esp + 0xb8]
fsub qword [ecx + 8]
mov ecx, dword [esi + 0x318]
fstp qword [esp + 0x50]
mov eax, dword [eax]
push eax
call fcn.0056cc00
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x452185
mov edx, dword [eax]
lea ecx, [esp + 0x40]
push ebx
push ecx
mov ecx, dword [esi + 0x318]
push edx
call fcn.0056cc00
mov eax, dword [esp + 0xc4]
cmp eax, ebx
je 0x4521a4
mov edx, dword [eax]
lea ecx, [esp + 0x40]
push ebx
push ecx
mov ecx, dword [esi + 0x318]
push edx
call fcn.0056cc00
cmp dword [esp + 0xc], 1
jne 0x452204
mov ecx, dword [esi + 0x318]
call fcn.00570d30
mov ecx, dword [esi + 0x318]
push eax
mov dword [esp + 0x20], eax
call fcn.00570d50
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x1b0]
cmp eax, ebx
je 0x452204
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x40]
push ebx
push eax
mov edx, dword [ecx]
mov ecx, dword [esi + 0x318]
push edx
call fcn.0056cc00
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x40]
push ebx
push eax
mov edx, dword [ecx]
mov ecx, dword [esi + 0x318]
push edx
call fcn.0056cc00
mov ecx, dword [esp + 0x98]
mov eax, dword [ecx]
mov edx, dword [eax]
mov dword [edi], edx
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
mov edx, dword [eax + 8]
mov dword [edi + 8], edx
mov edx, dword [eax + 0xc]
mov dword [edi + 0xc], edx
mov edx, dword [eax + 0x10]
mov dword [edi + 0x10], edx
mov edx, dword [eax + 0x14]
mov dword [edi + 0x14], edx
mov eax, dword [eax + 0x18]
mov dword [edi + 0x18], eax
mov eax, dword [ecx]
mov ecx, dword [eax]
mov dword [esi + 0x214], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x218], edx
mov ecx, dword [eax + 8]
mov dword [esi + 0x21c], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0x220], edx
mov ecx, dword [eax + 0x10]
mov dword [esi + 0x224], ecx
mov edx, dword [eax + 0x14]
mov dword [esi + 0x228], edx
mov eax, dword [eax + 0x18]
mov dword [esi + 0x22c], eax
jmp 0x452556
cmp eax, 2
jne 0x4523bc
mov eax, dword [esp + 0xc4]
cmp eax, ebx
je 0x452556
mov ecx, dword [eax]
push ebx
fld qword [esp + 0xac]
fsub qword [ecx]
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esi + 0x318]
fstp qword [esp + 0x48]
mov edx, dword [eax]
fld qword [esp + 0xb8]
fsub qword [edx + 8]
fstp qword [esp + 0x50]
mov edx, dword [eax]
push edx
call fcn.0056cc00
mov edx, dword [esp + 0x24]
cmp edx, ebx
je 0x4523b0
mov eax, dword [esi + 0x554]
cmp eax, 2
je 0x452371
cmp eax, 0xffffffff
je 0x452371
cmp eax, 1
jne 0x4523b0
mov eax, dword [esp + 0xc4]
mov ecx, dword [eax]
mov eax, dword [esp + 0x98]
mov eax, dword [eax]
fld qword [ecx + 8]
fsub qword [eax + 8]
fld qword [ecx]
fsub qword [eax]
mov ecx, dword [edx]
fpatan
fld qword [ecx + 8]
fsub qword [eax + 8]
fld qword [ecx]
fsub qword [eax]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fsqrt
fstp qword [esp + 0x1c]
fstp st(0)
fstp st(0)
fadd qword [0x5e9fe0]
fld st(0)
fcos
fmul qword [esp + 0x1c]
fstp qword [esp + 0x34]
fsin
fmul qword [esp + 0x1c]
fadd qword [eax + 8]
fstp qword [ecx + 8]
mov ecx, dword [esp + 0x98]
mov eax, dword [esp + 0x24]
fld qword [esp + 0x34]
mov edx, dword [ecx]
mov ecx, dword [eax]
fadd qword [edx]
fstp qword [ecx]
mov eax, dword [esp + 0xc4]
jmp 0x4524e5
mov eax, dword [esp + 0x98]
mov edx, dword [edx]
mov ecx, dword [eax]
mov eax, dword [esp + 0xc4]
fld qword [ecx]
mov ecx, dword [eax]
fadd st(0), st(0)
fsub qword [ecx]
fstp qword [edx]
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0xc4]
mov ecx, dword [eax]
mov eax, dword [edx]
fld qword [ecx + 8]
mov ecx, dword [esp + 0x24]
fadd st(0), st(0)
mov edx, dword [ecx]
fsub qword [eax + 8]
fstp qword [edx + 8]
mov eax, dword [esp + 0xc4]
jmp 0x4524e5
cmp eax, 3
jne 0x452556
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x452556
mov ecx, dword [eax]
push ebx
fld qword [esp + 0xac]
fsub qword [ecx]
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esi + 0x318]
fstp qword [esp + 0x48]
mov edx, dword [eax]
fld qword [esp + 0xb8]
fsub qword [edx + 8]
fstp qword [esp + 0x50]
mov edx, dword [eax]
push edx
call fcn.0056cc00
mov edx, dword [esp + 0xc4]
cmp edx, ebx
je 0x4524e1
mov eax, dword [esi + 0x554]
cmp eax, 2
je 0x4524a5
cmp eax, 0xffffffff
je 0x4524a5
cmp eax, 1
jne 0x4524e1
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
mov eax, dword [esp + 0x98]
mov eax, dword [eax]
fld qword [ecx + 8]
fsub qword [eax + 8]
fld qword [ecx]
fsub qword [eax]
mov ecx, dword [edx]
fpatan
fld qword [ecx + 8]
fsub qword [eax + 8]
fld qword [ecx]
fsub qword [eax]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fsqrt
fstp qword [esp + 0x1c]
fstp st(0)
fstp st(0)
fadd qword [0x5e9fe0]
fld st(0)
fcos
fmul qword [esp + 0x1c]
fstp qword [esp + 0x34]
fsin
fmul qword [esp + 0x1c]
fadd qword [eax + 8]
fstp qword [ecx + 8]
mov ecx, dword [esp + 0x98]
mov eax, dword [esp + 0xc4]
fld qword [esp + 0x34]
mov edx, dword [ecx]
mov ecx, dword [eax]
fadd qword [edx]
fstp qword [ecx]
jmp 0x4524e1
mov eax, dword [esp + 0x98]
mov edx, dword [edx]
mov ecx, dword [eax]
mov eax, dword [esp + 0x24]
fld qword [ecx]
mov ecx, dword [eax]
fadd st(0), st(0)
fsub qword [ecx]
fstp qword [edx]
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0x24]
mov ecx, dword [eax]
mov eax, dword [edx]
fld qword [ecx + 8]
mov ecx, dword [esp + 0xc4]
fadd st(0), st(0)
mov edx, dword [ecx]
fsub qword [eax + 8]
fstp qword [edx + 8]
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [edi], ecx
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
mov ecx, dword [eax + 8]
mov dword [edi + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [edi + 0xc], edx
mov ecx, dword [eax + 0x10]
mov dword [edi + 0x10], ecx
mov edx, dword [eax + 0x14]
mov ecx, dword [esp + 0x98]
mov dword [edi + 0x14], edx
mov eax, dword [eax + 0x18]
mov dword [edi + 0x18], eax
mov eax, dword [ecx]
mov edx, dword [eax]
mov dword [esi + 0x214], edx
mov ecx, dword [eax + 4]
mov dword [esi + 0x218], ecx
mov edx, dword [eax + 8]
mov dword [esi + 0x21c], edx
mov ecx, dword [eax + 0xc]
mov dword [esi + 0x220], ecx
mov edx, dword [eax + 0x10]
mov dword [esi + 0x224], edx
mov ecx, dword [eax + 0x14]
mov dword [esi + 0x228], ecx
mov edx, dword [eax + 0x18]
mov dword [esi + 0x22c], edx
mov eax, dword [esi + 0x84]
mov ecx, dword [esp + 0x70]
sub eax, ecx
mov ecx, dword [esi + 0x80]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x8c], 0
fild dword [esp + 0x1c]
neg ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x318]
fild dword [esp + 0x1c]
mov dword [esp + 0x90], 0
fstp qword [esp + 0x7c]
fstp qword [esp + 0x84]
call fcn.00549fc0
mov ecx, dword [esi + 0x318]
push 0xc08000
mov dword [esp + 0x20], eax
mov edx, dword [ecx]
call dword [edx + 0x3c]
mov ecx, dword [esp + 0x70]
mov edi, dword [esp + 0x68]
mov eax, dword [esi + 0x318]
mov edx, dword [esp + 0x6c]
sub ecx, edi
mov edi, dword [ebp + 0xc]
mov ebx, dword [eax]
push ecx
mov ecx, dword [esp + 0x68]
lea eax, [esp + 0x80]
sub edx, ecx
mov ecx, dword [edi + 4]
push edx
push eax
push ecx
mov ecx, esi
call fcn.00464840
fdivr qword [esi + 0x78]
mov ecx, dword [esi + 0x318]
sub esp, 8
fstp qword [esp]
call dword [ebx + 0x28]
mov eax, dword [0x880a98]
mov ecx, dword [esp + 0x70]
mov ebx, dword [esp + 0x68]
lea edx, [esi + 0x214]
push edx
mov edx, dword [esp + 0x70]
push eax
sub ecx, ebx
push 4
push ecx
mov ecx, dword [esp + 0x74]
lea eax, [esp + 0x8c]
sub edx, ecx
mov ecx, dword [edi + 4]
push edx
push eax
push ecx
mov ecx, esi
call fcn.00464840
fdivr qword [esi + 0x78]
mov ecx, dword [esi + 0x318]
sub esp, 8
fstp qword [esp]
call fcn.0056ab50
mov esi, dword [esi + 0x318]
mov eax, dword [esp + 0x1c]
push eax
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x3c]
jmp 0x4535c5
mov ecx, dword [esi + 0x318]
cmp ecx, ebx
je 0x452c5f
call fcn.00549f80
cmp eax, 5
jne 0x452c5f
mov ecx, dword [esi + 0x94]
mov edx, dword [esi + 0x90]
push ecx
lea eax, [esp + 0xec]
push edx
push eax
mov ecx, esi
mov dword [esp + 0x40], 1
call fcn.0044ce00
mov eax, dword [esi + 0x4e4]
lea edi, [esi + 0x4e0]
cmp eax, ebx
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x24], ebx
mov dword [esp + 0xc], eax
je 0x452708
mov eax, dword [esp + 0xc]
push eax
mov ecx, dword [eax + 4]
mov dword [esp + 0x10], ecx
call fcn.005b44c3
mov eax, dword [esp + 0x10]
add esp, 4
cmp eax, ebx
jne 0x4526ec
lea edx, [esp + 0xd4]
lea eax, [esi + 0x320]
push 4
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi], ebx
mov ecx, dword [esi + 0x318]
push edx
push eax
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0x3ff00000
call fcn.00570db0
mov ecx, dword [esi + 0x318]
push eax
call fcn.00572be0
cmp eax, ebx
mov dword [esp + 0x5c], eax
jne 0x45280a
mov dword [esi + 0x1d0], ebx
mov dword [esi + 0x1d8], ebx
mov dword [esi + 0x1e0], ebx
mov dword [esi + 0x1e8], ebx
mov dword [esi + 0x1d4], ebx
mov dword [esi + 0x1dc], ebx
mov dword [esi + 0x1e4], ebx
mov dword [esi + 0x1ec], ebx
mov ecx, dword [esi + 0x318]
call fcn.00572c70
mov dword [esi + 0x1d0], ebx
mov dword [esi + 0x1d8], ebx
mov dword [esi + 0x1e0], ebx
mov dword [esi + 0x1e8], ebx
mov dword [esi + 0x1d4], ebx
mov dword [esi + 0x1dc], ebx
mov dword [esi + 0x1e4], ebx
mov dword [esi + 0x1ec], ebx
mov ecx, dword [esi + 0x318]
call fcn.00570d10
mov edi, eax
cmp edi, ebx
je 0x452a86
mov ecx, dword [edi]
fld qword [ecx]
fsub qword [esi + 0x320]
fcom qword [0x5e80d8]
fnstsw ax
test ah, 1
jne 0x452868
fcomp qword [0x5e80b8]
fnstsw ax
test ah, 0x41
jne 0x452877
jmp 0x4528df
mov ecx, edi
call fcn.004e84b0
lea eax, [esp + 0xcc]
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, dword [esi + 0x318]
call fcn.00572c20
cmp dword [esp + 0x24], ebx
je 0x452795
mov eax, dword [edi]
mov edx, dword [esp + 0xcc]
cmp eax, ebx
mov dword [esp + 0xc], edx
push 0xc
ja 0x452855
call fcn.005b449a
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [eax + 8], ecx
mov edx, dword [edi + 8]
push eax
push edx
jmp 0x452803
call fcn.005b449a
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [eax + 8], ecx
push eax
push ebx
jmp 0x452803
fchs
fcomp qword [0x5e80b8]
fnstsw ax
test ah, 0x41
je 0x4528df
fld qword [ecx + 8]
fsub qword [esi + 0x328]
fcom qword [0x5e80d8]
fnstsw ax
test ah, 1
jne 0x45289c
fcomp qword [0x5e80b8]
fnstsw ax
test ah, 0x41
jne 0x4528ab
jmp 0x4528df
fchs
fcomp qword [0x5e80b8]
fnstsw ax
test ah, 0x41
je 0x4528df
fld qword [ecx + 0x10]
fsub qword [esi + 0x330]
fcom qword [0x5e80d8]
fnstsw ax
test ah, 1
jne 0x4528d0
fcomp qword [0x5e80b8]
fnstsw ax
test ah, 0x41
jne 0x4528fe
jmp 0x4528df
fchs
fcomp qword [0x5e80b8]
fnstsw ax
test ah, 0x41
jne 0x4528fe
mov ecx, dword [esi + 0x318]
push edi
mov dword [esp + 0x38], ebx
call fcn.00570d80
mov edi, eax
cmp edi, ebx
je 0x452a86
jmp 0x4527da
cmp dword [esi + 0x1ac], ebx
jne 0x4529cb
mov ecx, dword [edi]
fld qword [ecx]
fsub qword [esi + 0x320]
fcom qword [0x5e80d8]
fnstsw ax
test ah, 1
jne 0x452933
fcomp qword [0x5e80b8]
fnstsw ax
test ah, 0x41
jne 0x452946
jmp 0x4529cb
fchs
fcomp qword [0x5e80b8]
fnstsw ax
test ah, 0x41
je 0x4529cb
fld qword [ecx + 8]
fsub qword [esi + 0x328]
fcom qword [0x5e80d8]
fnstsw ax
test ah, 1
jne 0x45296b
fcomp qword [0x5e80b8]
fnstsw ax
test ah, 0x41
jne 0x45297a
jmp 0x4529cb
fchs
fcomp qword [0x5e80b8]
fnstsw ax
test ah, 0x41
je 0x4529cb
fld qword [ecx + 0x10]
fsub qword [esi + 0x330]
fcom qword [0x5e80d8]
fnstsw ax
test ah, 1
jne 0x45299f
fcomp qword [0x5e80b8]
fnstsw ax
test ah, 0x41
jne 0x4529ae
jmp 0x4529cb
fchs
fcomp qword [0x5e80b8]
fnstsw ax
test ah, 0x41
je 0x4529cb
cmp dword [esp + 0x5c], ebx
jne 0x4529cb
mov dword [esi + 0x1ac], ecx
mov ecx, dword [esi + 0x318]
call fcn.0054a160
mov dword [esi + 0x1b0], eax
mov edx, dword [edi]
fld qword [esp + 0xe8]
fsub qword [edx]
fstp qword [esp + 0x40]
mov eax, dword [edi]
fld qword [esp + 0xf0]
fsub qword [eax + 8]
cmp dword [esp + 0x5c], ebx
fstp qword [esp + 0x48]
jne 0x452a86
mov edx, dword [edi]
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esi + 0x318]
push edx
call fcn.005719e0
cmp dword [esp + 0x34], 1
jne 0x452a34
mov ecx, dword [esi + 0x318]
call fcn.00570d30
cmp dword [esi + 0x1b0], ebx
je 0x452a34
mov edx, dword [eax]
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esi + 0x318]
push edx
call fcn.005719e0
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x452b59
mov ebx, dword [esp + 0x5c]
cmp ebx, 1
jne 0x452b59
mov edi, dword [eax + 8]
mov eax, dword [esi + 0x1ac]
test eax, eax
jne 0x452b27
mov ecx, dword [edi]
fld qword [ecx]
fsub qword [esi + 0x320]
fcom qword [0x5e80d8]
fnstsw ax
test bl, ah
jne 0x452a99
fcomp qword [0x5e80b8]
fnstsw ax
test ah, 0x41
jne 0x452aa8
jmp 0x452b27
cmp dword [esp + 0x5c], 1
jne 0x452a34
mov eax, dword [esi + 0x4e4]
mov dword [esp + 0x24], eax
jmp 0x452a38
fchs
fcomp qword [0x5e80b8]
fnstsw ax
test ah, 0x41
je 0x452b27
fld qword [ecx + 8]
fsub qword [esi + 0x328]
fcom qword [0x5e80d8]
fnstsw ax
test ah, 1
jne 0x452acd
fcomp qword [0x5e80b8]
fnstsw ax
test ah, 0x41
jne 0x452adc
jmp 0x452b27
fchs
fcomp qword [0x5e80b8]
fnstsw ax
test ah, 0x41
je 0x452b27
fld qword [ecx + 0x10]
fsub qword [esi + 0x330]
fcom qword [0x5e80d8]
fnstsw ax
test ah, 1
jne 0x452b01
fcomp qword [0x5e80b8]
fnstsw ax
test ah, 0x41
jne 0x452b10
jmp 0x452b27
fchs
fcomp qword [0x5e80b8]
fnstsw ax
test ah, 0x41
je 0x452b27
mov dword [esi + 0x1ac], ecx
mov ecx, dword [esi + 0x318]
call fcn.0054a160
mov dword [esi + 0x1b0], eax
mov ecx, dword [edi]
lea eax, [esp + 0x40]
push eax
push ecx
mov ecx, dword [esi + 0x318]
call fcn.005719e0
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x452b4a
mov eax, dword [esi + 0x4e4]
jmp 0x452b4d
mov eax, dword [eax + 4]
test eax, eax
mov dword [esp + 0x24], eax
jne 0x452a44
mov eax, dword [esi + 0x1ac]
test eax, eax
je 0x452ba1
mov edx, dword [eax]
mov dword [esi + 0x320], edx
mov ecx, dword [eax + 4]
mov dword [esi + 0x324], ecx
mov edx, dword [eax + 8]
mov dword [esi + 0x328], edx
mov ecx, dword [eax + 0xc]
mov dword [esi + 0x32c], ecx
mov edx, dword [eax + 0x10]
mov dword [esi + 0x330], edx
mov ecx, dword [eax + 0x14]
mov dword [esi + 0x334], ecx
mov edx, dword [eax + 0x18]
mov dword [esi + 0x338], edx
mov eax, dword [esi + 0x84]
mov ecx, dword [esp + 0x70]
sub eax, ecx
mov ecx, dword [esi + 0x80]
mov dword [esp + 0xc], eax
mov dword [esp + 0xb8], 0
fild dword [esp + 0xc]
neg ecx
mov dword [esp + 0xc], ecx
mov ecx, dword [esi + 0x318]
fild dword [esp + 0xc]
mov dword [esp + 0xbc], 0
fstp qword [esp + 0xa8]
fstp qword [esp + 0xb0]
call fcn.00549fc0
mov ecx, dword [esi + 0x318]
mov edi, eax
mov eax, dword [esp + 0x1c]
mov edx, dword [ecx]
push eax
call dword [edx + 0x3c]
mov ecx, dword [esi + 0x318]
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
mov ebx, dword [ecx]
mov ecx, dword [esp + 0x68]
sub edx, ecx
lea ecx, [esp + 0xa8]
push edx
mov edx, dword [esp + 0x68]
sub eax, edx
mov edx, dword [ebp + 0xc]
push eax
push ecx
mov eax, dword [edx + 4]
mov ecx, esi
push eax
call fcn.00464840
fdivr qword [esi + 0x78]
mov ecx, dword [esi + 0x318]
sub esp, 8
fstp qword [esp]
call dword [ebx + 0x28]
mov esi, dword [esi + 0x318]
push edi
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x3c]
jmp 0x4535c5
mov ecx, dword [esi + 0x318]
cmp ecx, ebx
je 0x452d73
call fcn.00549f80
cmp eax, 0xd
jne 0x452d73
mov eax, dword [esi + 0x94]
mov ecx, dword [esi + 0x90]
push eax
lea edx, [esp + 0xec]
push ecx
push edx
mov ecx, esi
call fcn.0044ce00
lea eax, [esp + 0xe8]
lea ecx, [esi + 0x320]
push eax
push ecx
mov ecx, dword [esi + 0x318]
call fcn.0057b1e0
mov edx, dword [esi + 0x84]
mov ebx, dword [esp + 0x70]
mov eax, dword [esi + 0x80]
sub edx, ebx
mov dword [esp + 0xc], edx
mov ecx, dword [esi + 0x318]
fild dword [esp + 0xc]
neg eax
mov dword [esp + 0xc], eax
mov dword [esp + 0xb8], 0
fild dword [esp + 0xc]
mov dword [esp + 0xbc], 0
fstp qword [esp + 0xa8]
fstp qword [esp + 0xb0]
call fcn.00549fc0
mov ecx, dword [esi + 0x318]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [ecx]
push eax
call dword [edx + 0x3c]
mov ecx, dword [esi + 0x318]
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
mov ebx, dword [ecx]
mov ecx, dword [esp + 0x68]
sub edx, ecx
lea ecx, [esp + 0xa8]
push edx
mov edx, dword [esp + 0x68]
sub eax, edx
mov edx, dword [edi + 4]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00464840
fdivr qword [esi + 0x78]
mov ecx, dword [esi + 0x318]
sub esp, 8
fstp qword [esp]
call dword [ebx + 0x28]
mov esi, dword [esi + 0x318]
mov ecx, dword [esp + 0xc]
push ecx
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x3c]
jmp 0x4535c8
mov ecx, dword [esi + 0x318]
cmp ecx, ebx
je 0x452ed5
call fcn.00549f80
cmp eax, 0xc
jne 0x452ed5
mov edx, dword [esi + 0x94]
mov eax, dword [esi + 0x90]
push edx
lea ecx, [esp + 0x80]
push eax
push ecx
mov ecx, esi
call fcn.0044ce00
mov ecx, dword [esi + 0x318]
lea edx, [esp + 0x7c]
push edx
call fcn.0057d340
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
mov dword [esi + 0x358], eax
mov eax, dword [esp + 0x88]
mov dword [esi + 0x35c], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esi + 0x360], edx
mov edx, dword [esp + 0x90]
mov dword [esi + 0x364], eax
mov eax, dword [esp + 0x94]
mov dword [esi + 0x368], ecx
mov dword [esi + 0x36c], edx
mov edx, dword [esp + 0x70]
mov dword [esi + 0x370], eax
mov ecx, dword [esi + 0x84]
sub ecx, edx
mov edx, dword [esi + 0x80]
mov dword [esp + 0xc], ecx
mov ecx, dword [esi + 0x318]
fild dword [esp + 0xc]
neg edx
mov dword [esp + 0xc], edx
mov dword [esp + 0xb8], 0
fild dword [esp + 0xc]
mov dword [esp + 0xbc], 0
fstp qword [esp + 0xa8]
fstp qword [esp + 0xb0]
call fcn.00549fc0
mov ecx, dword [esi + 0x318]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0xc], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov eax, dword [esi + 0x318]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
mov ebx, dword [eax]
mov eax, dword [esp + 0x68]
sub ecx, eax
lea eax, [esp + 0xa8]
push ecx
mov ecx, dword [esp + 0x68]
sub edx, ecx
mov ecx, dword [edi + 4]
push edx
push eax
push ecx
mov ecx, esi
call fcn.00464840
fdivr qword [esi + 0x78]
mov ecx, dword [esi + 0x318]
sub esp, 8
fstp qword [esp]
call dword [ebx + 0x28]
mov esi, dword [esi + 0x318]
mov eax, dword [esp + 0xc]
push eax
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x3c]
jmp 0x4535c8
mov ecx, dword [esi + 0x318]
cmp ecx, ebx
je 0x4535c8
call fcn.00549f80
cmp eax, 8
jne 0x4535c8
lea ecx, [esp + 0x104]
mov dword [esp + 0x104], 0
push ecx
mov ecx, dword [esi + 0x318]
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0x2710
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], 0
mov dword [esp + 0x13c], 0x54442d18
mov dword [esp + 0x140], 0x3fe921fb
mov dword [esp + 0x144], 0xbeccb2bb
mov dword [esp + 0x148], 0x401c463a
mov dword [esp + 0x14c], ebx
call fcn.005762f0
mov edx, dword [esi + 0x320]
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x28], esp
mov dword [eax], edx
mov ecx, dword [esi + 0x324]
mov dword [eax + 4], ecx
mov edx, dword [esi + 0x328]
mov dword [eax + 8], edx
mov ecx, dword [esi + 0x32c]
mov dword [eax + 0xc], ecx
mov edx, dword [esi + 0x330]
mov dword [eax + 0x10], edx
mov ecx, dword [esi + 0x334]
mov dword [eax + 0x14], ecx
mov edx, dword [esi + 0x338]
mov dword [eax + 0x18], edx
lea eax, [esp + 0x40]
push eax
mov ecx, esi
call fcn.0044ce80
mov ecx, dword [esp + 0x104]
mov edx, dword [esp + 0x108]
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x28], esp
mov dword [eax], ecx
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x128]
mov edx, dword [esp + 0x12c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov ecx, dword [esp + 0x130]
mov edx, dword [esp + 0x134]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
mov ecx, dword [esp + 0x138]
lea edx, [esp + 0x50]
mov dword [eax + 0x18], ecx
push edx
mov ecx, esi
call fcn.0044ce80
mov eax, dword [esi + 0x94]
mov ecx, dword [esi + 0x90]
push eax
lea edx, [esp + 0xec]
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0x2710
call fcn.0044ce00
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
push 0xa
mov ecx, esi
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0x2710
call fcn.0044cde0
mov eax, dword [esi + 0x3f4]
fstp qword [esp + 0xd4]
cmp eax, 1
jne 0x45318a
mov ecx, dword [esi + 0x318]
lea eax, [esp + 0xe8]
push eax
call fcn.005768a0
lea ecx, [esp + 0x104]
push ecx
mov ecx, dword [esi + 0x318]
call fcn.005762f0
mov eax, dword [esp + 0x13c]
mov ecx, dword [esp + 0x138]
lea edx, [esp + 0x40]
push edx
push eax
push ecx
mov ecx, dword [esi + 0x318]
call fcn.00577390
mov eax, dword [esp + 0x144]
mov ecx, dword [esp + 0x140]
lea edx, [esp + 0x7c]
push edx
push eax
push ecx
jmp 0x4531e5
mov ecx, dword [esi + 0x318]
lea edx, [esp + 0xe8]
push edx
call fcn.00576a50
mov ecx, dword [esi + 0x318]
lea eax, [esp + 0x104]
push eax
call fcn.005762f0
mov edx, dword [esp + 0x144]
mov eax, dword [esp + 0x140]
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esi + 0x318]
push edx
push eax
call fcn.00577390
mov edx, dword [esp + 0x13c]
mov eax, dword [esp + 0x138]
lea ecx, [esp + 0x7c]
push ecx
push edx
push eax
mov ecx, dword [esi + 0x318]
call fcn.00577390
fld qword [esp + 0x40]
fsub qword [esp + 0x7c]
fcom qword [0x5e80d8]
fnstsw ax
test ah, 1
je 0x453207
fchs
fcomp qword [esp + 0xd4]
fnstsw ax
test ah, 0x41
je 0x453312
fld qword [esp + 0x48]
fsub qword [esp + 0x84]
fcom qword [0x5e80d8]
fnstsw ax
test ah, 1
je 0x453233
fchs
fcomp qword [esp + 0xd4]
fnstsw ax
test ah, 0x41
je 0x453312
cmp dword [esi + 0x3f4], 1
jne 0x453288
lea ecx, [esp + 0x7c]
push ecx
mov ecx, dword [esi + 0x318]
call fcn.005768a0
mov ecx, dword [esi + 0x318]
lea edx, [esp + 0x104]
push edx
call fcn.005762f0
mov ecx, dword [esp + 0x13c]
mov edx, dword [esp + 0x138]
lea eax, [esp + 0x40]
push eax
push ecx
push edx
jmp 0x4532c0
mov ecx, dword [esi + 0x318]
lea eax, [esp + 0x7c]
push eax
call fcn.00576a50
lea ecx, [esp + 0x104]
push ecx
mov ecx, dword [esi + 0x318]
call fcn.005762f0
mov eax, dword [esp + 0x144]
mov ecx, dword [esp + 0x140]
lea edx, [esp + 0x40]
push edx
push eax
push ecx
mov ecx, dword [esi + 0x318]
call fcn.00577390
fld qword [esp + 0x84]
call fcn.00530020
fld qword [esp + 0x7c]
mov dword [esp + 0xc], eax
add eax, 4
mov dword [esp + 0x1c], eax
call fcn.00530020
mov edx, dword [esp + 0xc]
lea ecx, [eax + 4]
add eax, 0xfffffffc
add edx, 0xfffffffc
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [edi + 4]
push ecx
push edx
call dword [sym.imp.GDI32.dll_Rectangle]
mov dword [esp + 0xe0], ebx
lea ebx, [esi + 0x400]
xor eax, eax
xor ecx, ecx
mov dword [ebx], eax
mov eax, dword [esp + 0xe0]
xor edx, edx
sub esp, 0x1c
mov dword [ebx + 4], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x28], esp
mov dword [ebx + 8], edx
mov edx, dword [esp + 0x60]
mov dword [ebx + 0xc], eax
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
mov ecx, dword [esp + 0x74]
lea edx, [esp + 0x78]
mov dword [eax + 0x18], ecx
push edx
mov ecx, esi
call fcn.0044ce80
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x80]
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x28], esp
mov dword [eax], ecx
mov dword [eax + 4], edx
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xa4]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xac]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
mov ecx, dword [esp + 0xb0]
lea edx, [esp + 0xbc]
mov dword [eax + 0x18], ecx
push edx
mov ecx, esi
call fcn.0044ce80
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push eax
lea edx, [esp + 0x1a0]
push ecx
push edx
mov ecx, edi
call fcn.005b7b1a
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
push eax
push ecx
mov ecx, edi
call fcn.005b7b66
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
push edx
lea ecx, [esp + 0x1a8]
push eax
push ecx
mov ecx, edi
call fcn.005b7b1a
mov edx, dword [esp + 0xa4]
mov eax, dword [esp + 0xa0]
push edx
push eax
mov ecx, edi
call fcn.005b7b66
or bl, 0xff
mov eax, dword [0x880a98]
xor ecx, ecx
mov cl, ah
or dl, 0xff
sub bl, al
sub dl, cl
shr eax, 0x10
or cl, 0xff
mov byte [esp + 0xc], bl
sub cl, al
cmp bl, 0x80
jne 0x453463
cmp cl, bl
jne 0x453463
or cl, 0xff
or dl, 0xff
mov byte [esp + 0xc], 0xff
xor eax, eax
mov ah, cl
mov ecx, dword [esp + 0xc]
mov al, dl
and ecx, 0xff
shl eax, 8
mov edi, eax
or edi, ecx
lea ecx, [esp + 0xcc]
push edi
call fcn.005b807f
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov byte [esp + 0x220], 0xc
lea ecx, [eax - 4]
add eax, 4
mov dword [esp + 0x154], eax
lea ebx, [edx - 4]
lea eax, [esp + 0xcc]
add edx, 4
neg eax
mov dword [esp + 0x150], ebx
mov ebx, dword [esp + 0xd0]
sbb eax, eax
mov dword [esp + 0x158], edx
and eax, ebx
mov dword [esp + 0x14c], ecx
push eax
mov eax, dword [ebp + 0xc]
lea edx, [esp + 0x150]
mov ecx, dword [eax + 4]
push edx
push ecx
call dword [sym.imp.USER32.dll_FillRect]
mov edx, dword [esi + 0x84]
mov ebx, dword [esp + 0x70]
mov eax, dword [esi + 0x80]
sub edx, ebx
mov dword [esp + 0xc], edx
mov ecx, dword [esi + 0x318]
fild dword [esp + 0xc]
neg eax
mov dword [esp + 0xc], eax
mov dword [esp + 0xb8], 0
fild dword [esp + 0xc]
mov dword [esp + 0xbc], 0
fstp qword [esp + 0xa8]
fstp qword [esp + 0xb0]
call fcn.00549fc0
mov ecx, dword [esi + 0x318]
push edi
mov ebx, eax
mov edx, dword [ecx]
call dword [edx + 0x3c]
mov eax, dword [esi + 0x318]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
mov edi, dword [eax]
mov eax, dword [esp + 0x68]
sub ecx, eax
lea eax, [esp + 0xa8]
push ecx
mov ecx, dword [esp + 0x68]
sub edx, ecx
mov ecx, dword [ebp + 0xc]
push edx
push eax
mov edx, dword [ecx + 4]
mov ecx, esi
push edx
call fcn.00464840
fdivr qword [esi + 0x78]
mov ecx, dword [esi + 0x318]
sub esp, 8
fstp qword [esp]
call dword [edi + 0x28]
mov esi, dword [esi + 0x318]
push ebx
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x3c]
mov dword [esp + 0xcc], vtable.CGdiObject.0
lea ecx, [esp + 0xcc]
mov byte [esp + 0x220], 0xd
call fcn.005b7fc3
mov byte [esp + 0x220], 0xa
mov edi, dword [ebp + 0xc]
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, edi
call fcn.005b7738
mov dword [esp + 0x74], vtable.CGdiObject.0
mov dword [esp + 0x220], 0xe
lea ecx, [esp + 0x74]
jmp 0x453722
lea edx, [edi + 0x58]
lea ecx, [edi + 0x614]
push edx
call fcn.00470290
mov edi, eax
cmp edi, ebx
je case.0x450963.9
mov ecx, edi
call fcn.00549f80
cmp eax, 0xb
je 0x453631
mov ecx, edi
call fcn.00549f80
cmp eax, 5
je 0x453631
mov ecx, edi
call fcn.00549f80
cmp eax, 0x10
jne case.0x450963.9
xor eax, eax
mov dword [esp + 0xd4], ebx
mov ah, byte [esp + 0x1a]
mov dword [esp + 0x30], ebx
mov al, byte [esp + 0x1b]
mov dword [esp + 0x2c], vtable.CPen.0
shl eax, 8
mov dword [esp + 0xd8], eax
push ebx
lea ecx, [esp + 0xd8]
push ebx
push ecx
push 1
push 1
mov dword [esp + 0x234], 0xf
call dword [sym.imp.GDI32.dll_ExtCreatePen]
push eax
lea ecx, [esp + 0x30]
call fcn.005b7f6c
mov edi, dword [ebp + 0xc]
lea edx, [esp + 0x2c]
push edx
mov ecx, edi
call fcn.005b7738
mov ecx, dword [esi + 0x8c]
mov ebx, eax
mov eax, dword [esi + 0x88]
push ecx
push eax
lea eax, [esp + 0x1bc]
push eax
mov ecx, edi
call fcn.005b7b1a
mov ecx, dword [esi + 0x94]
mov edx, dword [esi + 0x88]
push ecx
push edx
mov ecx, edi
call fcn.005b7b66
mov ecx, dword [esi + 0x94]
mov eax, dword [esi + 0x90]
push ecx
push eax
mov ecx, edi
call fcn.005b7b66
mov eax, dword [esi + 0x8c]
mov ecx, dword [esi + 0x90]
push eax
push ecx
mov ecx, edi
call fcn.005b7b66
mov eax, dword [esi + 0x88]
mov esi, dword [esi + 0x8c]
push esi
push eax
mov ecx, edi
call fcn.005b7b66
push ebx
mov ecx, edi
call fcn.005b7738
mov dword [esp + 0x2c], vtable.CGdiObject.0
mov dword [esp + 0x220], 0x10
lea ecx, [esp + 0x2c]
call fcn.005b7fc3
mov ecx, dword [esp + 0x218]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8