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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [0x100409a8]
xor eax, esp
mov dword [esp + 0x2c], eax
cmp dword [0x10041780], 0
jne 0x10005cfc
mov eax, dword [esp + 0x44]
mov dword [0x10041780], eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov dword [esp], eax
movaps xmm0, xmmword [0x100310a0]
lea esi, [esp + 0x10]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0x554322f7
mov dword [esi + 0x14], 0x4ff25a05
mov dword [esi + 0x18], 0x5fe4b473
xor edi, edi
mov ecx, esi
push dword [esp + 0x10]
push dword [esp + edi*4 + 0x20]
call fcn.10006150
mov dword [esp + edi*4 + 0x1c], eax
inc edi
cmp edi, dword [esp + 0x14]
jb 0x10005b1f
lea esi, [esp + 0x10]
mov eax, dword [esi + 8]
mov eax, dword [esp + eax*4 + 0x1c]
mov ecx, dword [esp]
mov edi, dword [eax + ecx]
movaps xmm0, xmmword [0x100310b0]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0x65357d31
xor ebx, ebx
mov ecx, esi
push dword [esp + 0x10]
push dword [esp + ebx*4 + 0x20]
call fcn.10006150
mov dword [esp + ebx*4 + 0x1c], eax
inc ebx
cmp ebx, dword [esp + 0x14]
jb 0x10005b5d
add edi, dword [esp]
lea esi, [esp + 0x10]
mov eax, dword [esi + 8]
mov eax, dword [esp + eax*4 + 0x1c]
mov ebp, dword [eax + edi]
movaps xmm0, xmmword [0x100310c0]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0x7527d76b
mov dword [esi + 0x14], 0x6fd70e8d
mov dword [esi + 0x18], 0x7fc968e7
xor edi, edi
mov ecx, esi
push dword [esp + 0x10]
push dword [esp + edi*4 + 0x20]
call fcn.10006150
mov dword [esp + edi*4 + 0x1c], eax
inc edi
cmp edi, dword [esp + 0x14]
jb 0x10005ba9
add ebp, dword [esp]
lea esi, [esp + 0x10]
mov eax, dword [esi + 8]
mov eax, dword [esp + eax*4 + 0x1c]
mov eax, dword [eax + ebp]
mov dword [esp + 8], eax
movaps xmm0, xmmword [0x100310d0]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0x451a31a4
xor edi, edi
mov ecx, esi
push dword [esp + 0x10]
push dword [esp + edi*4 + 0x20]
call fcn.10006150
mov dword [esp + edi*4 + 0x1c], eax
inc edi
cmp edi, dword [esp + 0x14]
jb 0x10005beb
lea esi, [esp + 0x10]
mov eax, dword [esi + 8]
mov eax, dword [esp + eax*4 + 0x1c]
mov eax, dword [eax + ebp]
mov dword [esp + 4], eax
movaps xmm0, xmmword [0x100310e0]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0x550c8bde
mov dword [esi + 0x14], 0x4fbbc304
mov dword [esi + 0x18], 0x5fae1d5a
xor edi, edi
mov ecx, esi
push dword [esp + 0x10]
push dword [esp + edi*4 + 0x20]
call fcn.10006150
mov dword [esp + edi*4 + 0x1c], eax
inc edi
cmp edi, dword [esp + 0x14]
jb 0x10005c38
mov ecx, dword [esp]
add dword [esp + 8], ecx
add dword [esp + 4], ecx
lea esi, [esp + 0x10]
mov eax, dword [esi + 8]
mov eax, dword [esp + eax*4 + 0x1c]
mov eax, dword [eax + ebp]
add eax, ecx
mov dword [esp + 0xc], eax
xor ebp, ebp
movaps xmm0, xmmword [0x100310f0]
movups xmmword [esp + 0x10], xmm0
mov dword [esp + 0x20], 0x64fee618
xor edi, edi
mov ecx, esi
push dword [esp + 0x10]
push dword [esp + edi*4 + 0x20]
call fcn.10006150
mov dword [esp + edi*4 + 0x1c], eax
inc edi
cmp edi, dword [esp + 0x14]
jb 0x10005c89
mov eax, dword [esp + 8]
mov edi, dword [eax + ebp*4]
add edi, dword [esp]
push edi
call fcn.1001d360
add esp, 4
cmp eax, 0xffffffff
je 0x10005cd9
inc eax
mov ecx, 0x1d
xor edx, edx
movsx ebx, byte [edi + edx]
xor ebx, ecx
lea ecx, [ebx + ebx*4]
inc edx
cmp eax, edx
jne 0x10005cc3
cmp ecx, 0xec10575
je 0x10005cdc
inc ebp
jmp 0x10005c73
mov eax, dword [esp + 0xc]
movzx eax, word [eax + ebp*2]
mov ecx, dword [esp]
mov edx, dword [esp + 4]
add ecx, dword [edx + eax*4]
push 0x10004575
push 1
call ecx
mov dword [0x10041784], eax
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.10012fb2
mov al, 1
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret 0xc