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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [esp + 0x20], ecx
lea edi, [ebx + 0x1c]
test esi, esi
jne 0x4460c6
lea esi, [ecx + 0xbb8]
mov eax, dword [ebp + 0x10]
fld dword [ebx + 0xc]
mov ecx, 9
fnstcw word [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax]
mov edi, dword [ebx + 0x68]
mov dword [ebx + 0x40], ecx
mov edx, dword [eax + 4]
mov dword [ebx + 0x44], edx
mov ecx, dword [eax + 8]
mov dword [ebx + 0x48], ecx
mov edx, dword [eax + 0xc]
movzx eax, word [esp + 0x18]
or eax, 0xc00
mov dword [ebx + 0x4c], edx
mov ecx, dword [edi + 0x14]
sub ecx, dword [edi + 0x10]
mov dword [esp + 0x14], eax
add edi, 4
mov eax, 0x4ec4ec4f
fldcw word [esp + 0x14]
imul ecx
fistp qword [esp + 0x28]
mov esi, dword [esp + 0x28]
fldcw word [esp + 0x18]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x446132
call fcn.006441b7
imul esi, esi, 0x34
add esi, dword [edi + 0xc]
lea eax, [esp + 0x68]
mov dword [esp + 0xc], esi
call fcn.0057e350
lea ecx, [esp + 0x58]
call fcn.00434800
cmp byte [ebp + 0x14], 0
jne 0x446165
cmp dword [ebx + 8], 0
jg 0x446165
cmp byte [esi + 0x18], 0
mov byte [esp + 0x18], 0
je 0x44616a
mov byte [esp + 0x18], 1
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
xor edi, edi
add eax, edx
cmp edi, eax
mov dword [esp + 0x14], edi
jge 0x44626a
mov dword [esp + 0x10], edi
jb 0x44619a
call fcn.006441b7
mov eax, dword [esi + 0xc]
add eax, dword [esp + 0x10]
cmp byte [eax + 8], 0
mov dword [esp + 0x24], eax
je 0x446241
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x6c]
push edx
push eax
push edi
push ebx
push ecx
call fcn.004458a0
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4461ed
lea edx, [esp + 0x68]
lea eax, [esp + 0x34]
call fcn.0043d290
mov ecx, 9
mov esi, eax
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x14]
mov ecx, dword [ebx + 0x60]
sub ecx, dword [ebx + 0x5c]
mov edx, dword [esp + 0x24]
mov esi, dword [edx + 4]
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x446216
call fcn.006441b7
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x5c]
push edx
mov edx, dword [ebx + 0x5c]
mov ecx, esi
shl ecx, 4
lea eax, [esp + 0x70]
sub ecx, esi
push eax
mov eax, dword [edx + ecx*8 + 4]
mov ecx, dword [esp + 0x2c]
push eax
call fcn.004460a0
mov esi, dword [esp + 0xc]
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
add dword [esp + 0x10], 0x64
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
cmp edi, eax
mov dword [esp + 0x14], edi
jl 0x446193
mov ecx, dword [ebx + 0x7c]
sub ecx, dword [ebx + 0x78]
xor esi, esi
mov dword [esp + 0x14], esi
test ecx, 0xffffffc0
jle 0x4463c4
mov dword [esp + 0x10], esi
mov edx, dword [ebx + 0x7c]
sub edx, dword [ebx + 0x78]
sar edx, 6
cmp esi, edx
jb 0x446298
call fcn.006441b7
mov edi, dword [ebx + 0x78]
add edi, dword [esp + 0x10]
cmp byte [edi + 0x29], 0
mov dword [esp + 0x24], edi
je 0x4463a9
cmp byte [edi + 0x2a], 0
je 0x446315
lea eax, [esp + 0x34]
call fcn.0057e350
mov eax, dword [edi + 4]
fild dword [eax + 0xe80]
sub esp, 8
fld qword [0x87d2f0]
lea esi, [esp + 0x3c]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [esp + 4]
fimul dword [eax + 0xe7c]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [esp]
call fcn.0057e370
mov eax, esi
push eax
lea eax, [esp + 0x90]
lea edx, [ebx + 0x1c]
call fcn.0057e110
mov edx, eax
mov eax, esi
call fcn.0057e360
jmp 0x446355
fld qword [edi + 0x30]
lea edx, [esp + 0x18]
fstp dword [esp + 0x18]
lea eax, [esp + 0x28]
fld qword [edi + 0x38]
lea ecx, [ebx + 0x1c]
fstp dword [esp + 0x1c]
call fcn.0057e180
lea eax, [esp + 0x34]
call fcn.0057e350
fld dword [esp + 0x2c]
sub esp, 8
fstp dword [esp + 4]
mov esi, eax
fld dword [esp + 0x30]
fstp dword [esp]
call fcn.0057e370
mov edi, dword [edi + 4]
mov eax, dword [esp + 0x20]
add edi, 0xf9c
mov ecx, 9
lea esi, [esp + 0x34]
rep movsd dword es:[edi], dword [esi]
fld qword [eax + 0xbb0]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
mov ecx, dword [esp + 0x24]
mov esi, dword [ecx + 4]
sub esp, 8
add esi, 0xf9c
fstp dword [esp + 4]
fld qword [eax + 0xba8]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [esp]
call fcn.0057e370
mov esi, dword [esp + 0x14]
mov edx, dword [ebx + 0x7c]
sub edx, dword [ebx + 0x78]
add dword [esp + 0x10], 0x40
inc esi
sar edx, 6
cmp esi, edx
mov dword [esp + 0x14], esi
jl 0x446286
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10