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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1019c958
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x10218460]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, edx
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
mov edx, dword [eax + 0x3c]
mov ecx, edi
call edx
test esi, esi
mov ecx, esi
mov dword [esp + 0x18], esi
jge 0x1012bb0e
add ecx, eax
js 0x1012bb06
mov dword [esp + 0x18], ecx
cmp ecx, eax
jl 0x1012bb1c
sub ecx, eax
cmp ecx, eax
jge 0x1012bb12
mov dword [esp + 0x18], ecx
mov eax, dword [edi]
mov edx, dword [eax + 0x40]
mov ecx, edi
call edx
xor edx, edx
cmp ebx, edx
mov ecx, ebx
mov dword [esp + 0x1c], ebx
jge 0x1012bb39
add ecx, eax
js 0x1012bb31
mov dword [esp + 0x1c], ecx
cmp ecx, eax
jl 0x1012bb4a
lea ecx, [ecx]
sub ecx, eax
cmp ecx, eax
jge 0x1012bb40
mov dword [esp + 0x1c], ecx
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 0x108]
xor eax, eax
cmp dword [ebp + 0x10], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], eax
jle 0x1012bbc4
fldz
push ecx
fstp dword [esp]
call fcn.10009f50
fstp dword [esp + 0x30]
fld qword [0x101e9498]
mov ecx, dword [ebp + 0x10]
fmul qword [0x101e92d8]
add esp, 4
mov dword [esp + 0x14], ecx
fstp qword [esp + 0x48]
fld dword [esp + 0x2c]
mov eax, ebx
fstp dword [eax]
add ebx, 8
fld qword [esp + 0x48]
fistp dword [esp + 0x28]
sub ecx, 1
mov dx, word [esp + 0x28]
mov word [eax + 4], dx
jne 0x1012bb9b
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], ebx
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
add ecx, edx
cmp eax, ecx
mov dword [esp + 0x44], ecx
jge 0x1012bebb
imul eax, eax, 0xe4
mov dword [esp + 0x2c], eax
jmp 0x1012bbeb
mov eax, dword [esp + 0x2c]
mov edi, dword [ebp + 0xc]
mov esi, dword [esi + 0x10]
mov ebx, dword [esi + eax + 0x20]
add esi, eax
mov eax, dword [esi + 0x48]
mov edx, dword [eax + 0x3c]
lea ecx, [esi + 0x48]
mov dword [esp + 0x28], ebx
call edx
mov dword [esp + 0x24], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x3c]
mov ecx, edi
call edx
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov ecx, ebx
sar edi, cl
sar edx, 1
sar eax, cl
mov dword [esp + 0x40], edx
sub edi, edx
jns 0x1012bc2c
add edi, eax
js 0x1012bc28
cmp edi, eax
jl 0x1012bc36
sub edi, eax
cmp edi, eax
jge 0x1012bc30
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
call edx
mov ecx, ebx
mov ebx, dword [esp + 0x1c]
sar eax, cl
mov ecx, dword [esp + 0x28]
sar ebx, cl
sub ebx, dword [esp + 0x40]
jns 0x1012bc58
add ebx, eax
js 0x1012bc54
cmp ebx, eax
jl 0x1012bc66
lea esp, [esp]
sub ebx, eax
cmp ebx, eax
jge 0x1012bc60
cmp dword [ebp + 0x18], 0
jl 0x1012bcb1
mov edx, ebx
mov ecx, edi
lea eax, [esp + 0x50]
call fcn.10050290
mov ecx, dword [ebp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
push eax
mov eax, dword [ebp + 8]
push edx
push eax
mov dword [esp + 0x78], 0
call fcn.1012bf80
lea ecx, [esp + 0x50]
mov dword [esp + 0x68], 0xffffffff
call fcn.100502a0
test al, al
je 0x1012bdb6
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x30], eax
jne 0x1012bccd
cmp dword [esp + 0x34], edi
jne 0x1012bccd
cmp dword [esp + 0x38], ebx
jne 0x1012bccd
cmp dword [esp + 0x3c], ecx
je 0x1012bcfc
mov dword [esp + 0x30], eax
push ebx
mov dword [esp + 0x40], ecx
mov eax, ecx
mov ecx, dword [ebp + 0xc]
push edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], ebx
call fcn.10073350
mov ebx, dword [ebp + 8]
mov edx, eax
mov eax, dword [esp + 0x2c]
push ebx
mov ecx, eax
call fcn.1012b890
jmp 0x1012bcff
mov ebx, dword [ebp + 8]
mov ecx, dword [esi + 0x30]
mov edx, dword [ebx + 0x11c]
mov eax, dword [ebx + 0x134]
lea edi, [ebx + 0x134]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x24], edx
mov edx, dword [eax + 0x58]
mov ecx, edi
call edx
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x24]
call fcn.10065f60
mov ecx, dword [ebx + 0x11c]
mov edx, dword [edi]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x64]
fild dword [esp + 0x40]
mov dword [esp + 0x40], eax
mov eax, dword [edx + 0x58]
mov dword [esp + 0x24], ecx
fstp dword [esp + 0x48]
mov ecx, edi
call eax
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x24]
call fcn.10065f60
mov dword [esp + 0x40], eax
fild dword [esp + 0x40]
mov eax, dword [ebp + 0x18]
test eax, eax
fstp dword [esp + 0x4c]
fld dword [esi + 0x28]
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fld st(0)
fmul dword [esp + 0x48]
fstp dword [esp + 0x48]
fmul dword [esp + 0x4c]
fstp dword [esp + 0x4c]
jl 0x1012bdde
mov edx, dword [ebx + 0x164]
fld dword [esp + 0x48]
lea ecx, [eax + eax*8]
mov eax, dword [edx + ecx*4 + 4]
mov ecx, dword [esp + 0x14]
lea eax, [eax + ecx*8]
fstp dword [eax]
fld dword [esp + 0x4c]
fstp dword [eax + 4]
jmp 0x1012bdde
mov eax, dword [ebp + 0x18]
lea edx, [eax + eax*8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x164]
mov edx, dword [ecx + edx*4 + 4]
mov eax, dword [esp + 0x14]
fld dword [edx + eax*8]
lea eax, [edx + eax*8]
fstp dword [esp + 0x48]
fld dword [eax + 4]
fstp dword [esp + 0x4c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esi + 0x98]
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x18]
sub eax, 1
and ecx, eax
fld dword [edx + ecx*8]
lea ecx, [edx + ecx*8]
fld dword [esp + 0x48]
mov edx, dword [esi + 0xbc]
fld st(0)
fmulp st(2)
fld dword [ecx + 4]
fld dword [esp + 0x4c]
fld st(0)
fmulp st(2)
fxch st(3)
fsubrp st(1)
fstp dword [esp + 0x40]
fld dword [ecx]
fmulp st(2)
fmul dword [ecx + 4]
mov ecx, dword [esp + 0x1c]
and ecx, eax
lea eax, [edx + ecx*8]
faddp st(1)
fstp dword [esp + 0x4c]
fld dword [esp + 0x40]
fld st(0)
fmul dword [eax]
fld dword [esp + 0x4c]
fld st(0)
fmul dword [eax + 4]
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x40]
fmul dword [eax]
fld dword [eax + 4]
mov eax, dword [esp + 0x20]
fmulp st(2)
mov edi, eax
add eax, 8
mov dword [esp + 0x20], eax
faddp st(1)
fstp dword [esp + 0x4c]
fld dword [esp + 0x40]
fst dword [esp + 0x48]
fld dword [esp + 0x4c]
fld st(1)
fmulp st(2)
fmul st(0), st(0)
faddp st(1)
call fcn.1018a460
fstp dword [edi]
lea esi, [esp + 0x12]
lea eax, [esp + 0x48]
call fcn.1006d850
mov ax, word [eax]
add dword [esp + 0x2c], 0xe4
mov esi, dword [ebp + 8]
mov word [edi + 4], ax
mov eax, dword [esp + 0x14]
add eax, 1
cmp eax, dword [esp + 0x44]
mov dword [esp + 0x14], eax
jl 0x1012bbe4
mov ebx, dword [esp + 0x20]
cmp eax, dword [esi + 0x14]
jge 0x1012bf0e
fldz
push ecx
fstp dword [esp]
call fcn.10009f50
fstp dword [esp + 0x30]
fld qword [0x101e9498]
add esp, 4
fmul qword [0x101e92d8]
fstp qword [esp + 0x48]
fld dword [esp + 0x2c]
mov eax, ebx
fstp dword [eax]
add ebx, 8
fld qword [esp + 0x48]
fistp dword [esp + 0x20]
mov cx, word [esp + 0x20]
mov word [eax + 4], cx
mov eax, dword [esp + 0x14]
add eax, 1
cmp eax, dword [esi + 0x14]
mov dword [esp + 0x14], eax
jl 0x1012bee2
lea eax, [esi + 0x20]
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14