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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d61d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
test ebx, ebx
mov dword [esp + 0x10], edi
je 0x45fc59
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x45fc59
fld qword [0x4e1e50]
mov cl, byte [edi + 0x74]
mov dword [esp + 0x18], 0
fst qword [esp + 0x2c]
test cl, cl
je 0x45f836
mov ecx, dword [edi + 0x80]
mov esi, eax
sub eax, ecx
mov ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
movsx edi, word [edi + 0x86]
shr eax, 0x1f
add edx, eax
mov ecx, edx
mov eax, ecx
cdq
idiv edi
mov dword [esp + 0x14], eax
mov eax, ecx
cdq
idiv edi
mov ecx, dword [esp + 0x10]
movsx eax, word [ecx + 0x84]
add eax, 0xfffffffe
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x24]
or edx, 0xffffffff
cmp eax, 1
jle 0x45f5b3
mov al, byte [esi - 0xc]
lea ecx, [esi - 0x18]
cmp al, 9
jb 0x45f5b3
fld dword [ecx]
fld dword [ecx + 4]
fld dword [ecx + 8]
fld dword [ebx + 8]
mov eax, dword [ebx]
fsub st(1)
mov dword [esp + 0x78], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x7c], eax
fstp dword [esp + 0xc]
fstp st(0)
fld dword [esp + 0x7c]
fsub st(1)
fstp dword [esp + 0x10]
fstp st(0)
fsubr dword [esp + 0x78]
fld st(0)
fmulp st(1)
fld dword [esp + 0x10]
fmul dword [esp + 0x10]
faddp st(1)
fld dword [esp + 0xc]
fmul dword [esp + 0xc]
faddp st(1)
fsqrt
fst qword [esp + 0x1c]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x45f5b3
fstp st(0)
fld qword [esp + 0x1c]
mov dword [esp + 0x18], ecx
mov edx, 1
mov ecx, dword [esp + 0x24]
lea eax, [edi - 2]
cmp ecx, eax
jge 0x45f62e
mov al, byte [esi + 0x24]
lea ecx, [esi + 0x18]
cmp al, 9
jb 0x45f62e
fld dword [ecx]
fld dword [ecx + 4]
fld dword [ecx + 8]
fld dword [ebx + 8]
mov eax, dword [ebx]
fsub st(1)
mov dword [esp + 0x68], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x6c], eax
fstp dword [esp + 0xc]
fstp st(0)
fld dword [esp + 0x6c]
fsub st(1)
fstp dword [esp + 0x10]
fstp st(0)
fsubr dword [esp + 0x68]
fld st(0)
fmulp st(1)
fld dword [esp + 0x10]
fmul dword [esp + 0x10]
faddp st(1)
fld dword [esp + 0xc]
fmul dword [esp + 0xc]
faddp st(1)
fsqrt
fst qword [esp + 0x1c]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x45f62e
fstp st(0)
fld qword [esp + 0x1c]
mov dword [esp + 0x18], ecx
mov edx, 2
cmp dword [esp + 0x14], 1
jle 0x45f6af
lea ecx, [edi + edi*2]
shl ecx, 3
mov eax, ecx
mov ecx, esi
sub ecx, eax
cmp byte [ecx + 0xc], 9
jb 0x45f6af
fld dword [ecx]
fld dword [ecx + 4]
fld dword [ecx + 8]
fld dword [ebx + 8]
mov eax, dword [ebx]
fsub st(1)
mov dword [esp + 0x58], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x5c], eax
fstp dword [esp + 0x10]
fstp st(0)
fld dword [esp + 0x5c]
fsub st(1)
fstp dword [esp + 0xc]
fstp st(0)
fsubr dword [esp + 0x58]
fld dword [esp + 0x10]
fmul dword [esp + 0x10]
fld st(1)
fmul st(2)
faddp st(1)
fld dword [esp + 0xc]
fmul dword [esp + 0xc]
faddp st(1)
fsqrt
fst qword [esp + 0x1c]
fstp st(1)
fcomp st(1)
fnstsw ax
test ah, 1
je 0x45f6af
fstp st(0)
fld qword [esp + 0x1c]
mov dword [esp + 0x18], ecx
mov edx, 3
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
cmp ecx, eax
jge 0x45f72f
lea eax, [edi + edi*2]
lea ecx, [esi + eax*8]
mov al, byte [esi + eax*8 + 0xc]
cmp al, 9
jb 0x45f72f
fld dword [ecx]
fld dword [ecx + 4]
fld dword [ecx + 8]
fld dword [ebx + 8]
mov eax, dword [ebx]
fsub st(1)
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x3c], eax
fstp dword [esp + 0xc]
fstp st(0)
fld dword [esp + 0x3c]
fsub st(1)
fstp dword [esp + 0x10]
fstp st(0)
fsubr dword [esp + 0x38]
fld st(0)
fmulp st(1)
fld dword [esp + 0x10]
fmul dword [esp + 0x10]
faddp st(1)
fld dword [esp + 0xc]
fmul dword [esp + 0xc]
faddp st(1)
fsqrt
fst qword [esp + 0x1c]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x45f72f
fstp st(0)
fld qword [esp + 0x1c]
mov dword [esp + 0x18], ecx
mov edx, 4
fld dword [esi]
fld dword [esi + 4]
fld dword [esi + 8]
fld dword [ebx + 8]
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
fsub st(1)
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], ecx
fstp dword [esp + 0xc]
fstp st(0)
fld dword [esp + 0x4c]
fsub st(1)
fstp dword [esp + 0x10]
fstp st(0)
fsubr dword [esp + 0x48]
fld st(0)
fmulp st(1)
fld dword [esp + 0x10]
fmul dword [esp + 0x10]
faddp st(1)
fld dword [esp + 0xc]
fmul dword [esp + 0xc]
faddp st(1)
fsqrt
fst qword [esp + 0x1c]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x45f827
cmp edx, 1
jl 0x45fc49
mov eax, dword [esp + 0x14]
cmp eax, 1
jle 0x45fc49
cmp eax, dword [esp + 0x28]
jge 0x45fc49
mov ecx, dword [esp + 0x24]
cmp ecx, 1
jle 0x45fc49
lea eax, [edi - 2]
cmp ecx, eax
jge 0x45fc49
lea eax, [edx - 1]
cmp eax, 3
ja case.default.0x45f7ce
jmp dword [eax*4 + 0x45fc90]
mov eax, dword [esp + 0x24]
sub esi, 0x18
dec eax
mov dword [esp + 0x24], eax
jmp case.default.0x45f7ce
mov eax, dword [esp + 0x24]
add esi, 0x18
inc eax
mov dword [esp + 0x24], eax
jmp case.default.0x45f7ce
mov eax, dword [esp + 0x14]
lea ecx, [edi*4]
sub ecx, edi
neg ecx
dec eax
lea esi, [esi + ecx*8]
mov dword [esp + 0x14], eax
jmp case.default.0x45f7ce
mov eax, dword [esp + 0x14]
lea edx, [edi + edi*2]
inc eax
lea esi, [esi + edx*8]
mov dword [esp + 0x14], eax
jmp case.default.0x45f7ce
fstp st(0)
fld qword [esp + 0x1c]
mov dword [esp + 0x18], esi
jmp 0x45fc49
mov ecx, dword [esp + 0x10]
mov edi, eax
mov esi, dword [ecx + 0x80]
movsx ecx, word [ecx + 0x86]
sub eax, esi
sar eax, 4
mov esi, eax
cdq
idiv ecx
mov dword [esp + 0x14], eax
mov eax, esi
cdq
idiv ecx
mov esi, edx
mov dword [esp + 0x24], esi
cmp esi, 1
mov dword [esp + 0xc], 0xffffffff
jle 0x45f8f6
mov al, byte [edi - 4]
lea edx, [edi - 0x10]
cmp al, 9
jb 0x45f8f6
fld dword [edx]
fld dword [edx + 4]
fld dword [edx + 8]
fld dword [ebx + 8]
mov eax, dword [ebx]
fsub st(1)
mov dword [esp + 0x88], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x8c], eax
fstp dword [esp + 0x1c]
fstp st(0)
fld dword [esp + 0x8c]
fsub st(1)
fstp dword [esp + 0x28]
fstp st(0)
fsubr dword [esp + 0x88]
fld st(0)
fmulp st(1)
fld dword [esp + 0x28]
fmul dword [esp + 0x28]
faddp st(1)
fld dword [esp + 0x1c]
fmul dword [esp + 0x1c]
faddp st(1)
fsqrt
fst qword [esp + 0x1c]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x45f8f6
fstp st(0)
fld qword [esp + 0x1c]
mov dword [esp + 0x18], edx
mov dword [esp + 0xc], 1
fst qword [esp + 0x2c]
lea edx, [ecx - 2]
cmp esi, edx
jge 0x45f992
mov al, byte [edi + 0x1c]
lea edx, [edi + 0x10]
cmp al, 9
jb 0x45f992
fld dword [edx]
fld dword [edx + 4]
fld dword [edx + 8]
fld dword [ebx + 8]
mov eax, dword [ebx]
fsub st(1)
mov dword [esp + 0x98], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x9c], eax
fstp dword [esp + 0x28]
fstp st(0)
fld dword [esp + 0x9c]
fsub st(1)
fstp dword [esp + 0x1c]
fstp st(0)
fsubr dword [esp + 0x98]
fld st(0)
fmulp st(1)
fld dword [esp + 0x1c]
fmul dword [esp + 0x1c]
faddp st(1)
fld dword [esp + 0x28]
fmul dword [esp + 0x28]
faddp st(1)
fsqrt
fst qword [esp + 0x1c]
fcomp st(1)
fnstsw ax
test ah, 1
fstp st(0)
je 0x45f994
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x18], edx
mov dword [esp + 0xc], 2
jmp 0x45f994
fstp st(0)
cmp dword [esp + 0x14], 1
jle 0x45fa52
shl ecx, 4
mov esi, edi
sub esi, ecx
mov al, byte [esi + 0xc]
cmp al, 9
jb 0x45fa52
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov dword [esp + 0x68], ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], ecx
mov byte [esp + 0x74], al
lea ecx, [esp + 0x48]
mov dword [esp + 0xc0], 0
call fcn.00426a10
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
mov dword [esp + 0x50], ecx
fld dword [esp + 0x50]
fsub dword [esp + 0x70]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], edx
fld dword [esp + 0x4c]
fsub dword [esp + 0x6c]
fld dword [esp + 0x48]
fsub dword [esp + 0x68]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
mov dl, byte [ebx + 0xc]
mov dword [esp + 0xc0], 0xffffffff
mov byte [esp + 0x54], dl
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fsqrt
fstp st(3)
fstp st(0)
fstp st(0)
fcom qword [esp + 0x2c]
fnstsw ax
test ah, 1
je 0x45fa50
fstp qword [esp + 0x2c]
mov dword [esp + 0x18], esi
mov dword [esp + 0xc], 3
jmp 0x45fa52
fstp st(0)
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
movsx ecx, word [eax + 0x84]
sub ecx, 2
cmp edx, ecx
jge 0x45fb2f
movsx esi, word [eax + 0x86]
shl esi, 4
add esi, edi
cmp byte [esi + 0xc], 9
jb 0x45fb2f
lea ecx, [esp + 0x58]
call fcn.00426a10
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov dword [esp + 0x58], edx
mov dl, byte [esi + 0xc]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
mov byte [esp + 0x64], dl
lea ecx, [esp + 0x38]
mov dword [esp + 0xc0], 1
call fcn.00426a10
mov edx, dword [ebx + 8]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [esp + 0x40], edx
fld dword [esp + 0x40]
fsub dword [esp + 0x60]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], eax
fld dword [esp + 0x3c]
fsub dword [esp + 0x5c]
fld dword [esp + 0x38]
fsub dword [esp + 0x58]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
mov al, byte [ebx + 0xc]
mov dword [esp + 0xc0], 0xffffffff
mov byte [esp + 0x44], al
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fsqrt
fstp st(3)
fstp st(0)
fstp st(0)
fcom qword [esp + 0x2c]
fnstsw ax
test ah, 1
je 0x45fb2d
fstp qword [esp + 0x2c]
mov dword [esp + 0x18], esi
mov dword [esp + 0xc], 4
jmp 0x45fb2f
fstp st(0)
lea ecx, [esp + 0x78]
call fcn.00426a10
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov eax, dword [edi + 8]
mov dword [esp + 0x78], ecx
mov cl, byte [edi + 0xc]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], eax
mov byte [esp + 0x84], cl
push ebx
lea ecx, [esp + 0xac]
mov dword [esp + 0xc4], 2
call fcn.00471ef0
lea edx, [esp + 0x78]
mov byte [esp + 0xc0], 3
push edx
push eax
call fcn.00473740
fstp qword [esp + 0x24]
fld qword [esp + 0x34]
fld qword [esp + 0x24]
fcomp st(1)
add esp, 8
mov dword [esp + 0xc0], 0xffffffff
fnstsw ax
test ah, 0x41
jne 0x45fc3f
mov edx, dword [esp + 0xc]
cmp edx, 1
jl 0x45fc49
mov eax, dword [esp + 0x14]
cmp eax, 1
jle 0x45fc49
mov ecx, dword [esp + 0x10]
movsx esi, word [ecx + 0x84]
sub esi, 2
cmp eax, esi
jge 0x45fc49
mov esi, dword [esp + 0x24]
cmp esi, 1
jle 0x45fc49
movsx ecx, word [ecx + 0x86]
lea eax, [ecx - 2]
cmp esi, eax
jge 0x45fc49
lea eax, [edx - 1]
cmp eax, 3
ja case.default.0x45fbfa
jmp dword [eax*4 + 0x45fca0]
sub edi, 0x10
dec esi
jmp 0x45f85e
add edi, 0x10
inc esi
jmp 0x45f85e
mov eax, dword [esp + 0x14]
mov edx, ecx
neg edx
shl edx, 4
add edi, edx
dec eax
mov dword [esp + 0x14], eax
jmp case.default.0x45fbfa
mov eax, ecx
shl eax, 4
add edi, eax
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
jmp case.default.0x45fbfa
fstp st(0)
fld qword [esp + 0x1c]
mov dword [esp + 0x18], edi
mov ecx, dword [ebp + 0x10]
fld st(0)
fcomp qword [ecx]
fnstsw ax
test ah, 0x41
jne 0x45fc72
fstp st(0)
xor eax, eax
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
fstp qword [ecx]
mov ecx, dword [esp + 0xb8]
mov eax, dword [esp + 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc