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

Disassembly:
mov ecx, dword [esp + 0x38]
sub esp, 0x1dc
test ecx, ecx
je 0x70a45c
push ebx
push ebp
push esi
push edi
call fcn.007059e0
mov ebx, dword [esp + 0x1f0]
mov esi, eax
movsx eax, word [ebx + 0x22]
mov ecx, dword [eax*4 + 0xa9b0c8]
mov eax, dword [ecx + 0x14]
mov ebp, dword [eax + 0x2c]
test ebp, ebp
mov dword [esp + 0x20], esi
je 0x70a458
push eax
call fcn.00418580
mov eax, dword [esi]
mov esi, dword [eax + 4]
push 1
push 0xc2340000
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0xa4]
add esi, 0x10
mov ecx, 0x10
lea edi, [esp + 0xa4]
push eax
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x24], 0x3f800000
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
call fcn.007f1fd0
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xc8]
mov edx, dword [esp + 0xcc]
mov dword [esp + 0xf0], eax
mov eax, dword [ebx + 0x14]
xor esi, esi
add esp, 0x14
cmp eax, esi
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd8], edx
jne 0x70a117
mov ecx, ebx
call fcn.0054f560
mov ecx, dword [ebx + 0x14]
push ecx
lea ecx, [ebx + 4]
call fcn.0054f1b0
mov ecx, dword [ebx + 0x14]
lea edx, [esp + 0x12c]
push edx
call fcn.0059b8b0
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0xe4]
push ecx
call fcn.007f2070
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
fld dword [eax + 0x68]
push 2
fld dword [0x858c20]
lea ecx, [esp + 0x70]
fmul st(1)
push ecx
lea edx, [esp + 0xf0]
push edx
fdivr dword [0x858f40]
fst dword [esp + 0x7c]
fstp dword [esp + 0x78]
fmul dword [0x858c98]
fdivr dword [0x858624]
fstp dword [esp + 0x80]
call fcn.007f22c0
push 2
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0xfc]
push ecx
mov dword [esp + 0x78], 0x3f000000
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
call fcn.007f2450
mov eax, dword [ebx + 0x14]
mov dl, byte [esp + 0x228]
add esp, 0x20
cmp eax, esi
mov dword [esp + 0x124], esi
mov byte [esp + 0x120], dl
jne 0x70a1e3
mov ecx, ebx
call fcn.0054f560
mov eax, dword [ebx + 0x14]
push eax
lea ecx, [ebx + 4]
call fcn.0054f1b0
lea ecx, [esp + 0x1ac]
push ecx
mov ecx, dword [ebx + 0x14]
call fcn.0059b8b0
lea edx, [esp + 0x1ac]
push edx
lea eax, [esp + 0x170]
push eax
call fcn.007f2070
fld dword [esp + 0x200]
fmul dword [0x871654]
mov eax, dword [esp + 0x22c]
mov ecx, dword [eax + 0x3c]
fld dword [esp + 0x204]
fmul dword [0x871654]
mov edx, dword [eax + 0x40]
add eax, 0x3c
fxch st(1)
mov eax, dword [eax + 8]
mov dword [esp + 0x18], ecx
fadd dword [esp + 0x18]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
fstp dword [esp + 0x18]
lea ecx, [esp + 0x174]
fld dword [esp + 0x1c]
push ecx
fadd st(1)
push 1
lea edx, [esp + 0x20]
push edx
fstp dword [esp + 0x28]
lea eax, [esp + 0x84]
push eax
fstp st(0)
fld dword [esp + 0x30]
fsub dword [0x858b8c]
fstp dword [esp + 0x30]
call fcn.007edd90
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x90]
add esp, 0x18
push 0xff
push esi
mov dword [esp + 0x18], ecx
push esi
lea ecx, [esp + 0x1c]
push ecx
push 0x40000000
lea ecx, [esp + 0x94]
mov dword [esp + 0x90], 0x40000000
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
call fcn.0040fd10
cmp word [ebp + 4], si
jle 0x70a458
xor ebx, ebx
mov dword [esp + 0x20], ebx
lea ecx, [ecx]
mov edx, dword [ebp + 0x18]
lea edi, [esi*8]
mov cx, word [edi + edx + 2]
lea eax, [edi + edx]
mov dx, word [eax + 4]
movzx eax, word [eax]
mov word [esp + 0x48], cx
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebp
mov word [esp + 0x24], dx
call fcn.0040f5e0
movzx edx, word [esp + 0x48]
push edx
lea eax, [esp + 0x34]
push eax
mov ecx, ebp
call fcn.0040f5e0
movzx ecx, word [esp + 0x1c]
push ecx
lea edx, [esp + 0x40]
push edx
mov ecx, ebp
call fcn.0040f5e0
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
add eax, ebx
push eax
add ecx, edi
push ecx
push edx
lea eax, [esp + 0x8c]
push eax
call fcn.004165b0
add esp, 0x10
test al, al
je 0x70a444
mov ecx, dword [ebp + 0x1c]
movsx edx, word [ebx + ecx]
lea eax, [ebx + ecx]
movsx ecx, word [eax + 2]
mov dword [esp + 0x1c], edx
movsx edx, word [eax + 4]
fild dword [esp + 0x1c]
mov dword [esp + 0x1c], ecx
lea edi, [esp + 0xd4]
fmul dword [0x858bfc]
lea eax, [esp + 0x10]
lea ebx, [esp + 0x24]
fstp dword [esp + 0x10]
fild dword [esp + 0x1c]
mov dword [esp + 0x1c], edx
fmul dword [0x858bfc]
fstp dword [esp + 0x14]
fild dword [esp + 0x1c]
fmul dword [0x858bfc]
fstp dword [esp + 0x18]
fld dword [esp + 0x10]
fmul dword [0x872720]
fld dword [esp + 0x14]
fmul dword [0x872720]
fld dword [esp + 0x18]
fmul dword [0x872720]
fstp dword [esp + 0x54]
fld st(1)
fadd dword [esp + 0x24]
fstp dword [esp + 0x24]
fld dword [esp + 0x28]
fadd st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x2c]
fadd dword [esp + 0x54]
fstp dword [esp + 0x2c]
fld st(1)
fadd dword [esp + 0x30]
fstp dword [esp + 0x30]
fld dword [esp + 0x34]
fadd st(1)
fstp dword [esp + 0x34]
fld dword [esp + 0x38]
fadd dword [esp + 0x54]
fstp dword [esp + 0x38]
fxch st(1)
fadd dword [esp + 0x3c]
fstp dword [esp + 0x3c]
fld dword [esp + 0x40]
fadd st(1)
fstp dword [esp + 0x40]
fstp st(0)
fld dword [esp + 0x44]
fadd dword [esp + 0x54]
fstp dword [esp + 0x44]
call fcn.00709cf0
test eax, eax
je 0x70a458
mov ebx, dword [esp + 0x20]
movsx eax, word [ebp + 4]
inc esi
add ebx, 0xa
cmp esi, eax
mov dword [esp + 0x20], ebx
jl 0x70a2e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1dc
ret