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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x62056b
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
push ebx
push esi
push edi
mov eax, dword [0x682d00]
xor eax, esp
push eax
lea eax, [esp + 0xd8]
mov dword fs:[0], eax
mov edi, ecx
fld qword [0x6424d0]
lea ecx, [esp + 0x20]
fstp qword [esp + 0x14]
call fcn.00523100
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 0x5216d2
lea esi, [eax + 8]
jmp 0x5213e0
mov eax, dword [esi]
cmp eax, dword [esi - 8]
jne 0x5213f3
mov ecx, dword [esi + 4]
cmp ecx, dword [esi - 4]
je 0x5216c5
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.00520740
test eax, eax
je 0x5215b7
fldz
fld qword [esp + 0x6c]
fcom st(1)
fnstsw ax
fld qword [esp + 0x5c]
test ah, 1
jne 0x52148c
fld1
fcom st(2)
fnstsw ax
test ah, 1
jne 0x521492
fxch st(1)
fcom st(3)
fnstsw ax
test ah, 1
jne 0x521496
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x521498
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.00523110
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 0x521498
fstp st(1)
jmp 0x521498
fstp st(0)
fxch st(2)
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x5214fb
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.005efdc0
lea ecx, [esp + 0x84]
push ecx
lea ecx, [esp + 0x24]
call fcn.00520de0
fadd qword [0x632648]
call fcn.005f9c80
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fcom qword [esp + 0x14]
fnstsw ax
test ah, 5
jp 0x521549
fstp qword [esp + 0x14]
jmp 0x52154b
fcompp
fnstsw ax
test ah, 0x41
jne 0x52154b
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.005efdc0
lea edx, [esp + 0xa4]
push edx
lea ecx, [esp + 0x24]
call fcn.00520de0
fadd qword [0x632648]
call fcn.005f9c80
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
jmp 0x5214ea
fstp st(0)
fldz
fcomp qword [esp + 0x5c]
fnstsw ax
test ah, 0x41
jne 0x5216a7
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.005efdc0
lea eax, [esp + 0xc4]
push eax
mov ecx, edi
call fcn.00520de0
fadd qword [0x632648]
call fcn.005f9c80
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fcom qword [esp + 0x14]
fnstsw ax
test ah, 5
jp 0x5216a5
fstp qword [esp + 0x14]
jmp 0x5216a7
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.005efdc0
lea ecx, [esp + 0xb4]
push ecx
mov ecx, edi
call fcn.00520de0
fadd qword [0x632648]
call fcn.005f9c80
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fcom qword [esp + 0x14]
fnstsw ax
test ah, 5
jp 0x52160b
fstp qword [esp + 0x14]
jmp 0x52160d
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.005efdc0
lea edx, [esp + 0x94]
push edx
lea ecx, [esp + 0x24]
call fcn.00520de0
fadd qword [0x632648]
call fcn.005f9c80
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fcom qword [esp + 0x14]
fnstsw ax
test ah, 5
jp 0x521661
fstp qword [esp + 0x14]
jmp 0x521663
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.005efdc0
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x24]
call fcn.00520de0
fadd qword [0x632648]
call fcn.005f9c80
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
jmp 0x52159f
fstp st(0)
fldz
fcomp qword [esp + 0x14]
fnstsw ax
test ah, 0x44
jnp 0x521456
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 0x5213e0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x78]
call fcn.005efdc0
lea ecx, [esp + 0x74]
push ecx
mov ecx, edi
call fcn.00520de0
fld qword [0x632648]
fadd st(1), st(0)
fxch st(1)
call fcn.005f9c80
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fld qword [esp + 0x14]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x521714
fstp st(0)
jmp 0x521716
fstp st(1)
faddp st(1)
call fcn.005f9c80
lea ecx, [esp + 0x20]
mov esi, eax
mov dword [esp + 0xe0], 0xffffffff
mov dword [esp + 0x20], vtable.ZgeoLine.0
call fcn.00523110
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