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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb4
cmp dword [0x8654a4], 6
push ebx
push esi
push edi
je 0x630fc4
mov eax, dword [0x8026c8]
test eax, eax
je 0x630fc4
call fcn.005b95c0
mov esi, dword [0x8a30f0]
mov ecx, 0x8a30f0
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], esi
call fcn.005d7ab0
cmp esi, eax
mov dword [esp + 0x20], eax
je 0x630fc4
jmp 0x630bc0
mov esi, dword [esp + 0x10]
jmp 0x630bc0
mov ecx, dword [esi + 8]
test ecx, ecx
mov dword [esp + 0x1c], ecx
je 0x630fb6
mov ecx, dword [esi + 0xb64]
test ecx, ecx
je 0x630fb6
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x630bfc
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 4
jne 0x630fb6
cmp dword [esp + 0x2c], 3
jge 0x630fb6
mov edx, dword [edi*4 + 0x802730]
mov eax, dword [edi*4 + 0x802738]
lea ecx, [esi + 0x920]
mov dword [esp + 0x28], edx
push ecx
lea edx, [esp + 0x84]
push edx
mov dword [esp + 0x2c], eax
call fcn.00401310
fld dword [esi + 0x914]
mov eax, dword [esi + 0x910]
fstp dword [esp + 0x3c]
fld dword [esi + 0x918]
add esp, 8
test edi, edi
fstp dword [esp + 0x38]
mov dword [esp + 0x30], eax
je 0x630c8b
fld dword [esp + 0x88]
fchs
fstp dword [esp + 0x88]
fld dword [esp + 0x98]
fchs
fstp dword [esp + 0x98]
fld dword [esp + 0xa8]
fchs
fstp dword [esp + 0xa8]
fld dword [0x7f45a8]
fadd st(0), st(0)
fsub dword [esp + 0x38]
fstp dword [esp + 0x38]
push 4
call fcn.00401ea0
add esp, 4
mov dword [esp + 0x18], eax
lea edi, [eax + 8]
add esi, 0x980
mov dword [esp + 0x14], 4
lea ebx, [ebx]
lea ebx, [edi - 8]
push ebx
call fcn.0043c7e0
fld dword [0x8a44f8]
fmul dword [0x784238]
call fcn.0075bc00
mov ecx, eax
mov eax, 0xb60b60b7
imul ecx
add edx, ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
push edx
push ebx
push ebx
call fcn.005baad0
fld dword [edi + 4]
fmul dword [esi + 0x10]
fld dword [edi - 4]
fmul dword [esi - 0x10]
faddp st(1)
fld dword [ebx]
fmul dword [esi - 0x20]
faddp st(1)
fld dword [edi]
fmul dword [esi]
faddp st(1)
fstp dword [esp + 0x50]
fld dword [edi + 4]
fmul dword [esi + 0x14]
fld dword [edi - 4]
fmul dword [esi - 0xc]
faddp st(1)
fld dword [esi - 0x1c]
fmul dword [ebx]
faddp st(1)
fld dword [esi + 4]
fmul dword [edi]
faddp st(1)
fstp dword [esp + 0x54]
fld dword [edi + 4]
fmul dword [esi + 0x18]
fld dword [edi - 4]
fmul dword [esi - 8]
faddp st(1)
fld dword [esi - 0x18]
fmul dword [ebx]
faddp st(1)
fld dword [esi + 8]
fmul dword [edi]
faddp st(1)
fstp dword [esp + 0x58]
fld dword [edi + 4]
fmul dword [esi + 0x1c]
fld dword [edi - 4]
fmul dword [esi - 4]
faddp st(1)
fld dword [esi - 0x14]
fmul dword [ebx]
faddp st(1)
fld dword [esi + 0xc]
fmul dword [edi]
faddp st(1)
fstp dword [esp + 0x5c]
fld dword [edi + 0x14]
fmul dword [esi + 0x10]
fld dword [edi + 0xc]
fmul dword [esi - 0x10]
faddp st(1)
fld dword [edi + 8]
fmul dword [esi - 0x20]
faddp st(1)
fld dword [edi + 0x10]
fmul dword [esi]
faddp st(1)
fstp dword [esp + 0x60]
fld dword [edi + 0x14]
fmul dword [esi + 0x14]
fld dword [edi + 0x10]
fmul dword [esi + 4]
faddp st(1)
fld dword [edi + 0xc]
fmul dword [esi - 0xc]
faddp st(1)
fld dword [edi + 8]
fmul dword [esi - 0x1c]
faddp st(1)
fstp dword [esp + 0x64]
fld dword [edi + 0x14]
fmul dword [esi + 0x18]
fld dword [edi + 0x10]
fmul dword [esi + 8]
faddp st(1)
fld dword [edi + 0xc]
fmul dword [esi - 8]
faddp st(1)
fld dword [edi + 8]
fmul dword [esi - 0x18]
faddp st(1)
fstp dword [esp + 0x68]
fld dword [edi + 0x14]
fmul dword [esi + 0x1c]
fld dword [edi + 0x10]
fmul dword [esi + 0xc]
faddp st(1)
fld dword [edi + 0xc]
fmul dword [esi - 4]
faddp st(1)
fld dword [edi + 8]
fmul dword [esi - 0x14]
faddp st(1)
fstp dword [esp + 0x6c]
fld dword [edi + 0x24]
fmul dword [esi + 0x10]
fld dword [edi + 0x1c]
fmul dword [esi - 0x10]
faddp st(1)
fld dword [edi + 0x18]
fmul dword [esi - 0x20]
faddp st(1)
fld dword [edi + 0x20]
fmul dword [esi]
faddp st(1)
fstp dword [esp + 0x70]
fld dword [edi + 0x24]
fmul dword [esi + 0x14]
fld dword [edi + 0x20]
fmul dword [esi + 4]
faddp st(1)
fld dword [edi + 0x1c]
fmul dword [esi - 0xc]
faddp st(1)
fld dword [edi + 0x18]
fmul dword [esi - 0x1c]
faddp st(1)
fstp dword [esp + 0x74]
fld dword [edi + 0x24]
fmul dword [esi + 0x18]
fld dword [edi + 0x20]
fmul dword [esi + 8]
faddp st(1)
fld dword [edi + 0x1c]
fmul dword [esi - 8]
faddp st(1)
fld dword [edi + 0x18]
fmul dword [esi - 0x18]
faddp st(1)
fstp dword [esp + 0x78]
fld dword [edi + 0x24]
fmul dword [esi + 0x1c]
fld dword [edi + 0x20]
fmul dword [esi + 0xc]
faddp st(1)
fld dword [edi + 0x1c]
fmul dword [esi - 4]
faddp st(1)
fld dword [edi + 0x18]
fmul dword [esi - 0x14]
faddp st(1)
fstp dword [esp + 0x7c]
fld dword [edi + 0x34]
fmul dword [esi + 0x10]
fld dword [edi + 0x2c]
fmul dword [esi - 0x10]
faddp st(1)
fld dword [edi + 0x28]
fmul dword [esi - 0x20]
faddp st(1)
fld dword [edi + 0x30]
fmul dword [esi]
faddp st(1)
fstp dword [esp + 0x80]
fld dword [edi + 0x34]
fmul dword [esi + 0x14]
fld dword [edi + 0x30]
fmul dword [esi + 4]
faddp st(1)
fld dword [edi + 0x2c]
fmul dword [esi - 0xc]
faddp st(1)
fld dword [edi + 0x28]
fmul dword [esi - 0x1c]
faddp st(1)
fstp dword [esp + 0x84]
fld dword [edi + 0x34]
fmul dword [esi + 0x18]
lea edx, [esp + 0x50]
fld dword [edi + 0x30]
push edx
fmul dword [esi + 8]
push ebx
faddp st(1)
fld dword [edi + 0x2c]
fmul dword [esi - 8]
faddp st(1)
fld dword [edi + 0x28]
fmul dword [esi - 0x18]
faddp st(1)
fstp dword [esp + 0x90]
fld dword [edi + 0x34]
fmul dword [esi + 0x1c]
fld dword [edi + 0x30]
fmul dword [esi + 0xc]
faddp st(1)
fld dword [edi + 0x2c]
fmul dword [esi - 4]
faddp st(1)
fld dword [edi + 0x28]
fmul dword [esi - 0x14]
faddp st(1)
fstp dword [esp + 0x94]
call fcn.00401310
mov eax, dword [esp + 0x2c]
add esp, 0x18
add esi, 0x40
add edi, 0x40
dec eax
mov dword [esp + 0x14], eax
jne 0x630cb0
call fcn.005108a0
test eax, eax
jne 0x630f64
fld dword [0x7a667c]
fadd dword [0x8a44f8]
fst dword [0x8a44f8]
fcomp dword [0x78450c]
fnstsw ax
test ah, 0x41
jne 0x630f64
fld dword [0x8a44f8]
fsub dword [0x78450c]
fstp dword [0x8a44f8]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push edx
push 0
push 0
push eax
mov eax, dword [esp + 0x28]
lea ecx, [eax + 0xa60]
push ecx
lea edx, [eax + 0x960]
mov eax, dword [eax + 0x904]
push edx
lea ecx, [esp + 0xa0]
push ecx
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x54]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.00620860
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov esi, dword [esi]
cmp esi, eax
mov dword [esp + 0x10], esi
jne 0x630bb4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret