Function at 0x5d28f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x723e46
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call fcn.005d2140
mov eax, dword [ebx + 0xc]
push eax
call fcn.006fa390
mov eax, dword [ebx + 0x10]
push eax
call fcn.006fa390
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov ebp, dword [esp + 0x2c]
xor edx, edx
sar edi, 2
sar ecx, 2
add esp, 8
cmp edi, edx
mov dword [ebx + 0xc], edx
mov dword [ebx + 0x10], edx
mov dword [ebx + 8], edx
mov dword [ebx + 4], edx
mov dword [ebx], edx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ecx
jne 0x5d296c
mov eax, ecx
cmp eax, edx
jne 0x5d296c
mov ecx, dword [ebp + 4]
mov eax, dword [ebp]
sub eax, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
mov edi, eax
mov eax, dword [esp + 0x2c]
mov ecx, 0x10000
cmp eax, ecx
jle 0x5d297f
mov dword [esp + 0x2c], ecx
jmp 0x5d2987
cmp eax, edx
jge 0x5d2987
mov dword [esp + 0x2c], edx
mov eax, dword [ebp + 4]
cmp eax, dword [esp + 0x2c]
jge 0x5d2994
mov dword [esp + 0x2c], eax
cmp edi, ecx
jle 0x5d299e
mov dword [esp + 0x28], ecx
jmp 0x5d29a6
cmp edi, edx
jge 0x5d29aa
mov dword [esp + 0x28], edx
mov edi, dword [esp + 0x28]
cmp eax, dword [esp + 0x2c]
jge 0x5d29b4
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
lea esi, [edi + eax]
cmp esi, edx
je 0x5d2bb2
add esi, 0x10
push esi
call fcn.006fa7e6
lea ecx, [esi*4]
push ecx
mov dword [ebx + 0xc], eax
call fcn.006fa7e6
mov edx, dword [esp + 0x34]
mov dword [ebx + 0x10], eax
lea eax, [edi + edx]
mov dword [ebx], eax
mov dword [ebx + 8], esi
mov eax, edx
mov dword [ebx + 4], eax
mov esi, dword [ebp + 0xc]
mov edx, dword [ebp]
sub esi, edi
add esi, edx
mov ecx, edi
mov edi, dword [ebx + 0xc]
mov edx, eax
mov eax, ecx
shr ecx, 2
add edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 4]
mov edi, dword [ebp + 0xc]
sub esi, edx
add esi, edi
mov edi, dword [ebx + 0xc]
mov ecx, edx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add esp, 8
xor esi, esi
test edx, edx
jle 0x5d2ae8
jmp 0x5d2a40
mov eax, dword [ebp + 4]
mov ecx, dword [ebx + 0xc]
mov cl, byte [esi + ecx]
sub eax, edx
add eax, esi
cmp cl, 5
jne 0x5d2a9d
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + eax*4]
push 8
mov dword [esp + 0x28], eax
call fcn.006fa7e6
add esp, 4
mov dword [esp + 0x10], eax
xor edi, edi
cmp eax, edi
mov dword [esp + 0x1c], edi
je 0x5d2a7d
mov ecx, eax
call fcn.005b3190
mov edi, eax
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, edi
mov dword [esp + 0x20], 0xffffffff
call fcn.005e5c50
mov edx, dword [ebx + 0x10]
mov dword [edx + esi*4], edi
mov edx, dword [esp + 0x2c]
jmp 0x5d2adf
cmp cl, 0x10
jl 0x5d2ad3
cmp cl, 0x19
jg 0x5d2ad3
mov edi, dword [ebp + 0x10]
mov edi, dword [edi + eax*4]
mov ecx, dword [ebx + 0x14]
mov ecx, dword [ecx + 0x3d4]
mov edx, dword [ecx]
push edi
mov edi, dword [ebp + 0xc]
movsx eax, byte [edi + eax]
sub eax, 0x10
push eax
call dword [edx + 0x20]
mov ecx, dword [ebx + 0x10]
mov edx, dword [esp + 0x2c]
mov dword [ecx + esi*4], eax
jmp 0x5d2adf
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebx + 0x10]
mov eax, dword [ecx + eax*4]
mov dword [edi + esi*4], eax
inc esi
cmp esi, edx
jl 0x5d2a40
mov ecx, dword [esp + 0x28]
xor esi, esi
test ecx, ecx
jle 0x5d2bb2
mov eax, dword [ebp]
mov edx, dword [ebx + 4]
mov edi, dword [ebx + 0xc]
sub eax, ecx
lea ecx, [edx + esi]
mov cl, byte [ecx + edi]
add eax, esi
cmp cl, 5
jne 0x5d2b60
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + eax*4]
push 8
mov dword [esp + 0x30], eax
call fcn.006fa7e6
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov dword [esp + 0x1c], 1
je 0x5d2b3d
mov ecx, eax
call fcn.005b3190
mov edi, eax
jmp 0x5d2b3f
xor edi, edi
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, edi
mov dword [esp + 0x20], 0xffffffff
call fcn.005e5c50
mov edx, dword [ebx + 4]
mov eax, dword [ebx + 0x10]
add edx, esi
mov dword [eax + edx*4], edi
jmp 0x5d2ba5
cmp cl, 0x10
jl 0x5d2b97
cmp cl, 0x19
jg 0x5d2b97
mov edi, dword [ebp + 0x10]
mov edi, dword [edi + eax*4]
mov ecx, dword [ebx + 0x14]
mov ecx, dword [ecx + 0x3d4]
mov edx, dword [ecx]
push edi
mov edi, dword [ebp + 0xc]
movsx eax, byte [edi + eax]
sub eax, 0x10
push eax
call dword [edx + 0x20]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 0x10]
add ecx, esi
mov dword [edx + ecx*4], eax
jmp 0x5d2ba5
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebx + 0x10]
mov eax, dword [ecx + eax*4]
add edx, esi
mov dword [edi + edx*4], eax
mov ecx, dword [esp + 0x28]
inc esi
cmp esi, ecx
jl 0x5d2af6
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc