Function at 0x6c5d5d
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x7d82a0
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov eax, dword [esp + 0x40]
push ebx
push esi
mov esi, ecx
push edi
mov ecx, dword [esp + 0x50]
mov edi, dword [ecx]
inc edi
mov dword [ecx], edi
mov edx, dword [eax + 4]
cmp edi, edx
jle 0x6c5d78
mov byte [esp + 0x50], 0
jmp 0x6c5d83
mov edx, dword [eax + 8]
mov dl, byte [edx + edi - 1]
mov byte [esp + 0x50], dl
mov edx, dword [esp + 0x50]
and edx, 0xff
dec edx
cmp edx, 4
ja case.default.0x6c5d97
jmp dword [edx*4 + 0x6c6188]
lea edx, [edi + 4]
mov dword [ecx], edx
mov edi, dword [eax + 4]
cmp edx, edi
jle 0x6c5dae
xor edx, edx
jmp 0x6c5db5
mov edi, dword [eax + 8]
mov edx, dword [edi + edx - 4]
mov dword [esi + 0x39c], edx
mov ebx, dword [ecx]
add ebx, 4
mov dword [ecx], ebx
mov edi, dword [eax + 4]
mov edx, ebx
cmp edx, edi
jle 0x6c5dcf
xor edx, edx
jmp 0x6c5dd6
mov edi, dword [eax + 8]
mov edx, dword [edi + edx - 4]
mov dword [esi + 0x3a0], edx
mov edi, dword [ecx]
add edi, 4
mov dword [ecx], edi
mov edx, dword [eax + 4]
mov ecx, edi
cmp ecx, edx
jle 0x6c5df0
xor ecx, ecx
jmp 0x6c5df7
mov eax, dword [eax + 8]
mov ecx, dword [eax + ecx - 4]
mov ebx, 1
mov dword [esi + 0x3a4], ecx
mov dword [esi + 0x398], ebx
mov ecx, dword [0x9eba60]
test ecx, ecx
je 0x6c5e17
call fcn.00493b60
mov cl, byte [esp + 0x50]
push 0
mov byte [esp + 0x10], cl
lea ecx, [esp + 0x10]
mov byte [esi + 0x3a8], 0
mov byte [esi + 0x3a9], bl
mov byte [esi + 0x3aa], bl
call fcn.00404e60
lea edx, [esp + 0xc]
mov dword [esp + 0x44], 0
push edx
push 0x1d0c
call fcn.00709cc0
mov al, byte [esp + 0x58]
add esp, 8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1c], al
push 0
call fcn.00404e60
mov edi, 0x870c08
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x870c08
lea ecx, [esp + 0x24]
call fcn.00404eb0
push 0
push 0
lea ecx, [esp + 0x24]
push 0
lea edx, [esp + 0x18]
push ecx
lea eax, [esp + 0x3c]
push edx
push eax
mov byte [esp + 0x5c], bl
call fcn.00763d10
add esp, 0x18
push ebx
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], bl
call fcn.00404e60
push ebx
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 0
call fcn.00404e60
push ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x48], 0xffffffff
call fcn.00404e60
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 8
inc edi
mov dword [ecx], edi
mov edx, dword [eax + 4]
cmp edi, edx
jg case.default.0x6c5d97
mov edx, dword [eax + 8]
mov ebx, 1
mov dl, byte [edx + edi - 1]
cmp dl, bl
jne 0x6c5f68
lea edx, [edi + 4]
mov dword [ecx], edx
mov ecx, dword [eax + 4]
cmp edx, ecx
jle 0x6c5f1a
xor edx, edx
jmp 0x6c5f21
mov eax, dword [eax + 8]
mov edx, dword [eax + edx - 4]
mov dword [esi + 0x398], edx
mov dword [esi + 0x39c], 0
mov ecx, dword [0x9eba60]
test ecx, ecx
je 0x6c5f40
call fcn.00493b60
mov byte [esi + 0x3a8], bl
mov byte [esi + 0x3a9], 0
mov byte [esi + 0x3aa], 0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 8
cmp dl, 2
jne case.default.0x6c5d97
lea edx, [edi + 4]
mov dword [ecx], edx
mov ecx, dword [eax + 4]
cmp edx, ecx
jle 0x6c5f81
xor edx, edx
jmp 0x6c5f88
mov ecx, dword [eax + 8]
mov edx, dword [ecx + edx - 4]
mov dword [esi + 0x39c], edx
mov dword [esi + 0x398], 0xffffffff
mov ecx, dword [0x9eba60]
test ecx, ecx
je 0x6c5fa7
call fcn.00493b60
mov byte [esi + 0x3a8], 0
mov byte [esi + 0x3a9], bl
mov byte [esi + 0x3aa], bl
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 8
lea edx, [edi + 4]
mov dword [ecx], edx
mov edi, dword [eax + 4]
cmp edx, edi
jle 0x6c5fde
xor edi, edi
jmp 0x6c5fe5
mov edi, dword [eax + 8]
mov edi, dword [edi + edx - 4]
add edx, 4
mov dword [ecx], edx
mov ecx, dword [eax + 4]
cmp edx, ecx
jle 0x6c5ff5
xor edx, edx
jmp 0x6c5ffc
mov eax, dword [eax + 8]
mov edx, dword [eax + edx - 4]
mov esi, dword [esi + 0x198]
test esi, esi
je case.default.0x6c5d97
cmp dword [esi + 0x174], 1
jne case.default.0x6c5d97
mov dword [esi + 0x15c], edi
mov dword [esi + 0x160], edx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 8
lea edx, [edi + 1]
mov dword [ecx], edx
mov ecx, dword [eax + 4]
cmp edx, ecx
jle 0x6c606b
mov byte [esp + 0x50], 0
mov eax, dword [esp + 0x50]
and eax, 0xff
pop edi
mov dword [esi + 0x3ac], eax
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 8
mov ecx, dword [eax + 8]
pop edi
mov dl, byte [ecx + edx - 1]
mov byte [esp + 0x4c], dl
mov eax, dword [esp + 0x4c]
and eax, 0xff
mov dword [esi + 0x3ac], eax
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 8
xor edi, edi
mov dword [esi + 0x398], 0xffffffff
mov dword [esi + 0x39c], edi
mov dword [esi + 0x3a0], edi
mov dword [esi + 0x3a4], edi
mov byte [esi + 0x3a8], 0
mov byte [esi + 0x3a9], 0
mov byte [esi + 0x3aa], 0
mov dword [esi + 0x3ac], edi
mov eax, dword [esi + 0x198]
cmp eax, edi
je 0x6c60ef
cmp dword [eax + 0x174], 1
jne 0x6c60ef
mov dword [eax + 0x174], 2
mov cl, byte [esp + 0x50]
mov dword [esp + 0x10], edi
mov byte [esp + 0xc], cl
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
lea edx, [esp + 0xc]
mov dword [esp + 0x44], 3
push edx
push 0x26b0
call fcn.00709cc0
mov ecx, dword [esi + 0x48]
add esp, 8
cmp ecx, edi
je 0x6c6133
lea eax, [esp + 0xc]
push 0xffffff00
push eax
call fcn.0055c080
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x44], 0xffffffff
cmp ecx, edi
je case.default.0x6c5d97
mov al, byte [ecx - 1]
test al, al
je 0x6c6167
cmp al, 0xff
je 0x6c6167
dec al
pop edi
pop esi
mov byte [ecx - 1], al
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 8
dec ecx
push ecx
call fcn.007a02e0
add esp, 4
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 8