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

Disassembly:
sub esp, 0x84
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x24]
mov esi, dword [esp + 0x98]
imul eax, esi
fld dword [0x100215a4]
cdq
and edx, 7
push edi
add eax, edx
mov dword [esp + 0x50], ebx
sar eax, 3
add eax, 3
mov dword [esp + 0x54], 0x3f800000
cdq
and edx, 3
mov dword [esp + 0x58], 0x40c00000
add eax, edx
mov dword [esp + 0x5c], 0x41700000
sar eax, 2
shl eax, 2
mov dword [esp + 0x60], 0x41a00000
mov dword [esp + 0x64], 0x41700000
mov dword [esp + 0x68], 0x40c00000
mov dword [esp + 0x6c], 0x3f800000
mov dword [esp + 0x74], 0x3e652008
mov dword [esp + 0x78], 0x3f0d6ffc
mov dword [esp + 0x7c], 0x3e652008
mov dword [esp + 0x88], 0xbee7f173
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0x3ee7f173
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x54]
mov edx, 7
fadd dword [ecx]
add ecx, 4
dec edx
jne 0x100147b9
lea ecx, [esp + 0x54]
mov edx, 7
fld dword [ecx]
fdiv st(1)
add ecx, 4
dec edx
fstp dword [ecx - 4]
jne 0x100147ca
mov ebp, dword [esp + 0xa0]
mov edi, eax
imul edi, ebp
fstp st(0)
shl edi, 2
push edi
mov dword [esp + 0x20], edi
call sub.MFC42.DLL_operatornew
push edi
mov dword [esp + 0x18], eax
call sub.MFC42.DLL_operatornew
push edi
mov dword [esp + 0x20], eax
call sub.MFC42.DLL_operatornew
mov edi, eax
mov eax, dword [esp + 0x28]
push eax
call sub.MFC42.DLL_operatornew
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x4c], eax
push ecx
call sub.MFC42.DLL_operatornew
mov dword [esp + 0x4c], eax
add esp, 0x14
xor eax, eax
test esi, esi
mov dword [esp + 0x18], eax
jle 0x100148bb
mov edx, dword [esp + 0x14]
mov dword [esp + 0x24], edx
test ebp, ebp
jle 0x100148a7
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x14]
add eax, ecx
mov ecx, dword [esp + 0x10]
sub ecx, edx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x20], ebp
xor edx, edx
mov dl, byte [ecx]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x40]
fild dword [esp + 0x28]
fstp dword [edx + eax]
xor edx, edx
mov dl, byte [ecx]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x34]
fild dword [esp + 0x28]
shl edx, 2
fstp dword [eax]
add eax, edx
mov edx, dword [esp + 0x34]
add ecx, edx
mov edx, dword [esp + 0x20]
dec edx
mov dword [esp + 0x20], edx
jne 0x10014868
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
inc eax
add edx, 4
cmp eax, esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], edx
jl 0x1001483d
mov ecx, dword [esp + 0x10]
push 3
lea eax, [esp + 0x78]
push 1
push eax
push ebp
push esi
push ecx
mov ecx, ebx
call fcn.10014240
mov eax, dword [esp + 0x10]
push 1
lea edx, [esp + 0x8c]
push 3
push edx
push ebp
push esi
push eax
mov ecx, ebx
call fcn.10014240
mov edx, dword [esp + 0x14]
push 1
lea ecx, [esp + 0x78]
push 3
push ecx
push ebp
push esi
push edx
mov ecx, ebx
call fcn.10014240
mov ecx, dword [esp + 0x14]
push 3
lea eax, [esp + 0x78]
push 1
push eax
push ebp
push esi
push ecx
mov ecx, ebx
call fcn.10014240
mov eax, dword [esp + 0x10]
push ebp
push esi
push eax
push eax
push edi
mov ecx, ebx
call fcn.10014400
push 3
lea edx, [esp + 0x58]
push 1
push edx
push ebp
push esi
push edi
mov ecx, ebx
call fcn.10014240
push 1
lea eax, [esp + 0x58]
push 3
push eax
push ebp
push esi
push edi
mov ecx, ebx
call fcn.10014240
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
push ebp
push esi
push eax
push eax
push ecx
mov ecx, ebx
call fcn.10014400
push 3
lea edx, [esp + 0x58]
push 1
push edx
push ebp
push esi
mov eax, dword [esp + 0x50]
mov ecx, ebx
push eax
call fcn.10014240
mov edx, dword [esp + 0x3c]
push 1
lea ecx, [esp + 0x58]
push 3
push ecx
push ebp
push esi
push edx
mov ecx, ebx
call fcn.10014240
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x38]
push ebp
push esi
push eax
push ecx
push edx
mov ecx, ebx
call fcn.10014400
mov ecx, dword [esp + 0x38]
push 3
lea eax, [esp + 0x58]
push 1
push eax
push ebp
push esi
push ecx
mov ecx, ebx
call fcn.10014240
mov eax, dword [esp + 0x38]
push 1
lea edx, [esp + 0x58]
push 3
push edx
push ebp
push esi
push eax
mov ecx, ebx
call fcn.10014240
mov ecx, dword [esp + 0x10]
push ecx
call sub.MFC42.DLL_operatordelete
mov edx, dword [esp + 0x18]
push edx
call sub.MFC42.DLL_operatordelete
mov ebx, dword [esp + 0x24]
push ebx
call sub.MFC42.DLL_operatornew
push ebx
mov dword [esp + 0x5c], eax
call sub.MFC42.DLL_operatornew
push ebx
mov dword [esp + 0x54], eax
call sub.MFC42.DLL_operatornew
push ebx
mov dword [esp + 0x40], eax
call sub.MFC42.DLL_operatornew
add esp, 0x18
mov dword [esp + 0x24], eax
test esi, esi
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
jle 0x10014bd3
mov dword [esp + 0x1c], edi
test ebp, ebp
mov dword [esp + 0x10], 0
jle 0x10014bb7
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x4c]
sub edx, edi
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x28]
lea ecx, [eax*4]
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x1c]
sub edx, edi
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x24]
sub eax, edi
sub ecx, edi
sub ebx, edi
sub edx, edi
mov dword [esp + 0x70], eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0x14], edx
jmp 0x10014aa5
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x70]
fld dword [eax + esi]
fadd dword [esi]
fmul dword [0x100220fc]
fstp dword [ebx + esi]
fld dword [eax + esi]
fmul dword [esi]
fld dword [ecx + esi]
fld qword [0x100215b8]
call sub.MSVCRT.dll__CIpow
mov edx, dword [esp + 0x84]
fsubp st(1)
fst dword [esp + 0x2c]
fstp dword [edx + esi]
fld dword [ebx + esi]
fld qword [0x100215b8]
call sub.MSVCRT.dll__CIpow
fsub dword [esp + 0x2c]
mov eax, dword [esp + 0x44]
fsqrt
fst dword [esp + 0x2c]
fstp dword [eax + esi]
mov eax, dword [esp + 0x18]
cmp eax, 0x14
jl 0x10014b75
mov ecx, dword [esp + 0x9c]
add ecx, 0xffffffec
cmp eax, ecx
jg 0x10014b75
mov eax, dword [esp + 0x10]
cmp eax, 0x14
jl 0x10014b75
lea edx, [ebp - 0x14]
cmp eax, edx
jg 0x10014b75
fld dword [ebx + esi]
fsub dword [esp + 0x2c]
call sub.MSVCRT.dll__ftol
cdq
xor eax, edx
sub eax, edx
mov dword [esp + 0x30], eax
fild dword [esp + 0x30]
fld dword [esp + 0x2c]
fadd dword [ebx + esi]
call sub.MSVCRT.dll__ftol
cdq
xor eax, edx
sub eax, edx
mov dword [esp + 0x30], eax
fild dword [esp + 0x30]
fstp dword [esp + 0x2c]
fcom dword [esp + 0x2c]
fnstsw ax
test ah, 1
je 0x10014b66
mov eax, dword [esp + 0x14]
fstp dword [eax + esi]
jmp 0x10014b80
mov ecx, dword [esp + 0x14]
fstp st(0)
fld dword [esp + 0x2c]
fstp dword [ecx + esi]
jmp 0x10014b80
mov edx, dword [esp + 0x14]
mov dword [edx + esi], 0
mov ecx, dword [esp + 0x14]
fld dword [ecx + esi]
fcomp dword [esp + 0x20]
fnstsw ax
test ah, 0x41
jne 0x10014b99
fld dword [ecx + esi]
fstp dword [esp + 0x20]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x48]
inc eax
add esi, edx
cmp eax, ebp
mov dword [esp + 0x10], eax
jl 0x10014a9a
mov esi, dword [esp + 0x9c]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
inc eax
add edx, 4
cmp eax, esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
jl 0x10014a37
push edi
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x40]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x40]
push ecx
call sub.MFC42.DLL_operatordelete
mov edx, dword [esp + 0x58]
push edx
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x50]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x3c]
push ecx
call sub.MFC42.DLL_operatordelete
fld dword [esp + 0x38]
fmul dword [0x100220f8]
mov ebx, dword [esp + 0xbc]
mov edx, 0xa
lea eax, [esi - 0xa]
add esp, 0x18
cmp eax, edx
mov dword [esp + 0x18], edx
fstp dword [esp + 0x48]
jle 0x10014e14
lea eax, [ebp - 0xa]
mov edi, 0xa
cmp eax, edi
mov dword [esp + 0x10], edi
jle 0x10014e04
mov eax, dword [esp + 0x34]
lea eax, [eax + eax*4]
lea ecx, [edx + eax*2]
mov eax, dword [esp + 0x24]
lea ecx, [eax + ecx*4]
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
fld dword [eax]
fcomp dword [esp + 0x48]
fnstsw ax
test ah, 0x41
jne 0x10014ddf
mov ecx, dword [esp + 0x24]
push 0x14
push edi
push edx
push ebp
push esi
push ecx
mov ecx, dword [esp + 0x68]
call fcn.10014470
test al, al
je 0x10014ddf
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 4]
mov esi, ecx
mov dword [esp + 0x44], esi
lea ebp, [esi + 1]
test ebp, ebp
jne 0x10014cc9
test eax, eax
je 0x10014cbc
push eax
mov dword [esp + 0x34], ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebx + 4], 0
xor eax, eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 8], eax
jmp 0x10014dc3
test eax, eax
jne 0x10014cf2
lea edx, [ebp*8]
push edx
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebx + 4], eax
push ebp
push eax
call fcn.10017480
mov dword [ebx + 0xc], ebp
mov dword [ebx + 8], ebp
jmp 0x10014dc3
cmp ebp, dword [ebx + 0xc]
jg 0x10014d21
cmp ecx, ebp
jge 0x10014d11
mov edx, ebp
lea eax, [eax + ecx*8]
sub edx, ecx
push edx
push eax
call fcn.10017480
mov dword [ebx + 8], ebp
jmp 0x10014dc3
jle 0x10014d19
sub ecx, ebp
mov dword [esp + 0x30], ecx
mov dword [ebx + 8], ebp
jmp 0x10014dc3
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x10014d4b
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x10014d3f
mov eax, 4
jmp 0x10014d4b
cmp eax, 0x400
jle 0x10014d4b
mov eax, 0x400
mov ecx, dword [ebx + 0xc]
add eax, ecx
cmp ebp, eax
mov dword [esp + 0x20], eax
jl 0x10014d5c
mov dword [esp + 0x20], ebp
mov ecx, dword [esp + 0x20]
lea edx, [ecx*8]
push edx
call sub.MFC42.DLL_operatornew
mov ecx, dword [ebx + 8]
mov esi, dword [ebx + 4]
shl ecx, 3
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, ebp
and ecx, 3
add esp, 4
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 8]
mov dword [esp + 0x30], eax
sub edx, ecx
lea eax, [eax + ecx*8]
push edx
push eax
call fcn.10017480
mov ecx, dword [ebx + 4]
push ecx
call sub.MFC42.DLL_operatordelete
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x14]
add esp, 4
mov dword [ebx + 4], edx
mov dword [ebx + 8], ebp
mov dword [ebx + 0xc], eax
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x18]
mov ebp, dword [esp + 0xa0]
mov dword [ecx + esi*8], edx
mov dword [ecx + esi*8 + 4], edi
mov esi, dword [esp + 0x9c]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x1c]
shl eax, 2
add edx, eax
inc edi
lea eax, [ebp - 0xa]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x18]
cmp edi, eax
mov dword [esp + 0x10], edi
jl 0x10014c60
inc edx
lea ecx, [esi - 0xa]
cmp edx, ecx
mov dword [esp + 0x18], edx
jl 0x10014c3a
mov ecx, dword [esp + 0x24]
push ecx
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x54]
add esp, 4
push ebx
call fcn.10014520
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret 0x10