Function at 0x4ccd70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x56a978
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b8
push ebx
push esi
mov esi, ecx
push edi
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0xc5]
mov byte [esp + 0xc4], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov bl, 4
push 6
stosb byte es:[edi], al
push 0x5ac1c8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x24], bl
mov byte [esp + 0x25], 2
mov byte [esp + 0x26], 0x11
mov byte [esp + 0x27], 0
mov byte [esp + 0x28], 0x13
xor edi, edi
call fcn.005318a0
push 6
push 0x5abba8
lea ecx, [esp + 0x20]
mov dword [esp + 0x1d4], edi
call fcn.005318a0
lea ecx, [esp + 0x28]
mov byte [esp + 0x1cc], 1
call fcn.00539ea0
lea ecx, [esp + 0xc]
mov byte [esp + 0x1cc], 2
call fcn.00531800
push edi
push edi
push ecx
mov byte [esp + 0x1d8], 3
mov ecx, esp
mov dword [esp + 0x30], esp
push 6
push 0x59b910
call fcn.005318a0
push ecx
mov byte [esp + 0x1dc], bl
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x59b908
call fcn.005318a0
mov ecx, 0x5c6628
mov byte [esp + 0x1dc], 3
call fcn.00533b90
lea eax, [esp + 0xc4]
lea ecx, [esp + 0x1c]
push eax
push ecx
lea ecx, [esi + 0xc]
call fcn.0043c8f0
movsx eax, ax
cmp eax, edi
jne 0x4ccea6
push edi
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 6
push 0x59b920
call fcn.005318a0
push ecx
mov byte [esp + 0x1dc], 5
mov ecx, esp
mov dword [esp + 0x34], esp
push 6
push 0x59b918
jmp 0x4cd0a1
xor ebx, ebx
sub esp, 0x24
mov ecx, 0x5c65f0
mov edx, esp
mov dword [esp + 0x34], esp
push edi
push edx
call fcn.00543220
lea ecx, [esp + 0x4c]
call fcn.0053a050
push ecx
lea ecx, [esp + 0x2c]
mov eax, esp
mov dword [esp + 0x14], esp
push eax
call fcn.0053a3d0
lea ecx, [esp + 0x10]
call fcn.005319b0
lea ecx, [esp + 0xc]
call fcn.00531b50
movsx esi, ax
cmp esi, 2
jle 0x4ccf00
push 1
lea ecx, [esp + 0x10]
call fcn.00531ac0
cmp al, 0xa1
je 0x4ccf08
inc ebx
cmp ebx, 0xa
jl 0x4ccea8
jmp 0x4ccf1b
push esi
lea ecx, [esp + 0xc8]
push edi
push ecx
lea ecx, [esp + 0x18]
call fcn.00531b70
mov edx, 3
xor ebx, ebx
mov al, byte [esp + edx + 0xc4]
test al, al
je 0x4ccf51
movzx ax, al
mov word [esp + edi*2 + 0x4c], ax
mov al, byte [esp + 0xcb]
mov cl, bl
shr al, cl
xor cx, cx
and al, 3
inc edi
mov cl, al
mov word [esp + edi*2 + 0x86], cx
inc edx
add ebx, 2
cmp edx, 7
jl 0x4ccf22
mov al, byte [esp + 0xcc]
test al, al
je 0x4ccf86
xor dx, dx
xor cx, cx
mov dl, al
mov al, byte [esp + 0xd0]
and al, 3
mov word [esp + edi*2 + 0x4c], dx
mov cl, al
mov word [esp + edi*2 + 0x88], cx
inc edi
test edi, edi
push 0
je 0x4cd076
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 6
push 0x59b8f8
call fcn.005318a0
mov ecx, dword [0x5c662c]
call fcn.00532250
xor esi, esi
test edi, edi
jle 0x4cd01b
mov dl, byte [esp + esi*2 + 0x4c]
lea ecx, [esp + 0x14]
push edx
push 5
call fcn.00531ad0
mov al, byte [esp + esi*2 + 0x88]
lea ecx, [esp + 0x18]
add al, 0x25
push eax
push 5
call fcn.00531ad0
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.00531810
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
mov byte [esp + 0x1d8], 6
call fcn.00531810
mov ecx, dword [0x5c662c]
mov byte [esp + 0x1d4], 3
call fcn.00532520
inc esi
cmp esi, edi
jl 0x4ccfb4
mov ecx, dword [0x5c662c]
call fcn.005326d0
lea ecx, [esp + 0xc]
mov byte [esp + 0x1cc], 2
call fcn.00531940
lea ecx, [esp + 0x28]
mov byte [esp + 0x1cc], 1
call fcn.00539fa0
lea ecx, [esp + 0x18]
mov byte [esp + 0x1cc], 0
call fcn.00531940
lea ecx, [esp + 0x14]
mov dword [esp + 0x1cc], 0xffffffff
call fcn.00531940
mov ax, 1
jmp 0x4cd102
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 6
push 0x59b910
call fcn.005318a0
push ecx
mov byte [esp + 0x1dc], 7
mov ecx, esp
mov dword [esp + 0x34], esp
push 6
push 0x5abba0
call fcn.005318a0
mov ecx, 0x5c6628
mov byte [esp + 0x1dc], 3
call fcn.00533b90
lea ecx, [esp + 0xc]
mov byte [esp + 0x1cc], 2
call fcn.00531940
lea ecx, [esp + 0x28]
mov byte [esp + 0x1cc], 1
call fcn.00539fa0
lea ecx, [esp + 0x18]
mov byte [esp + 0x1cc], 0
call fcn.00531940
lea ecx, [esp + 0x14]
mov dword [esp + 0x1cc], 0xffffffff
call fcn.00531940
xor ax, ax
mov ecx, dword [esp + 0x1c4]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c4
ret