Function at 0x1000af60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10047822
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov ebx, ecx
push ebp
push esi
push edi
lea esi, [ebx + 4]
xor edi, edi
mov dword [esp + 0x1c], ebx
mov dword [esi], 0x1004bb6c
mov dword [esi + 4], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0xc], edi
mov dword [esi + 8], edi
mov dword [esp + 0x28], edi
mov dword [ebx + 0x18], 0x1004bb6c
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x28], edi
mov dword [ebx + 0x24], edi
mov dword [ebx + 0x20], edi
mov eax, dword [0x1005a810]
lea ecx, [ebx + 0x2c]
mov dword [ecx], eax
mov edx, dword [0x1005a810]
mov dword [ebx + 0x30], edx
mov eax, dword [0x1005a810]
mov dword [ebx + 0x34], eax
mov edx, dword [0x1005a810]
mov dword [ebx + 0x38], edx
mov ebp, dword [esp + 0x30]
mov byte [esp + 0x28], 5
mov dword [ebx], 0x1004bb68
lea eax, [ebp + 0x2c]
push eax
call fcn.10036dda
lea ecx, [ebp + 0x34]
push ecx
lea ecx, [ebx + 0x34]
call fcn.10036dda
lea edx, [ebp + 0x30]
lea ecx, [ebx + 0x30]
push edx
call fcn.10036dda
lea eax, [ebp + 0x38]
lea ecx, [ebx + 0x38]
push eax
call fcn.10036dda
push 0xffffffffffffffff
push edi
mov ecx, esi
call fcn.1000b4e0
mov eax, dword [esi + 8]
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x30], eax
add eax, edx
push 0xffffffffffffffff
push eax
mov ecx, esi
call fcn.1000b4e0
mov ecx, dword [esi + 4]
mov esi, dword [esp + 0x30]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
lea ecx, [ecx + esi*4]
mov esi, eax
dec eax
test esi, esi
je 0x1000b055
inc eax
mov esi, dword [edx]
add edx, 4
mov dword [ecx], esi
add ecx, 4
dec eax
jne 0x1000b048
mov edx, dword [ebx + 0x20]
mov eax, dword [ebp + 0x20]
mov esi, edx
mov dword [esp + 0x18], edx
add esi, eax
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x10], esi
jne 0x1000b087
cmp eax, edi
je 0x1000b07c
push eax
call fcn.10035c00
add esp, 4
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x24], edi
mov dword [ebx + 0x20], edi
jmp 0x1000b17b
cmp eax, edi
jne 0x1000b0bf
lea edi, [esi*4]
push edi
call fcn.10035bd7
mov edx, eax
mov ecx, edi
mov dword [ebx + 0x1c], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebx + 0x24], esi
mov dword [ebx + 0x20], esi
jmp 0x1000b17b
mov ecx, dword [ebx + 0x24]
cmp esi, ecx
jg 0x1000b0e0
cmp esi, edx
jle 0x1000b0d8
mov ecx, esi
sub ecx, edx
lea edx, [eax + edx*4]
push ecx
push edx
call fcn.1000b620
mov dword [ebx + 0x20], esi
jmp 0x1000b17b
mov eax, dword [ebx + 0x28]
cmp eax, edi
jne 0x1000b10a
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x1000b0fe
mov eax, 4
jmp 0x1000b10a
cmp eax, 0x400
jle 0x1000b10a
mov eax, 0x400
add eax, ecx
cmp esi, eax
mov dword [esp + 0x30], eax
jl 0x1000b118
mov dword [esp + 0x30], esi
mov eax, dword [esp + 0x30]
lea ecx, [eax*4]
push ecx
call fcn.10035bd7
mov ecx, dword [ebx + 0x20]
mov esi, dword [ebx + 0x1c]
shl ecx, 2
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add esp, 4
and ecx, 3
mov dword [esp + 0x14], eax
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x10]
mov ecx, dword [ebx + 0x20]
mov edx, esi
sub edx, ecx
lea eax, [eax + ecx*4]
push edx
push eax
call fcn.1000b620
mov ecx, dword [ebx + 0x1c]
push ecx
call fcn.10035c00
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x34]
add esp, 4
mov dword [ebx + 0x1c], edx
mov dword [ebx + 0x20], esi
mov dword [ebx + 0x24], eax
mov edx, dword [ebx + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0x20]
mov ebp, dword [ebp + 0x1c]
lea eax, [edx + eax*4]
mov edx, ecx
dec ecx
test edx, edx
je 0x1000b1a1
inc ecx
mov edx, dword [ebp]
add ebp, 4
mov dword [eax], edx
add eax, 4
dec ecx
jne 0x1000b193
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4