Function at 0x10005acd
Capabilities:
Access peb ldr_data
Encode data using xor

Disassembly:
push 0x5c
mov eax, 0x1002fcdc
call fcn.1001303e
mov eax, dword [ebp + 8]
mov dword [ebp - 0x60], eax
xor esi, esi
mov ecx, 0x4ff2a8bd
mov dword [ebp - 4], esi
mov eax, dword fs:[0x18]
cmp dword [ebp + 0x28], 8
movaps xmm0, xmmword [0x10039520]
push 2
mov eax, dword [eax + 0x30]
pop ebx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], 4
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x20], ebx
movups xmmword [ebp - 0x1c], xmm0
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
mov edx, dword [eax + 0x10]
lea eax, [ebp + 0x14]
cmovae eax, dword [ebp + 0x14]
mov dword [ebp - 0x5c], eax
mov eax, esi
mov dword [ebp - 0x68], edx
xor dword [ebp + eax*4 - 0x1c], ecx
inc eax
cmp eax, dword [ebp - 0x24]
jae 0x10005b3c
mov ecx, dword [ebp - 0x28]
jmp 0x10005b2d
mov eax, dword [ebp - 0x20]
mov ecx, 0x5fe5517b
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], esi
mov eax, dword [ebp + eax*4 - 0x1c]
mov dword [ebp - 0x30], 0x5fe55103
mov dword [ebp - 0x2c], 0x65363465
mov edi, dword [edx + eax]
mov eax, esi
xor dword [ebp + eax*4 - 0x30], ecx
inc eax
cmp eax, dword [ebp - 0x38]
jae 0x10005b73
mov ecx, dword [ebp - 0x3c]
jmp 0x10005b64
mov eax, dword [ebp - 0x34]
mov ecx, 0x6fd7fa39
movaps xmm0, xmmword [0x10039530]
push 2
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp + eax*4 - 0x30]
add eax, edi
mov dword [ebp - 0x24], 4
pop edi
mov dword [ebp - 0x20], edi
movups xmmword [ebp - 0x1c], xmm0
mov ebx, dword [eax + edx]
mov eax, esi
add ebx, edx
mov dword [ebp - 0x50], ebx
xor dword [ebp + eax*4 - 0x1c], ecx
inc eax
cmp eax, dword [ebp - 0x24]
jae 0x10005bb5
mov ecx, dword [ebp - 0x28]
jmp 0x10005ba6
mov eax, dword [ebp - 0x20]
mov ecx, 0x7fcaa2f7
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], esi
mov eax, dword [ebp + eax*4 - 0x1c]
mov dword [ebp - 0x30], 0x7fcaa2eb
mov dword [ebp - 0x2c], 0x451b85e0
mov eax, dword [eax + ebx]
add eax, edx
mov dword [ebp - 0x44], eax
mov eax, esi
xor dword [ebp + eax*4 - 0x30], ecx
inc eax
cmp eax, dword [ebp - 0x38]
jae 0x10005bf1
mov ecx, dword [ebp - 0x3c]
jmp 0x10005be2
mov eax, dword [ebp - 0x34]
mov ecx, 0x4fbd4bb4
movaps xmm0, xmmword [0x10039510]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], 4
mov eax, dword [ebp + eax*4 - 0x30]
mov dword [ebp - 0x20], 2
movups xmmword [ebp - 0x1c], xmm0
mov edi, dword [eax + ebx]
mov eax, esi
add edi, edx
mov dword [ebp - 0x58], edi
xor dword [ebp + eax*4 - 0x1c], ecx
inc eax
cmp eax, dword [ebp - 0x24]
jae 0x10005c32
mov ecx, dword [ebp - 0x28]
jmp 0x10005c23
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp + eax*4 - 0x1c]
mov eax, dword [eax + ebx]
add eax, edx
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x44], esi
je 0x10005d0b
test edi, edi
je 0x10005d0b
test eax, eax
je 0x10005d0b
mov edi, esi
mov ecx, 0x5faff472
mov dword [ebp - 0x38], 2
mov dword [ebp - 0x3c], ecx
mov eax, esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], 0x5faff46a
mov dword [ebp - 0x2c], 0x6500d75c
xor dword [ebp + eax*4 - 0x30], ecx
inc eax
cmp eax, dword [ebp - 0x38]
jae 0x10005c8d
mov ecx, dword [ebp - 0x3c]
jmp 0x10005c7e
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp + eax*4 - 0x30]
cmp edi, dword [ebx + eax]
jae 0x10005d0b
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + edi*4]
add eax, edx
mov ecx, eax
mov dword [ebp - 0x64], eax
lea eax, [ecx + 1]
mov dword [ebp - 0x4c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10005cac
sub ecx, dword [ebp - 0x4c]
push 0x1d
lea eax, [ecx + 1]
mov ecx, esi
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
pop eax
mov dword [ebp - 0x40], eax
jbe 0x10005cf4
mov ebx, dword [ebp - 0x64]
mov edx, eax
mov esi, dword [ebp - 0x48]
movsx eax, byte [ecx + ebx]
xor eax, edx
imul edx, eax, 5
inc ecx
cmp ecx, esi
jb 0x10005cd2
mov ebx, dword [ebp - 0x50]
xor esi, esi
mov dword [ebp - 0x40], edx
cmp dword [ebp - 0x40], 0xeb461b5b
mov edx, dword [ebp - 0x68]
je 0x10005cfa
inc edi
jmp 0x10005c5c
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x58]
movzx eax, word [eax + edi*2]
mov eax, dword [ecx + eax*4]
add eax, edx
jmp 0x10005d0d
mov eax, esi
push dword [ebp - 0x5c]
call eax
mov ecx, dword [ebp - 0x60]
push 0xffffffffffffffe2
pop edx
mov dword [ebp - 0x50], eax
mov dword [ecx], eax
mov eax, esi
mov ecx, dword fs:[0x18]
mov ecx, dword [ecx + 0x30]
mov ecx, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x10]
mov dword [ebp - 0x4c], ecx
mov byte [ebp - 0x3c], dl
mov dword [ebp - 0x38], 9
mov dword [ebp - 0x34], 0xbd968791
mov dword [ebp - 0x30], 0x8a91838a
mov byte [ebp - 0x2c], dl
xor byte [ebp + eax - 0x34], dl
inc eax
cmp eax, dword [ebp - 0x38]
jae 0x10005d63
mov dl, byte [ebp - 0x3c]
jmp 0x10005d54
movaps xmm0, xmmword [0x10039520]
mov edx, 0x4ff2a8bd
push 2
pop edi
mov dword [ebp - 0x28], edx
mov eax, esi
mov dword [ebp - 0x24], 4
mov dword [ebp - 0x20], edi
movups xmmword [ebp - 0x1c], xmm0
xor dword [ebp + eax*4 - 0x1c], edx
inc eax
cmp eax, dword [ebp - 0x24]
jae 0x10005d94
mov edx, dword [ebp - 0x28]
jmp 0x10005d85
mov eax, dword [ebp - 0x20]
mov edx, 0x5fe5517b
mov eax, dword [ebp + eax*4 - 0x1c]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], esi
mov ebx, dword [ecx + eax]
mov eax, esi
mov dword [ebp - 0x14], 0x5fe55103
mov dword [ebp - 0x10], 0x65363465
xor dword [ebp + eax*4 - 0x14], edx
inc eax
cmp eax, dword [ebp - 0x1c]
jae 0x10005dcb
mov edx, dword [ebp - 0x20]
jmp 0x10005dbc
mov eax, dword [ebp - 0x18]
mov edx, 0x6fd7fa39
movaps xmm0, xmmword [0x10039530]
mov eax, dword [ebp + eax*4 - 0x14]
add eax, ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], 4
mov dword [ebp - 0x20], edi
movups xmmword [ebp - 0x1c], xmm0
mov ebx, dword [eax + ebx]
mov eax, esi
add ebx, ecx
mov dword [ebp - 0x58], ebx
xor dword [ebp + eax*4 - 0x1c], edx
inc eax
cmp eax, dword [ebp - 0x24]
jae 0x10005e0a
mov edx, dword [ebp - 0x28]
jmp 0x10005dfb
mov eax, dword [ebp - 0x20]
mov edx, 0x7fcaa2f7
mov eax, dword [ebp + eax*4 - 0x1c]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], esi
mov eax, dword [eax + ebx]
add eax, ecx
mov dword [ebp - 0x14], 0x7fcaa2eb
mov dword [ebp - 0x48], eax
mov eax, esi
mov dword [ebp - 0x10], 0x451b85e0
xor dword [ebp + eax*4 - 0x14], edx
inc eax
cmp eax, dword [ebp - 0x1c]
jae 0x10005e46
mov edx, dword [ebp - 0x20]
jmp 0x10005e37
mov eax, dword [ebp - 0x18]
mov edi, 0x4fbd4bb4
movaps xmm0, xmmword [0x10039510]
mov eax, dword [ebp + eax*4 - 0x14]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], 4
mov dword [ebp - 0x20], 2
mov edx, dword [eax + ebx]
mov eax, esi
add edx, ecx
mov dword [ebp - 0x54], edx
movups xmmword [ebp - 0x1c], xmm0
xor dword [ebp + eax*4 - 0x1c], edi
inc eax
cmp eax, dword [ebp - 0x24]
jae 0x10005e87
mov edi, dword [ebp - 0x28]
jmp 0x10005e78
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp + eax*4 - 0x1c]
mov edi, dword [eax + ebx]
add edi, ecx
cmp dword [ebp - 0x48], 0
mov dword [ebp - 0x5c], edi
je 0x10005f58
test edx, edx
je 0x10005f58
test edi, edi
je 0x10005f58
mov edx, esi
mov ecx, 0x5faff472
mov dword [ebp - 0x1c], 2
mov dword [ebp - 0x20], ecx
mov eax, esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 0x5faff46a
mov dword [ebp - 0x10], 0x6500d75c
xor dword [ebp + eax*4 - 0x14], ecx
inc eax
cmp eax, dword [ebp - 0x1c]
jae 0x10005ee3
mov ecx, dword [ebp - 0x20]
jmp 0x10005ed4
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x14]
cmp edx, dword [ebx + eax]
jae 0x10005f58
mov eax, dword [ebp - 0x48]
mov ebx, dword [eax + edx*4]
add ebx, dword [ebp - 0x4c]
mov ecx, ebx
lea eax, [ecx + 1]
mov dword [ebp - 0x60], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10005f00
sub ecx, dword [ebp - 0x60]
push 0x1d
lea eax, [ecx + 1]
mov ecx, esi
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
pop eax
mov dword [ebp - 0x40], eax
jbe 0x10005f42
mov esi, dword [ebp - 0x44]
mov edi, eax
movsx eax, byte [ecx + ebx]
xor eax, edi
imul edi, eax, 5
inc ecx
cmp ecx, esi
jb 0x10005f23
mov dword [ebp - 0x40], edi
xor esi, esi
cmp dword [ebp - 0x40], 0x52e8c03b
mov edi, dword [ebp - 0x5c]
je 0x10005f4b
mov ebx, dword [ebp - 0x58]
inc edx
jmp 0x10005eb2
movzx eax, word [edi + edx*2]
mov esi, dword [ebp - 0x54]
mov esi, dword [esi + eax*4]
add esi, dword [ebp - 0x4c]
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x50]
call esi
test eax, eax
je 0x10005f6f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call eax
pop ecx
pop ecx
lea ecx, [ebp + 0x14]
call fcn.1000b863
call fcn.1001300c
ret 0x24