Function at 0x5b240c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x5b26a2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x41e4b4]
call fcn.00403740
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x5b2678
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0xc]
mov edx, 0x5b26b8
call fcn.005355d0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x30]
call fcn.00490394
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x5b2584
inc ebx
xor esi, esi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x30]
mov edx, esi
call fcn.0049035c
mov edi, eax
cmp byte [edi + 0x42], 0
jne 0x5b257c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov edx, edi
mov ecx, dword [eax]
call dword [ecx + 0x29c]
mov edi, eax
lea edx, [ebp - 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x40]
call fcn.005b4dcc
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
mov ecx, dword [edi + 0x5c]
mov edx, dword [edi + 0x58]
mov eax, dword [edi + 0x54]
call fcn.005957b0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
jne 0x5b24ed
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
push dword [ebp - 4]
push 0x5b26c8
push dword [edi + 4]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404a38
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0xc]
call fcn.005355d0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
test byte [eax + 0x1c], 0x10
jne 0x5b2569
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x40]
call fcn.005b4dc0
mov eax, dword [eax + 0xb4]
mov edx, edi
call fcn.0042089c
lea edx, [ebp - 0x18]
call fcn.0040a0a8
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 0x5b26d4
call fcn.004049c4
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0xc]
call fcn.005355d0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0xc]
mov edx, 0x5b26e4
call fcn.005355d0
inc esi
dec ebx
jne 0x5b2479
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 8]
sub edx, 2
mov ecx, dword [ebp + 8]
call fcn.0053558c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0xc]
mov edx, 0x5b26f0
call fcn.005355d0
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x5b2603
inc ebx
xor esi, esi
lea ecx, [ebp - 0x20]
mov edx, esi
mov eax, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x40]
call fcn.005717b8
lea eax, [ebp - 0x1c]
mov edx, 0x5b26e4
call fcn.00404980
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0xc]
call fcn.005355d0
inc esi
dec ebx
jne 0x5b25c0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 8]
sub edx, 2
mov ecx, dword [ebp + 8]
call fcn.0053558c
mov eax, dword [ebp + 8]
mov al, byte [eax - 5]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [eax + 0x1c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov cl, 5
mov ebx, dword [eax]
call dword [ebx + 0x6c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 8], 0
jle 0x5b2662
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x14]
mov edx, 0x5b2700
call fcn.005355d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b267f
mov eax, dword [ebp - 8]
call fcn.00403770
ret