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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x62242b
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
push ebx
push esi
push edi
mov eax, dword [0x685e38]
xor eax, esp
push eax
lea eax, [esp + 0xd8]
mov dword fs:[0], eax
mov edi, ecx
fld qword [0x6448d8]
lea ecx, [esp + 0x20]
fstp qword [esp + 0x14]
call fcn.005242e0
mov dword [esp + 0x20], vtable.ZgeoLine.0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, 1
cmp dword [ebp + 0xc], ebx
mov dword [esp + 0xe0], 0
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
jle 0x5227f2
lea esi, [eax + 8]
jmp 0x522500
mov eax, dword [esi]
cmp eax, dword [esi - 8]
jne 0x522513
mov ecx, dword [esi + 4]
cmp ecx, dword [esi - 4]
je 0x5227e5
mov edx, eax
mov eax, dword [esi + 4]
lea ecx, [esp + 0x5c]
push ecx
mov dword [esp + 0x30], edx
lea edx, [esp + 0x70]
mov dword [esp + 0x34], eax
push edx
lea eax, [esp + 0x28]
push eax
mov ecx, edi
call fcn.00521860
test eax, eax
je 0x5226d7
fldz
fld qword [esp + 0x6c]
fcom st(1)
fnstsw ax
fld qword [esp + 0x5c]
test ah, 1
jne 0x5225ac
fld1
fcom st(2)
fnstsw ax
test ah, 1
jne 0x5225b2
fxch st(1)
fcom st(3)
fnstsw ax
test ah, 1
jne 0x5225b6
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x5225b8
fstp st(1)
fstp st(0)
fstp st(0)
lea ecx, [esp + 0x20]
mov dword [esp + 0xe0], 0xffffffff
mov dword [esp + 0x20], vtable.ZgeoLine.0
call fcn.005242f0
xor eax, eax
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
fstp st(0)
fld1
jmp 0x5225b8
fstp st(1)
jmp 0x5225b8
fstp st(0)
fxch st(2)
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x52261b
mov ecx, dword [edi + 4]
fstp st(0)
mov edx, dword [edi + 8]
fstp st(0)
lea eax, [esp + 0x44]
mov dword [esp + 0x44], ecx
push eax
lea ecx, [esp + 0x88]
mov dword [esp + 0x4c], edx
call fcn.005f18c0
lea ecx, [esp + 0x84]
push ecx
lea ecx, [esp + 0x24]
call fcn.00521f00
fadd qword [0x634650]
call fcn.005fbb60
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fcom qword [esp + 0x14]
fnstsw ax
test ah, 5
jp 0x522669
fstp qword [esp + 0x14]
jmp 0x52266b
fcompp
fnstsw ax
test ah, 0x41
jne 0x52266b
mov edx, dword [edi + 0xc]
mov eax, dword [edi + 0x10]
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0xa8]
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], eax
call fcn.005f18c0
lea edx, [esp + 0xa4]
push edx
lea ecx, [esp + 0x24]
call fcn.00521f00
fadd qword [0x634650]
call fcn.005fbb60
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
jmp 0x52260a
fstp st(0)
fldz
fcomp qword [esp + 0x5c]
fnstsw ax
test ah, 0x41
jne 0x5227c7
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x4c]
mov dword [esp + 0x50], ecx
push edx
lea ecx, [esp + 0xc8]
mov dword [esp + 0x50], eax
call fcn.005f18c0
lea eax, [esp + 0xc4]
push eax
mov ecx, edi
call fcn.00521f00
fadd qword [0x634650]
call fcn.005fbb60
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fcom qword [esp + 0x14]
fnstsw ax
test ah, 5
jp 0x5227c5
fstp qword [esp + 0x14]
jmp 0x5227c7
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x54]
mov dword [esp + 0x54], ecx
push eax
lea ecx, [esp + 0xb8]
mov dword [esp + 0x5c], edx
call fcn.005f18c0
lea ecx, [esp + 0xb4]
push ecx
mov ecx, edi
call fcn.00521f00
fadd qword [0x634650]
call fcn.005fbb60
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fcom qword [esp + 0x14]
fnstsw ax
test ah, 5
jp 0x52272b
fstp qword [esp + 0x14]
jmp 0x52272d
fstp st(0)
mov edx, dword [edi + 4]
mov eax, dword [edi + 8]
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x98]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
call fcn.005f18c0
lea edx, [esp + 0x94]
push edx
lea ecx, [esp + 0x24]
call fcn.00521f00
fadd qword [0x634650]
call fcn.005fbb60
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fcom qword [esp + 0x14]
fnstsw ax
test ah, 5
jp 0x522781
fstp qword [esp + 0x14]
jmp 0x522783
fstp st(0)
mov ecx, dword [edi + 0x10]
mov eax, dword [edi + 0xc]
lea edx, [esp + 0x34]
mov dword [esp + 0x38], ecx
push edx
lea ecx, [esp + 0x78]
mov dword [esp + 0x38], eax
call fcn.005f18c0
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x24]
call fcn.00521f00
fadd qword [0x634650]
call fcn.005fbb60
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
jmp 0x5226bf
fstp st(0)
fldz
fcomp qword [esp + 0x14]
fnstsw ax
test ah, 0x44
jnp 0x522576
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
inc ebx
add esi, 8
cmp ebx, dword [ebp + 0xc]
jl 0x522500
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x78]
call fcn.005f18c0
lea ecx, [esp + 0x74]
push ecx
mov ecx, edi
call fcn.00521f00
fld qword [0x634650]
fadd st(1), st(0)
fxch st(1)
call fcn.005fbb60
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fld qword [esp + 0x14]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x522834
fstp st(0)
jmp 0x522836
fstp st(1)
faddp st(1)
call fcn.005fbb60
lea ecx, [esp + 0x20]
mov esi, eax
mov dword [esp + 0xe0], 0xffffffff
mov dword [esp + 0x20], vtable.ZgeoLine.0
call fcn.005242f0
mov eax, esi
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8