Function at 0x5cfa28
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ebx
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5cff04
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x75], 0
jne 0x5cfaf6
push 0
mov eax, dword [ebp - 4]
add eax, 0x80
mov ecx, 1
mov edx, dword [0x5cda7c]
call fcn.00405da4
add esp, 4
mov eax, dword [ebp - 4]
mov byte [eax + 0x75], 1
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x30], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x20], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x24], edx
mov dl, 1
mov eax, dword [0x426dec]
call fcn.00428694
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x70]
call fcn.0042e7d8
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 8]
mov cl, 1
mov eax, dword [ebp - 4]
call fcn.005cfa28
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x70]
call fcn.0042e7d8
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
lea eax, [ebp - 0x10]
call fcn.0040f124
mov eax, dword [ebp - 4]
mov byte [eax + 0x75], 0
mov eax, dword [ebp - 4]
test byte [eax + 0x75], bl
jne 0x5cfb13
mov eax, dword [ebp - 4]
cmp byte [eax + 0x75], 0
jne 0x5cfee1
test bl, bl
jne 0x5cfee1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x70]
call fcn.0042e7d8
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x88]
call fcn.00428868
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x24], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x30], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x38], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x3c], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x40], edx
mov eax, dword [ebp - 4]
call fcn.005d002c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x60]
mov edx, dword [ebp - 4]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 4]
add eax, 0x6c
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov ecx, dword [0x5cda08]
call fcn.00405dec
push 0
mov eax, dword [ebp - 4]
add eax, 0x6c
mov ecx, 1
mov edx, dword [0x5cda08]
call fcn.00405da4
add esp, 4
xor ecx, ecx
push ebp
push 0x5cfec6
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, dword [ebp - 4]
mov dword [eax + 0x4c], 1
mov eax, dword [ebp - 4]
mov dword [eax + 0x50], 1
mov eax, dword [ebp - 4]
mov dword [eax + 0x48], 1
mov eax, dword [ebp - 4]
call fcn.005d0358
jmp 0x5cfdfe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov al, byte [eax + ebx - 1]
sub al, 0xd
je 0x5cfc8a
sub al, 0x13
je 0x5cfde9
sub al, 6
je 0x5cfc00
sub al, 0x16
je 0x5cfd0b
jmp 0x5cfdf8
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x4c]
cmp ebx, esi
jle 0x5cfc16
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.005d0380
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x48]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x14]
mov eax, dword [ebp - 4]
call fcn.005cf6d4
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
add eax, 8
call fcn.00404844
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x5cfc67
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.00404ab0
mov edx, dword [ebp - 4]
add dword [edx + 0x48], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
jmp 0x5cfdfe
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
cmp byte [eax + edi], 0x26
sete al
and eax, 0x7f
add eax, edi
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
jmp 0x5cfdf8
mov eax, dword [0x5f4c78]
cmp byte [eax], 0
je 0x5cfccd
mov eax, dword [ebp - 4]
cmp ebx, dword [eax + 0x4c]
jle 0x5cfcac
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4c]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.005d0380
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
mov eax, dword [ebp - 4]
call fcn.005d02a0
mov eax, dword [ebp - 4]
call fcn.005d00e4
jmp 0x5cfdf8
push ebp
call fcn.005cf8c8
pop ecx
mov eax, dword [ebp - 4]
inc dword [eax + 0x48]
mov eax, dword [ebp - 4]
inc dword [eax + 0x4c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x18]
cmp byte [edx + eax], 0xa
jne 0x5cfcfe
mov eax, dword [ebp - 4]
inc dword [eax + 0x48]
mov eax, dword [ebp - 4]
inc dword [eax + 0x4c]
mov eax, dword [ebp - 4]
call fcn.005d0358
jmp 0x5cfdfe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
cmp byte [eax + ebx], 0x3c
je 0x5cfdbd
push ebp
call fcn.005cf8c8
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x48]
jge 0x5cfd44
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4c]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x48]
mov eax, dword [ebp - 4]
call fcn.005d0380
lea ecx, [ebp - 0x18]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
call fcn.005cdb48
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
add eax, 4
call fcn.00404844
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x5cfd83
mov eax, dword [ebp - 4]
inc dword [eax + 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
jmp 0x5cfdfe
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
call fcn.005ce454
test al, al
jne 0x5cfdfe
mov eax, dword [ebp - 4]
inc dword [eax + 0x48]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4c]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x48]
mov eax, dword [ebp - 4]
call fcn.005d0380
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
jmp 0x5cfdf8
mov eax, dword [ebp - 4]
cmp ebx, dword [eax + 0x4c]
jle 0x5cfdd5
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4c]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.005d0380
mov eax, dword [ebp - 4]
inc dword [eax + 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
jmp 0x5cfdf8
push ebp
call fcn.005cf8c8
pop ecx
mov eax, dword [ebp - 4]
call fcn.005d0358
mov eax, dword [ebp - 4]
inc dword [eax + 0x48]
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x48]
mov eax, dword [ebp - 4]
cmp ebx, dword [eax + 0x1c]
jle 0x5cfbd5
push ebp
call fcn.005cf8c8
pop ecx
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x48]
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x4c]
sub ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
call fcn.00404d10
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
cmp edx, eax
jge 0x5cfe52
mov ecx, edx
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.005d0380
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x44]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 4]
call fcn.005ce034
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x38]
jle 0x5cfe7e
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x40], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x44]
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5cfecd
push 0
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
xor ecx, ecx
call fcn.005cc488
mov eax, dword [ebp - 4]
mov byte [eax + 0x75], 0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5cff0b
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00404814
lea eax, [ebp - 0xc]
call fcn.004047f0
ret