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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x74
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
fld qword [eax + 8]
mov ecx, dword [eax + 0x1c]
test cl, 2
fst qword [esp + 0x48]
fld qword [eax + 0x10]
push esi
fst qword [esp + 0x54]
push edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], ecx
je 0x45ac2b
sub esp, 8
fstp st(0)
fstp qword [esp]
push 0
push ebx
call fcn.00459a20
add esp, 0x10
test eax, eax
jne 0x45ac10
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0xc]
push ecx
push eax
push ebx
mov byte [eax + 0x40], 1
call fcn.0045a5b0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov cl, byte [eax + 0x20]
cmp cl, 3
jne 0x45adef
fldz
mov edi, dword [eax + 0x18]
fcomp st(2)
fnstsw ax
test ah, 1
jne 0x45ac51
fstp st(1)
mov dword [esp + 0x28], 0
jmp 0x45ac5c
fxch st(1)
call fcn.00418120
mov dword [esp + 0x28], eax
mov eax, dword [edi]
lea ecx, [eax - 1]
mov dword [esp + 0x40], ecx
fild dword [esp + 0x40]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x45ac7a
fstp st(0)
mov dword [esp + 0x1c], ecx
jmp 0x45ac97
fld st(0)
call fcn.00418120
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fucompp
fnstsw ax
test ah, 0x44
jp 0x45ac97
sub dword [esp + 0x1c], 1
test byte [esp + 0x3c], 1
je 0x45aca2
xor byte [ebp + 0xc], 1
cmp byte [ebp + 0xc], 0
je 0x45acc1
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x28]
add edx, 1
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], 1
jmp 0x45acd8
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x1c]
add eax, 0xffffffff
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x34], esi
lea esp, [esp]
mov eax, dword [edi + 4]
lea ecx, [esp + 0x70]
push ecx
mov ecx, dword [eax + esi*4]
lea edx, [esp + 0x34]
push edx
push ecx
call fcn.00434850
fld qword [esp + 0x7c]
add esp, 0xc
fst qword [esp + 0x60]
cmp esi, dword [esp + 0x28]
fld qword [esp + 0x78]
jne 0x45ad30
fild dword [esp + 0x34]
fld qword [esp + 0x50]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x45ad2c
fsubrp st(1)
fld st(1)
fsub st(3)
fmulp st(1)
fadd st(2)
fstp qword [esp + 0x60]
jmp 0x45ad30
fstp st(1)
fstp st(0)
cmp esi, dword [esp + 0x1c]
fst qword [esp + 0x68]
jne 0x45ad62
lea edx, [esi + 1]
mov dword [esp + 0x38], edx
fild dword [esp + 0x38]
fld qword [esp + 0x58]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x45ad66
fsubp st(1)
fld st(1)
fsubrp st(3)
fmulp st(2)
fsubrp st(1)
fstp qword [esp + 0x68]
jmp 0x45ad6e
fstp st(1)
jmp 0x45ad6c
fstp st(3)
fstp st(1)
fstp st(0)
fstp st(0)
mov ecx, dword [edi + 4]
mov edx, dword [ecx + esi*4]
lea eax, [esp + 0x60]
push eax
push edx
call fcn.004350b0
mov eax, dword [edi + 4]
mov edx, dword [ebp + 0xc]
mov ecx, dword [eax + esi*4]
push edx
push ebx
mov dword [ebx], ecx
call fcn.0045abc0
mov ecx, dword [esp + 0x40]
mov edx, dword [edi + 4]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x80]
push eax
mov eax, dword [edx + esi*4]
push ecx
push eax
call fcn.00434870
add esp, 0x1c
cmp dword [esp + 0x38], 0
jl 0x45add3
add esi, dword [esp + 0x40]
cmp esi, dword [esp + 0x3c]
mov dword [esp + 0x34], esi
jne 0x45ace0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push str.Failed_to_tessellate_COMPOSITE_CURVE__d_n
push 2
push 0x2339
call fcn.00442f20
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebx + 6], 0
jne 0x45b12c
cmp cl, 7
je 0x45ae69
cmp cl, 8
je 0x45ae69
cmp cl, 5
jne 0x45b5cb
sub esp, 8
fstp st(0)
fstp qword [esp]
push 0
push ebx
call fcn.00459a20
fld qword [esp + 0x68]
add esp, 8
mov esi, eax
fstp qword [esp]
push esi
push ebx
mov byte [esi + 0x40], 1
call fcn.00459a20
fldz
mov byte [eax + 0x40], 1
fcomp qword [0x549b20]
add esp, 0x10
fnstsw ax
test ah, 5
jp 0x45ae52
push ebx
call fcn.0045a490
add esp, 4
mov ecx, dword [ebp + 0xc]
push ecx
push esi
push ebx
call fcn.0045a5b0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [eax + 0x18]
fstp st(0)
sub esp, 8
fstp qword [esp]
push 0
push ebx
call fcn.00459a20
fld qword [esp + 0x68]
add esp, 8
fstp qword [esp]
push eax
push ebx
mov dword [esp + 0x34], eax
mov byte [eax + 0x40], 1
call fcn.00459a20
fld qword [esp + 0x60]
add esp, 8
fstp qword [esp]
mov dword [esp + 0x44], eax
mov byte [eax + 0x40], 1
call fcn.00500fc0
fld qword [esp + 0x58]
fucomp st(1)
add esp, 8
fnstsw ax
test ah, 0x44
jp 0x45aec2
fadd qword [0x50c4d0]
call fcn.00418120
fld qword [esp + 0x58]
mov edi, eax
sub esp, 8
fstp qword [esp]
mov dword [esp + 0x3c], edi
call fcn.00500340
fld qword [esp + 0x60]
fucomp st(1)
add esp, 8
fnstsw ax
test ah, 0x44
jp 0x45aef2
fsub qword [0x50c4d0]
call fcn.00418120
cmp edi, eax
jg 0x45b0e5
sub eax, edi
add eax, 3
mov ebx, eax
push 4
push ebx
mov dword [esp + 0x48], ebx
call fcn.004436f0
lea ebx, [ebx + ebx*2]
add ebx, ebx
add ebx, ebx
add ebx, ebx
push ebx
mov dword [esp + 0x3c], eax
call fcn.00443680
push ebx
mov dword [esp + 0x38], eax
call fcn.00443680
fld qword [esp + 0x60]
mov ecx, dword [esp + 0x38]
fst qword [ecx]
mov edi, eax
mov eax, dword [esp + 0x34]
fld qword [eax + 0x10]
mov edx, dword [esp + 0x3c]
fstp qword [edi]
add esp, 0x10
fld qword [eax + 0x18]
fstp qword [edi + 8]
fld qword [eax + 0x20]
mov eax, dword [esp + 0x40]
fstp qword [edi + 0x10]
add eax, 0xfffffffe
fld qword [esp + 0x58]
fst qword [ecx + eax*8 + 8]
mov ecx, dword [esp + 0x3c]
fld qword [ecx + 0x10]
fstp qword [ebx + edi - 0x18]
fld qword [ecx + 0x18]
fstp qword [ebx + edi - 0x10]
fld qword [ecx + 0x20]
fstp qword [ebx + edi - 8]
test byte [edx + 0x1c], 1
je 0x45afec
mov ecx, dword [esi]
faddp st(1)
sub ecx, dword [esp + 0x34]
lea edx, [eax + eax*2]
sub ecx, 1
mov ebx, ecx
sub ebx, eax
lea ecx, [ebx + ebx*2]
add ecx, ecx
add ecx, ecx
add ecx, ecx
add ebx, 1
lea edx, [edi + edx*8 + 0x10]
mov dword [esp + 0x34], ebx
fild dword [esp + 0x34]
mov ebx, dword [esp + 0x28]
add dword [esp + 0x34], 1
sub eax, 1
fsubr st(1)
add ecx, 0x18
sub edx, 0x18
test eax, eax
fstp qword [ebx + eax*8 + 8]
mov ebx, dword [esi + 4]
fld qword [ebx + ecx]
fstp qword [edx + 8]
mov ebx, dword [esi + 4]
fld qword [ebx + ecx + 8]
fstp qword [edx + 0x10]
mov ebx, dword [esi + 4]
fld qword [ebx + ecx + 0x10]
fstp qword [edx + 0x18]
jg 0x45afab
fstp st(0)
jmp 0x45b049
mov ecx, dword [esp + 0x34]
fstp st(1)
add ecx, eax
fstp st(0)
lea edx, [ecx - 1]
lea ecx, [ecx + ecx*2]
add ecx, ecx
mov dword [esp + 0x34], edx
add ecx, ecx
lea edx, [eax + eax*2]
add ecx, ecx
lea edx, [edi + edx*8 + 0x10]
fild dword [esp + 0x34]
mov ebx, dword [esp + 0x28]
sub dword [esp + 0x34], 1
sub eax, 1
fstp qword [ebx + eax*8 + 8]
mov ebx, dword [esi + 4]
fld qword [ebx + ecx - 0x18]
sub ecx, 0x18
fstp qword [edx - 0x10]
mov ebx, dword [esi + 4]
fld qword [ebx + ecx + 8]
sub edx, 0x18
test eax, eax
fstp qword [edx + 0x10]
mov ebx, dword [esi + 4]
fld qword [ebx + ecx + 0x10]
fstp qword [edx + 0x18]
jg 0x45b00d
fld qword [0x549b20]
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x40]
push 1
sub esp, 0x18
fstp qword [esp + 0x10]
fld qword [0x549b28]
fstp qword [esp + 8]
fld qword [0x549b10]
fstp qword [esp]
push eax
push edi
push ebx
call fcn.00449210
push edi
call fcn.00418550
mov eax, dword [esp + 0x50]
mov esi, 1
lea edi, [ebx - 1]
add esp, 0x2c
cmp edi, esi
jle 0x45b0cb
mov ebx, dword [esp + 0x28]
jmp 0x45b0a0
mov ecx, dword [esp + 0x30]
cmp dword [ecx + esi*4], 0
jne 0x45b0c4
fld qword [ebx + esi*8]
mov edx, dword [ebp + 8]
sub esp, 8
fstp qword [esp]
push eax
push edx
call fcn.00459a20
add esp, 0x10
mov byte [eax + 0x40], 1
add esi, 1
cmp esi, edi
jl 0x45b0a0
mov eax, dword [esp + 0x30]
push eax
call fcn.00418550
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00418550
mov ebx, dword [ebp + 8]
add esp, 8
fldz
fcomp qword [0x549b20]
fnstsw ax
test ah, 5
jp 0x45b111
mov esi, dword [esp + 0x24]
mov edi, dword [esi]
test edi, edi
je 0x45b111
mov edi, edi
push ebx
call fcn.0045a490
mov esi, edi
mov edi, dword [edi]
add esp, 4
test edi, edi
jne 0x45b100
mov edx, dword [ebp + 0xc]
mov eax, dword [esp + 0x24]
push edx
push eax
push ebx
call fcn.0045a5b0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp cl, 7
je 0x45b13a
cmp cl, 8
jne 0x45b5cb
mov ecx, dword [eax + 0x18]
fstp st(0)
sub esp, 8
fstp qword [esp]
mov dword [esp + 0x44], ecx
call fcn.00500fc0
fld qword [esp + 0x58]
fucomp st(1)
add esp, 8
fnstsw ax
test ah, 0x44
jp 0x45b164
fadd qword [0x50c4d0]
call fcn.00418120
fld qword [esp + 0x58]
mov esi, eax
sub esp, 8
fstp qword [esp]
mov dword [esp + 0x40], esi
call fcn.00500340
fld qword [esp + 0x60]
fld st(0)
add esp, 8
fucomp st(2)
fnstsw ax
test ah, 0x44
jp 0x45b19a
fxch st(1)
fsub qword [0x50c4d0]
fxch st(1)
fxch st(1)
call fcn.00418120
cmp esi, eax
jg 0x45b5c5
sub eax, esi
fstp st(0)
add eax, 3
mov ebx, eax
push 4
push ebx
mov dword [esp + 0x50], ebx
call fcn.004436f0
push 4
push ebx
mov dword [esp + 0x34], eax
call fcn.004436f0
lea esi, [ebx + ebx*2]
add esi, esi
add esi, esi
add esi, esi
push esi
mov dword [esp + 0x3c], eax
call fcn.00443680
push esi
mov dword [esp + 0x38], eax
call fcn.00443680
mov edi, eax
push esi
mov dword [esp + 0x50], edi
call fcn.00443680
fld qword [esp + 0x6c]
mov edx, dword [esp + 0x3c]
add esp, 0x1c
fst qword [edx]
push edi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x30]
sub esp, 8
fstp qword [esp]
push eax
call fcn.00434970
fld qword [esp + 0x68]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x3c]
fst qword [ecx + ebx*8 - 8]
add esp, 0x10
lea eax, [edi + esi - 0x18]
push eax
sub esp, 8
fstp qword [esp]
push edx
mov dword [esp + 0x50], eax
call fcn.00434970
mov eax, dword [esp + 0x2c]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x28]
push eax
push edi
push edx
call fcn.004326d0
add esp, 0x1c
test eax, eax
jne 0x45b27f
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x40]
lea ecx, [eax + esi - 0x18]
mov eax, dword [ebp + 8]
push ecx
mov ecx, dword [eax + 0x28]
push edx
push ecx
call fcn.004326d0
add esp, 0xc
test eax, eax
mov dword [esp + 0x30], 1
je 0x45b287
mov dword [esp + 0x30], 0
mov edx, dword [esp + 0x2c]
test byte [edx + 0x1c], 1
lea esi, [ebx - 2]
mov dword [esp + 0x4c], esi
je 0x45b347
mov eax, dword [esp + 0x3c]
fld qword [esp + 0x58]
mov eax, dword [eax]
fadd qword [esp + 0x50]
sub eax, dword [esp + 0x38]
mov ecx, edi
sub eax, 1
fstp qword [esp + 0x40]
sub eax, esi
lea ebx, [eax + eax*2]
add ebx, ebx
add eax, 1
add ebx, ebx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x1c]
add ebx, ebx
lea edx, [esi + esi*2]
sub eax, ecx
lea edi, [ecx + edx*8]
mov dword [esp + 0x38], eax
fild dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
fsubr qword [esp + 0x40]
fstp qword [eax + esi*8]
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 4]
fld qword [ebx + ecx + 0x18]
mov ecx, dword [esp + 0x38]
fstp qword [edi]
mov edx, dword [eax + 4]
fld qword [ebx + edx + 0x20]
mov edx, dword [ebp + 8]
fstp qword [edi + 8]
mov eax, dword [eax + 4]
fld qword [ebx + eax + 0x28]
add ecx, edi
push ecx
fstp qword [edi + 0x10]
mov eax, dword [edx + 0x28]
push edi
push eax
call fcn.004326d0
add esp, 0xc
test eax, eax
je 0x45b32c
mov dword [esp + 0x30], 0
add dword [esp + 0x2c], 1
sub esi, 1
add ebx, 0x18
sub edi, 0x18
test esi, esi
jg 0x45b2d9
mov ebx, dword [esp + 0x48]
jmp 0x45b3dc
mov ecx, dword [esp + 0x38]
lea eax, [esi + ecx]
lea edx, [eax - 1]
lea eax, [eax + eax*2]
add eax, eax
add eax, eax
add eax, eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x1c]
mov ecx, edi
mov dword [esp + 0x2c], edx
lea edx, [esi + esi*2]
sub eax, ecx
lea edi, [ecx + edx*8]
mov dword [esp + 0x38], eax
fild dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x3c]
fstp qword [eax + esi*8]
mov edx, dword [ecx + 4]
mov eax, dword [esp + 0x40]
fld qword [eax + edx - 0x18]
fstp qword [edi]
mov edx, dword [ecx + 4]
fld qword [eax + edx - 0x10]
mov edx, dword [esp + 0x38]
fstp qword [edi + 8]
mov ecx, dword [ecx + 4]
fld qword [eax + ecx - 8]
mov ecx, dword [ebp + 8]
lea eax, [edi + edx]
fstp qword [edi + 0x10]
mov edx, dword [ecx + 0x28]
push eax
push edi
push edx
call fcn.004326d0
add esp, 0xc
test eax, eax
je 0x45b3c8
mov dword [esp + 0x30], 0
sub dword [esp + 0x2c], 1
sub dword [esp + 0x40], 0x18
sub esi, 1
sub edi, 0x18
test esi, esi
jg 0x45b374
cmp dword [esp + 0x30], 0
je 0x45b44d
fld qword [0x549b20]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
push 1
sub esp, 0x18
fstp qword [esp + 0x10]
fld qword [0x549b28]
fstp qword [esp + 8]
fld qword [0x549b10]
fstp qword [esp]
push eax
push ecx
push ebx
call fcn.00449210
fld qword [0x50de40]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x5c]
add esp, 0x28
push 1
sub esp, 0x18
fstp qword [esp + 0x10]
fld qword [0x5110b8]
fstp qword [esp + 8]
fld qword [0x510ff8]
fstp qword [esp]
push edx
push eax
push ebx
call fcn.00449210
add esp, 0x28
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00418550
mov edx, dword [esp + 0x20]
push edx
call fcn.00418550
mov edi, dword [esp + 0x28]
add esp, 8
cmp byte [ebp + 0xc], 0
je 0x45b535
mov ecx, dword [esp + 0x24]
fld qword [edi]
mov esi, 1
cmp ebx, esi
mov dword [ecx + ebx*4 - 4], 0
jle 0x45b4de
mov edx, dword [esp + 0x28]
lea eax, [edx + 4]
sub ecx, edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
cmp dword [ecx + eax], 0
je 0x45b4a5
cmp dword [eax], 0
jne 0x45b4d0
fld qword [edi + esi*8]
mov eax, dword [ebp + 8]
push 1
sub esp, 0x10
fstp qword [esp + 8]
fstp qword [esp]
push eax
call fcn.0045a690
add esp, 0x18
cmp eax, 0xffffffff
je 0x45b506
fld qword [edi + esi*8]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
add esi, 1
add eax, 4
cmp esi, ebx
mov dword [esp + 0x3c], eax
jl 0x45b49a
mov eax, dword [esp + 0x24]
fstp st(0)
push eax
call fcn.00418550
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00418550
push edi
call fcn.00418550
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00418550
mov edx, dword [esp + 0x2c]
push edx
call fcn.00418550
push 0x540294
push 2
push 0x233a
call fcn.00442f20
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x24]
fld qword [edi + ebx*8 - 8]
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x4c]
mov dword [eax], 0
sub eax, ecx
lea ebx, [ecx + esi*4]
mov dword [esp + 0x40], eax
cmp dword [ebx + eax], 0
je 0x45b55f
cmp dword [ebx], 0
jne 0x45b586
fld qword [edi + esi*8]
mov eax, dword [ebp + 8]
push 0
sub esp, 0x10
fstp qword [esp + 8]
fstp qword [esp]
push eax
call fcn.0045a690
add esp, 0x18
cmp eax, 0xffffffff
je 0x45b596
fld qword [edi + esi*8]
mov eax, dword [esp + 0x40]
sub esi, 1
sub ebx, 4
test esi, esi
jl 0x45b4de
jmp 0x45b554
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00418550
mov edx, dword [esp + 0x2c]
push edx
call fcn.00418550
push 0x5402b0
push 2
push 0x233a
call fcn.00442f20
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
fld qword [esp + 0x50]
fxch st(1)
mov edx, dword [ebp + 0xc]
push edx
sub esp, 0x10
fstp qword [esp + 8]
fstp qword [esp]
push ebx
call fcn.0045a690
add esp, 0x18
cmp eax, 0xffffffff
jne 0x45ac22
push str.Failed_to_convert_curve_n
push 2
push 0x233b
call fcn.00442f20
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret