Function at 0x6fe544
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x10], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x6fe854
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebx + 0xf8]
mov eax, ebx
call fcn.006ffc8c
mov byte [0x756788], 1
call fcn.0040cb8c
fstp qword [0x7574fc]
wait
call fcn.0040cbb8
fstp qword [0x757504]
wait
mov eax, dword [ebx + 0x30]
call fcn.006fac74
xor eax, eax
mov dword [0x756784], eax
xor eax, eax
mov dword [0x756780], eax
mov dword [0x756778], ebx
mov dword [0x756774], ebx
cmp word [ebx + 0x11e], 1
sbb eax, eax
inc eax
mov byte [ebx + 0xec], al
mov eax, dword [0x75675c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], fcn.006fca2c
mov eax, dword [0x75675c]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x6fd0f8
mov byte [ebp - 1], 0
mov eax, ebx
mov edx, dword [0x6e4f30]
call fcn.00403f1c
test al, al
je 0x6fe736
mov dl, 1
mov eax, dword [0x41ce20]
call fcn.00403d60
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x168]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x6fe669
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
mov dl, 1
mov eax, dword [0x41d944]
call fcn.00403d60
mov esi, eax
mov edx, esi
mov eax, dword [ebp - 8]
call fcn.0041f9f0
mov eax, dword [ebx + 0x168]
mov edx, dword [ebp - 0x14]
call fcn.0041fb9c
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.006fe0f0
cmp word [edi + 0x5a], 0
je 0x6fe661
mov eax, dword [edi + 0x5c]
call dword [edi + 0x58]
inc dword [ebp - 0x14]
dec dword [ebp - 0x18]
jne 0x6fe623
cmp word [ebx + 0x5a], 0
je 0x6fe676
mov eax, dword [ebx + 0x5c]
call dword [ebx + 0x58]
mov al, 1
cmp dword [0x756758], 0
je 0x6fe692
mov eax, ebx
call fcn.006fee54
mov eax, dword [0x756758]
mov edx, dword [eax]
call dword [edx + 0x18]
test al, al
je 0x6fe6a0
mov eax, ebx
call fcn.006fe868
mov byte [ebp - 1], al
cmp word [ebx + 0x62], 0
je 0x6fe6ad
mov eax, dword [ebx + 0x64]
call dword [ebx + 0x60]
mov al, byte [0x757491]
mov byte [ebp - 9], al
lea eax, [ebp - 0x10]
mov edx, dword [0x757494]
call fcn.00404cf8
mov eax, dword [ebx + 0x168]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x6fe729
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.0041fb9c
mov esi, eax
push 0
push 0
mov eax, esi
call fcn.00422d3c
mov eax, dword [ebx + 0x168]
mov edx, dword [ebp - 0x14]
call fcn.0041fb9c
mov edi, eax
cmp word [edi + 0x62], 0
je 0x6fe711
mov eax, dword [edi + 0x64]
call dword [edi + 0x60]
mov edx, esi
mov eax, edi
call fcn.006fdb10
mov eax, esi
call fcn.00403d90
inc dword [ebp - 0x14]
dec dword [ebp - 0x18]
jne 0x6fe6dc
mov eax, dword [ebp - 8]
call fcn.00403d90
jmp 0x6fe7c2
mov dl, 1
mov eax, dword [0x41d944]
call fcn.00403d60
mov esi, eax
mov edx, esi
mov eax, ebx
call fcn.006fe0f0
cmp word [ebx + 0x5a], 0
je 0x6fe75a
mov eax, dword [ebx + 0x5c]
call dword [ebx + 0x58]
mov al, 1
cmp dword [0x756758], 0
je 0x6fe776
mov eax, ebx
call fcn.006fee54
mov eax, dword [0x756758]
mov edx, dword [eax]
call dword [edx + 0x18]
test al, al
je 0x6fe784
mov eax, ebx
call fcn.006fe868
mov byte [ebp - 1], al
cmp word [ebx + 0x62], 0
je 0x6fe791
mov eax, dword [ebx + 0x64]
call dword [ebx + 0x60]
mov al, byte [0x757491]
mov byte [ebp - 9], al
lea eax, [ebp - 0x10]
mov edx, dword [0x757494]
call fcn.00404cf8
push 0
push 0
mov eax, esi
call fcn.00422d3c
mov edx, esi
mov eax, ebx
call fcn.006fdb10
mov eax, esi
call fcn.00403d90
mov byte [ebx + 0x120], 0
mov al, byte [ebp - 1]
and al, byte [0x757557]
je 0x6fe7d8
mov byte [ebp - 1], 0
cmp byte [ebp - 9], 0
je 0x6fe817
push 0x10
lea edx, [ebp - 0x1c]
mov eax, 0xd7a6
call fcn.006e029c
mov eax, dword [ebp - 0x1c]
call fcn.00405120
push eax
mov eax, dword [ebp - 0x10]
call fcn.00405120
mov edx, eax
mov eax, dword [0x7534c4]
mov eax, dword [eax]
pop ecx
call fcn.00477268
mov eax, dword [ebx + 0x34]
call fcn.006f5360
jmp 0x6fe828
cmp byte [0x757557], 0
je 0x6fe828
mov eax, dword [ebx + 0x34]
call fcn.006f5360
mov byte [0x756789], 0
xor eax, eax
mov dword [0x756780], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6fe85b
lea eax, [ebp - 0x1c]
call fcn.00404c60
lea eax, [ebp - 0x10]
call fcn.00404c60
ret