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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0xb4
cmp dword [0x56ebf4], 0
push ebx
push esi
push edi
jne 0x488e04
push str.dvfOL_USE_CURVETONURB
call fcn.0042d8c2
add esp, 4
neg eax
sbb eax, eax
and eax, 2
add eax, 0xffffffff
mov dword [0x56ebf4], eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx + 0x1c]
test al, 2
jne 0x488feb
movzx ecx, byte [ebx + 0x20]
lea edx, [ecx - 1]
cmp edx, 7
ja case.0x488e22.4
jmp dword [edx*4 + 0x4892f4]
fld qword [ebx + 8]
mov edi, dword [ebx + 0x18]
and eax, 1
sub esp, 8
fstp qword [esp]
mov dword [esp + 0x4c], eax
call fcn.00500340
add esp, 8
call fcn.00418120
mov esi, eax
test esi, esi
mov dword [esp + 0x20], eax
jge 0x488e59
xor esi, esi
mov dword [esp + 0x20], esi
fld qword [ebx + 0x10]
sub esp, 8
fstp qword [esp]
call fcn.00500fc0
add esp, 8
call fcn.00418120
mov ecx, dword [edi]
cmp eax, ecx
mov dword [esp + 0x24], eax
jle 0x488e7f
mov dword [esp + 0x24], ecx
mov eax, ecx
cmp dword [esp + 0x44], 0
je 0x488ea2
mov ecx, esi
lea esi, [eax - 1]
add ecx, 0xffffffff
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], 0xffffffff
mov eax, ecx
jmp 0x488eaa
mov dword [esp + 0x28], 1
cmp esi, eax
je 0x488fb8
mov edx, dword [edi + 4]
lea eax, [esp + 0x48]
push eax
mov eax, dword [edx + esi*4]
lea ecx, [esp + 0x30]
push ecx
push eax
call fcn.00434850
fild dword [esp + 0x2c]
add esp, 0xc
fcom qword [ebx + 8]
fnstsw ax
fld qword [esp + 0x50]
test ah, 5
jp 0x488ef6
fld qword [ebx + 8]
fsub st(2)
fld st(1)
fld qword [esp + 0x48]
fsub st(1), st(0)
fxch st(2)
fmulp st(1)
fadd st(1)
fstp qword [esp + 0x30]
jmp 0x488efe
fld qword [esp + 0x48]
fst qword [esp + 0x30]
lea ecx, [esi + 1]
mov dword [esp + 0x20], ecx
fild dword [esp + 0x20]
fcomp qword [ebx + 0x10]
fnstsw ax
test ah, 0x41
jne 0x488f22
fld qword [ebx + 0x10]
fsubrp st(3)
fsub st(1), st(0)
fxch st(2)
fmulp st(1)
faddp st(1)
jmp 0x488f26
fstp st(0)
fstp st(1)
fstp qword [esp + 0x38]
mov eax, dword [edi + 4]
mov ecx, dword [eax + esi*4]
lea edx, [esp + 0x30]
push edx
push ecx
call fcn.004350b0
add esp, 8
cmp dword [esp + 0x44], 0
je 0x488f4f
mov edx, dword [edi + 4]
mov eax, dword [edx + esi*4]
xor dword [eax + 0x1c], 1
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
mov edx, dword [edi + 4]
push eax
mov eax, dword [edx + esi*4]
push 0
push ecx
mov ecx, dword [ebp + 8]
push eax
push ecx
call fcn.00488dd0
mov ecx, dword [edi + 4]
lea edx, [esp + 0x5c]
push edx
mov edx, dword [ecx + esi*4]
mov ebx, eax
mov eax, dword [esp + 0x44]
push eax
push edx
call fcn.00434870
add esp, 0x20
cmp ebx, 0xffffffff
je 0x488fa4
test ebx, ebx
mov ebx, dword [ebp + 0xc]
jne 0x488fae
add esi, dword [esp + 0x28]
cmp esi, dword [esp + 0x24]
mov dword [esp + 0x20], esi
jne 0x488eb2
jmp 0x488fb8
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, dword [esp + 0x24]
jne 0x489298
mov eax, dword [0x56ebf8]
test eax, eax
jne 0x488fdf
push str.dvfOL_USE_COMPTONURB
call fcn.0042d8c2
add esp, 4
neg eax
sbb eax, eax
and eax, 2
add eax, 0xffffffff
mov dword [0x56ebf8], eax
test eax, eax
jle 0x488feb
cmp dword [ebp + 0x10], 1
jne 0x489298
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push eax
mov eax, dword [ebx + 0x18]
push ecx
call fcn.00488880
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x10], 1
je 0x489298
fldz
fcomp qword [ebx + 8]
fnstsw ax
test ah, 0x44
jp 0x489059
mov edx, dword [ebx + 0x18]
mov eax, dword [edx]
sub eax, 1
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
fcomp qword [ebx + 0x10]
fnstsw ax
test ah, 0x44
jp 0x489059
mov eax, dword [ebp + 8]
mov ebx, edx
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
push ecx
push edx
call fcn.00488d60
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
mov dword [esp + 0x24], 0
call fcn.004470e0
mov esi, eax
lea eax, [esp + 0x24]
push eax
push esi
call fcn.00446e70
add esp, 0xc
cmp eax, 2
jl 0x4890b4
mov ecx, dword [esp + 0x20]
push ecx
push eax
mov eax, dword [ebp + 8]
call fcn.00488d60
add esp, 8
cmp dword [0x56ebf4], 0
mov edi, eax
jg 0x4890b4
push esi
call fcn.00446df0
mov edx, dword [esp + 0x24]
push edx
call fcn.00418550
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.00446df0
mov eax, dword [esp + 0x24]
add esp, 4
test eax, eax
je 0x489298
push eax
call fcn.00418550
add esp, 4
jmp 0x489298
cmp dword [ebp + 0x10], 1
je 0x489298
fld qword [ebx + 8]
lea eax, [esp + 0x78]
fld qword [ebx + 0x10]
push eax
fstp qword [esp + 0x54]
sub esp, 8
fstp qword [esp]
push ebx
call fcn.00434970
add esp, 0x10
cmp eax, 0xffffffff
je 0x489298
fld qword [esp + 0x50]
lea ecx, [esp + 0x60]
push ecx
sub esp, 8
fstp qword [esp]
push ebx
call fcn.00434970
add esp, 0x10
cmp eax, 0xffffffff
je 0x489298
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x7c]
push eax
mov eax, dword [ebp + 8]
call fcn.00488ce0
add esp, 8
cmp dword [0x56ebf4], 0
jg 0x489298
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x10], 1
je 0x489298
mov eax, dword [ebx + 0x18]
fld qword [ebx + 8]
lea ecx, [esp + 0x48]
fstp qword [esp + 0x30]
fld qword [ebx + 0x10]
push ecx
push 0
fstp qword [esp + 0x40]
lea edx, [esp + 0x80]
push edx
lea ecx, [esp + 0x6c]
push ecx
lea esi, [eax + 0x48]
lea edi, [eax + 0x30]
lea ebx, [eax + 0x18]
push 0
mov dword [esp + 0x3c], eax
call fcn.004886a0
add esp, 0x14
test eax, eax
je 0x489295
fld qword [esp + 0x30]
mov eax, dword [ebp + 0xc]
lea edx, [esp + 0xa8]
push edx
sub esp, 8
fstp qword [esp]
push eax
call fcn.00434970
add esp, 0x10
cmp eax, 0xffffffff
je 0x489295
fld qword [esp + 0x38]
mov edx, dword [ebp + 0xc]
lea ecx, [esp + 0x90]
push ecx
sub esp, 8
fstp qword [esp]
push edx
call fcn.00434970
add esp, 0x10
cmp eax, 0xffffffff
je 0x489295
mov eax, dword [ebp + 0xc]
fld qword [eax + 8]
fstp qword [esp + 0x30]
fld qword [eax + 0x10]
fstp qword [esp + 0x38]
fld qword [esp + 0x50]
fld st(0)
fld qword [esp + 0x48]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jp 0x48924f
lea eax, [esp + 0x90]
fstp st(1)
push eax
lea ecx, [esp + 0xac]
push ecx
mov ecx, dword [esp + 0x30]
sub esp, 8
fstp qword [esp]
lea edx, [esp + 0x88]
push edx
lea eax, [esp + 0x74]
push eax
push ecx
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x4c]
call fcn.00488b40
add esp, 0x1c
jmp 0x48928c
lea edx, [esp + 0x90]
fxch st(1)
push edx
lea eax, [esp + 0xac]
push eax
mov eax, dword [esp + 0x30]
sub esp, 0x10
fstp qword [esp + 8]
lea ecx, [esp + 0x90]
lea edx, [esp + 0x78]
fstp qword [esp]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
lea eax, [esp + 0x54]
call fcn.00488c10
add esp, 0x24
cmp dword [0x56ebf4], 0
jle 0x4892ea
mov ebx, dword [ebp + 0xc]
cmp dword [ebp + 0x14], 0
jne 0x4892e5
push 0
push ebx
call fcn.004361e0
mov esi, eax
add esp, 8
test esi, esi
je 0x4892e5
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [esi + 0x18]
push ecx
push edx
call fcn.00488880
push esi
mov edi, eax
call fcn.00434890
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ecx
push str.Cannot_write_out_dglCurve_type__d_n
push 2
call fcn.004431d0
add esp, 0xc
jmp 0x489298
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret