Function at 0x6e3970
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x81d1f6
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], 0x872a48
mov dword [ebx + 4], 0
mov dword [ebp - 4], 0
mov dword [ebx], 0x8a4670
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], 0x8a4614
mov dword [edi + 0xc], 0
mov byte [ebp - 4], 3
push 0x84
mov dword [edi + 4], 0x20
mov dword [ebp - 0x18], 0x20
call fcn.007965bb
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x6e3a4f
push fcn.00637d40
push 0x699fc0
push 0x20
lea esi, [eax + 4]
mov dword [eax], 0x20
push 4
push esi
call fcn.007e41d6
jmp 0x6e3a51
xor esi, esi
mov dword [edi + 8], esi
lea eax, [ebx + 0x50]
mov edi, dword [ebp + 8]
mov dword [eax], 0x89e1f4
mov dword [eax + 4], edi
test edi, edi
je 0x6e3c46
mov ecx, dword [edi + 0x1e8]
test ecx, ecx
je 0x6e3a7a
mov eax, dword [ecx + 4]
jmp 0x6e3a7c
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 0x6e3a92
mov edx, dword [ecx + 4]
jmp 0x6e3a94
xor edx, edx
mov dword [ebp - 0x14], edx
cmp edx, esi
je 0x6e3c33
jae 0x6e3c2c
test ecx, ecx
je 0x6e3aae
mov eax, dword [ecx + 8]
jmp 0x6e3ab0
xor eax, eax
cmp esi, eax
jbe 0x6e3bed
test eax, eax
je 0x6e3ac3
lea eax, [eax + eax*2]
shr eax, 1
jmp 0x6e3acf
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.007a1529
add esp, 8
mov dword [ebp - 0x18], eax
test eax, eax
je 0x6e3c33
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 0x6e3b33
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 0x6e3be2
lea ecx, [eax + 0xc]
mov eax, dword [ebp - 0x14]
lea esi, [eax*4]
test esi, esi
je 0x6e3bba
test edx, edx
jne 0x6e3b69
call fcn.007a0305
mov dword [eax], 0x16
jmp 0x6e3bb5
mov eax, dword [ebp - 0x10]
test ecx, ecx
je 0x6e3b81
cmp eax, esi
jb 0x6e3b81
push esi
push ecx
push edx
call fcn.00797610
add esp, 0xc
jmp 0x6e3bba
push eax
push 0
push edx
call fcn.00798110
mov eax, dword [edi + 0x1e8]
add esp, 0xc
add eax, 0xc
jne 0x6e3ba5
call fcn.007a0305
mov dword [eax], 0x16
jmp 0x6e3bb5
cmp dword [ebp - 0x10], esi
jae 0x6e3bba
call fcn.007a0305
mov dword [eax], 0x22
call fcn.0079b0c2
mov ecx, dword [edi + 0x1e8]
test ecx, ecx
je 0x6e3be2
or eax, 0xffffffff
lock xadd dword [ecx], eax
jne 0x6e3be2
mov dword [ecx + 4], 0
push dword [edi + 0x1e8]
call fcn.007a0961
add esp, 4
mov edx, dword [ebp - 0x18]
mov dword [edi + 0x1e8], edx
jmp 0x6e3c33
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 0x6e3c2c
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 0x6e3c33
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], 0x8a4660
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], 0x8a461c
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc