Function at 0x64eec1
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1284
call fcn.006514f4
push ebx
push esi
mov esi, dword [0x48581004]
push edi
push 0x48581420
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
mov dword [ebp - 8], ebx
call esi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x38]
push eax
mov edi, 0xf003f
push edi
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x38], 0x18
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x2c], 0x40
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
call dword [0x48581038]
lea eax, [ebp - 0x58]
push eax
push 0x1020
lea eax, [ebp - 0x1284]
push eax
push ebx
mov dword [ebp - 0x18], ebx
push ebx
jmp 0x64f1dd
mov eax, dword [ebp - 0x1278]
shr eax, 1
mov word [ebp + eax*2 - 0x1274], bx
lea eax, [ebp - 0x1274]
push eax
lea eax, [ebp - 0x14]
push eax
call esi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x38]
push eax
push edi
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x38], 0x18
mov dword [ebp - 0x2c], 0x40
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
call dword [0x48581038]
cmp eax, ebx
jl 0x64f380
push 0x485813fc
lea eax, [ebp - 0x14]
push eax
call esi
lea eax, [ebp - 0x20]
push eax
push ebx
push ebx
push 2
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x44]
call dword [0x48581034]
cmp eax, 0xc0000034
mov dword [ebp - 4], eax
je 0x64efb3
mov dword [ebp - 4], ebx
cmp dword [ebp - 4], ebx
jl 0x64f01c
cmp dword [ebp - 8], ebx
je 0x64efd3
push dword [ebp - 8]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push dword [eax + 0x18]
call dword [0x48581030]
mov ecx, dword [ebp - 0x20]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
add ecx, 0x10
push ecx
push ebx
push dword [eax + 0x18]
call dword [0x4858102c]
cmp eax, ebx
mov dword [ebp - 8], eax
jne 0x64effb
mov dword [ebp - 4], 0xc0000017
cmp dword [ebp - 4], ebx
jl 0x64f01c
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 0x14]
push dword [ebp - 8]
push 2
push eax
push dword [ebp - 0x44]
call dword [0x48581034]
mov dword [ebp - 4], eax
push dword [ebp - 0x44]
call dword [0x48581028]
mov dword [ebp - 0x1c], ebx
cmp dword [ebp - 4], ebx
jl 0x64f1b9
mov edx, 0x48586040
xor eax, eax
mov edi, edx
mov ecx, 0x208
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 8]
push 0x40f
add eax, 0xc
push eax
push edx
call fcn.006514ee
add esp, 0xc
push 0x48586040
lea eax, [ebp - 0x14]
push eax
call esi
mov eax, dword fs:[0x18]
push 0x208
mov word [ebp - 0x40], bx
mov word [ebp - 0x3e], 0x208
mov eax, dword [eax + 0x30]
push ebx
push dword [eax + 0x18]
call dword [0x4858102c]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0x3c], edi
je 0x64f18d
movzx ecx, word [ebp - 0x3e]
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
push ebx
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
call dword [0x48581020]
test eax, eax
jl 0x64f177
mov eax, dword [ebp - 0x1c]
movzx edi, word [ebp - 0x40]
mov eax, dword [ebp + eax*4 - 0x54]
push eax
mov dword [ebp - 4], edi
call fcn.006514e8
lea eax, [edi + eax*2]
cmp eax, 0x820
pop ecx
jae 0x64f177
mov esi, dword [ebp - 0x3c]
xor eax, eax
mov word [ebp - 0x264], bx
mov ecx, 0x81
lea edi, [ebp - 0x262]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 4]
stosw word es:[edi], ax
mov eax, ecx
mov edx, 0x48586040
shr ecx, 2
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
shr eax, 1
rep movsb byte es:[edi], byte [esi]
mov word [eax*2 + 0x48586040], bx
mov eax, dword [ebp - 0x1c]
push dword [ebp + eax*4 - 0x54]
push edx
call fcn.006514e2
mov ax, word [0x48586040]
pop ecx
pop ecx
mov word [ebp - 0x4c], ax
push 0x104
lea eax, [ebp - 0x264]
push eax
mov word [ebp - 0x4a], 0x3a
push dword [ebp - 0x4c]
mov word [ebp - 0x48], bx
call fcn.006504b4
test eax, eax
jl 0x64f171
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0x410
push 0x48586040
call fcn.006503ca
mov esi, dword [0x48581004]
push dword [ebp - 0x3c]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push dword [eax + 0x18]
call dword [0x48581030]
push 0x48586040
mov edi, 0x485813c8
push edi
call fcn.0064fc18
cmp eax, ebx
mov dword [ebp - 4], eax
jl 0x64f1b4
push edi
call fcn.00650d8a
push ebx
push edi
mov dword [ebp - 4], eax
call fcn.0064fc18
mov edi, 0xf003f
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 2
jb 0x64f028
inc dword [ebp - 0x18]
lea eax, [ebp - 0x58]
push eax
push 0x1020
lea eax, [ebp - 0x1284]
push eax
push ebx
push dword [ebp - 0x18]
push dword [ebp - 0xc]
mov dword [ebp - 0x54], 0x485813b0
mov dword [ebp - 0x50], 0x48581330
call dword [0x48581014]
cmp eax, ebx
jge 0x64ef32
push dword [ebp - 0xc]
call dword [0x48581028]
push 0x485812c8
lea eax, [ebp - 0x14]
push eax
call esi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x38]
push eax
push edi
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x38], 0x18
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x2c], 0x40
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
call dword [0x48581038]
push 0x485812a0
lea eax, [ebp - 0x14]
push eax
call esi
lea eax, [ebp - 0x20]
push eax
push ebx
push ebx
push 2
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0xc]
call dword [0x48581034]
cmp eax, 0xc0000034
mov dword [ebp - 4], eax
je 0x64f269
mov dword [ebp - 4], ebx
cmp dword [ebp - 4], ebx
jl 0x64f2fc
cmp dword [ebp - 8], ebx
je 0x64f28d
push dword [ebp - 8]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push dword [eax + 0x18]
call dword [0x48581030]
mov ecx, dword [ebp - 0x20]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
add ecx, 0x10
push ecx
push ebx
push dword [eax + 0x18]
call dword [0x4858102c]
cmp eax, ebx
mov dword [ebp - 8], eax
jne 0x64f2b5
mov dword [ebp - 4], 0xc0000017
cmp dword [ebp - 4], ebx
jl 0x64f2fc
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 0x14]
push dword [ebp - 8]
push 2
push eax
push dword [ebp - 0xc]
call dword [0x48581034]
test eax, eax
jl 0x64f2fc
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
push 4
sub eax, 0xa00000
push 4
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 0x485812a0
push 0x485812c8
call fcn.0064fb5c
push dword [ebp - 0xc]
call dword [0x48581028]
push 0x48581218
lea eax, [ebp - 0x14]
push eax
call esi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x38]
push eax
push edi
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x38], 0x18
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x2c], 0x40
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
call dword [0x48581038]
cmp eax, ebx
jl 0x64f380
push 0x485811fc
lea eax, [ebp - 0x14]
push eax
call esi
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0xc]
call dword [0x48581010]
push dword [ebp - 0xc]
mov esi, eax
call dword [0x48581028]
cmp dword [ebp - 8], ebx
je 0x64f37e
push dword [ebp - 8]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push dword [eax + 0x18]
call dword [0x48581030]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret