Function at 0x10029c00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101f667d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x102f0d80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx]
mov esi, dword [ebx + 0xc]
mov dword [ebp - 0x10], esi
mov eax, dword [eax + 0x30]
call eax
test al, al
je 0x10029c69
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.1000bc50
mov esi, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [eax], 0
mov dword [esi], ecx
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x10029dfc
mov eax, dword [ecx]
push 1
call dword [eax]
jmp 0x10029dfc
mov ecx, dword [ebx + 0x18]
mov eax, dword [ebx + 0x1c]
cmp ecx, eax
jne 0x10029ca4
push dword [ebx + 0x14]
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.1000b880
mov esi, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [eax], 0
mov dword [esi], ecx
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x10029dfc
mov edx, dword [ecx]
push 1
call dword [edx]
jmp 0x10029dfc
sub eax, ecx
mov dword [ebp - 0x28], 0
sar eax, 2
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
lea esi, [eax + 1]
mov dword [ebp - 0x14], esi
test esi, esi
je 0x10029d38
cmp esi, 0x3fffffff
ja 0x10029e12
shl esi, 2
cmp esi, 0x1000
jb 0x10029d0b
lea eax, [esi + 0x23]
cmp eax, esi
jbe 0x10029e17
push eax
call fcn.1011bae3
add esp, 4
test eax, eax
je 0x10029e1c
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
lea edx, [esi + edi]
mov eax, edi
jmp 0x10029d26
test esi, esi
je 0x10029d1f
push esi
call fcn.1011bae3
add esp, 4
mov edi, eax
lea edx, [esi + eax]
jmp 0x10029d26
xor edi, edi
mov eax, edi
lea edx, [eax + esi]
mov ecx, edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], ecx
xor eax, eax
mov ecx, dword [ebp - 0x14]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x24], edx
push dword [ebx + 0x14]
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 4], 0
call fcn.1000b880
mov esi, dword [ebp - 0x28]
mov edx, dword [eax]
mov dword [eax], 0
mov ecx, dword [esi]
mov dword [esi], edx
test ecx, ecx
je 0x10029d67
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x10029d74
mov eax, dword [ecx]
push 1
call dword [eax]
mov edi, dword [ebx + 0x1c]
xor esi, esi
sub edi, dword [ebx + 0x18]
sar edi, 2
test edi, edi
je 0x10029dca
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebp - 0x10]
push dword [eax + esi*4]
lea eax, [ebp - 0x14]
push eax
call fcn.1000b880
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
mov dword [eax], 0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x10029dad
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov ecx, dword [eax + esi*4 + 4]
mov dword [eax + esi*4 + 4], edx
test ecx, ecx
je 0x10029dc5
mov eax, dword [ecx]
push 1
call dword [eax]
inc esi
cmp esi, edi
jb 0x10029d83
mov ecx, dword [ebx + 0xc]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1000bb50
mov esi, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [eax], 0
mov dword [esi], ecx
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x10029df4
mov edx, dword [ecx]
push 1
call dword [edx]
lea ecx, [ebp - 0x28]
call fcn.1000a870
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.10005100
call fcn.10003729
call fcn.1012886a
int3