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

Disassembly:
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call fcn.00440e50
cmp ax, 0xffff
je 0x442259
mov eax, dword [esp + 0x74]
xor edi, edi
cmp eax, edi
je 0x442259
mov cl, byte [eax + 0xec]
test cl, cl
je 0x441829
cmp cl, 1
jne 0x442259
xor ebx, ebx
push eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], ebx
call dword [fcn.0065f1e0]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x110]
add esp, 4
cmp eax, edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x10], edi
jbe 0x441938
xor eax, eax
mov edx, dword [ebp + 0x108]
lea ecx, [eax*8]
sub ecx, eax
lea esi, [eax + ecx*4]
lea ecx, [esi + edx]
mov edx, dword [esi + edx + 8]
cmp edx, 0xa
jl 0x44191a
mov edx, dword [esp + 0x74]
movsx cx, byte [ecx]
movsx dx, byte [edx + 0xec]
push edx
mov edx, dword [esp + 0x2c]
push edx
mov edx, dword [ebp + 0x10c]
push ecx
mov eax, dword [edx + eax*4]
push eax
call fcn.004782b0
add esp, 0x10
test eax, eax
je 0x44191a
mov ecx, dword [ebp + 0x108]
mov al, byte [esi + ecx + 0xc]
cmp al, 1
je 0x4418ba
cmp al, 0xb
jne 0x44191a
cmp word [esp + 0x10], di
jl 0x4418ec
add edi, 0x14
movsx eax, di
mov dword [esp + 0x18], edi
lea edx, [eax*8]
sub edx, eax
lea eax, [eax + edx*4]
push eax
push ebx
call dword [fcn.0065f1f8]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x442255
mov eax, dword [ebp + 0x108]
mov edx, dword [esp + 0x10]
add esi, eax
movsx eax, dx
lea ecx, [eax*8]
sub ecx, eax
add eax, ebx
inc edx
lea edi, [eax + ecx*4]
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x20]
mov ecx, dword [ebp + 0x110]
inc eax
mov dword [esp + 0x20], eax
movsx eax, ax
cmp eax, ecx
jb 0x441859
mov dword [esp + 0x14], ebx
movsx eax, word [esp + 0x88]
dec eax
cmp eax, 3
ja case.default.0x44194a
jmp dword [eax*4 + 0x442264]
mov eax, dword [esp + 0x10]
test ax, ax
jle case.default.0x44194a
movsx ecx, ax
lea ebp, [ebx + 0xd]
mov dword [esp + 0x84], ecx
cmp dword [0x826bdc], 3
jne 0x441984
mov edx, dword [ebp - 5]
mov eax, dword [0x6b2a94]
cmp edx, eax
jg 0x441d06
mov ebx, dword [esp + 0x7c]
cmp bx, word [esp + 0x80]
jg 0x441d06
mov edx, dword [esp + 0x78]
mov si, word [esp + 0x80]
test bx, bx
jle 0x4419be
movsx eax, bx
mov ecx, dword [ebp - 5]
shl eax, 5
add eax, edx
cmp dword [eax - 0x20], ecx
jge 0x4419bb
cmp dword [eax], ecx
jge 0x4419d4
test bx, bx
jne 0x4419c9
mov ecx, dword [edx]
mov eax, dword [ebp - 5]
cmp ecx, eax
je 0x4419d4
inc ebx
cmp bx, si
jle 0x4419a2
jmp 0x441d06
cmp bx, si
jg 0x441d06
xor edi, edi
cmp bx, di
jle 0x441b3f
mov edx, dword [esp + 0x78]
movsx eax, bx
lea esi, [edx + 8]
mov dword [esp + 0x88], eax
cmp byte [ebp - 1], 1
jne 0x441a94
fld dword [esi - 4]
fmul qword [0x665d58]
fsub dword [ebp]
fld dword [ebp + 0xc]
fmul dword [ebp + 4]
faddp st(1)
fld dword [ebp + 0xc]
fadd dword [ebp + 8]
fadd qword [0x665d58]
fdivp st(1)
fstp dword [esi - 4]
fld dword [esi]
fmul qword [0x665d58]
fsub dword [ebp]
fld dword [ebp + 0xc]
fmul dword [ebp + 4]
faddp st(1)
fld dword [ebp + 0xc]
fadd dword [ebp + 8]
fadd qword [0x665d58]
fdivp st(1)
fstp dword [esi]
fld dword [esi + 4]
fmul qword [0x665d58]
fsub dword [ebp]
fld dword [ebp + 0xc]
fmul dword [ebp + 4]
faddp st(1)
fld dword [ebp + 0xc]
fadd dword [ebp + 8]
fadd qword [0x665d58]
fdivp st(1)
fstp dword [esi + 4]
fld dword [esi + 8]
fmul qword [0x665d58]
fsub dword [ebp]
fld dword [ebp + 0xc]
fmul dword [ebp + 4]
faddp st(1)
fld dword [ebp + 0xc]
fadd dword [ebp + 8]
fadd qword [0x665d58]
fdivp st(1)
jmp 0x441ac3
fld dword [ebp + 8]
fcomp dword [0x663770]
fnstsw ax
test ah, 0x41
jne 0x441ac6
fld dword [esi - 4]
fdiv dword [ebp + 8]
fstp dword [esi - 4]
fld dword [esi]
fdiv dword [ebp + 8]
fstp dword [esi]
fld dword [esi + 4]
fdiv dword [ebp + 8]
fstp dword [esi + 4]
fld dword [esi + 8]
fdiv dword [ebp + 8]
fstp dword [esi + 8]
cmp dword [0x8267e4], edi
je 0x441b27
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edi
fild qword [esp + 0x28]
fld st(0)
fmul dword [ebp + 4]
fmul dword [ebp + 0xc]
fmul dword [0x665d54]
fadd dword [esi + 0xc]
fxch st(1)
fmul dword [ebp]
fmul dword [0x665d54]
fsubp st(1)
fstp dword [esi + 0xc]
fld dword [ebp + 0xc]
fadd dword [ebp + 8]
mov edx, dword [esi + 0x10]
mov dword [esp + 0x20], edx
fadd dword [0x665d50]
fimul dword [esp + 0x20]
fmul dword [0x665d54]
call fcn.00645030
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x88]
add esi, 0x20
dec eax
mov dword [esp + 0x88], eax
jne 0x4419f9
mov ax, word [esp + 0x8c]
cmp ax, 5
je 0x441b69
cmp ax, 6
je 0x441b69
cmp ax, 9
je 0x441b69
cmp ax, 0xa
je 0x441b69
cmp ax, 0xb
jne 0x441d06
mov edx, dword [esp + 0x78]
lea edi, [esp + 0x50]
movsx eax, bx
mov ecx, eax
shl ecx, 5
add edx, ecx
cmp bx, word [esp + 0x80]
mov ecx, 8
mov esi, edx
rep movsd dword es:[edi], dword [esi]
je 0x441c1d
fld dword [edx - 0x1c]
fmul dword [0x665d6c]
lea esi, [eax + 1]
mov eax, dword [esp + 0x78]
shl esi, 5
add esi, eax
mov ecx, 8
lea edi, [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
fld dword [esp + 0x34]
fmul dword [0x665d68]
faddp st(1)
fstp dword [edx + 4]
fld dword [edx - 0x18]
fmul dword [0x665d6c]
fld dword [esp + 0x38]
fmul dword [0x665d68]
faddp st(1)
fld dword [edx + 0x10]
fld st(1)
fcompp
fnstsw ax
test ah, 0x41
je 0x441be9
fstp st(0)
fld dword [edx + 0x10]
fstp dword [edx + 8]
fld dword [edx - 0x14]
fmul dword [0x665d6c]
fld dword [esp + 0x3c]
fmul dword [0x665d68]
faddp st(1)
fld dword [edx + 0x10]
fld st(1)
fcompp
fnstsw ax
test ah, 1
jne 0x441d03
fstp st(0)
fld dword [edx + 0x10]
jmp 0x441d03
test bx, bx
jle 0x441d06
cmp byte [ebp - 1], 1
jne 0x441c75
fld dword [edx + 4]
fmul qword [0x665d58]
fsub dword [ebp]
fld dword [ebp + 0xc]
fmul dword [ebp + 4]
faddp st(1)
fld dword [ebp + 0xc]
fadd dword [ebp + 8]
fadd qword [0x665d58]
fdivp st(1)
fstp dword [edx + 4]
fld dword [edx + 8]
fmul qword [0x665d58]
fsub dword [ebp]
fld dword [ebp + 0xc]
fmul dword [ebp + 4]
faddp st(1)
fld dword [ebp + 0xc]
fadd dword [ebp + 8]
fadd qword [0x665d58]
fdivp st(1)
jmp 0x441c94
fld dword [ebp + 8]
fcomp dword [0x663770]
fnstsw ax
test ah, 0x41
jne 0x441c97
fld dword [edx + 4]
fdiv dword [ebp + 8]
fstp dword [edx + 4]
fld dword [edx + 8]
fdiv dword [ebp + 8]
fstp dword [edx + 8]
fld dword [edx + 8]
fld dword [edx - 0x10]
fmul qword [0x665d60]
fcompp
fnstsw ax
test ah, 0x41
jne 0x441cb3
mov eax, dword [esp + 0x58]
mov dword [edx + 8], eax
fld dword [edx + 8]
fcomp dword [edx + 0x10]
fnstsw ax
test ah, 1
je 0x441ccb
fld dword [edx + 0x10]
fadd st(0), st(0)
fsub dword [edx + 8]
fstp dword [edx + 8]
fld dword [edx + 4]
fld dword [edx - 0x10]
fmul qword [0x665d60]
fcompp
fnstsw ax
test ah, 0x41
jne 0x441cee
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
fld dword [edx + 4]
fcomp dword [edx + 0xc]
fnstsw ax
test ah, 1
je 0x441d06
fld dword [edx + 4]
fadd st(0), st(0)
fsub dword [edx + 0xc]
fstp dword [edx + 0xc]
mov eax, dword [esp + 0x84]
add ebp, 0x1d
dec eax
mov dword [esp + 0x84], eax
jne 0x44196b
mov ecx, dword [esp + 0x14]
push ecx
call dword [fcn.0065f1f4]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 0x1c
mov ecx, dword [esp + 0x10]
lea eax, [ecx - 1]
test ax, ax
jl case.default.0x44194a
movsx eax, ax
mov cx, word [esp + 0x80]
mov edi, dword [esp + 0x7c]
lea edx, [eax*8]
add ebx, eax
sub edx, eax
inc eax
mov dword [esp + 0x74], eax
lea ebp, [ebx + edx*4 + 0x19]
mov ebx, dword [esp + 0x78]
jmp 0x441d7b
mov edi, dword [esp + 0x7c]
mov cx, word [esp + 0x80]
mov eax, dword [ebp - 0x11]
mov edx, dword [ebx]
cmp eax, edx
jl 0x44222b
cmp dword [0x826bdc], 3
jne 0x441d9d
cmp eax, dword [0x6b2a94]
jl 0x44222b
cmp di, cx
mov dword [esp + 0x88], edi
jg 0x44222b
movsx edx, di
shl edx, 5
cmp eax, dword [edx + ebx]
jle 0x441dca
inc edi
cmp di, cx
jle 0x441dad
mov dword [esp + 0x88], edi
jmp 0x44222b
cmp di, cx
mov dword [esp + 0x88], edi
jg 0x44222b
movsx eax, word [esp + 0x84]
lea edx, [edi + 1]
movsx ecx, dx
lea esi, [eax - 1]
mov dword [esp + 0x78], edx
cmp ecx, esi
mov dword [esp + 0x28], esi
jg 0x441f5b
cmp byte [ebp - 0xd], 1
jne 0x441e98
fld dword [ebp]
fadd dword [ebp - 4]
mov eax, ecx
shl eax, 5
fadd qword [0x665d58]
fmul dword [eax + ebx + 4]
add eax, ebx
fadd dword [ebp - 0xc]
fld dword [ebp]
fmul dword [ebp - 8]
fsubp st(1)
fmul qword [0x665668]
fstp dword [eax + 4]
fld dword [ebp]
fadd dword [ebp - 4]
fadd qword [0x665d58]
fmul dword [eax + 8]
fadd dword [ebp - 0xc]
fld dword [ebp]
fmul dword [ebp - 8]
fsubp st(1)
fmul qword [0x665668]
fstp dword [eax + 8]
fld dword [ebp]
fadd dword [ebp - 4]
fadd qword [0x665d58]
fmul dword [eax + 0xc]
fadd dword [ebp - 0xc]
fld dword [ebp]
fmul dword [ebp - 8]
fsubp st(1)
fmul qword [0x665668]
fstp dword [eax + 0xc]
fld dword [ebp]
fadd dword [ebp - 4]
fadd qword [0x665d58]
fmul dword [eax + 0x10]
fadd dword [ebp - 0xc]
fld dword [ebp]
fmul dword [ebp - 8]
fsubp st(1)
fmul qword [0x665668]
jmp 0x441ed0
fld dword [ebp - 4]
fcomp dword [0x663770]
fnstsw ax
test ah, 0x41
jne 0x441ed3
mov eax, ecx
shl eax, 5
add eax, ebx
fld dword [eax + 4]
fmul dword [ebp - 4]
fstp dword [eax + 4]
fld dword [ebp - 4]
fmul dword [eax + 8]
fstp dword [eax + 8]
fld dword [eax + 0xc]
fmul dword [ebp - 4]
fstp dword [eax + 0xc]
fld dword [ebp - 4]
fmul dword [eax + 0x10]
fstp dword [eax + 0x10]
mov eax, dword [0x8267e4]
test eax, eax
je 0x441f4b
shl ecx, 5
mov dword [esp + 0x24], 0
lea esi, [ecx + ebx]
mov ecx, dword [ecx + ebx + 0x18]
mov dword [esp + 0x20], ecx
fild qword [esp + 0x20]
fmul qword [0x665d58]
fld dword [ebp]
fadd dword [ebp - 4]
fadd dword [0x665d50]
fdivp st(1)
call fcn.00645030
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0
fild qword [esp + 0x18]
mov dword [esi + 0x18], eax
mov edx, dword [esp + 0x78]
fld st(0)
fmul dword [ebp - 8]
fmul dword [ebp]
fmul dword [0x665d54]
fsubr dword [esi + 0x14]
fxch st(1)
fmul dword [ebp - 0xc]
fmul dword [0x665d54]
faddp st(1)
fstp dword [esi + 0x14]
mov esi, dword [esp + 0x28]
inc edx
movsx ecx, dx
cmp ecx, esi
mov dword [esp + 0x78], edx
jle 0x441dfb
mov ax, word [esp + 0x8c]
cmp ax, 5
je 0x44207f
cmp ax, 6
je 0x44207f
cmp ax, 9
je 0x44207f
cmp ax, 0xa
je 0x44207f
cmp ax, 0xb
je 0x44207f
cmp byte [ebp - 0xd], 1
jne 0x44203a
fld dword [ebp]
fadd dword [ebp - 4]
movsx edx, di
fadd qword [0x665d58]
shl edx, 5
fmul dword [edx + ebx + 4]
lea eax, [edx + ebx]
fadd dword [ebp - 0xc]
fld dword [ebp]
fmul dword [ebp - 8]
fsubp st(1)
fmul qword [0x665668]
fstp dword [eax + 4]
fld dword [ebp]
fadd dword [ebp - 4]
fadd qword [0x665d58]
fmul dword [eax + 8]
fadd dword [ebp - 0xc]
fld dword [ebp]
fmul dword [ebp - 8]
fsubp st(1)
fmul qword [0x665668]
fstp dword [eax + 8]
fld dword [ebp]
fadd dword [ebp - 4]
fadd qword [0x665d58]
fmul dword [eax + 0xc]
fadd dword [ebp - 0xc]
fld dword [ebp]
fmul dword [ebp - 8]
fsubp st(1)
fmul qword [0x665668]
fstp dword [eax + 0xc]
fld dword [ebp]
fadd dword [ebp - 4]
fadd qword [0x665d58]
fmul dword [eax + 0x10]
fadd dword [ebp - 0xc]
fld dword [ebp]
fmul dword [ebp - 8]
fsubp st(1)
fmul qword [0x665668]
fstp dword [eax + 0x10]
jmp 0x44222b
fld dword [ebp - 4]
fcomp dword [0x663770]
fnstsw ax
test ah, 0x41
jne 0x44222b
fld dword [ebp - 4]
movsx eax, di
shl eax, 5
add eax, ebx
fmul dword [eax + 4]
fstp dword [eax + 4]
fld dword [eax + 8]
fmul dword [ebp - 4]
fstp dword [eax + 8]
fld dword [ebp - 4]
fmul dword [eax + 0xc]
fstp dword [eax + 0xc]
fld dword [eax + 0x10]
fmul dword [ebp - 4]
fstp dword [eax + 0x10]
jmp 0x44222b
mov edx, dword [esp + 0x88]
mov ecx, 8
movsx eax, dx
lea edi, [esp + 0x30]
lea esi, [eax + 1]
shl esi, 5
add esi, ebx
cmp dx, word [esp + 0x80]
rep movsd dword es:[edi], dword [esi]
jne 0x442198
shl eax, 5
mov ecx, 8
lea edi, [esp + 0x30]
lea edx, [eax + ebx]
mov al, byte [ebp - 0xd]
mov esi, edx
cmp al, 1
rep movsd dword es:[edi], dword [esi]
jne 0x44214a
fld dword [ebp - 4]
fadd dword [ebp]
mov ecx, 8
lea esi, [esp + 0x30]
mov edi, edx
fadd qword [0x665d58]
fld dword [ebp - 8]
fmul dword [ebp]
fld dword [esp + 0x34]
fmul st(2)
fadd dword [ebp - 0xc]
fld st(1)
fsubp st(1)
fmul qword [0x665668]
fstp dword [esp + 0x34]
fld dword [esp + 0x38]
fmul st(2)
fadd dword [ebp - 0xc]
fld st(1)
fsubp st(1)
fmul qword [0x665668]
fstp dword [esp + 0x38]
fld dword [esp + 0x3c]
fmul st(2)
fadd dword [ebp - 0xc]
fld st(1)
fsubp st(1)
fmul qword [0x665668]
fstp dword [esp + 0x3c]
fld dword [esp + 0x40]
fmul st(2)
fadd dword [ebp - 0xc]
fxch st(1)
fsubp st(1)
fmul qword [0x665668]
fstp dword [esp + 0x40]
rep movsd dword es:[edi], dword [esi]
fstp st(0)
jmp 0x44222b
fld dword [ebp - 4]
fcomp dword [0x663770]
fnstsw ax
test ah, 0x41
jne 0x442186
fld dword [esp + 0x34]
fmul dword [ebp - 4]
fstp dword [esp + 0x34]
fld dword [esp + 0x38]
fmul dword [ebp - 4]
fstp dword [esp + 0x38]
fld dword [esp + 0x3c]
fmul dword [ebp - 4]
fstp dword [esp + 0x3c]
fld dword [esp + 0x40]
fmul dword [ebp - 4]
fstp dword [esp + 0x40]
mov ecx, 8
lea esi, [esp + 0x30]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
jmp 0x44222b
shl eax, 5
fld dword [eax + ebx - 0x1c]
fmul dword [0x665d6c]
fld dword [esp + 0x34]
lea ecx, [eax + ebx]
fmul dword [0x665d68]
faddp st(1)
fstp dword [ecx + 4]
fld dword [ecx - 0x10]
fmul dword [0x665d6c]
fld dword [esp + 0x40]
fmul dword [0x665d68]
faddp st(1)
fst dword [ecx + 0x10]
fld dword [ecx - 0x18]
fmul dword [0x665d6c]
fld dword [esp + 0x38]
fmul dword [0x665d68]
faddp st(1)
fst dword [esp + 0x88]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x4421fd
fstp st(0)
fld dword [esp + 0x88]
fstp dword [ecx + 8]
fld dword [ecx - 0x14]
fmul dword [0x665d6c]
fld dword [esp + 0x3c]
fmul dword [0x665d68]
faddp st(1)
fld dword [ecx + 0x10]
fld st(1)
fcompp
fnstsw ax
test ah, 1
jne 0x442228
fstp st(0)
fld dword [ecx + 0x10]
fstp dword [ecx + 0xc]
mov eax, dword [esp + 0x74]
sub ebp, 0x1d
dec eax
mov dword [esp + 0x74], eax
jne 0x441d6f
mov ecx, dword [esp + 0x14]
push ecx
call dword [fcn.0065f1f4]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 0x1c
mov dword [esp + 0x14], ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 0x1c