Function at 0x10024190
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1003a2e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
mov eax, 0x1003d080
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], 1
call fcn.100263a0
mov esi, 5
push 0xdc
mov dword [esp + 0x3c], 4
mov dword [esp + 0x40], esi
call sub.mfc42u.dll_operatornew
mov edx, eax
mov ecx, 0x37
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x40]
add esp, 4
mov dword [esp + 0x34], edx
cmp ecx, ebx
lea edx, [edx + ecx*4]
jle 0x10024237
imul ecx, eax
mov edi, dword [esp + 0x34]
inc eax
lea ecx, [edx + ecx*8]
mov dword [edi + eax*4 - 4], ecx
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
jl 0x10024220
mov edx, dword [esp + 0x34]
mov ecx, 0x3ff00000
mov eax, dword [edx]
mov edx, dword [ebp + 8]
mov dword [eax], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 4], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x1c], ebx
mov edi, dword [edx]
mov dword [eax + 0x20], edi
mov edx, dword [edx + 4]
mov dword [eax + 0x24], edx
mov eax, dword [esp + 0x34]
mov edx, dword [ebp + 0x10]
mov eax, dword [eax + 4]
mov dword [eax], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 4], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x1c], ecx
mov edi, dword [edx]
mov dword [eax + 0x20], edi
mov edx, dword [edx + 4]
mov dword [eax + 0x24], edx
mov eax, dword [esp + 0x34]
mov edx, dword [ebp + 0xc]
mov eax, dword [eax + 8]
mov dword [eax], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 4], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x1c], ebx
mov edi, dword [edx]
mov dword [eax + 0x20], edi
mov edx, dword [edx + 4]
mov dword [eax + 0x24], edx
mov eax, dword [esp + 0x34]
mov edx, dword [ebp + 0x18]
mov eax, dword [eax + 0xc]
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp + 0x14]
mov dword [eax], ebx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x18], ebx
lea ecx, [esp + 0x40]
mov dword [eax + 4], ebx
mov dword [eax + 0x14], 0x40000000
mov dword [eax + 0x1c], 0x40080000
mov dword [eax + 0x24], edx
call fcn.100263a0
push 0xdc
mov dword [esp + 0x4c], 4
mov dword [esp + 0x50], esi
call sub.mfc42u.dll_operatornew
mov edx, eax
mov ecx, 0x37
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x50]
add esp, 4
xor ecx, ecx
mov dword [esp + 0x44], edx
cmp eax, ebx
lea edx, [edx + eax*4]
jle 0x10024348
imul eax, ecx
mov esi, dword [esp + 0x44]
inc ecx
lea eax, [edx + eax*8]
mov dword [esi + ecx*4 - 4], eax
mov eax, dword [esp + 0x4c]
cmp ecx, eax
jl 0x10024331
xor eax, eax
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x44]
mov esi, dword [eax + ecx]
mov edi, dword [edx + eax]
add eax, 4
mov ecx, 8
cmp eax, 0x10
rep movsd dword es:[edi], dword [esi]
jl 0x1002434a
mov eax, dword [esp + 0x44]
mov ecx, dword [ebp + 8]
mov eax, dword [eax]
mov edx, dword [ecx + 8]
mov dword [eax + 0x20], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0x24], ecx
mov edx, dword [esp + 0x44]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 4]
mov edx, dword [ecx + 8]
mov dword [eax + 0x20], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0x24], ecx
mov edx, dword [esp + 0x44]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
mov edx, dword [ecx + 8]
mov dword [eax + 0x20], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0x24], ecx
mov edx, dword [esp + 0x44]
mov ecx, dword [ebp + 0x1c]
mov eax, dword [edx + 0xc]
mov edx, dword [ebp + 0x20]
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], edx
mov eax, dword [esp + 0x38]
dec eax
test eax, eax
jle 0x10024486
push ebx
lea ecx, [esp + 0x34]
call fcn.10026430
cmp eax, 0xffffffff
je 0x100247b3
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x3c]
cmp ebx, edi
mov esi, dword [ecx + ebx*4]
mov ecx, dword [esi + ebx*8 + 4]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x14], esi
mov edx, dword [esi + ebx*8]
lea eax, [esi + ebx*8]
mov dword [esp + 0x24], edx
mov ecx, ebx
jge 0x10024417
fld qword [eax]
fdiv qword [esp + 0x24]
inc ecx
add eax, 8
fstp qword [eax - 8]
mov edi, dword [esp + 0x3c]
cmp ecx, edi
jl 0x10024402
mov edx, dword [esp + 0x38]
lea ecx, [ebx + 1]
mov eax, ecx
cmp ecx, edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], eax
jge 0x10024475
mov edx, dword [esp + 0x34]
cmp ecx, edi
mov edx, dword [edx + eax*4]
fld qword [edx + ebx*8]
fstp qword [esp + 0x24]
jge 0x10024468
lea eax, [edx + ecx*8]
sub esi, edx
fld qword [esp + 0x24]
fmul qword [esi + eax]
inc ecx
add eax, 8
fsubr qword [eax - 8]
fstp qword [eax - 8]
mov edi, dword [esp + 0x3c]
cmp ecx, edi
jl 0x10024443
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x38]
inc eax
cmp eax, edx
mov dword [esp + 0x10], eax
jl 0x1002442c
mov eax, dword [esp + 0x38]
mov ebx, ecx
dec eax
cmp ebx, eax
jl 0x100243c8
jmp 0x1002448a
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
mov eax, dword [ecx + esi*4]
dec esi
test esi, esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], esi
jl 0x10024553
mov ecx, 8
lea edx, [esi + 1]
lea ebx, [eax + esi*8]
sub ecx, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ecx
jmp 0x100244c5
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
lea ecx, [edi - 1]
fld qword [0x1003cba0]
mov edx, dword [eax + esi*4]
mov eax, dword [esp + 0x10]
cmp eax, ecx
jge 0x10024506
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
add eax, ebx
mov ebx, dword [esp + 0x10]
add eax, edx
sub esi, edx
sub ecx, ebx
fld qword [esi + eax]
fmul qword [eax]
add eax, 8
dec ecx
faddp st(1)
jne 0x100244f1
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
fld qword [edx + esi*8]
fabs
fcomp qword [0x1003d070]
fnstsw ax
test ah, 1
je 0x10024529
mov dword [ebx], 0
mov dword [ebx + 4], 0
fstp st(0)
jmp 0x10024536
fld qword [edx + edi*8 - 8]
fsub st(1)
fdiv qword [edx + esi*8]
fstp qword [ebx]
fstp st(0)
mov edx, dword [esp + 0x10]
dec esi
dec edx
sub ebx, 8
test esi, esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ebx
jge 0x100244c1
mov esi, dword [esp + 0x48]
xor ebx, ebx
lea ecx, [esi - 1]
test ecx, ecx
jle 0x10024620
push ebx
lea ecx, [esp + 0x44]
call fcn.10026430
cmp eax, 0xffffffff
je 0x100247b3
mov edx, dword [esp + 0x44]
mov edi, dword [esp + 0x4c]
cmp ebx, edi
mov eax, dword [edx + ebx*4]
mov edx, dword [eax + ebx*8 + 4]
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], edx
mov ecx, dword [eax + ebx*8]
lea eax, [eax + ebx*8]
mov dword [esp + 0x14], ecx
mov ecx, ebx
jge 0x100245b3
fld qword [eax]
fdiv qword [esp + 0x14]
inc ecx
add eax, 8
fstp qword [eax - 8]
mov edi, dword [esp + 0x4c]
cmp ecx, edi
jl 0x1002459e
mov esi, dword [esp + 0x48]
lea ecx, [ebx + 1]
mov eax, ecx
cmp ecx, esi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], eax
jge 0x10024611
mov edx, dword [esp + 0x44]
cmp ecx, edi
mov edx, dword [edx + eax*4]
fld qword [edx + ebx*8]
fstp qword [esp + 0x14]
jge 0x10024608
mov esi, dword [esp + 0x24]
lea eax, [edx + ecx*8]
sub esi, edx
fld qword [esp + 0x14]
fmul qword [esi + eax]
inc ecx
add eax, 8
fsubr qword [eax - 8]
fstp qword [eax - 8]
mov edi, dword [esp + 0x4c]
cmp ecx, edi
jl 0x100245e3
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, esi
mov dword [esp + 0x1c], eax
jl 0x100245c8
mov ebx, ecx
lea eax, [esi - 1]
cmp ebx, eax
jl 0x10024564
jmp 0x10024624
mov edi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x44]
dec esi
test esi, esi
mov eax, dword [ecx + esi*4 + 4]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], eax
jl 0x100246ea
mov ecx, 8
lea edx, [esi + 1]
lea ebx, [eax + esi*8]
sub ecx, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x24], ecx
jmp 0x1002465c
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x44]
lea ecx, [edi - 1]
fld qword [0x1003cba0]
mov edx, dword [eax + esi*4]
mov eax, dword [esp + 0x10]
cmp eax, ecx
jge 0x1002469d
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
add eax, ebx
mov ebx, dword [esp + 0x10]
add eax, edx
sub esi, edx
sub ecx, ebx
fld qword [esi + eax]
fmul qword [eax]
add eax, 8
dec ecx
faddp st(1)
jne 0x10024688
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
fld qword [edx + esi*8]
fabs
fcomp qword [0x1003d070]
fnstsw ax
test ah, 1
je 0x100246c0
mov dword [ebx], 0
mov dword [ebx + 4], 0
fstp st(0)
jmp 0x100246cd
fld qword [edx + edi*8 - 8]
fsub st(1)
fdiv qword [edx + esi*8]
fstp qword [ebx]
fstp st(0)
mov edx, dword [esp + 0x10]
dec esi
dec edx
sub ebx, 8
test esi, esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
jge 0x10024658
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x2c]
mov eax, dword [ecx + edx*4]
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0xc], edx
mov ecx, dword [eax + 0x10]
mov dword [esi + 0x10], ecx
mov edx, dword [eax + 0x14]
mov dword [esi + 0x14], edx
mov ecx, dword [eax + 0x18]
mov dword [esi + 0x18], ecx
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x30]
mov dword [esi + 0x1c], edx
call fcn.100263a0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx + eax*4]
mov edx, dword [eax]
mov dword [esi + 0x20], edx
mov ecx, dword [eax + 4]
mov dword [esi + 0x24], ecx
mov edx, dword [eax + 8]
mov dword [esi + 0x28], edx
mov ecx, dword [eax + 0xc]
mov dword [esi + 0x2c], ecx
mov edx, dword [eax + 0x10]
mov dword [esi + 0x30], edx
mov ecx, dword [eax + 0x14]
mov dword [esi + 0x34], ecx
mov edx, dword [eax + 0x18]
mov dword [esi + 0x38], edx
mov eax, dword [eax + 0x1c]
mov ecx, esi
mov dword [esi + 0x3c], eax
call fcn.100254c0
mov esi, 0x1003d080
lea ecx, [esp + 0x40]
mov byte [esp + 0x58], 0
mov dword [esp + 0x40], esi
call fcn.100263a0
lea ecx, [esp + 0x30]
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x30], esi
call fcn.100263a0
mov al, 1
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov esi, 0x1003d080
lea ecx, [esp + 0x40]
mov byte [esp + 0x58], 0
mov dword [esp + 0x40], esi
call fcn.100263a0
lea ecx, [esp + 0x30]
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x30], esi
call fcn.100263a0
mov ecx, dword [esp + 0x50]
pop edi
pop esi
xor al, al
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x1c