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

Disassembly:
push 0xffffffffffffffff
push 0x69fa36
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18c
mov eax, dword [esp + 0x19c]
push ebp
mov ebp, dword [eax + 4]
mov ecx, dword [eax + 8]
cmp ebp, ecx
mov dword [esp + 0x20], ebp
je 0x4782ca
push ebx
push esi
push edi
add ebp, 0x10
mov esi, dword [ebp]
xor ebx, ebx
cmp esi, ebx
jne 0x477d08
xor edx, edx
jmp 0x477d1e
mov ecx, dword [ebp + 4]
mov eax, 0x38e38e39
sub ecx, esi
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
test dl, 1
je 0x477d80
mov edi, dword [ebp]
cmp esi, ebx
jne 0x477d2e
xor edx, edx
jmp 0x477d44
mov ecx, dword [ebp + 4]
mov eax, 0x38e38e39
sub ecx, esi
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea edx, [edx + edx*8]
mov ecx, 9
lea esi, [edi + edx*4 - 0x24]
lea edi, [esp + 0xa0]
rep movsd dword es:[edi], dword [esi]
mov al, byte [esp + 0xb0]
lea ecx, [esp + 0xa0]
test al, al
sete al
mov byte [esp + 0xb0], al
mov eax, dword [ebp + 4]
push ecx
push eax
lea ecx, [ebp - 4]
call fcn.00478d50
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov eax, dword [ebp]
cmp eax, ebx
je 0x477e3b
mov ecx, dword [ebp + 4]
sub ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x10]
cmp eax, edx
mov dword [esp + 0x20], edx
jae 0x477e3b
mov ebx, dword [ebp]
mov ecx, dword [esp + 0x14]
add ebx, ecx
mov ecx, 9
mov esi, ebx
lea edi, [esp + 0x154]
rep movsd dword es:[edi], dword [esi]
mov al, byte [esp + 0x164]
test al, al
jne 0x477e1e
mov edx, dword [esp + 0x10]
mov esi, ebx
lea edi, [esp + 0x10c]
lea eax, [edx + 1]
xor edx, edx
div dword [esp + 0x20]
mov eax, dword [ebp]
lea ecx, [edx + edx*8]
lea eax, [eax + ecx*4]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
mov ecx, 9
mov esi, eax
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, 9
lea esi, [esp + 0x10c]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add ecx, 2
add eax, 0x48
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
xor ebx, ebx
jmp 0x477d88
fld dword [0x6c8a88]
fld dword [0x6c8a88]
xor esi, esi
mov dword [esp + 0x1c], ebx
fst dword [esp + 0x10]
mov dword [esp + 0x10], esi
mov eax, dword [ebp]
cmp eax, ebx
je 0x477f18
mov ecx, dword [ebp + 4]
sub ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov ecx, edx
cmp esi, ecx
mov dword [esp + 0x20], ecx
jae 0x477f18
mov ebx, dword [ebp]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x14], esi
mov al, byte [ebx + edx + 0x10]
test al, al
jne 0x477e9c
inc esi
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x14]
xor edx, edx
div ecx
mov ecx, 9
lea edi, [esp + 0xc4]
lea eax, [edx + edx*8]
xor edx, edx
lea esi, [ebx + eax*4]
rep movsd dword es:[edi], dword [esi]
fld dword [esp + 0xc8]
mov ecx, dword [esp + 0x14]
lea edi, [esp + 0xe8]
lea eax, [ecx + 1]
mov ecx, 9
div dword [esp + 0x20]
add dword [esp + 0x1c], 0x48
lea edx, [edx + edx*8]
lea esi, [ebx + edx*4]
rep movsd dword es:[edi], dword [esi]
fsub dword [esp + 0xec]
faddp st(2)
fld dword [esp + 0xc4]
fsub dword [esp + 0xe8]
fxch st(1)
fsub st(1)
fxch st(1)
fstp st(0)
mov ecx, dword [esp + 0x10]
add ecx, 2
xor ebx, ebx
mov dword [esp + 0x10], ecx
mov esi, ecx
jmp 0x477e55
fst dword [esp + 0x10]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
mov dword [ebp + 0x14], ebx
mov dword [esp + 0x14], ebx
faddp st(1)
fsqrt
fstp dword [esp + 0x1c]
fstp st(0)
fdiv dword [esp + 0x1c]
fld dword [esp + 0x10]
fdiv dword [esp + 0x1c]
fstp dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], ebx
fstp dword [esp + 0x50]
mov ecx, dword [esp + 0x50]
mov edx, eax
mov dword [ebp + 0xc], ecx
mov dword [esp + 0x54], eax
mov dword [ebp + 0x10], edx
mov edx, dword [ebp]
lea eax, [ebp - 4]
cmp edx, ebx
je 0x4782a7
mov ecx, dword [eax + 8]
mov eax, 0x38e38e39
sub ecx, edx
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x10]
cmp eax, edx
jae 0x4782a7
mov cl, byte [esp + 0x1b]
mov dword [esp + 0x44], ebx
mov byte [esp + 0x40], cl
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dl, byte [esp + 0x1b]
mov dword [esp + 0x1a4], ebx
mov byte [esp + 0x30], dl
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov ebx, dword [ebp]
mov eax, dword [esp + 0x14]
mov ecx, 9
lea edi, [esp + 0x58]
lea esi, [eax + ebx]
mov eax, ebx
test eax, eax
mov byte [esp + 0x1a4], 1
rep movsd dword es:[edi], dword [esi]
jne 0x477fe7
xor ecx, ecx
jmp 0x477fff
mov ecx, dword [ebp + 4]
sub ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, edx
mov edx, dword [esp + 0x10]
lea edi, [esp + 0x7c]
lea eax, [edx + 1]
xor edx, edx
div ecx
mov ecx, 9
lea eax, [edx + edx*8]
lea esi, [ebx + eax*4]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x58]
push ecx
push 1
push 0
lea ecx, [esp + 0x4c]
call fcn.00479070
mov esi, dword [esp + 0x70]
mov eax, dword [esp + 0x94]
cmp esi, eax
je 0x478082
mov ebx, dword [esp + 0x2c]
mov ecx, dword [ebx]
mov ecx, dword [ecx + 8]
mov eax, dword [esp + 0x48]
lea edx, [ecx + esi*8]
lea ecx, [esp + 0x40]
push edx
push 1
push eax
call fcn.00479070
mov ecx, dword [ebx]
mov eax, dword [ecx + 8]
test eax, eax
jne 0x478066
xor edi, edi
jmp 0x47806e
mov edi, dword [ecx + 0xc]
sub edi, eax
sar edi, 3
lea eax, [esi + 1]
xor edx, edx
div edi
mov eax, dword [esp + 0x94]
mov esi, edx
cmp esi, eax
jne 0x478042
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x58]
push ecx
push 1
push edx
lea ecx, [esp + 0x3c]
call fcn.00479070
mov edi, dword [esp + 0x9c]
mov eax, dword [esp + 0x78]
cmp edi, eax
je 0x4780e7
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx + 8]
lea eax, [ecx + edi*8]
mov ecx, dword [esp + 0x38]
push eax
push 1
push ecx
lea ecx, [esp + 0x3c]
call fcn.00479070
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + 8]
test eax, eax
jne 0x4780ce
xor esi, esi
jmp 0x4780d6
mov esi, dword [ecx + 0xc]
sub esi, eax
sar esi, 3
lea eax, [edi + 1]
xor edx, edx
div esi
mov eax, dword [esp + 0x78]
mov edi, edx
cmp edi, eax
jne 0x4780a9
mov edi, dword [esp + 0x7c]
mov ebx, dword [esp + 0x80]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x24], 0xff7fffff
mov dword [esp + 0x28], 0xff7fffff
xor esi, esi
test eax, eax
je 0x47815e
mov edx, dword [esp + 0x48]
sub edx, eax
sar edx, 3
cmp esi, edx
jae 0x47815e
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
push ebx
push edi
push ecx
mov ecx, dword [eax + esi*8 + 4]
push edx
mov edx, dword [eax + esi*8]
push ecx
push edx
call fcn.004aedc0
fcom dword [esp + 0x3c]
add esp, 0x18
fnstsw ax
test ah, 0x41
mov eax, dword [esp + 0x44]
jne 0x478159
mov ecx, dword [eax + esi*8]
inc esi
fstp dword [esp + 0x24]
mov dword [ebp + 0x18], ecx
mov edx, dword [eax + esi*8 - 4]
mov dword [ebp + 0x1c], edx
jmp 0x478108
fstp st(0)
inc esi
jmp 0x478108
mov ecx, dword [esp + 0x34]
xor esi, esi
test ecx, ecx
je 0x4781ba
mov eax, dword [esp + 0x38]
sub eax, ecx
sar eax, 3
cmp esi, eax
jae 0x4781ba
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push ebx
push edi
push edx
mov edx, dword [ecx + esi*8 + 4]
push eax
mov eax, dword [ecx + esi*8]
push edx
push eax
call fcn.004aedc0
fcom dword [esp + 0x40]
mov ecx, dword [esp + 0x4c]
add esp, 0x18
fnstsw ax
test ah, 0x41
jne 0x4781b5
mov edx, dword [ecx + esi*8]
inc esi
fstp dword [esp + 0x28]
mov dword [ebp + 0x20], edx
mov eax, dword [ecx + esi*8 - 4]
mov dword [ebp + 0x24], eax
jmp 0x478164
fstp st(0)
inc esi
jmp 0x478164
fld dword [esp + 0x28]
fadd dword [esp + 0x24]
fcom dword [ebp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x478250
mov ebx, dword [esp + 0x14]
xor esi, esi
cmp ebx, esi
je 0x47824b
mov eax, dword [ebp]
mov ecx, 9
lea edi, [esp + 0x130]
lea edx, [ebx + eax]
lea eax, [ebx + eax - 0x48]
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, 9
mov esi, edx
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, 9
lea esi, [esp + 0x130]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp]
mov ecx, 9
lea edi, [esp + 0x178]
lea edx, [ebx + eax + 0x24]
lea eax, [ebx + eax - 0x24]
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, 9
mov esi, edx
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, 9
lea esi, [esp + 0x178]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x34]
xor esi, esi
fstp dword [ebp + 0x14]
jmp 0x478258
mov ebx, dword [esp + 0x14]
xor esi, esi
fstp st(0)
push ecx
call fcn.00658bf0
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x38], esi
push ecx
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x1ac], 0xffffffff
call fcn.00658bf0
mov ecx, dword [esp + 0x18]
add ebx, 0x48
add ecx, 2
add esp, 8
mov dword [esp + 0x14], ebx
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x10], ecx
xor ebx, ebx
jmp 0x477f61
mov edx, dword [esp + 0x1ac]
mov eax, dword [esp + 0x2c]
add eax, 0x38
add ebp, 0x38
mov ecx, dword [edx + 8]
mov dword [esp + 0x2c], eax
cmp eax, ecx
jne 0x477cfb
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x190]
pop ebp
mov dword fs:[0], ecx
add esp, 0x198
ret