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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c64cb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x18
push esi
push edi
mov eax, dword [0x102a000c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov dword [edi + 0x10], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x44], 0x7f7fffff
mov dword [edi + 0x48], 0x7f7fffff
mov dword [edi + 0x4c], 0xff7fffff
mov dword [edi + 0x50], 0xff7fffff
mov dword [edi + 0x58], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x88], 0
mov dword [edi + 0x84], 0
mov dword [edi + 0xcc], 0
mov dword [edi + 0xc8], 0
mov dword [edi + 0xd4], 0
mov dword [edi + 0xd0], 0
movaps xmm0, xmmword [0x10295510]
mov dword [edi + 0xdc], 0
mov dword [edi + 0xd8], 0
mov dword [edi + 0xe4], 0
mov dword [edi + 0xec], 0
mov dword [edi + 0x118], 0x7f7fffff
mov dword [edi + 0x11c], 0xff7fffff
mov dword [edi + 0x120], 0xff7fffff
mov dword [edi + 0x130], 0
mov dword [edi + 0x12c], 0
mov dword [edi + 0x134], 0
mov dword [edi + 0x150], 0
mov dword [edi + 0x14c], 0
mov dword [edi + 0x154], 0
mov dword [edi + 0x15c], 0
mov dword [edi + 0x158], 0
mov dword [edi + 0x160], 0
mov dword [edi + 0x168], 0
mov dword [edi + 0x164], 0
mov dword [edi + 0x16c], 0
mov dword [edi + 0x174], 0
mov dword [edi + 0x170], 0
mov dword [edi + 0x178], 0
mov dword [edi + 0xf0], 0
mov eax, dword [edi + 0xf0]
mov dword [edi + 0xf4], 0
mov ecx, dword [edi + 0xf4]
movups xmmword [edi + 0x114], xmm0
mov dword [edi + 0xe8], eax
mov dword [edi + 0xec], ecx
xorps xmm0, xmm0
mov dword [edi + 0xe0], eax
mov dword [edi + 0xe4], ecx
mov dword [edi + 0xd8], eax
mov dword [edi + 0xdc], ecx
mov dword [edi + 0x100], 0
mov dword [edi + 0xf8], 0
mov dword [edi + 0x104], 0
mov dword [edi + 0xfc], 0
mov dword [edi + 0x108], 0xbf800000
mov dword [edi + 0x10c], 0
mov dword [edi + 0x110], 0
mov word [edi + 0x124], 0
mov dword [edi + 0x128], 0
mov dword [edi + 0x138], 0
mov dword [edi + 0x13c], 0
mov dword [edi + 0x144], 0
mov dword [edi + 0x140], 1
mov dword [edi + 0x148], 0xbf800000
movups xmmword [edi + 0x17c], xmm0
movq qword [edi + 0x18c], xmm0
mov dword [edi + 0x194], 0
mov dword [edi + 0x198], 0
mov dword [edi + 0x19c], 0
mov dword [edi + 0x1a0], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x1a8], 0
mov dword [edi + 0x1a4], 0
mov dword [edi + 0x1ac], 0
mov dword [edi + 0x1b0], 0x7f7fffff
lea eax, [edi + 0x1f8]
mov dword [edi + 0x1b4], 0x7f7fffff
mov dword [edi + 0x1b8], 0xff7fffff
mov dword [edi + 0x1bc], 0xff7fffff
mov dword [edi + 0x1c0], 0x7f7fffff
mov dword [edi + 0x1c4], 0x7f7fffff
mov dword [edi + 0x1c8], 0xff7fffff
mov dword [edi + 0x1cc], 0xff7fffff
push 0x40
mov dword [edi + 0x1d0], 0x7f7fffff
mov dword [edi + 0x1d4], 0x7f7fffff
mov dword [edi + 0x1d8], 0xff7fffff
mov dword [edi + 0x1dc], 0xff7fffff
push 0
push eax
mov dword [edi + 0x1e8], 0
mov dword [edi + 0x1f4], 0
mov dword [edi + 0x1f0], 0
mov dword [edi + 0x1ec], 0
call fcn.10022330
add esp, 0xc
mov dword [edi + 0x23c], 0
mov dword [edi + 0x238], 0
mov dword [edi + 0x240], 0
mov dword [edi + 0x248], 0
mov dword [edi + 0x244], 0
mov dword [edi + 0x24c], 0
mov esi, dword [ebx + 0xc]
mov byte [ebp - 4], 3
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1006aec3
mov eax, dword [0x102a0b70]
sub esi, ecx
inc esi
push esi
inc dword [eax + 0x310]
mov eax, dword [eax + 0xbc]
call eax
add esp, 4
push esi
mov esi, dword [ebx + 0xc]
push esi
push eax
call fcn.10022500
add esp, 0xc
mov dword [edi], eax
xor edx, edx
mov ecx, esi
push 0
call fcn.1006ce40
mov dword [edi + 4], eax
add esp, 4
mov ecx, dword [edi + 0x1a4]
mov eax, dword [edi + 0x1a8]
cmp ecx, eax
jne 0x1006afbb
lea esi, [ecx + 1]
test eax, eax
je 0x1006af2f
cdq
sub eax, edx
mov edx, dword [edi + 0x1a8]
sar eax, 1
add eax, edx
jmp 0x1006af3a
mov edx, dword [edi + 0x1a8]
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, edx
jle 0x1006afbb
mov ecx, dword [0x102a0b70]
lea eax, [esi*4]
push eax
mov eax, dword [ecx + 0xbc]
inc dword [ecx + 0x310]
call eax
mov edx, dword [edi + 0x1ac]
add esp, 4
mov dword [ebp - 0x18], eax
test edx, edx
je 0x1006af8b
mov ecx, dword [edi + 0x1a4]
shl ecx, 2
push ecx
push edx
push eax
call fcn.10022500
mov edx, dword [edi + 0x1ac]
add esp, 0xc
test edx, edx
mov eax, dword [0x102a0b70]
je 0x1006af98
dec dword [eax + 0x310]
mov eax, dword [eax + 0xc0]
push edx
call eax
mov eax, dword [ebp - 0x18]
add esp, 4
mov edx, dword [edi + 0x1a4]
mov dword [edi + 0x1ac], eax
mov dword [edi + 0x1a8], esi
jmp 0x1006afbd
mov edx, ecx
mov ecx, dword [edi + 0x1ac]
mov eax, dword [edi + 4]
mov dword [ecx + edx*4], eax
xor edx, edx
inc dword [edi + 0x1a4]
mov dword [edi + 0x14], 0
mov eax, dword [edi + 0x14]
mov dword [edi + 0x18], 0
mov ecx, dword [edi + 0x18]
mov dword [edi + 0x10], ecx
mov dword [edi + 0xc], eax
mov dword [edi + 0x24], 0
mov eax, dword [edi + 0x24]
mov dword [edi + 0x28], 0
mov ecx, dword [edi + 0x28]
mov dword [edi + 0x20], ecx
mov dword [edi + 0x1c], eax
mov dword [edi + 0x3c], 0
mov eax, dword [edi + 0x3c]
mov dword [edi + 0x40], 0
mov ecx, dword [edi + 0x40]
mov dword [edi + 0x38], ecx
mov dword [edi + 8], 0
mov dword [edi + 0x34], eax
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov ecx, dword [edi + 0x1a4]
mov eax, dword [edi + 0x1ac]
push dword [eax + ecx*4 - 4]
mov ecx, str.MOVE
call fcn.1006ce40
mov edx, dword [0x102a0b70]
add esp, 4
cmp dword [edx + 0x181c], eax
jne 0x1006b074
mov byte [edx + 0x1828], 1
mov dword [edi + 0x64], eax
mov dword [edi + 0xd0], 0x7f7fffff
mov eax, dword [edi + 0xd0]
mov dword [edi + 0xd4], 0x7f7fffff
mov ecx, dword [edi + 0xd4]
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0x7f7fffff
mov dword [edi + 0x74], 0x7f7fffff
mov dword [edi + 0x78], 0x3f000000
mov dword [edi + 0x7c], 0x3f000000
mov word [edi + 0x80], 0
mov dword [edi + 0x84], 0
mov dword [edi + 0x88], 0
mov dword [edi + 0x8c], 0
mov word [edi + 0x90], 0
mov byte [edi + 0x92], 0
mov dword [edi + 0x94], 0xffffffff
mov dword [edi + 0x98], 0xffffffff
mov dword [edi + 0x9c], 0
mov dword [edi + 0xa0], 0
mov dword [edi + 0xa8], 0xffffffff
mov dword [edi + 0xa4], 0xffffffff
mov byte [edi + 0xac], 0
mov dword [edi + 0xb0], 0
mov dword [edi + 0xb4], 0xffffffff
mov dword [edi + 0xb8], 0
mov dword [edi + 0xc4], 0xf
mov dword [edi + 0xc0], 0xf
mov dword [edi + 0xbc], 0xf
mov dword [edi + 0xc8], eax
mov dword [edi + 0xcc], ecx
mov dword [edi + 0x1e0], 0xffffffff
mov dword [edi + 0x1e4], 0
mov dword [edi + 0x250], 0x3f800000
mov eax, dword [edx + 0xbc]
inc dword [edx + 0x310]
push 0x74
call eax
mov ecx, eax
add esp, 4
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x11]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
mov byte [ebp - 4], 4
test ecx, ecx
je 0x1006b1dc
mov eax, dword [ebx + 8]
add eax, 0x1734
push eax
call fcn.100041d0
mov ecx, eax
jmp 0x1006b1de
xor ecx, ecx
mov eax, dword [edi]
mov dword [edi + 0x254], ecx
mov dword [ecx + 0x2c], eax
mov eax, edi
mov dword [edi + 0x258], 0
mov dword [edi + 0x25c], 0
mov dword [edi + 0x260], 0
mov dword [edi + 0x268], 0xffffffff
mov dword [edi + 0x264], 0xffffffff
mov dword [edi + 0x270], 0x7fffffff
mov dword [edi + 0x26c], 0x7fffffff
mov dword [edi + 0x278], 0x7fffffff
mov dword [edi + 0x274], 0x7fffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8