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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x6f2a3c]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push ebx
fld dword [eax + 0x134]
mov eax, dword [edx + 0x28]
mov dword [ebp - 0xdc], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x48], eax
fadd st(0), st(0)
xor edx, edx
xor eax, eax
push esi
cmp ecx, edx
push edi
mov dword [ebp - 0x28], eax
fstp dword [ebp - 4]
je 0x4ca532
mov eax, dword [ecx + 0x28]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0x24]
cmp eax, edx
mov eax, dword [ebp + 0x20]
mov esi, 0x40
je 0x4ca601
cmp ecx, edx
jle 0x4ca63d
lea esi, [eax + 0x98]
mov dword [ebp + 0x14], ecx
mov ebx, dword [esi - 0x98]
and ebx, 3
jle 0x4ca5c9
lea edi, [esi - 0x3c]
lea edx, [ebp - 0xc4]
lea ecx, [edi - 0xc]
push ecx
mov ecx, dword [ebp - 0x28]
push edx
call fcn.004ce480
mov edx, dword [eax]
mov ecx, esi
cmp ebx, 1
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
jle 0x4ca5b4
lea ecx, [ebp - 0xd0]
push edi
push ecx
mov ecx, dword [ebp - 0x28]
call fcn.004ce480
mov ecx, dword [eax]
lea edx, [esi + 0xc]
mov dword [esi + 0xc], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov eax, dword [eax + 8]
mov dword [edx + 8], eax
jmp 0x4ca5c9
mov edx, esi
lea ecx, [esi + 0xc]
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov edx, dword [edx + 8]
mov dword [ecx + 8], edx
fld qword [0x5d0264]
mov al, byte [esi - 0x98]
fstp dword [esi + 0x18]
test al, 0x80
je 0x4ca5ea
mov eax, dword [esi - 0x98]
or al, 0x40
mov dword [esi - 0x98], eax
mov eax, dword [ebp + 0x14]
add esi, 0xf4
dec eax
mov dword [ebp + 0x14], eax
jne 0x4ca556
xor edx, edx
jmp 0x4ca63d
cmp ecx, edx
jle 0x4ca63d
add eax, 0x9c
mov dword [eax + 4], edx
mov dword [eax], edx
mov dword [eax - 4], edx
mov dword [eax + 0x10], edx
mov dword [eax + 0xc], edx
mov dword [eax + 8], edx
fld qword [0x5d0264]
mov bl, byte [eax - 0x9c]
fstp dword [eax + 0x14]
test bl, 0x80
je 0x4ca635
or dword [eax - 0x9c], esi
add eax, 0xf4
dec ecx
jne 0x4ca60a
cmp dword [ebp + 0x2c], edx
jle 0x4ca6fc
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x2c]
mov dword [ebp + 0x14], ecx
lea esi, [eax + 0x98]
mov ebx, dword [esi - 0x98]
and ebx, 3
jle 0x4ca6c8
mov ecx, dword [ebp - 0x48]
lea edi, [esi - 0x3c]
lea eax, [ebp - 0xc4]
lea edx, [edi - 0xc]
push edx
push eax
call fcn.004ce480
mov edx, dword [eax]
mov ecx, esi
cmp ebx, 1
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
jle 0x4ca6b3
lea ecx, [ebp - 0xd0]
push edi
push ecx
mov ecx, dword [ebp - 0x48]
call fcn.004ce480
mov ecx, dword [eax]
lea edx, [esi + 0xc]
mov dword [esi + 0xc], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov eax, dword [eax + 8]
mov dword [edx + 8], eax
jmp 0x4ca6c8
mov edx, esi
lea ecx, [esi + 0xc]
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov edx, dword [edx + 8]
mov dword [ecx + 8], edx
fld qword [0x5d0264]
mov al, byte [esi - 0x98]
fstp dword [esi + 0x18]
test al, 0x80
je 0x4ca6e9
mov eax, dword [esi - 0x98]
or al, 0x40
mov dword [esi - 0x98], eax
mov eax, dword [ebp + 0x14]
add esi, 0xf4
dec eax
mov dword [ebp + 0x14], eax
jne 0x4ca655
mov ecx, dword [ebp + 0x24]
mov esi, dword [ebp + 0x20]
test ecx, ecx
mov edi, ecx
jle 0x4ca7b3
mov ebx, dword [ebp - 0x48]
mov eax, dword [esi]
test al, 0x90
jne 0x4ca758
test al, 4
je 0x4ca758
lea eax, [esi + 4]
lea ecx, [ebp - 0xc4]
push eax
push ecx
mov ecx, ebx
call fcn.004ce480
mov edx, dword [eax]
push 0
mov dword [ebp - 0x54], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x50], ecx
lea ecx, [ebp + 8]
mov edx, dword [eax + 8]
lea eax, [ebp + 0xc]
push eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x4c], edx
push ecx
push edi
lea edx, [ebp - 0x54]
push esi
push edx
push eax
call fcn.004cb920
add esp, 0x1c
mov eax, dword [esi]
test al, 0x20
jne 0x4ca7a1
test al, 8
je 0x4ca7a1
lea ecx, [esi + 0x10]
lea edx, [ebp - 0xd0]
push ecx
push edx
mov ecx, ebx
call fcn.004ce480
mov ecx, dword [eax]
push 0
mov dword [ebp - 0x54], ecx
lea ecx, [ebp + 0xc]
mov edx, dword [eax + 4]
push ecx
mov ecx, dword [esi + 0x20]
mov dword [ebp - 0x50], edx
mov eax, dword [eax + 8]
lea edx, [ebp + 8]
mov dword [ebp - 0x4c], eax
push edx
push edi
lea eax, [ebp - 0x54]
push esi
push eax
push ecx
call fcn.004cb920
add esp, 0x1c
add esi, 0xf4
dec edi
test edi, edi
jg 0x4ca70f
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x2c]
mov esi, dword [ebp + 0x28]
test edx, edx
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x54], 0
mov edi, edx
jle 0x4ca88a
mov ebx, dword [ebp - 0x28]
mov eax, dword [esi]
test al, 0x90
jne 0x4ca828
test al, 4
je 0x4ca828
test ebx, ebx
je 0x4ca80c
lea edx, [esi + 4]
lea eax, [ebp - 0xc4]
push edx
push eax
mov ecx, ebx
call fcn.004ce480
mov ecx, dword [eax]
mov dword [ebp - 0x54], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x50], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0x4c], eax
lea ecx, [ebp + 0xc]
push 1
lea edx, [ebp + 8]
push ecx
mov ecx, dword [esi + 0x1c]
push edx
push edi
lea eax, [ebp - 0x54]
push esi
push eax
push ecx
call fcn.004cb920
add esp, 0x1c
mov eax, dword [esi]
test al, 0x20
jne 0x4ca875
test al, 8
je 0x4ca875
test ebx, ebx
je 0x4ca859
lea edx, [esi + 0x10]
lea eax, [ebp - 0xd0]
push edx
push eax
mov ecx, ebx
call fcn.004ce480
mov ecx, dword [eax]
mov dword [ebp - 0x54], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x50], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0x4c], eax
lea ecx, [ebp + 0xc]
push 1
lea edx, [ebp + 8]
push ecx
mov ecx, dword [esi + 0x20]
push edx
push edi
lea eax, [ebp - 0x54]
push esi
push eax
push ecx
call fcn.004cb920
add esp, 0x1c
add esi, 0xf4
dec edi
test edi, edi
jg 0x4ca7db
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x2c]
or edi, 0xffffffff
test ecx, ecx
jle 0x4ca8c7
mov eax, dword [ebp + 0x20]
mov esi, ecx
add eax, 0xb4
mov ecx, dword [eax - 0xb4]
mov ebx, ecx
and ebx, 0xc
cmp bl, 0xc
jne 0x4ca8b4
or ecx, 0x40
mov dword [eax - 0xb4], ecx
mov ecx, dword [eax - 4]
mov dword [eax + 8], edi
mov dword [eax], ecx
mov dword [eax + 4], edi
add eax, 0xf4
dec esi
jne 0x4ca89b
test edx, edx
jle 0x4ca901
mov eax, dword [ebp + 0x28]
mov esi, edx
add eax, 0xb4
mov ecx, dword [eax - 0xb4]
mov ebx, ecx
and ebx, 0xc
cmp bl, 0xc
jne 0x4ca8ee
or ecx, 0x40
mov dword [eax - 0xb4], ecx
mov ecx, dword [eax - 4]
mov dword [eax + 8], edi
mov dword [eax], ecx
mov dword [eax + 4], edi
add eax, 0xf4
dec esi
jne 0x4ca8d5
mov edi, dword [ebp + 0x28]
mov dword [ebp - 0x80], 0
test edx, edx
jle 0x4cb454
test byte [edi], 0x80
jne 0x4cb43c
mov eax, dword [ebp + 0x24]
mov edx, dword [edi + 0x28]
fld dword [edi + 0x24]
test eax, eax
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0xa8], edx
mov dword [ebp - 0xac], eax
mov esi, dword [ebp + 0x20]
fld dword [ebp - 0xac]
fld dword [ebp - 0xa8]
fmul dword [ebp - 0xa8]
fxch st(1)
fmul dword [ebp - 0xac]
fld st(2)
fmul st(3)
fxch st(1)
faddp st(2)
mov dword [ebp - 0x20], 0
faddp st(1)
fstp dword [ebp - 0xd8]
fstp st(0)
jle 0x4cb43c
mov eax, dword [esi]
test al, 0x40
je 0x4ca981
test byte [edi], 0x40
jne 0x4cb424
test al, 0x80
jne 0x4cb424
lea ecx, [ebp - 0xd4]
lea edx, [ebp + 0x10]
push ecx
lea eax, [ebp - 0x74]
push edx
lea ecx, [ebp - 0x68]
push eax
lea edx, [ebp - 0x10]
push ecx
lea eax, [edi + 0x24]
push edx
push eax
lea eax, [edi + 0x10]
lea ecx, [edi + 4]
lea ebx, [esi + 0x24]
push eax
push ecx
lea edx, [esi + 0x10]
push ebx
lea eax, [esi + 4]
push edx
push eax
call fcn.004cc010
mov eax, dword [ebp - 0xd4]
add esp, 0x2c
test eax, eax
je 0x4cb424
fld dword [edi + 0x34]
fld dword [edi + 0x38]
fmul dword [ebp - 8]
fld dword [edi + 0x3c]
fxch st(2)
fmul dword [ebp - 0xc]
fld dword [edi + 0x30]
fxch st(3)
fsub dword [0x5944c0]
fxch st(3)
fmul dword [ebp - 0x10]
fxch st(1)
faddp st(2)
fxch st(2)
fsub dword [0x5944cc]
fxch st(2)
faddp st(1)
fxch st(1)
fchs
fcompp
fnstsw ax
test ah, 1
jne 0x4caa4d
fld dword [esi + 0x38]
fld dword [esi + 0x34]
fmul dword [ebp - 0xc]
fld dword [esi + 0x30]
fxch st(2)
fmul dword [ebp - 8]
fld dword [esi + 0x3c]
fxch st(3)
fmul dword [ebp - 0x10]
fxch st(3)
fsub dword [0x5944c0]
fxch st(1)
faddp st(2)
mov dword [ebp - 0x5c], 1
fsub dword [0x5944cc]
fxch st(2)
faddp st(1)
fxch st(1)
fcompp
fnstsw ax
test ah, 0x41
jne 0x4caa54
mov dword [ebp - 0x5c], 0
fld dword [ebp + 0x10]
fmul dword [ebp + 0x10]
fst dword [ebp + 0x14]
fmul qword [0x5944d0]
fst dword [ebp - 0x44]
fcomp dword [ebp - 0xd8]
fnstsw ax
test ah, 0x41
je 0x4caac2
mov edx, dword [ebx + 8]
mov ecx, dword [ebx + 4]
fld dword [ebx]
mov dword [ebp - 0xa4], edx
mov dword [ebp - 0xb8], ecx
fld dword [ebp - 0xa4]
fld dword [ebp - 0xb8]
fmul dword [ebp - 0xb8]
fxch st(1)
fmul dword [ebp - 0xa4]
fld st(2)
fmul st(3)
fxch st(1)
faddp st(2)
fld dword [ebp - 0x44]
fxch st(1)
faddp st(2)
mov dword [ebp - 0x58], 0
fcompp
fnstsw ax
test ah, 0x41
fstp st(0)
jne 0x4caac9
mov dword [ebp - 0x58], 1
fld dword [ebp + 0x10]
fcomp qword [0x5944d8]
fnstsw ax
test ah, 0x40
je 0x4caae5
mov dword [ebp - 0x24], 0
jmp 0x4cab85
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0x124]
push eax
push ecx
mov ecx, dword [ebp - 0x48]
call fcn.004ce480
mov edx, dword [eax]
mov dword [ebp - 0x40], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x28]
mov edx, dword [eax + 8]
test ecx, ecx
mov dword [ebp - 0x38], edx
je 0x4cab43
lea eax, [ebp - 0x74]
lea edx, [ebp - 0x130]
push eax
push edx
call fcn.004ce480
fld dword [ebp - 0x40]
fld dword [ebp - 0x3c]
fld dword [ebp - 0x38]
fxch st(2)
fsub dword [eax]
fxch st(1)
fsub dword [eax + 4]
fxch st(2)
fsub dword [eax + 8]
fxch st(1)
fstp dword [ebp - 0x40]
fxch st(1)
fstp dword [ebp - 0x3c]
jmp 0x4cab46
fld dword [ebp - 0x38]
fld dword [ebp - 0x3c]
fld dword [ebp - 0x40]
fmul dword [ebp - 0x10]
fxch st(1)
fmul dword [ebp - 0xc]
fxch st(2)
fmul dword [ebp - 8]
fxch st(2)
faddp st(1)
fxch st(1)
faddp st(1)
fcom qword [0x5944d8]
fnstsw ax
test ah, 0x41
je 0x4cab7b
fstp st(0)
fld qword [0x5d0264]
fstp dword [ebp - 0x24]
jmp 0x4cab85
fld dword [ebp + 0x10]
fdiv st(1)
fstp dword [ebp - 0x24]
fstp st(0)
fld dword [ebp - 0x74]
mov ecx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x64]
fadd dword [ebp - 0x68]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], eax
fld dword [ebp - 0x14]
fld dword [ebp - 0x18]
fadd dword [ebp - 0x70]
fxch st(1)
fadd dword [ebp - 0x6c]
fld dword [ebp - 0x24]
fcomp dword [ebp - 4]
fxch st(1)
fxch st(2)
fmul dword [0x5944e0]
fxch st(2)
fst dword [ebp - 0x18]
fmul dword [0x5944e0]
fxch st(1)
fst dword [ebp - 0x14]
mov edx, dword [ebp - 0x68]
fmul dword [0x5944e0]
fxch st(2)
mov dword [ebp - 0x1c], edx
fstp dword [ebp - 0x1c]
fnstsw ax
fstp dword [ebp - 0x18]
test ah, 1
fstp dword [ebp - 0x14]
je 0x4cabea
mov eax, 1
jmp 0x4cabec
xor eax, eax
mov cl, byte [esi]
mov dword [ebp - 0x44], eax
test cl, 0x44
jne 0x4cadf7
mov ecx, dword [esi + 0xb0]
mov edx, dword [esi + 0x90]
mov ebx, dword [esi + 0xb8]
mov dword [ebp - 0x9c], ecx
mov ecx, dword [esi + 0x80]
mov dword [ebp - 0x88], edx
test eax, eax
mov dword [ebp - 0x8c], ecx
je 0x4caca0
fld dword [ebp - 0x6c]
fsub dword [esi + 0x58]
fld dword [ebp - 0x70]
fsub dword [esi + 0x54]
fld dword [ebp - 0x74]
fsub dword [esi + 0x50]
fxch st(2)
push ecx
lea ecx, [ebp - 0x34]
fstp dword [esp]
push ecx
fstp dword [esp]
push ecx
fstp dword [esp]
call fcn.00436e50
fld dword [esi + 0x6c]
fld dword [esi + 0x70]
fmul dword [ebp - 0x2c]
fld dword [esi + 0x68]
fxch st(2)
fmul dword [ebp - 0x30]
fxch st(2)
fmul dword [ebp - 0x34]
fxch st(2)
faddp st(1)
fxch st(1)
test ebx, ebx
faddp st(1)
jl 0x4cad77
fcom dword [ebp - 0x8c]
fnstsw ax
test ah, 0x41
je 0x4cad77
fld dword [ebp - 0x9c]
fcomp dword [ebp - 4]
fnstsw ax
test ah, 0x41
jne 0x4cadf5
jmp 0x4cad77
mov eax, dword [ebp - 0x58]
test eax, eax
jne 0x4cadf7
fld dword [ebp - 0x9c]
fcomp dword [ebp - 4]
fnstsw ax
test ah, 0x41
jne 0x4cadf7
fld dword [ebp - 0x6c]
fsub dword [esi + 0x58]
fld dword [ebp - 0x70]
fsub dword [esi + 0x54]
fld dword [ebp - 0x74]
fsub dword [esi + 0x50]
fxch st(2)
push ecx
lea ecx, [ebp - 0x10c]
fstp dword [esp]
push ecx
fstp dword [esp]
push ecx
fstp dword [esp]
call fcn.00436e50
fld dword [esi + 0x6c]
fld dword [esi + 0x70]
fmul dword [ebp - 0x104]
fld dword [esi + 0x68]
fxch st(2)
fmul dword [ebp - 0x108]
fxch st(2)
fmul dword [ebp - 0x10c]
fxch st(2)
faddp st(1)
fxch st(1)
test ebx, ebx
faddp st(1)
fld st(0)
jl 0x4cad4f
fld dword [ebp - 0x8c]
fld dword [ebp - 0x88]
fxch st(2)
fmul st(3)
fxch st(1)
fmul dword [ebp - 0x8c]
fxch st(2)
fmul dword [ebp - 0x88]
fxch st(1)
fadd dword [ebp + 0x14]
fxch st(1)
faddp st(2)
fxch st(1)
fcompp
fnstsw ax
test ah, 0x41
jne 0x4cad71
mov al, 1
jmp 0x4cad73
fmul st(1)
fld dword [ebp - 0x88]
fmul dword [ebp - 0x88]
fxch st(1)
fadd dword [ebp + 0x14]
fxch st(1)
fcompp
fnstsw ax
test ah, 0x41
jne 0x4cad71
mov al, 1
jmp 0x4cad73
xor al, al
test al, al
je 0x4cadf5
mov edx, dword [ebp - 0x24]
lea eax, [esi + 0xd8]
mov dword [esi + 0xb0], edx
mov edx, dword [ebp - 0x10]
mov ecx, eax
mov dword [ecx], edx
mov edx, dword [ebp - 0xc]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 8]
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0x1c]
fld dword [eax]
fchs
fstp dword [eax]
fld dword [eax + 4]
fchs
fstp dword [eax + 4]
fld dword [eax + 8]
fchs
fstp dword [eax + 8]
mov eax, dword [ebp + 0x10]
lea ecx, [esi + 0xc0]
mov dword [esi + 0x90], eax
mov eax, dword [ebp - 0x18]
mov dword [ecx], edx
mov edx, dword [ebp - 0x14]
fstp dword [esi + 0x80]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x80]
mov dword [esi + 0xb8], eax
mov eax, dword [ebp - 0x5c]
mov dword [ecx + 8], edx
test eax, eax
mov eax, dword [esi]
je 0x4cadee
or ah, 1
mov dword [esi], eax
jmp 0x4cadf7
and ah, 0xfe
mov dword [esi], eax
jmp 0x4cadf7
fstp st(0)
test byte [esi], 0x48
jne 0x4cb001
mov eax, dword [esi + 0x84]
mov ecx, dword [esi + 0xb4]
mov edx, dword [esi + 0x94]
mov ebx, dword [esi + 0xbc]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x44]
test eax, eax
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0x7c], edx
je 0x4caeb6
fld dword [ebp - 0x6c]
fsub dword [esi + 0x64]
fld dword [ebp - 0x70]
fsub dword [esi + 0x60]
fld dword [ebp - 0x74]
fsub dword [esi + 0x5c]
fxch st(2)
push ecx
lea ecx, [ebp - 0xf4]
fstp dword [esp]
push ecx
fstp dword [esp]
push ecx
fstp dword [esp]
call fcn.00436e50
fld dword [esi + 0x7c]
fld dword [esi + 0x78]
fmul dword [ebp - 0xf0]
fld dword [esi + 0x74]
fxch st(2)
fmul dword [ebp - 0xec]
fxch st(2)
fmul dword [ebp - 0xf4]
fxch st(2)
faddp st(1)
fxch st(1)
test ebx, ebx
faddp st(1)
jl 0x4caf81
fcom dword [ebp - 0x90]
fnstsw ax
test ah, 0x41
je 0x4caf81
fld dword [ebp - 0xb0]
fcomp dword [ebp - 4]
fnstsw ax
test ah, 0x41
jne 0x4cafff
jmp 0x4caf81
mov eax, dword [ebp - 0x58]
test eax, eax
jne 0x4cb001
fld dword [ebp - 0xb0]
fcomp dword [ebp - 4]
fnstsw ax
test ah, 0x41
jne 0x4cb001
fld dword [ebp - 0x6c]
fsub dword [esi + 0x64]
fld dword [ebp - 0x70]
fsub dword [esi + 0x60]
fld dword [ebp - 0x74]
fsub dword [esi + 0x5c]
fxch st(2)
push ecx
lea ecx, [ebp - 0x100]
fstp dword [esp]
push ecx
fstp dword [esp]
push ecx
fstp dword [esp]
call fcn.00436e50
fld dword [esi + 0x7c]
fld dword [esi + 0x78]
fmul dword [ebp - 0xfc]
fld dword [esi + 0x74]
fxch st(2)
fmul dword [ebp - 0xf8]
fxch st(2)
fmul dword [ebp - 0x100]
fxch st(2)
faddp st(1)
fxch st(1)
test ebx, ebx
faddp st(1)
fld st(0)
jl 0x4caf5f
fld dword [ebp - 0x90]
fld dword [ebp - 0x7c]
fxch st(2)
fmul st(3)
fxch st(1)
fmul dword [ebp - 0x90]
fxch st(2)
fmul dword [ebp - 0x7c]
fxch st(1)
fadd dword [ebp + 0x14]
fxch st(1)
faddp st(2)
fxch st(1)
fcompp
fnstsw ax
test ah, 0x41
jne 0x4caf7b
mov al, 1
jmp 0x4caf7d
fmul st(1)
fld dword [ebp - 0x7c]
fmul dword [ebp - 0x7c]
fxch st(1)
fadd dword [ebp + 0x14]
fxch st(1)
fcompp
fnstsw ax
test ah, 0x41
jne 0x4caf7b
mov al, 1
jmp 0x4caf7d
xor al, al
test al, al
je 0x4cafff
mov ecx, dword [ebp - 0x24]
lea eax, [esi + 0xe4]
mov dword [esi + 0xb4], ecx
mov ecx, dword [ebp - 0x10]
mov edx, eax
mov dword [edx], ecx
mov ecx, dword [ebp - 0xc]
mov dword [edx + 4], ecx
mov ecx, dword [ebp - 8]
mov dword [edx + 8], ecx
mov edx, dword [ebp + 0x10]
fld dword [eax]
fchs
fstp dword [eax]
fld dword [eax + 4]
fchs
fstp dword [eax + 4]
fld dword [eax + 8]
mov ecx, dword [ebp - 0x1c]
fchs
fstp dword [eax + 8]
lea eax, [esi + 0xcc]
mov dword [esi + 0x94], edx
mov edx, dword [ebp - 0x18]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x14]
fstp dword [esi + 0x84]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x80]
mov dword [esi + 0xbc], edx
mov dword [eax + 8], ecx
mov eax, dword [ebp - 0x5c]
test eax, eax
mov eax, dword [esi]
je 0x4caff8
or ah, 2
mov dword [esi], eax
jmp 0x4cb001
and ah, 0xfd
mov dword [esi], eax
jmp 0x4cb001
fstp st(0)
test byte [edi], 0x44
jne 0x4cb21a
mov eax, dword [edi + 0xb0]
mov ecx, dword [edi + 0x90]
mov edx, dword [edi + 0x80]
mov ebx, dword [edi + 0xb8]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x44]
test eax, eax
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x98], edx
je 0x4cb0c3
fld dword [ebp - 0x60]
fsub dword [edi + 0x58]
fld dword [ebp - 0x64]
fsub dword [edi + 0x54]
fld dword [ebp - 0x68]
fsub dword [edi + 0x50]
fxch st(2)
push ecx
lea ecx, [ebp - 0x118]
fstp dword [esp]
push ecx
fstp dword [esp]
push ecx
fstp dword [esp]
call fcn.00436e50
fld dword [edi + 0x70]
fld dword [edi + 0x6c]
fmul dword [ebp - 0x114]
fld dword [edi + 0x68]
fxch st(2)
fmul dword [ebp - 0x110]
fxch st(2)
fmul dword [ebp - 0x118]
fxch st(2)
faddp st(1)
fxch st(1)
test ebx, ebx
faddp st(1)
jl 0x4cb19a
fcom dword [ebp - 0x98]
fnstsw ax
test ah, 0x41
je 0x4cb19a
fld dword [ebp - 0xb4]
fcomp dword [ebp - 4]
fnstsw ax
test ah, 0x41
jne 0x4cb218
jmp 0x4cb19a
mov eax, dword [ebp - 0x58]
test eax, eax
jne 0x4cb21a
fld dword [ebp - 0xb4]
fcomp dword [ebp - 4]
fnstsw ax
test ah, 0x41
jne 0x4cb21a
fld dword [ebp - 0x60]
fsub dword [edi + 0x58]
fld dword [ebp - 0x64]
fsub dword [edi + 0x54]
fld dword [ebp - 0x68]
fsub dword [edi + 0x50]
fxch st(2)
push ecx
lea ecx, [ebp - 0xe8]
fstp dword [esp]
push ecx
fstp dword [esp]
push ecx
fstp dword [esp]
call fcn.00436e50
fld dword [edi + 0x6c]
fld dword [edi + 0x70]
fmul dword [ebp - 0xe0]
fld dword [edi + 0x68]
fxch st(2)
fmul dword [ebp - 0xe4]
fxch st(2)
fmul dword [ebp - 0xe8]
fxch st(2)
faddp st(1)
fxch st(1)
test ebx, ebx
faddp st(1)
fld st(0)
jl 0x4cb172
fld dword [ebp - 0x98]
fld dword [ebp - 0x84]
fxch st(2)
fmul st(3)
fxch st(1)
fmul dword [ebp - 0x98]
fxch st(2)
fmul dword [ebp - 0x84]
fxch st(1)
fadd dword [ebp + 0x14]
fxch st(1)
faddp st(2)
fxch st(1)
fcompp
fnstsw ax
test ah, 0x41
jne 0x4cb194
mov al, 1
jmp 0x4cb196
fmul st(1)
fld dword [ebp - 0x84]
fmul dword [ebp - 0x84]
fxch st(1)
fadd dword [ebp + 0x14]
fxch st(1)
fcompp
fnstsw ax
test ah, 0x41
jne 0x4cb194
mov al, 1
jmp 0x4cb196
xor al, al
test al, al
je 0x4cb218
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x10]
mov dword [edi + 0xb0], eax
lea eax, [edi + 0xd8]
mov ecx, eax
mov dword [ecx], edx
mov edx, dword [ebp - 0xc]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 8]
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0x1c]
fld dword [eax]
fchs
fstp dword [eax]
fld dword [eax + 4]
fchs
fstp dword [eax + 4]
fld dword [eax + 8]
fchs
fstp dword [eax + 8]
mov eax, dword [ebp + 0x10]
lea ecx, [edi + 0xc0]
mov dword [edi + 0x90], eax
mov eax, dword [ebp - 0x18]
mov dword [ecx], edx
mov edx, dword [ebp - 0x14]
fstp dword [edi + 0x80]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [edi + 0xb8], eax
mov eax, dword [ebp - 0x5c]
mov dword [ecx + 8], edx
test eax, eax
mov eax, dword [edi]
je 0x4cb211
or ah, 1
mov dword [edi], eax
jmp 0x4cb21a
and ah, 0xfe
mov dword [edi], eax
jmp 0x4cb21a
fstp st(0)
test byte [edi], 0x48
jne 0x4cb424
mov eax, dword [edi + 0x84]
mov ecx, dword [edi + 0xb4]
mov edx, dword [edi + 0x94]
mov ebx, dword [edi + 0xbc]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x44]
test eax, eax
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0x78], edx
je 0x4cb2d9
fld dword [ebp - 0x60]
fsub dword [edi + 0x64]
fld dword [ebp - 0x64]
fsub dword [edi + 0x60]
fld dword [ebp - 0x68]
fsub dword [edi + 0x5c]
fxch st(2)
push ecx
lea ecx, [ebp - 0xd0]
fstp dword [esp]
push ecx
fstp dword [esp]
push ecx
fstp dword [esp]
call fcn.00436e50
fld dword [edi + 0x78]
fld dword [edi + 0x7c]
fmul dword [ebp - 0xc8]
fld dword [ebp - 0xd0]
fxch st(2)
fmul dword [ebp - 0xcc]
fxch st(2)
fmul dword [edi + 0x74]
fxch st(2)
faddp st(1)
fxch st(1)
test ebx, ebx
faddp st(1)
jl 0x4cb3a4
fcom dword [ebp - 0x94]
fnstsw ax
test ah, 0x41
je 0x4cb3a4
fld dword [ebp - 0xa0]
fcomp dword [ebp - 4]
fnstsw ax
test ah, 0x41
jne 0x4cb422
jmp 0x4cb3a4
mov eax, dword [ebp - 0x58]
test eax, eax
jne 0x4cb424
fld dword [ebp - 0xa0]
fcomp dword [ebp - 4]
fnstsw ax
test ah, 0x41
jne 0x4cb424
fld dword [ebp - 0x60]
fsub dword [edi + 0x64]
fld dword [ebp - 0x64]
fsub dword [edi + 0x60]
fld dword [ebp - 0x68]
fsub dword [edi + 0x5c]
fxch st(2)
push ecx
lea ecx, [ebp - 0xc4]
fstp dword [esp]
push ecx
fstp dword [esp]
push ecx
fstp dword [esp]
call fcn.00436e50
fld dword [edi + 0x78]
fld dword [edi + 0x7c]
fmul dword [ebp - 0xbc]
fld dword [ebp - 0xc4]
fxch st(2)
fmul dword [ebp - 0xc0]
fxch st(2)
fmul dword [edi + 0x74]
fxch st(2)
faddp st(1)
fxch st(1)
test ebx, ebx
faddp st(1)
fld st(0)
jl 0x4cb382
fld dword [ebp - 0x94]
fld dword [ebp - 0x78]
fxch st(2)
fmul st(3)
fxch st(1)
fmul dword [ebp - 0x94]
fxch st(2)
fmul dword [ebp - 0x78]
fxch st(1)
fadd dword [ebp + 0x14]
fxch st(1)
faddp st(2)
fxch st(1)
fcompp
fnstsw ax
test ah, 0x41
jne 0x4cb39e
mov al, 1
jmp 0x4cb3a0
fmul st(1)
fld dword [ebp - 0x78]
fmul dword [ebp - 0x78]
fxch st(1)
fadd dword [ebp + 0x14]
fxch st(1)
fcompp
fnstsw ax
test ah, 0x41
jne 0x4cb39e
mov al, 1
jmp 0x4cb3a0
xor al, al
test al, al
je 0x4cb422
mov ecx, dword [ebp - 0x24]
lea eax, [edi + 0xe4]
mov dword [edi + 0xb4], ecx
mov ecx, dword [ebp - 0x10]
mov edx, eax
mov dword [edx], ecx
mov ecx, dword [ebp - 0xc]
mov dword [edx + 4], ecx
mov ecx, dword [ebp - 8]
mov dword [edx + 8], ecx
mov edx, dword [ebp + 0x10]
fld dword [eax]
fchs
fstp dword [eax]
fld dword [eax + 4]
fchs
fstp dword [eax + 4]
fld dword [eax + 8]
mov ecx, dword [ebp - 0x1c]
fchs
fstp dword [eax + 8]
lea eax, [edi + 0xcc]
mov dword [edi + 0x94], edx
mov edx, dword [ebp - 0x18]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x14]
fstp dword [edi + 0x84]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x20]
mov dword [edi + 0xbc], edx
mov dword [eax + 8], ecx
mov eax, dword [ebp - 0x5c]
test eax, eax
mov eax, dword [edi]
je 0x4cb41b
or ah, 2
mov dword [edi], eax
jmp 0x4cb424
and ah, 0xfd
mov dword [edi], eax
jmp 0x4cb424
fstp st(0)
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 0x24]
add esi, 0xf4
inc eax
cmp eax, ecx
mov dword [ebp - 0x20], eax
jl 0x4ca972
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp + 0x2c]
add edi, 0xf4
inc eax
cmp eax, ecx
mov dword [ebp - 0x80], eax
jl 0x4ca913
mov eax, dword [ebp + 0x2c]
mov ebx, dword [ebp + 0x20]
test eax, eax
je 0x4cb5d4
mov edi, dword [ebp + 0x24]
test edi, edi
jle 0x4cb502
lea esi, [ebx + 0xbc]
mov eax, dword [esi - 4]
test eax, eax
jl 0x4cb4b2
mov ecx, dword [esi - 0xbc]
lea edx, [esi - 0xbc]
test ch, 1
je 0x4cb4b2
lea ecx, [eax + eax*2]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov ecx, dword [ebp + 0x28]
lea eax, [ecx + eax*4]
test byte [eax], 0x40
jne 0x4cb4b2
lea eax, [ebp + 0xc]
push 0
lea ecx, [ebp + 8]
push eax
push ecx
push edx
call fcn.004cbf30
add esp, 0x10
mov eax, dword [esi]
test eax, eax
jl 0x4cb4f5
mov ecx, dword [esi - 0xbc]
lea edx, [esi - 0xbc]
test ch, 2
je 0x4cb4f5
cmp eax, dword [esi - 4]
je 0x4cb4f5
lea ecx, [eax + eax*2]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov ecx, dword [ebp + 0x28]
lea eax, [ecx + eax*4]
test byte [eax], 0x40
jne 0x4cb4f5
lea eax, [ebp + 0xc]
push 1
lea ecx, [ebp + 8]
push eax
push ecx
push edx
call fcn.004cbf30
add esp, 0x10
add esi, 0xf4
dec edi
jne 0x4cb473
mov eax, dword [ebp + 0x2c]
xor esi, esi
test eax, eax
jle 0x4cb5ce
mov edx, dword [ebp + 0x28]
lea edi, [edx + 0xbc]
mov eax, dword [edi - 4]
test eax, eax
jl 0x4cb567
mov ecx, dword [edi - 0xbc]
lea edx, [edi - 0xbc]
test ch, 1
je 0x4cb567
lea ecx, [eax + eax*2]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov ecx, dword [ebx + eax*4 + 0xb8]
cmp ecx, esi
lea eax, [ebx + eax*4]
je 0x4cb567
cmp dword [eax + 0xbc], esi
je 0x4cb567
test byte [eax], 0x40
jne 0x4cb567
lea ecx, [ebp + 0xc]
push 0
lea eax, [ebp + 8]
push ecx
push eax
push edx
call fcn.004cbf30
add esp, 0x10
mov eax, dword [edi]
test eax, eax
jl 0x4cb5ba
mov ecx, dword [edi - 0xbc]
lea edx, [edi - 0xbc]
test ch, 2
je 0x4cb5ba
cmp eax, dword [edi - 4]
je 0x4cb5ba
lea ecx, [eax + eax*2]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov ecx, dword [ebx + eax*4 + 0xb8]
cmp ecx, esi
lea eax, [ebx + eax*4]
je 0x4cb5ba
cmp dword [eax + 0xbc], esi
je 0x4cb5ba
test byte [eax], 0x40
jne 0x4cb5ba
lea ecx, [ebp + 0xc]
push 1
lea eax, [ebp + 8]
push ecx
push eax
push edx
call fcn.004cbf30
add esp, 0x10
mov eax, dword [ebp + 0x2c]
add edi, 0xf4
inc esi
cmp esi, eax
jl 0x4cb518
test eax, eax
jne 0x4cb8f3
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x20], 0
test eax, eax
jle 0x4cb8f3
lea esi, [ebx + 0xa0]
mov eax, dword [esi - 0xa0]
test al, 0x30
jne 0x4cb8db
cmp dword [esi + 0x18], 0xffffffff
jne 0x4cb8db
cmp dword [esi + 0x1c], 0xffffffff
jne 0x4cb8db
test al, 2
je 0x4cb8db
lea ebx, [esi - 0x50]
lea ecx, [ebp - 0x130]
push ebx
xor eax, eax
push ecx
mov ecx, dword [ebp - 0x48]
mov dword [ebp + 0x2c], eax
mov dword [ebp + 0x28], eax
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x20], eax
call fcn.004ce480
mov edx, dword [eax]
lea edi, [esi - 0x7c]
mov dword [ebp - 0x34], edx
fld dword [ebp - 0x34]
fsub dword [esi - 8]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x30], ecx
mov edx, dword [eax + 8]
mov eax, edi
fstp dword [ebp - 0x34]
fld dword [ebp - 0x30]
fsub dword [esi - 4]
mov ecx, dword [eax]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x40], ecx
lea ecx, [ebp - 0x40]
mov edx, dword [eax + 4]
fstp dword [ebp - 0x30]
fld dword [ebp - 0x2c]
fsub dword [esi]
mov eax, dword [eax + 8]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], eax
fstp dword [ebp - 0x2c]
call fcn.00548400
lea edx, [ebp + 0x28]
lea eax, [esi - 0x90]
push edx
lea edx, [ebp + 0x2c]
fld st(0)
fmul dword [ebp - 0x40]
push edx
lea edx, [ebp + 0x10]
push edx
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x10]
fstp dword [ebp - 0x40]
push edx
lea edx, [ebp - 0x40]
fld st(0)
fmul dword [ebp - 0x3c]
push edx
mov edx, dword [ebp - 0x28]
lea ecx, [esi - 0x9c]
push edi
push eax
mov eax, dword [ebp - 4]
fstp dword [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x34]
fmul dword [ebp - 0x38]
push eax
mov eax, dword [esi - 0x58]
push ecx
mov ecx, dword [esi - 0x60]
push edx
push eax
fstp dword [ebp - 0x38]
push ecx
push ebx
call fcn.004cc530
add esp, 0x3c
test eax, eax
je 0x4cb78d
mov eax, dword [ebp + 0xc]
xor ecx, ecx
cmp eax, ecx
jl 0x4cb8f3
fld dword [esi - 0x68]
fld dword [esi - 0x6c]
fmul dword [ebp - 0xc]
fld dword [esi - 0x70]
fxch st(2)
fmul dword [ebp - 8]
fld dword [esi - 0x64]
fxch st(3)
fmul dword [ebp - 0x10]
fxch st(3)
fadd dword [0x5944c0]
fxch st(1)
faddp st(2)
fsub dword [0x5944e4]
fxch st(2)
faddp st(1)
fxch st(1)
fcompp
fnstsw ax
test ah, 1
je 0x4cb731
mov dword [ebp + 0x28], ecx
mov dword [ebp + 0x2c], ecx
jmp 0x4cb78d
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1c]
add edx, 0x80
mov dword [edx], eax
mov ecx, dword [ebp - 0x18]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x14]
mov dword [edx + 8], eax
mov ecx, dword [ebp + 8]
fld dword [ebp + 0x10]
fstp dword [ecx + 0x78]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
add edx, 0x8c
mov dword [edx], eax
mov ecx, dword [ebp - 0xc]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 8]
mov dword [edx + 8], eax
mov edx, dword [ebp + 8]
mov ecx, dword [esi - 0x60]
mov dword [edx + 0xa4], ecx
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
add ecx, 0xb0
dec eax
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp - 0x48]
lea ebx, [esi - 0x44]
lea eax, [ebp - 0x124]
push ebx
push eax
call fcn.004ce480
mov ecx, dword [eax]
mov dword [ebp - 0x34], ecx
lea ecx, [ebp + 0x20]
fld dword [ebp - 0x34]
mov edx, dword [eax + 4]
push ecx
fsub dword [esi + 4]
mov dword [ebp - 0x30], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0x2c], eax
lea edx, [ebp + 0x14]
lea eax, [ebp + 0x10]
push edx
fstp dword [ebp - 0x34]
fld dword [ebp - 0x30]
fsub dword [esi + 8]
lea ecx, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x40]
fstp dword [ebp - 0x30]
fld dword [ebp - 0x2c]
push edx
push eax
fsub dword [esi + 0xc]
lea eax, [esi - 0x90]
push edi
push eax
lea eax, [esi - 0x9c]
push eax
mov eax, dword [ebp - 0x28]
fstp dword [ebp - 0x2c]
lea edx, [ebp - 0x34]
push ecx
mov ecx, dword [esi - 0x54]
push edx
mov edx, dword [esi - 0x5c]
push eax
push ecx
push edx
push ebx
call fcn.004cc530
add esp, 0x3c
test eax, eax
je 0x4cb8db
mov eax, dword [ebp + 0x2c]
mov ecx, dword [ebp + 0x20]
mov edi, dword [ebp + 0x28]
mov edx, dword [ebp + 0x14]
cmp eax, ecx
jne 0x4cb830
cmp edi, edx
je 0x4cb8db
cmp eax, edx
jne 0x4cb83c
cmp edi, ecx
je 0x4cb8db
mov eax, dword [ebp + 0xc]
test eax, eax
jl 0x4cb8fa
fld dword [esi - 0x68]
fld dword [esi - 0x6c]
fmul dword [ebp - 0xc]
fld dword [esi - 0x70]
fxch st(2)
fmul dword [ebp - 8]
fld dword [esi - 0x64]
fxch st(3)
fmul dword [ebp - 0x10]
fxch st(3)
fadd dword [0x5944c0]
fxch st(1)
faddp st(2)
fsub dword [0x5944e4]
fxch st(2)
faddp st(1)
fxch st(1)
fcompp
fnstsw ax
test ah, 1
jne 0x4cb8db
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
add eax, 0x80
mov dword [eax], ecx
mov edx, dword [ebp - 0x18]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
mov edx, dword [ebp + 8]
fld dword [ebp + 0x10]
fstp dword [edx + 0x78]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
add eax, 0x8c
mov dword [eax], ecx
mov edx, dword [ebp - 0xc]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 8]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
mov edx, dword [esi - 0x5c]
mov dword [eax + 0xa4], edx
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
add ecx, 0xb0
dec eax
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 0x24]
add esi, 0xf4
inc eax
cmp eax, ecx
mov dword [ebp - 0x20], eax
jl 0x4cb5ec
mov eax, dword [ebp + 0xc]
test eax, eax
jg 0x4cb907
push str.FindIntersection:_Completely_filled_intersection_table_
call fcn.00558640
add esp, 4
mov eax, dword [ebp - 0xdc]
mov ecx, dword [ebp + 0xc]
pop edi
pop esi
sub eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret