Function at 0x6e5df0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x81f616
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
mov ebx, ecx
mov dword [ebp - 0x20], ebx
push esi
push edi
mov dword [ebx], 0x876ed0
mov dword [ebx + 4], 0
mov dword [ebp - 4], 0
mov dword [ebx], 0x8a8abc
mov dword [ebx + 8], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov byte [ebx + 0x20], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov byte [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov word [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
lea edi, [ebx + 0x40]
mov dword [ebp - 0x1c], edi
mov dword [edi], 0x8a8aa4
mov dword [edi + 0xc], 0
mov byte [ebp - 4], 3
push 0x84
mov dword [edi + 4], 0x20
mov dword [ebp - 0x18], 0x20
call fcn.00403650
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x6e5ecf
push fcn.006398d0
push 0x69c2c0
push 0x20
lea esi, [eax + 4]
mov dword [eax], 0x20
push 4
push esi
call fcn.007e6666
jmp 0x6e5ed1
xor esi, esi
mov dword [edi + 8], esi
lea eax, [ebx + 0x50]
mov edi, dword [ebp + 8]
mov dword [eax], 0x8a2688
mov dword [eax + 4], edi
test edi, edi
je 0x6e60c6
mov ecx, dword [edi + 0x1e8]
test ecx, ecx
je 0x6e5efa
mov eax, dword [ecx + 4]
jmp 0x6e5efc
xor eax, eax
lea esi, [eax + 1]
mov dword [ebp - 0x1c], eax
xor eax, eax
test esi, esi
cmovs esi, eax
test ecx, ecx
je 0x6e5f12
mov edx, dword [ecx + 4]
jmp 0x6e5f14
xor edx, edx
mov dword [ebp - 0x14], edx
cmp edx, esi
je 0x6e60b3
jae 0x6e60ac
test ecx, ecx
je 0x6e5f2e
mov eax, dword [ecx + 8]
jmp 0x6e5f30
xor eax, eax
cmp esi, eax
jbe 0x6e606d
test eax, eax
je 0x6e5f43
lea eax, [eax + eax*2]
shr eax, 1
jmp 0x6e5f4f
mov ecx, 4
mov eax, esi
cmp esi, ecx
cmovl eax, ecx
cmp eax, esi
mov ecx, esi
push 1
cmovae ecx, eax
mov dword [ebp - 0x10], ecx
lea eax, [ecx*4 + 0xc]
push eax
call fcn.007a3999
add esp, 8
mov dword [ebp - 0x18], eax
test eax, eax
je 0x6e60b3
mov ecx, dword [ebp - 0x10]
mov dword [eax + 8], ecx
mov ecx, 1
xchg dword [eax], ecx
lea ecx, [esi*4]
mov dword [ebp - 0x20], 0
lea edx, [eax + 0xc]
mov dword [ebp - 0x10], ecx
lea eax, [edx + ecx]
add ecx, 3
shr ecx, 2
cmp edx, eax
cmova ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x6e5fb3
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 0x18]
mov dword [eax + 4], esi
mov eax, dword [edi + 0x1e8]
test eax, eax
je 0x6e6062
lea ecx, [eax + 0xc]
mov eax, dword [ebp - 0x14]
lea esi, [eax*4]
test esi, esi
je 0x6e603a
test edx, edx
jne 0x6e5fe9
call fcn.007a2775
mov dword [eax], 0x16
jmp 0x6e6035
mov eax, dword [ebp - 0x10]
test ecx, ecx
je 0x6e6001
cmp eax, esi
jb 0x6e6001
push esi
push ecx
push edx
call fcn.00799a80
add esp, 0xc
jmp 0x6e603a
push eax
push 0
push edx
call fcn.0079a580
mov eax, dword [edi + 0x1e8]
add esp, 0xc
add eax, 0xc
jne 0x6e6025
call fcn.007a2775
mov dword [eax], 0x16
jmp 0x6e6035
cmp dword [ebp - 0x10], esi
jae 0x6e603a
call fcn.007a2775
mov dword [eax], 0x22
call fcn.0079d532
mov ecx, dword [edi + 0x1e8]
test ecx, ecx
je 0x6e6062
or eax, 0xffffffff
lock xadd dword [ecx], eax
jne 0x6e6062
mov dword [ecx + 4], 0
push dword [edi + 0x1e8]
call fcn.007a2dd1
add esp, 4
mov edx, dword [ebp - 0x18]
mov dword [edi + 0x1e8], edx
jmp 0x6e60b3
lea eax, [ecx + 0xc]
mov dword [ebp - 0x20], 0
lea eax, [eax + edx*4]
mov dword [ebp - 0x10], eax
mov eax, esi
sub eax, edx
mov edx, dword [ebp - 0x10]
shl eax, 2
add edx, eax
add eax, 3
shr eax, 2
cmp dword [ebp - 0x10], edx
cmova eax, dword [ebp - 0x20]
test eax, eax
je 0x6e60ac
mov edi, dword [ebp - 0x10]
mov ecx, eax
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x1e8]
test ecx, ecx
je 0x6e60b3
mov dword [ecx + 4], esi
mov eax, dword [edi + 0x1e8]
lea ecx, [ebx + 0x50]
mov edx, dword [ebp - 0x1c]
mov dword [eax + edx*4 + 0xc], ecx
lea eax, [ebx + 0x50]
mov ecx, dword [ebp - 0xc]
mov dword [eax], 0x8a8aac
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x58], eax
mov eax, dword [ebp + 0x10]
pop edi
mov dword [ebx + 0x5c], eax
mov eax, ebx
mov dword [ebx], 0x8a8b00
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc