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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x51869b
push eax
mov eax, 0x193c
mov dword fs:[0], esp
call fcn.00515ce0
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push edi
cmp dword [esi + 0x80], ebx
jne 0x4881ce
cmp dword [esi + 0x7c], ebx
jne 0x4881ce
xor ecx, ecx
jmp 0x4881d3
mov ecx, 1
mov edi, dword [ebp + 0x24]
mov eax, dword [ebp + 8]
cmp edi, ebx
mov dword [esp + 0x88], ecx
jne 0x48822a
cmp dword [ebp + 0x28], ebx
je 0x4881ed
cmp ecx, ebx
jne 0x48822a
cmp dword [eax + 0x14], ebx
je 0x48822a
mov ecx, dword [ebp + 0x2c]
mov edx, dword [ebp + 0x20]
push ecx
mov ecx, dword [ebp + 0x1c]
push ebx
push edx
mov edx, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push ecx
push edx
push esi
push eax
call fcn.00489750
add esp, 0x24
mov ecx, dword [esp + 0x1948]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x2c]
lea ecx, [esp + 0xe8]
push eax
push esi
lea edx, [esp + 0xc0]
push ecx
push edx
call fcn.00489810
add esp, 0x10
cmp edi, ebx
je 0x488268
movsx eax, word [esi + 0x66]
mov dword [esp + 0xc], eax
mov dword [esp + 0x1c], ebx
fild dword [esp + 0xc]
fimul dword [esi + 8]
fmul qword [0x51fd28]
fstp qword [esp + 0x6c]
lea ecx, [esp + 0x94]
call fcn.004b17e0
lea ecx, [esp + 0x94]
mov dword [esp + 0x1950], ebx
call fcn.004b1a50
mov edi, eax
mov eax, dword [ebp + 0x18]
cmp eax, ebx
mov dword [esp + 0x18], ebx
jbe 0x4896f8
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
mov dl, byte [ebx]
mov eax, edx
and eax, 0xff
shr eax, 6
sub eax, 0
je 0x4894c8
dec eax
je 0x488b78
dec eax
jne 0x4896da
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [ebp + 0x18]
push edx
mov edx, dword [esp + 0x20]
push eax
push ecx
push edx
push ebx
push esi
call fcn.00489ac0
mov ecx, dword [ebp + 0x1c]
lea edx, [esp + 0x944]
lea eax, [esi - 0x18]
push ecx
push edx
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.0048b230
mov edx, dword [esi - 0x14]
lea ecx, [esp + 0x144]
mov ebx, eax
mov eax, dword [esi - 0x18]
push ecx
mov ecx, dword [esi - 0xc]
push edx
mov edx, dword [esi - 0x10]
push eax
push ecx
push edx
inc ebx
call fcn.00489bf0
mov eax, dword [esp + 0x158]
add esp, 0x40
test eax, eax
jne 0x488352
mov eax, dword [esp + 0x11c]
test eax, eax
jne 0x488352
mov ecx, dword [esi - 0x14]
mov edx, dword [esi - 0x18]
lea eax, [esp + 0x118]
push eax
mov eax, dword [esi - 4]
push ecx
mov ecx, dword [esi - 8]
push edx
push eax
push ecx
call fcn.00489bf0
add esp, 0x14
mov edx, dword [esi - 4]
mov ecx, dword [esi + 4]
lea eax, [esp + ebx*8 + 0x118]
mov dword [esp + 0x60], eax
add eax, 0xfffffff8
push eax
mov eax, dword [esi - 8]
push edx
mov edx, dword [esi]
push eax
push ecx
push edx
call fcn.00489bf0
mov eax, dword [esp + 0x74]
add esp, 0x14
add eax, 0xfffffff8
cmp dword [eax], 0
jne 0x4883ae
mov eax, dword [esp + ebx*8 + 0x114]
test eax, eax
jne 0x4883ae
mov ecx, dword [esp + 0x60]
mov edx, dword [esi - 0xc]
lea eax, [ecx - 8]
mov ecx, dword [esi + 4]
push eax
mov eax, dword [esi - 0x10]
push edx
mov edx, dword [esi]
push eax
push ecx
push edx
call fcn.00489bf0
add esp, 0x14
lea ecx, [ebx - 1]
cmp ecx, 1
jle 0x488415
xor eax, eax
lea edx, [ecx - 1]
mov ecx, dword [esp + eax + 0x938]
sub ecx, dword [esp + eax + 0x928]
mov dword [esp + eax + 0x120], ecx
mov ecx, dword [esp + eax + 0x93c]
sub ecx, dword [esp + eax + 0x92c]
mov dword [esp + eax + 0x124], ecx
cmp dword [esp + eax + 0x120], 0
jne 0x48840f
test ecx, ecx
jne 0x48840f
mov ecx, dword [esp + eax + 0x118]
mov dword [esp + eax + 0x120], ecx
mov ecx, dword [esp + eax + 0x11c]
mov dword [esp + eax + 0x124], ecx
add eax, 8
dec edx
jne 0x4883bb
mov edx, dword [esp + 0x60]
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push edx
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x48]
push ecx
inc ebx
push edx
push eax
mov dword [esp + 0x64], ebx
call fcn.00489bf0
mov ecx, dword [esi]
mov edx, dword [esi + 4]
lea eax, [ebx*8]
add esp, 0x14
mov dword [esp + eax + 0x920], ecx
mov ecx, dword [ebp + 0x24]
test ecx, ecx
mov dword [esp + eax + 0x924], edx
je 0x488473
push eax
lea eax, [esp + 0x11c]
lea ecx, [esp + 0x113c]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_memmove]
add esp, 0xc
lea edx, [esp + 0xb8]
push ebx
lea eax, [esp + 0x11c]
push edx
push eax
call sub.CRLUTL110.dll__UTLTransformPoint_12
lea ecx, [esp + 0x118]
push ebx
push ecx
call fcn.0048a9b0
add esp, 8
lea edx, [esp + 0xe8]
lea eax, [esp + 0x118]
push ebx
push edx
push eax
call sub.CRLUTL110.dll__UTLTransformPoint_12
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x488a1b
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x928]
mov edx, dword [esp + 0x92c]
dec eax
mov dword [esp + 0x50], eax
xor ebx, ebx
dec eax
mov dword [esp + 0x2c], ebx
cmp eax, ebx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
jle 0x488a03
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x28], 1
mov ecx, dword [esp + eax*8 + 0x928]
mov edx, dword [esp + eax*8 + 0x92c]
lea eax, [esp + eax*8 + 0x930]
mov dword [esp + 0x30], ecx
mov ecx, eax
mov dword [esp + 0x34], edx
mov edx, dword [ecx]
mov dword [esp + 0x38], edx
mov edx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x3c], ecx
mov ecx, dword [edx + 0x2c]
test ecx, ecx
je 0x488589
mov edx, dword [eax - 8]
mov dword [esp + 0xb0], edx
mov edx, dword [eax - 4]
mov dword [esp + 0xb4], edx
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], eax
lea edx, [esp + 0xa8]
lea eax, [esp + 0xb0]
push edx
push eax
mov eax, dword [ecx]
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
call fcn.0043d2a0
add esp, 0x18
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x40]
push ecx
push edx
push eax
call fcn.00489bf0
add esp, 0x14
lea ecx, [esp + 0xb8]
lea edx, [esp + 0x10]
push 1
push ecx
push edx
call sub.CRLUTL110.dll__UTLTransformPoint_12
fild dword [esp + 0x14]
fild dword [esp + 0x10]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fsqrt
call sub.MSVCRT.dll__ftol
fstp st(0)
fstp st(0)
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x51fd28]
fst qword [esp + 0x54]
fcomp qword [0x51be98]
fnstsw ax
test ah, 0x40
jne 0x4889e1
fld qword [esp + 0x54]
fcomp qword [esp + 0x6c]
fnstsw ax
test ah, 1
jne 0x4889e1
fld qword [esp + 0x6c]
fdiv qword [esp + 0x54]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
sub edx, eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
fild dword [esp + 0xc]
fmul st(1)
call sub.MSVCRT.dll__ftol
mov edx, dword [esp + 0x34]
mov esi, eax
mov eax, dword [esp + 0x30]
add esi, eax
mov eax, dword [esp + 0x3c]
sub eax, edx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul st(1)
call sub.MSVCRT.dll__ftol
mov ecx, dword [esp + 0x14]
add ecx, eax
mov al, byte [esp + 0x1c]
test al, 1
fstp st(0)
mov dword [esp + 0x14], ecx
jne 0x4888cc
cmp ebx, dword [esp + 0x2c]
jne 0x4886ff
mov ecx, dword [esp + ebx*8 + 0x11c]
mov edx, dword [esp + ebx*8 + 0x118]
mov eax, dword [esp + 0x14]
lea ebx, [esp + ebx*8 + 0x118]
push edi
push ecx
push edx
push eax
push esi
call fcn.00489bf0
mov edx, dword [ebx + 4]
mov eax, dword [ebx]
lea ecx, [edi + 0x18]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x4c]
push eax
push ecx
push edx
call fcn.00489bf0
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
lea eax, [edi + 0x10]
push eax
mov eax, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x60]
push edx
push eax
push ecx
call fcn.00489c10
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
lea edx, [edi + 8]
push edx
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x54]
push ecx
push edx
push eax
call fcn.00489c10
add esp, 0x50
mov esi, 4
jmp 0x488838
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + ebx*8 + 0x11c]
sub eax, ebx
add eax, 2
mov dword [esp + 0x60], eax
lea esi, [edi + eax*8]
mov eax, dword [esp + ebx*8 + 0x118]
lea ecx, [esi - 8]
push ecx
mov ecx, dword [esp + 0x6c]
push edx
mov edx, dword [esp + 0x6c]
push eax
push ecx
push edx
call fcn.00489bf0
mov eax, dword [esp + ebx*8 + 0x130]
mov ecx, dword [esp + ebx*8 + 0x12c]
mov edx, dword [esp + 0x7c]
push esi
push eax
mov eax, dword [esp + 0x80]
push ecx
push edx
push eax
call fcn.00489c10
mov eax, dword [esp + 0x54]
lea esi, [ebx + 1]
add esp, 0x28
cmp esi, eax
jg 0x4887ea
mov eax, dword [esp + 0x60]
mov ecx, esi
sub ecx, ebx
sub ebx, esi
add ecx, eax
add ebx, eax
lea edx, [edi + ecx*8]
lea ebx, [edi + ebx*8 - 8]
mov dword [esp + 0xc], edx
mov eax, dword [esp + esi*8 + 0x11c]
mov ecx, dword [esp + esi*8 + 0x118]
mov edx, dword [esp + esi*8 + 0x92c]
push ebx
push eax
mov eax, dword [esp + esi*8 + 0x930]
push ecx
push edx
push eax
call fcn.00489bf0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + esi*8 + 0x130]
mov eax, dword [esp + esi*8 + 0x12c]
push ecx
mov ecx, dword [esp + esi*8 + 0x944]
push edx
mov edx, dword [esp + esi*8 + 0x944]
push eax
push ecx
push edx
call fcn.00489c10
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x54]
add esp, 0x28
inc esi
sub ebx, 8
add ecx, 8
cmp esi, eax
mov dword [esp + 0xc], ecx
jle 0x488780
mov eax, dword [esp + 0x2c]
push edi
lea ebx, [esp + eax*8 + 0x11c]
mov ecx, ebx
mov edx, dword [ecx + 4]
push edx
mov edx, dword [esp + 0x18]
mov eax, dword [ecx]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
push edx
call fcn.00489bf0
mov eax, dword [esp + 0x74]
mov edx, dword [ebx + 4]
lea esi, [eax + eax]
mov eax, dword [ebx]
lea ecx, [edi + esi*8 - 8]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
push eax
push ecx
push edx
call fcn.00489c10
add esp, 0x28
cmp esi, 1
jbe 0x48884e
mov eax, dword [esp + 0x28]
test eax, eax
je 0x48884e
mov eax, dword [ebp + 8]
push edi
push esi
push eax
call fcn.00489730
add esp, 0xc
mov eax, dword [ebp + 0x2c]
test eax, eax
je 0x4888c8
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + eax*8 + 0x1138]
mov esi, dword [esp + eax*8 + 0x113c]
mov eax, dword [ebp + 0x1c]
sub ecx, ebx
sub edx, esi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
push eax
lea ecx, [esp + 0xec]
push edi
lea edx, [esp + 0xc0]
mov esi, dword [ebp + 8]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
mov eax, dword [ebp + 0xc]
xor edx, edx
lea ecx, [esp + 0x24]
mov dx, word [eax + 2]
push ecx
push edx
push esi
call fcn.0048ad10
add esp, 0x20
cmp eax, 1
jbe 0x4888c8
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x4888c8
push edi
push eax
push esi
call fcn.00489730
add esp, 0xc
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
fld qword [esp + 0x54]
fsub qword [esp + 0x6c]
mov ebx, dword [esp + 0x2c]
inc eax
xor dx, dx
mov dword [esp + 0x1c], eax
mov dl, al
mov eax, dword [ebp + 0xc]
fstp qword [esp + 0x54]
cmp dx, word [eax + 0x64]
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], ecx
jb 0x48890f
mov dword [esp + 0x1c], 0
mov edx, dword [esp + 0x1c]
movsx edx, word [eax + edx*2 + 0x66]
mov dword [esp + 0xc], edx
fild dword [esp + 0xc]
fimul dword [eax + 8]
cmp esi, dword [esp + 0x38]
fmul qword [0x51fd28]
fstp qword [esp + 0x6c]
jne 0x488949
cmp ecx, dword [esp + 0x3c]
jne 0x488949
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
test byte [esp + 0x1c], 1
jne 0x4889c9
mov eax, dword [ebp + 0x2c]
test eax, eax
je 0x4889c9
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + eax*8 + 0x1138]
mov edx, dword [esp + eax*8 + 0x113c]
mov eax, dword [ebp + 0x1c]
add ecx, esi
mov esi, dword [esp + 0x14]
mov dword [esp + 0x40], ecx
add edx, esi
push eax
mov dword [esp + 0x48], edx
lea ecx, [esp + 0xec]
push edi
lea edx, [esp + 0xc0]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x44]
xor edx, edx
push ecx
mov dx, word [eax + 2]
mov ecx, dword [ebp + 8]
push edx
push ecx
call fcn.0048ad10
add esp, 0x20
cmp eax, 1
jbe 0x4889c9
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x4889c9
mov edx, dword [ebp + 8]
push edi
push eax
push edx
call fcn.00489730
add esp, 0xc
fld qword [esp + 0x54]
fcomp qword [0x51be98]
mov esi, dword [ebp + 0x10]
fnstsw ax
test ah, 0x40
je 0x4885fe
fld qword [esp + 0x6c]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x50]
fsub qword [esp + 0x54]
inc ecx
dec eax
cmp ecx, eax
mov dword [esp + 0x2c], ecx
fstp qword [esp + 0x6c]
jl 0x4884e9
mov eax, dword [esp + 0x50]
inc eax
mov dword [esp + 0x50], eax
mov al, byte [esp + 0x1c]
test al, 1
je 0x488a33
xor ebx, ebx
jmp 0x48920c
mov ecx, dword [esp + 0x928]
mov edx, dword [esp + 0x92c]
xor ebx, ebx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + eax*8 + 0x110]
test ecx, ecx
jne 0x488a52
mov ecx, dword [esp + eax*8 + 0x114]
test ecx, ecx
jne 0x488a52
dec eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + ebx*8 + 0x118]
sub eax, ebx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x60], eax
lea eax, [edi + eax*8]
mov dword [esp + 0xc], eax
add eax, 0xfffffff8
push eax
mov eax, dword [esp + ebx*8 + 0x120]
push eax
mov eax, dword [esp + 0x6c]
push ecx
push edx
push eax
call fcn.00489bf0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + ebx*8 + 0x130]
mov eax, dword [esp + ebx*8 + 0x12c]
push ecx
mov ecx, dword [esp + 0x80]
push edx
mov edx, dword [esp + 0x80]
push eax
push ecx
push edx
call fcn.00489c10
mov ecx, dword [esp + 0x78]
lea eax, [ebx + 1]
add esp, 0x28
cmp eax, ecx
mov dword [esp + 0x28], eax
jge 0x488b6c
mov ecx, dword [esp + 0x60]
mov edx, eax
sub edx, ebx
sub ebx, eax
add edx, ecx
add ebx, ecx
lea edx, [edi + edx*8]
lea eax, [edi + ebx*8 - 8]
mov dword [esp + 0x2c], edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0xc]
push ecx
lea ebx, [esp + eax*8 + 0x11c]
lea eax, [esp + eax*8 + 0x92c]
mov edx, ebx
mov ecx, dword [edx + 4]
push ecx
mov ecx, dword [eax + 4]
mov edx, dword [edx]
push edx
mov edx, dword [eax]
push ecx
push edx
call fcn.00489bf0
mov eax, dword [esp + 0x40]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
push eax
mov eax, dword [esp + 0x40]
push ecx
push edx
mov ecx, dword [esp + eax*8 + 0x94c]
mov edx, dword [esp + eax*8 + 0x948]
lea eax, [esp + eax*8 + 0x948]
push ecx
push edx
call fcn.00489c10
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov ecx, 8
add esp, 0x28
sub ebx, ecx
add edx, ecx
mov ecx, dword [esp + 0x50]
inc eax
mov dword [esp + 0xc], ebx
cmp eax, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
jl 0x488ae3
mov eax, dword [esp + 0x60]
lea ebx, [eax + eax]
jmp 0x48920c
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x30], ecx
mov ecx, dword [esi]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x48], ecx
mov ecx, dword [esi + 4]
dec eax
mov dword [esp + 0x4c], ecx
cmp dword [esp + 0x18], eax
je 0x488ba9
test byte [ebx + 1], 0xc0
jne 0x488c29
test dl, 8
jne 0x488c29
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
push ebx
push esi
call fcn.00489b70
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x38]
push edx
mov edx, dword [esi + 4]
push eax
mov eax, dword [esi]
push ecx
push edx
push eax
call fcn.00489bf0
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x114]
lea edx, [esp + 0xe4]
push ecx
mov ecx, dword [esp + 0x50]
push edx
push eax
push ecx
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0x84]
push edx
lea eax, [esi - 8]
mov edx, dword [ecx + 0x80]
push eax
push edx
call fcn.0048aad0
mov ecx, dword [esp + 0x94]
add esp, 0x48
mov eax, dword [esp + 0x48]
mov edx, dword [ebp + 8]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov eax, dword [edx + 0x2c]
mov dword [esp + 0x28], 1
test eax, eax
je 0x488ca6
mov edx, dword [esp + 0x30]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0xa4], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x98], edx
lea ecx, [esp + 0x98]
lea edx, [esp + 0xa0]
push ecx
push edx
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
call fcn.0043d2a0
add esp, 0x18
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [ebp + 0x18]
push edx
mov edx, dword [esp + 0x20]
push eax
push ecx
push edx
push ebx
push esi
call fcn.00489ac0
mov ecx, dword [esi - 4]
mov edx, dword [esi - 8]
lea eax, [esp + 0x134]
push eax
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esi]
push edx
push eax
push ecx
call fcn.00489bf0
mov eax, dword [esi + 4]
mov ecx, dword [esi]
lea edx, [esp + 0x150]
push edx
mov edx, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x78]
push ecx
push edx
push eax
call fcn.00489bf0
add esp, 0x44
lea ecx, [esp + 0xb8]
lea edx, [esp + 0x118]
push 2
push ecx
push edx
call sub.CRLUTL110.dll__UTLTransformPoint_12
lea eax, [esp + 0x118]
push 2
push eax
call fcn.0048a9b0
add esp, 8
lea ecx, [esp + 0xe8]
lea edx, [esp + 0x118]
push 2
push ecx
push edx
call sub.CRLUTL110.dll__UTLTransformPoint_12
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x4890d1
mov ecx, dword [esi - 4]
mov edx, dword [esi - 8]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esi]
push edx
push eax
push ecx
call fcn.00489bf0
add esp, 0x14
lea edx, [esp + 0xb8]
lea eax, [esp + 0x10]
push 1
push edx
push eax
call sub.CRLUTL110.dll__UTLTransformPoint_12
fild dword [esp + 0x10]
fild dword [esp + 0x14]
fld st(1)
fmul st(2)
fld st(1)
fmul st(2)
faddp st(1)
fsqrt
call sub.MSVCRT.dll__ftol
fstp st(0)
fstp st(0)
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x51fd28]
fst qword [esp + 0x54]
fcomp qword [0x51be98]
fnstsw ax
test ah, 0x40
jne 0x4890b7
fld qword [esp + 0x54]
fcomp qword [esp + 0x6c]
fnstsw ax
test ah, 1
jne 0x4890b7
fld qword [esp + 0x6c]
fdiv qword [esp + 0x54]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
sub edx, eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
fild dword [esp + 0xc]
fmul st(1)
call sub.MSVCRT.dll__ftol
mov edx, dword [esp + 0x34]
mov ebx, eax
mov eax, dword [esp + 0x30]
add ebx, eax
mov eax, dword [esp + 0x3c]
sub eax, edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul st(1)
call sub.MSVCRT.dll__ftol
mov ecx, dword [esp + 0x14]
add ecx, eax
mov al, byte [esp + 0x1c]
test al, 1
fstp st(0)
mov dword [esp + 0x14], ecx
jne 0x488f81
mov ecx, dword [esp + 0x11c]
mov edx, dword [esp + 0x118]
mov eax, dword [esp + 0x14]
push edi
push ecx
push edx
push eax
push ebx
call fcn.00489bf0
mov edx, dword [esp + 0x130]
mov eax, dword [esp + 0x12c]
lea ecx, [edi + 0x18]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x4c]
push eax
push ecx
push edx
call fcn.00489bf0
mov ecx, dword [esp + 0x144]
mov edx, dword [esp + 0x140]
lea eax, [edi + 0x10]
push eax
mov eax, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x60]
push edx
push eax
push ecx
call fcn.00489c10
mov eax, dword [esp + 0x158]
mov ecx, dword [esp + 0x154]
lea edx, [edi + 8]
push edx
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x54]
push ecx
push edx
push eax
call fcn.00489c10
mov eax, dword [esp + 0x78]
add esp, 0x50
test eax, eax
je 0x488ed9
mov ecx, dword [ebp + 8]
push edi
push 4
push ecx
call fcn.00489730
add esp, 0xc
mov eax, dword [ebp + 0x2c]
test eax, eax
je 0x488f7d
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [ebp + 0x14]
push ecx
push edx
push eax
push esi
call fcn.00489b70
mov ecx, dword [esp + 0x28]
mov ebx, dword [esi]
mov edx, dword [esp + 0x38]
mov eax, dword [esi + 4]
sub ecx, ebx
mov ebx, dword [esp + 0x3c]
add edx, ecx
lea ecx, [esp + 0x100]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x2c]
sub edx, eax
mov eax, dword [ebp + 0x1c]
add ebx, edx
push eax
push edi
lea edx, [esp + 0xd8]
push ecx
lea eax, [esp + 0x44]
push edx
push eax
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x3c]
xor edx, edx
push ecx
mov dx, word [eax + 2]
mov ecx, dword [ebp + 8]
push edx
push ecx
mov dword [esp + 0x5c], ebx
call fcn.0048ad10
add esp, 0x38
cmp eax, 1
jbe 0x488f7d
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x488f7d
mov edx, dword [ebp + 8]
push edi
push eax
push edx
call fcn.00489730
add esp, 0xc
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
xor cx, cx
fld qword [esp + 0x54]
fsub qword [esp + 0x6c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x1c], eax
mov cl, al
mov eax, dword [ebp + 0xc]
fstp qword [esp + 0x54]
cmp cx, word [eax + 0x64]
jb 0x488fb8
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x1c]
movsx edx, word [eax + ecx*2 + 0x66]
mov dword [esp + 0xc], edx
fild dword [esp + 0xc]
fimul dword [eax + 8]
cmp ebx, dword [esp + 0x38]
fmul qword [0x51fd28]
fstp qword [esp + 0x6c]
jne 0x488ff8
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x3c]
cmp eax, edx
jne 0x488ff8
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
test cl, 1
jne 0x4890a2
mov eax, dword [ebp + 0x2c]
test eax, eax
je 0x4890a2
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [ebp + 0x14]
push eax
push ecx
push edx
push esi
call fcn.00489b70
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x38]
mov ecx, dword [esi]
mov ebx, dword [esp + 0x3c]
sub eax, edx
mov edx, dword [esp + 0x4c]
add eax, ecx
mov ecx, dword [esi + 4]
sub ecx, ebx
mov dword [esp + 0x58], eax
add ecx, edx
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x5c], ecx
push edx
lea eax, [esp + 0x104]
push edi
lea ecx, [esp + 0xd8]
mov ebx, dword [ebp + 8]
push eax
lea edx, [esp + 0x64]
push ecx
push edx
mov edx, dword [ebp + 0xc]
xor ecx, ecx
lea eax, [esp + 0x5c]
mov cx, word [edx + 2]
push eax
push ecx
push ebx
call fcn.0048ad10
add esp, 0x38
cmp eax, 1
jbe 0x4890a2
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x4890a2
push edi
push eax
push ebx
call fcn.00489730
add esp, 0xc
fld qword [esp + 0x54]
fcomp qword [0x51be98]
fnstsw ax
test ah, 0x40
je 0x488dbd
fld qword [esp + 0x6c]
fsub qword [esp + 0x54]
test byte [esp + 0x1c], 1
fstp qword [esp + 0x6c]
je 0x4890d1
xor ebx, ebx
jmp 0x48920c
mov ecx, dword [esp + 0x120]
mov edx, dword [esp + 0x124]
xor ebx, ebx
cmp ecx, ebx
mov dword [esp + 0xc], ebx
jne 0x4890ed
cmp edx, ebx
je 0x48915b
fild dword [esp + 0x11c]
mov dword [esp + 0xc], 1
fimul dword [esp + 0x120]
fild dword [esp + 0x118]
fimul dword [esp + 0x124]
fsubp st(1)
fcomp qword [0x51be98]
fnstsw ax
test ah, 0x41
lea eax, [esp + 0x8c]
push eax
push edx
mov edx, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x48]
push ecx
push edx
jne 0x48913b
call fcn.00489bf0
jmp 0x489140
call fcn.00489c10
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0xa4]
mov dword [edi], eax
add esp, 0x14
mov dword [edi + 4], ecx
mov ebx, 1
mov edx, dword [esp + 0x11c]
mov ecx, dword [esp + 0x3c]
lea eax, [edi + ebx*8]
inc ebx
push eax
mov eax, dword [esp + 0x11c]
push edx
mov edx, dword [esp + 0x40]
push eax
push ecx
push edx
call fcn.00489bf0
mov ecx, dword [esp + 0x12c]
mov edx, dword [esp + 0x48]
lea eax, [edi + ebx*8]
inc ebx
push eax
mov eax, dword [esp + 0x134]
push eax
mov eax, dword [esp + 0x4c]
push ecx
push edx
push eax
call fcn.00489bf0
mov ecx, dword [esp + 0x144]
mov edx, dword [esp + 0x140]
lea eax, [edi + ebx*8]
inc ebx
push eax
mov eax, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x60]
push edx
push eax
push ecx
call fcn.00489c10
mov edx, dword [esp + 0x158]
mov ecx, dword [esp + 0x78]
lea eax, [edi + ebx*8]
inc ebx
push eax
mov eax, dword [esp + 0x158]
push edx
mov edx, dword [esp + 0x7c]
push eax
push ecx
push edx
call fcn.00489c10
mov eax, dword [esp + 0x5c]
add esp, 0x50
test eax, eax
je 0x48920c
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
mov dword [edi + ebx*8], eax
mov dword [edi + ebx*8 + 4], ecx
inc ebx
mov ecx, dword [ebp + 0x14]
mov al, byte [ecx]
test al, 0x30
jne 0x4892e1
mov edx, dword [ebp + 0x18]
dec edx
cmp dword [esp + 0x18], edx
jae 0x489229
test byte [ecx + 1], 0xc0
jne 0x489231
test al, 8
je 0x4892e1
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x489243
test byte [esp + 0x1c], 1
jne 0x4894a0
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
push eax
push ecx
push esi
call fcn.00489b70
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x90]
lea edx, [esp + 0x58]
push edx
mov edx, dword [ebp + 0x18]
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
push eax
push ecx
push esi
call fcn.00489ac0
mov eax, dword [ebp + 0x2c]
add esp, 0x34
test eax, eax
je 0x4894a0
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
push edx
lea ecx, [edi + ebx*8]
push eax
lea edx, [esp + 0xf0]
push ecx
lea eax, [esp + 0xc4]
push edx
lea ecx, [esp + 0x50]
push eax
push ecx
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0x38]
xor eax, eax
push esi
mov ax, word [ecx + 4]
push edx
mov edx, dword [ebp + 8]
push eax
push edx
call fcn.0048ae60
add esp, 0x28
add ebx, eax
jmp 0x4894a0
mov edx, dword [ebp + 0x18]
dec edx
cmp dword [esp + 0x18], edx
je 0x4892f5
test byte [ecx + 1], 0xc0
jne 0x4894a0
test al, 8
jne 0x4894a0
cmp ebx, 1
jbe 0x489312
mov eax, dword [ebp + 8]
push edi
push ebx
push eax
call fcn.00489730
add esp, 0xc
xor ebx, ebx
mov eax, dword [esp + 0x88]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov dword [esp + 0x48], ecx
test eax, eax
mov dword [esp + 0x4c], edx
je 0x4893f2
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x4893f2
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
lea eax, [esp + 0x20]
mov dword [esp + 0xc], 0
push eax
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
push eax
push ecx
push esi
call fcn.00489b70
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x38]
push edx
mov edx, dword [esi + 4]
push eax
mov eax, dword [esi]
push ecx
push edx
push eax
call fcn.00489bf0
mov ecx, dword [ebp + 0x14]
add esp, 0x2c
mov dl, byte [ecx]
and dl, 0xc0
cmp dl, 0x40
je 0x4893a0
mov eax, dword [ebp + 0xc]
test byte [eax], 0x40
jne 0x4893a0
mov dword [esp + 0xc], 1
mov ecx, dword [ebp + 0x1c]
push 0
push ecx
lea edx, [esp + 0x120]
push 0x4804
push edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0xf8]
push edi
lea ecx, [esp + 0xcc]
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push eax
lea edx, [esp + 0x6c]
push ecx
lea eax, [esi - 8]
push edx
mov edx, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x80]
push ecx
push edx
call fcn.00489c30
add esp, 0x38
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x489404
test byte [esp + 0x1c], 1
jne 0x4894a0
mov eax, dword [ebp + 0x2c]
test eax, eax
je 0x4894a0
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
push eax
push ecx
push esi
call fcn.00489b70
mov eax, dword [esi + 4]
mov ecx, dword [esi]
lea edx, [esp + 0x38]
push edx
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x40]
push ecx
push edx
push eax
call fcn.00489bf0
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x54]
push eax
push ecx
push edx
call fcn.00489c10
mov eax, dword [ebp + 0x1c]
add esp, 0x40
lea ecx, [esp + 0xe8]
lea edx, [esp + 0xb8]
push eax
push edi
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x5c]
xor edx, edx
push ecx
mov dx, word [eax + 2]
mov ecx, dword [ebp + 8]
push edx
push ecx
call fcn.0048ad10
add esp, 0x20
mov ebx, eax
cmp ebx, 1
jbe 0x4894b3
mov edx, dword [ebp + 8]
push edi
push ebx
push edx
call fcn.00489730
add esp, 0xc
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov ebx, dword [ebp + 0x14]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
jmp 0x4896da
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x4894f3
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x1c], 0
movsx edx, word [eax + 0x66]
mov dword [esp + 0xc], edx
fild dword [esp + 0xc]
fimul dword [eax + 8]
fmul qword [0x51fd28]
fstp qword [esp + 0x6c]
mov ecx, dword [ebp + 0x18]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x78]
push eax
push ecx
push edx
push ebx
push esi
call fcn.004899d0
mov ecx, dword [ebp + 0x18]
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x94]
push eax
push ecx
push edx
push ebx
push esi
call fcn.00489a40
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [esp + 0x70], eax
mov al, byte [ebx]
add esp, 0x28
and al, 8
mov dword [esp + 0x4c], ecx
je 0x489541
mov ecx, dword [ebp + 0x24]
test ecx, ecx
je 0x4896da
mov edx, dword [ebp + 0x18]
mov ecx, dword [esp + 0x18]
dec edx
cmp ecx, edx
jae 0x4896da
test byte [ebx + 1], 0xc0
je 0x4896da
mov ecx, dword [esp + 0x88]
test ecx, ecx
je 0x48962c
mov ecx, dword [ebp + 0x28]
test ecx, ecx
je 0x48962c
test al, al
jne 0x48962c
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
lea eax, [esp + 0x40]
mov dword [esp + 0xc], 0
push eax
mov eax, dword [ebp + 0x18]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
push ecx
push ebx
push esi
call fcn.00489ac0
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
lea edx, [esp + 0x5c]
push edx
mov edx, dword [esi + 4]
push eax
mov eax, dword [esi]
push ecx
push edx
push eax
call fcn.00489bf0
mov cl, byte [ebx + 1]
add esp, 0x30
and cl, 0xc0
cmp cl, 0x40
je 0x4895dd
mov edx, dword [ebp + 0xc]
test byte [edx], 0x40
jne 0x4895dd
mov dword [esp + 0xc], 1
mov eax, dword [ebp + 0x1c]
push 0
push eax
lea ecx, [esp + 0x120]
push 0x4803
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0xf8]
push edi
lea eax, [esp + 0xcc]
push edx
mov edx, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x5c]
push ecx
push edx
push eax
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x70]
lea edx, [esi + 8]
push ecx
mov ecx, dword [eax + 0x7c]
push edx
mov edx, dword [ebp + 8]
push ecx
push edx
call fcn.00489c30
add esp, 0x38
mov eax, dword [ebp + 0x2c]
test eax, eax
je 0x4896da
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
lea eax, [esp + 0x40]
push eax
mov eax, dword [ebp + 0x18]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
push ecx
push ebx
push esi
call fcn.00489ac0
mov eax, dword [esi + 4]
mov ecx, dword [esi]
lea edx, [esp + 0x5c]
push edx
mov edx, dword [esp + 0x64]
push eax
mov eax, dword [esp + 0x64]
push ecx
push edx
push eax
call fcn.00489bf0
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x78]
push eax
push ecx
push edx
call fcn.00489c10
mov eax, dword [ebp + 0x1c]
add esp, 0x44
lea ecx, [esp + 0xe8]
lea edx, [esp + 0xb8]
push eax
push edi
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x5c]
xor edx, edx
push ecx
mov dx, word [eax + 2]
mov ecx, dword [ebp + 8]
push edx
push ecx
call fcn.0048ad10
add esp, 0x20
cmp eax, 1
jbe 0x4896da
mov edx, dword [ebp + 8]
push edi
push eax
push edx
call fcn.00489730
add esp, 0xc
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0x18]
inc eax
inc ebx
add esi, 8
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x10], esi
jb 0x48829e
lea ecx, [esp + 0x94]
mov dword [esp + 0x1950], 0xffffffff
call fcn.004b1a30
mov ecx, dword [esp + 0x1948]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret