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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x848bb8
push eax
mov dword fs:[0], esp
sub esp, 0x148
push ebx
push esi
mov esi, dword [esp + 0x160]
push edi
mov edi, dword [esi]
mov al, byte [edi + 0x36]
and al, 7
cmp al, 2
jne 0x70fb2a
mov eax, dword [edi + 0x594]
cmp eax, 4
je 0x70fb20
cmp eax, 3
jne 0x70fb2a
mov dword [esp + 0x18], 0x42200000
jmp 0x70fb32
mov dword [esp + 0x18], 0x40a00000
mov ecx, edi
call fcn.00535300
mov eax, dword [eax + 0x2c]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x64], eax
je 0x70fb4f
movsx ecx, word [esi + 4]
cmp dword [eax + 0x20], ecx
je 0x70fb56
xor al, al
jmp 0x7102f2
cmp dword [edi + 0x14], ebx
jne 0x70fb6e
mov ecx, edi
call fcn.0054f560
mov edx, dword [edi + 0x14]
push edx
lea ecx, [edi + 4]
call fcn.0054f1b0
mov cl, byte [edi + 0x36]
mov eax, dword [edi + 0x14]
and cl, 7
cmp cl, 2
mov dword [esp + 0x10], eax
jne 0x70fb9a
cmp dword [edi + 0x590], 9
jne 0x70fb9a
mov ecx, edi
call fcn.006b7150
add edi, 0x5cc
mov dword [esp + 0x10], edi
push ebp
mov dword [esp + 0x150], ebx
mov dword [esp + 0x154], ebx
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x110]
push edx
push eax
mov dword [esp + 0x168], ebx
call fcn.0059b920
mov ecx, dword [0x8d5248]
mov edx, dword [0x8d524c]
mov eax, dword [0x8d5244]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x54], edx
push ecx
lea edx, [esp + 0x11c]
mov dword [esp + 0x38], eax
mov dword [esp + 0x50], eax
push edx
lea eax, [esp + 0xd8]
push eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
call fcn.0059c890
mov ecx, dword [eax]
mov dword [esp + 0x4c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x50], edx
mov eax, dword [eax + 8]
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x128]
mov dword [esp + 0x58], eax
push edx
lea eax, [esp + 0xe4]
push eax
call fcn.0059c890
mov ecx, dword [eax]
mov ebp, dword [0xc6a170]
mov dword [esp + 0x64], ecx
mov edx, dword [eax + 4]
movsx ecx, word [esi + 4]
mov dword [esp + 0x68], edx
mov eax, dword [eax + 8]
mov edx, dword [esp + 0x88]
mov dword [esp + 0x6c], eax
mov dword [esi + 0xc], ebx
fld dword [esp + 0x6c]
mov eax, dword [edx + 0x24]
fsub dword [esp + 0x60]
mov edi, dword [0xc6a174]
add esp, 0x20
test eax, eax
fstp dword [esp + 0x6c]
mov dword [esp + 0x50], ebx
fld dword [esp + 0x48]
mov ebx, dword [0xc6a178]
fsub dword [esp + 0x3c]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x54], ebp
mov dword [esp + 0x70], edi
fstp dword [esp + 0x58]
mov dword [esp + 0x10], eax
fld dword [esp + 0x44]
mov dword [esp + 0x18], 0
fsub dword [esp + 0x38]
fstp dword [esp + 0xf8]
jle 0x70fd01
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
push eax
push ecx
mov ecx, dword [esp + 0x70]
call fcn.0040f640
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
inc eax
add edx, 0xc
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], edx
jl 0x70fcd0
mov eax, ecx
mov edx, dword [esp + 0x14]
push edi
push edx
push eax
push ebx
call fcn.0054eef0
mov ecx, dword [esp + 0x38]
xor eax, eax
add esp, 0x10
test ecx, ecx
mov dword [esp + 0x24], eax
jle 0x7100ff
jmp 0x70fd30
mov edi, dword [esp + 0x70]
lea esp, [esp]
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 0x2c]
lea eax, [edx + eax*8]
xor ecx, ecx
mov cx, word [eax]
xor edx, edx
mov dx, word [eax + 2]
mov ax, word [eax + 4]
mov word [esp + 0x14], ax
movzx eax, cx
mov dword [esp + 0x18], ecx
lea eax, [eax + eax*2]
shl eax, 2
lea ecx, [eax + edi]
mov ebp, dword [ecx]
mov dword [esp + 0x74], ebp
mov ebp, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x7c], ecx
movzx ecx, dx
mov dword [esp + 0x20], edx
lea ecx, [ecx + ecx*2]
shl ecx, 2
lea edx, [ecx + edi]
mov dword [esp + 0x78], ebp
mov ebp, dword [edx]
mov dword [esp + 0x80], ebp
mov ebp, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0x88], edx
movzx edx, word [esp + 0x14]
fld dword [esp + 0x88]
fsub dword [esp + 0x7c]
lea edx, [edx + edx*2]
shl edx, 2
add edi, edx
mov dword [esp + 0x84], ebp
mov ebp, dword [edi]
fld dword [esp + 0x84]
mov dword [esp + 0x8c], ebp
fsub dword [esp + 0x78]
mov ebp, dword [edi + 4]
mov edi, dword [edi + 8]
fld dword [esp + 0x80]
fsub dword [esp + 0x74]
mov dword [esp + 0x94], edi
add eax, ebx
fld dword [esp + 0x94]
mov edi, dword [eax]
fsub dword [esp + 0x7c]
mov dword [esp + 0x90], ebp
mov dword [esp + 0xa4], edi
fld dword [esp + 0x90]
mov edi, dword [eax + 4]
fsub dword [esp + 0x78]
mov eax, dword [eax + 8]
add ecx, ebx
mov dword [esp + 0xac], eax
mov eax, dword [ecx]
fstp dword [esp + 0x10]
fld dword [esp + 0x8c]
mov dword [esp + 0xb0], eax
fsub dword [esp + 0x74]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
add edx, ebx
fstp dword [esp + 0xec]
mov dword [esp + 0xb4], eax
mov eax, dword [edx]
fld st(0)
mov dword [esp + 0xb8], ecx
mov ecx, dword [edx + 4]
fmul st(3)
fld dword [esp + 0x10]
mov edx, dword [edx + 8]
fmul st(5)
mov dword [esp + 0xa8], edi
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], edx
fsubp st(1)
fstp dword [esp + 0xd4]
fld dword [esp + 0xec]
fmul st(4)
fxch st(1)
fmul st(2)
fsubp st(1)
fstp dword [esp + 0xd8]
fld dword [esp + 0x10]
fmul st(1)
fld dword [esp + 0xec]
fmul st(3)
fsubp st(1)
fstp st(3)
fstp st(0)
fstp st(0)
fld dword [esp + 0x6c]
fmul st(1)
fld dword [esp + 0xd8]
fmul dword [esp + 0x58]
faddp st(1)
fld dword [esp + 0xd4]
fmul dword [esp + 0xf8]
faddp st(1)
fcomp dword [0x858b50]
fnstsw ax
fstp st(0)
test ah, 1
jne 0x70ffa4
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x54]
mov edi, dword [esp + 0x18]
push eax
lea edx, [esp + 0x54]
mov ecx, ebp
call fcn.0070fa70
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x24]
push ecx
lea edx, [esp + 0x58]
mov ecx, ebp
call fcn.0070fa70
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
push edx
lea edx, [esp + 0x5c]
call fcn.0070fa70
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 8]
lea ecx, [eax + 3]
add esp, 0xc
cmp ecx, edx
jge 0x7100ff
lea edx, [eax + eax*2]
mov eax, dword [esi + 0x10]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0xa4]
mov ecx, eax
mov dword [ecx], edx
mov edx, dword [esp + 0xa8]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0xac]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0xbc]
add eax, 0xc
mov ecx, eax
mov dword [ecx], edx
mov edx, dword [esp + 0xc0]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0xc4]
mov dword [ecx + 8], edx
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xb4]
add eax, 0xc
mov dword [eax], ecx
mov ecx, dword [esp + 0xb8]
jmp 0x7100db
fld dword [esp + 0x34]
mov eax, dword [esi + 0xc]
fmul dword [esp + 0x1c]
mov ebp, dword [esp + 0x54]
lea ecx, [eax + 3]
fst dword [esp + 0x10]
fld dword [esp + 0x30]
fmul dword [esp + 0x1c]
fst dword [esp + 0x14]
fld dword [esp + 0x2c]
fmul dword [esp + 0x1c]
fst dword [esp + 0x18]
fst dword [esp + 0x104]
mov edx, dword [esp + 0x18]
fld dword [esp + 0xac]
mov dword [esp + 0xc8], edx
fadd dword [esp + 0x10]
mov edx, dword [esi + 8]
cmp ecx, edx
fld dword [esp + 0xa8]
fadd dword [esp + 0x14]
fld dword [esp + 0x104]
fadd dword [esp + 0xa4]
fstp dword [esp + 0x38]
fstp dword [esp + 0x3c]
fstp dword [esp + 0x40]
fld st(2)
fld st(2)
fstp dword [esp + 0x10]
fxch st(1)
fstp dword [esp + 0xe0]
fadd dword [esp + 0xb8]
fld dword [esp + 0xb4]
fadd dword [esp + 0x10]
fld dword [esp + 0xb0]
fadd dword [esp + 0xe0]
fstp dword [esp + 0x5c]
fstp dword [esp + 0x60]
fstp dword [esp + 0x64]
fxch st(1)
fstp dword [esp + 0x10]
fstp dword [esp + 0x14]
fld dword [esp + 0xc4]
fadd dword [esp + 0x10]
fld dword [esp + 0xc0]
fadd dword [esp + 0x14]
fld dword [esp + 0xbc]
fadd dword [esp + 0xc8]
fstp dword [esp + 0x44]
fstp dword [esp + 0x48]
fstp dword [esp + 0x4c]
jge 0x7100ff
lea edx, [eax + eax*2]
mov eax, dword [esi + 0x10]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x38]
mov ecx, eax
mov dword [ecx], edx
mov edx, dword [esp + 0x3c]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x40]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x44]
add eax, 0xc
mov ecx, eax
mov dword [ecx], edx
mov edx, dword [esp + 0x48]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x4c]
mov dword [ecx + 8], edx
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
add eax, 0xc
mov dword [eax], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x28]
add eax, 3
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x24]
inc eax
cmp eax, ecx
mov dword [esp + 0x24], eax
jl 0x70fd25
movzx eax, word [esp + 0x50]
xor ecx, ecx
test eax, eax
mov dword [esp + 0x10], eax
jle 0x7102d8
fld dword [esp + 0x34]
fmul dword [esp + 0x1c]
fstp dword [esp + 0x28]
fld dword [esp + 0x30]
mov edx, dword [esp + 0x28]
fmul dword [esp + 0x1c]
mov dword [esp + 0x6c], edx
fstp dword [esp + 0x24]
fld dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
fmul dword [esp + 0x1c]
mov dword [esp + 0x70], eax
fstp dword [esp + 0x18]
mov edx, dword [esp + 0x18]
mov dword [esp + 0xe0], edx
jmp 0x710160
mov ebp, dword [esp + 0x54]
jmp 0x710160
mov ax, word [ebp + ecx*4]
fld dword [esp + 0x28]
mov bp, word [ebp + ecx*4 + 2]
movzx eax, ax
lea eax, [eax + eax*2]
lea edx, [ebx + eax*4]
mov edi, dword [edx]
mov eax, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0x78], eax
movzx eax, bp
lea eax, [eax + eax*2]
mov dword [esp + 0x7c], edx
lea edx, [ebx + eax*4]
fadd dword [esp + 0x7c]
mov eax, edx
mov edx, dword [eax]
fld dword [esp + 0x78]
mov ebp, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0xc8], eax
fadd dword [esp + 0x58]
mov eax, dword [esi + 0xc]
fld dword [esp + 0xc8]
mov dword [esp + 0x74], edi
mov dword [esp + 0x84], ebp
fadd dword [esp + 0x74]
mov dword [esp + 0x80], edx
lea ebp, [eax + 6]
cmp ebp, dword [esi + 8]
fstp dword [esp + 0x2c]
fstp dword [esp + 0x30]
fstp dword [esp + 0x34]
fld dword [esp + 0x88]
fadd dword [esp + 0x6c]
fld dword [esp + 0x84]
fadd dword [esp + 0x70]
fld dword [esp + 0x80]
fadd dword [esp + 0xe0]
fstp dword [esp + 0x5c]
fstp dword [esp + 0x60]
fstp dword [esp + 0x64]
jge 0x7102d8
mov ebp, dword [esi + 0x10]
lea eax, [eax + eax*2]
lea eax, [ebp + eax*4]
mov ebp, eax
mov dword [ebp], edi
mov edi, dword [esp + 0x78]
mov dword [ebp + 4], edi
mov edi, dword [esp + 0x7c]
mov dword [ebp + 8], edi
mov ebp, dword [esp + 0x84]
add eax, 0xc
mov edi, eax
mov dword [edi], edx
mov dword [edi + 4], ebp
mov ebp, dword [esp + 0x88]
mov dword [edi + 8], ebp
mov edi, dword [esp + 0x2c]
add eax, 0xc
mov ebp, eax
mov dword [ebp], edi
mov edi, dword [esp + 0x30]
mov dword [ebp + 4], edi
mov edi, dword [esp + 0x34]
mov dword [ebp + 8], edi
add eax, 0xc
mov ebp, eax
mov dword [ebp], edx
mov edx, dword [esp + 0x84]
mov dword [ebp + 4], edx
mov edx, dword [esp + 0x88]
mov dword [ebp + 8], edx
mov ebp, dword [esp + 0x5c]
add eax, 0xc
mov edx, eax
mov dword [edx], ebp
mov ebp, dword [esp + 0x60]
mov dword [edx + 4], ebp
mov ebp, dword [esp + 0x64]
mov dword [edx + 8], ebp
mov edx, dword [esp + 0x2c]
add eax, 0xc
mov dword [eax], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 4], edx
mov dword [eax + 8], edi
mov edi, dword [esi + 0xc]
mov eax, dword [esp + 0x10]
add edi, 6
inc ecx
cmp ecx, eax
mov dword [esi + 0xc], edi
jl 0x710153
lea ecx, [esp + 0x110]
mov dword [esp + 0x160], 0xffffffff
call fcn.0059acd0
mov al, 1
pop ebp
mov ecx, dword [esp + 0x154]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x154
ret