Function at 0x65c880
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x96e9a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8ec
push ebx
mov ebx, ecx
push esi
push edi
lea ecx, [esp + 0x30]
xor edi, edi
call fcn.00911f0c
lea ecx, [esp + 0x28]
mov dword [esp + 0x900], edi
call fcn.00911f0c
lea ecx, [esp + 0x24]
mov byte [esp + 0x900], 1
call fcn.00911f0c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x900], 2
call fcn.00911f0c
lea ecx, [esp + 0xc]
mov byte [esp + 0x900], 3
call fcn.00911f0c
push edi
lea ecx, [esp + 0x3c]
mov byte [esp + 0x904], 4
call fcn.00735050
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
mov ecx, ebx
mov byte [esp + 0x90c], 5
call fcn.00651450
mov esi, eax
cmp esi, edi
jle 0x65cb69
push esi
mov ecx, ebx
call fcn.00650c80
mov eax, dword [ebx + 0xb08]
mov ecx, ebx
push eax
call fcn.00650d20
push esi
mov ecx, ebx
call fcn.00651550
cmp eax, edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edi
jle 0x65cb65
inc esi
mov dword [esp + 0x10], esi
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, ebx
call fcn.00650c80
fld qword [ebx + 0x24770]
call fcn.00912a20
mov esi, eax
mov ecx, ebx
push esi
mov dword [esp + 0x20], esi
call fcn.0064d650
push esi
mov ecx, ebx
call fcn.0064d5d0
cmp dword [0xa8e74c], 1
jne 0x65c9bf
mov eax, dword [0xa8e7a0]
cmp esi, eax
jle 0x65c9af
sub esi, eax
mov ecx, ebx
push esi
call fcn.00661bf0
fld qword [ebx + 0x25b18]
jmp 0x65c9c5
push esi
mov ecx, ebx
call fcn.00661850
fld qword [ebx + 0x25b18]
jmp 0x65c9c5
fld qword [ebx + 0x25b10]
mov edx, dword [ebx + 0x25600]
mov eax, dword [ebx + 0x25b10]
mov ecx, dword [ebx + 0x25b14]
mov dword [ebx + 0x4eac], edx
mov edx, dword [ebx + 0x24778]
mov dword [ebx + 0x4f28], eax
mov eax, dword [ebx + 0x2477c]
mov dword [ebx + 0x4f18], edx
fstp qword [ebx + 0x4f30]
mov dword [ebx + 0x4f2c], ecx
mov dword [ebx + 0x4f1c], eax
lea edi, [ebx + 0x25650]
or ecx, 0xffffffff
xor eax, eax
mov byte [ebx + 0x4f13], 0x59
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
lea edi, [ebx + 0x4f08]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ax, word [ebx + 0x25604]
lea edi, [ebx + 0x25631]
mov word [ebx + 0x4eb8], ax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea eax, [ebx + 0x25608]
mov edx, ecx
mov esi, edi
lea edi, [ebx + 0x4ee9]
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.00911f06
lea eax, [esp + 0xc]
lea ecx, [esp + 0x34]
push eax
push 0xa81284
push ecx
call fcn.00912362
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x904], 6
call fcn.00911f3c
lea ecx, [esp + 0x34]
mov byte [esp + 0x900], 5
call fcn.00911ee2
mov edi, dword [esp + 0xc]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
lea edi, [ebx + 0x4ec0]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ax, word [ebx + 0x2565c]
mov ecx, dword [esp + 0x1c]
mov word [ebx + 0x4ebc], ax
xor eax, eax
mov word [ebx + 0x4ebe], ax
mov word [ebx + 0x4eba], ax
mov dword [ebx + 0x4ea8], ecx
fld qword [ebp + 0x18]
fmul qword [ebx + 0x5210]
push 3
mov ecx, ebx
fmul qword [ebx + 0x24778]
fst qword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
fstp qword [ebx + 0x4f20]
push edx
push eax
call fcn.00614330
mov esi, dword [esp + 0x14]
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x20]
fstp qword [ebx + 0x4f20]
lea eax, [esi + edx]
mov dword [ebx + 0x4eb4], ecx
push eax
mov ecx, ebx
call fcn.0061fae0
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
inc esi
inc ecx
cmp esi, eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ecx
jl 0x65c95e
mov edi, dword [esp + 0x18]
push fcn.00911ee2
push 0x12d
lea ecx, [esp + 0xa4]
push 4
push ecx
mov byte [esp + 0x910], 7
call fcn.009128f2
lea ecx, [esp + 0x38]
mov byte [esp + 0x900], 4
call fcn.00911f36
lea ecx, [esp + 0xc]
mov byte [esp + 0x900], 3
call fcn.00911ee2
lea ecx, [esp + 0x2c]
mov byte [esp + 0x900], 2
call fcn.00911ee2
lea ecx, [esp + 0x24]
mov byte [esp + 0x900], 1
call fcn.00911ee2
lea ecx, [esp + 0x28]
mov byte [esp + 0x900], 0
call fcn.00911ee2
lea ecx, [esp + 0x30]
mov dword [esp + 0x900], 0xffffffff
call fcn.00911ee2
mov ecx, dword [esp + 0x8f8]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x1c