Function at 0x5b74d8
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 0x5b77e8
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebx + 0xf8]
mov eax, ebx
call fcn.005b8c34
mov byte [0x6f3b18], 1
call fcn.0040bd38
fstp qword [0x6f4898]
wait
call fcn.0040bd64
fstp qword [0x6f48a0]
wait
mov eax, dword [ebx + 0x30]
call fcn.005b2cdc
xor eax, eax
mov dword [0x6f3b14], eax
xor eax, eax
mov dword [0x6f3b10], eax
mov dword [0x6f3b08], ebx
mov dword [0x6f3b04], ebx
cmp word [ebx + 0x11e], 1
sbb eax, eax
inc eax
mov byte [ebx + 0xec], al
mov eax, dword [0x6f3aec]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], fcn.005b5460
mov eax, dword [0x6f3aec]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x5b5b2c
mov byte [ebp - 1], 0
mov eax, ebx
mov edx, dword [0x59cc74]
call fcn.00403af8
test al, al
je 0x5b76ca
mov dl, 1
mov eax, dword [0x41cd24]
call fcn.0040393c
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x168]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x5b75fd
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
mov dl, 1
mov eax, dword [0x41d678]
call fcn.0040393c
mov esi, eax
mov edx, esi
mov eax, dword [ebp - 8]
call fcn.0041f588
mov eax, dword [ebx + 0x168]
mov edx, dword [ebp - 0x14]
call fcn.0041f734
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.005b6b20
cmp word [edi + 0x5a], 0
je 0x5b75f5
mov eax, dword [edi + 0x5c]
call dword [edi + 0x58]
inc dword [ebp - 0x14]
dec dword [ebp - 0x18]
jne 0x5b75b7
cmp word [ebx + 0x5a], 0
je 0x5b760a
mov eax, dword [ebx + 0x5c]
call dword [ebx + 0x58]
mov al, 1
cmp dword [0x6f3ae8], 0
je 0x5b7626
mov eax, ebx
call fcn.005b7e00
mov eax, dword [0x6f3ae8]
mov edx, dword [eax]
call dword [edx + 0x18]
test al, al
je 0x5b7634
mov eax, ebx
call fcn.005b77fc
mov byte [ebp - 1], al
cmp word [ebx + 0x62], 0
je 0x5b7641
mov eax, dword [ebx + 0x64]
call dword [ebx + 0x60]
mov al, byte [0x6f4825]
mov byte [ebp - 9], al
lea eax, [ebp - 0x10]
mov edx, dword [0x6f4828]
call fcn.00404878
mov eax, dword [ebx + 0x168]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x5b76bd
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.0041f734
mov esi, eax
push 0
push 0
mov eax, esi
call fcn.004223a8
mov eax, dword [ebx + 0x168]
mov edx, dword [ebp - 0x14]
call fcn.0041f734
mov edi, eax
cmp word [edi + 0x62], 0
je 0x5b76a5
mov eax, dword [edi + 0x64]
call dword [edi + 0x60]
mov edx, esi
mov eax, edi
call fcn.005b6544
mov eax, esi
call fcn.0040396c
inc dword [ebp - 0x14]
dec dword [ebp - 0x18]
jne 0x5b7670
mov eax, dword [ebp - 8]
call fcn.0040396c
jmp 0x5b7756
mov dl, 1
mov eax, dword [0x41d678]
call fcn.0040393c
mov esi, eax
mov edx, esi
mov eax, ebx
call fcn.005b6b20
cmp word [ebx + 0x5a], 0
je 0x5b76ee
mov eax, dword [ebx + 0x5c]
call dword [ebx + 0x58]
mov al, 1
cmp dword [0x6f3ae8], 0
je 0x5b770a
mov eax, ebx
call fcn.005b7e00
mov eax, dword [0x6f3ae8]
mov edx, dword [eax]
call dword [edx + 0x18]
test al, al
je 0x5b7718
mov eax, ebx
call fcn.005b77fc
mov byte [ebp - 1], al
cmp word [ebx + 0x62], 0
je 0x5b7725
mov eax, dword [ebx + 0x64]
call dword [ebx + 0x60]
mov al, byte [0x6f4825]
mov byte [ebp - 9], al
lea eax, [ebp - 0x10]
mov edx, dword [0x6f4828]
call fcn.00404878
push 0
push 0
mov eax, esi
call fcn.004223a8
mov edx, esi
mov eax, ebx
call fcn.005b6544
mov eax, esi
call fcn.0040396c
mov byte [ebx + 0x120], 0
mov al, byte [ebp - 1]
and al, byte [0x6f48f3]
je 0x5b776c
mov byte [ebp - 1], 0
cmp byte [ebp - 9], 0
je 0x5b77ab
push 0x10
lea edx, [ebp - 0x1c]
mov eax, 0xd7a6
call fcn.00580650
mov eax, dword [ebp - 0x1c]
call fcn.00404cb0
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404cb0
mov edx, eax
mov eax, dword [0x6f1440]
mov eax, dword [eax]
pop ecx
call fcn.0049e6a8
mov eax, dword [ebx + 0x34]
call fcn.005ad3e4
jmp 0x5b77bc
cmp byte [0x6f48f3], 0
je 0x5b77bc
mov eax, dword [ebx + 0x34]
call fcn.005ad3e4
mov byte [0x6f3b19], 0
xor eax, eax
mov dword [0x6f3b10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b77ef
lea eax, [ebp - 0x1c]
call fcn.004047e0
lea eax, [ebp - 0x10]
call fcn.004047e0
ret