Function at 0x4fffd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x57ac7d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [0x585bfc]
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x1c], ebp
mov dword [ebp + 4], eax
mov ecx, dword [0x585bfc]
xor ebx, ebx
mov dword [esp + 0x38], ebx
mov dword [ebp + 8], ecx
mov eax, 0x58df08
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x20], eax
mov dword [ebp + 0x24], ebx
mov dword [ebp + 0x30], ebx
mov dword [ebp + 0x2c], ebx
mov dword [ebp + 0x28], ebx
lea ecx, [ebp + 0x34]
mov byte [esp + 0x38], 3
call fcn.00554b96
lea ecx, [ebp + 0x48]
mov byte [esp + 0x38], 4
call fcn.00554b96
mov edx, dword [0x585bfc]
mov dword [ebp + 0x5c], edx
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov edi, edx
mov byte [esp + 0x38], 6
mov word [esp + 0x24], bx
mov word [esp + 0x26], bx
lea esi, [edi + 1]
mov byte [esp + 0x28], bl
cmp esi, ebx
mov byte [esp + 0x29], bl
mov byte [esp + 0x2a], bl
mov byte [esp + 0x2b], bl
mov byte [esp + 0x2c], bl
mov byte [esp + 0x2d], bl
mov byte [esp + 0x2e], bl
mov byte [esp + 0x2f], bl
mov dword [esp + 0x10], edi
jne 0x5000ac
cmp eax, ebx
je 0x5000a1
push eax
call fcn.005568f1
add esp, 4
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x14], ebx
jmp 0x5001c2
cmp eax, ebx
jne 0x5000e2
mov edi, esi
shl edi, 4
push edi
call fcn.005568c8
mov edx, eax
mov ecx, edi
mov dword [ebp + 0x10], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebp + 0x18], esi
mov dword [ebp + 0x14], esi
jmp 0x5001be
mov ecx, dword [ebp + 0x18]
cmp esi, ecx
jg 0x500117
cmp esi, edx
jle 0x50010f
mov ecx, esi
sub ecx, edx
shl edx, 4
add edx, eax
xor eax, eax
shl ecx, 4
mov edi, edx
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x10]
mov dword [ebp + 0x14], esi
jmp 0x5001c2
mov eax, dword [ebp + 0x1c]
cmp eax, ebx
jne 0x500141
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x500135
mov eax, 4
jmp 0x500141
cmp eax, 0x400
jle 0x500141
mov eax, 0x400
add eax, ecx
cmp esi, eax
mov dword [esp + 0x14], eax
jl 0x50014f
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x14]
shl eax, 4
push eax
call fcn.005568c8
mov ecx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
shl ecx, 4
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [esp + 0x1c], eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp + 0x14]
lea esi, [ecx + 1]
mov ecx, esi
sub ecx, edx
shl edx, 4
add edx, eax
xor eax, eax
shl ecx, 4
mov edi, edx
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 0x10]
push eax
call fcn.005568f1
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
add esp, 8
mov dword [ebp + 0x10], ecx
mov dword [ebp + 0x14], esi
mov dword [ebp + 0x18], edx
mov edi, dword [esp + 0x10]
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x28]
shl edi, 4
add edi, eax
xor eax, eax
mov edx, dword [esp + 0x2c]
mov dword [edi], eax
mov eax, dword [esp + 0x24]
mov dword [edi + 4], eax
mov eax, ebp
mov dword [edi + 8], ecx
mov ecx, dword [esp + 0x30]
mov dword [edi + 0xc], edx
pop edi
mov dword [ebp], ebx
mov dword [ebp + 0x60], ebx
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret