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

Disassembly:
push 0xffffffffffffffff
push 0x1015aa28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov al, 0x19
push ebx
mov byte [esp + 0x1b], al
mov byte [esp + 0x20], al
mov al, byte [0x10197c84]
push esi
test al, 1
push edi
mov byte [esp + 0x14], 0xf
mov byte [esp + 0x15], 0x8d
mov byte [esp + 0x16], 0x6d
mov byte [esp + 0x17], 0x6e
mov byte [esp + 0x18], 0xa6
mov byte [esp + 0x19], 0xb4
mov byte [esp + 0x1a], 0x36
mov byte [esp + 0x1b], 0xc2
mov byte [esp + 0x1c], 0x7d
mov byte [esp + 0x1d], 0xcf
mov byte [esp + 0x1e], 0x71
mov byte [esp + 0x20], 0x7c
mov byte [esp + 0x21], 0xe5
mov byte [esp + 0x22], 1
mov byte [esp + 0x24], 0xc7
mov byte [esp + 0x25], 0xc4
mov byte [esp + 0x26], 0x5f
mov byte [esp + 0x27], 0xec
mov byte [esp + 0x29], 0xa3
mov byte [esp + 0x2a], 0x1d
jne 0x1004b3c5
mov bl, al
push 0xc
or bl, 1
mov byte [0x10197c84], bl
call fcn.1013c2df
add esp, 4
mov dword [0x10197c88], eax
xor esi, esi
mov al, byte [esp + esi + 0x20]
mov bl, byte [esp + esi + 0x14]
movsx eax, al
movsx ecx, bl
push eax
push ecx
mov ecx, 0x10197c88
call fcn.10025de0
mov cl, byte [esp + esi + 0x20]
mov edx, dword [0x10197c88]
xor bl, cl
or al, bl
mov byte [esi + edx], al
inc esi
cmp esi, 0xb
jb 0x1004b37e
mov eax, dword [0x10197c88]
push 0x1004b550
mov byte [eax + 0xb], 0
call fcn.1013c36b
add esp, 4
mov ecx, dword [0x10197c88]
mov al, 0xd8
mov byte [esp + 0x21], al
mov byte [esp + 0x27], al
mov al, byte [0x10197c8c]
mov dword [esp + 0xc], ecx
test al, 1
mov byte [esp + 0x20], 4
mov byte [esp + 0x22], 0xe4
mov byte [esp + 0x23], 0x14
mov byte [esp + 0x24], 0xb3
mov byte [esp + 0x25], 0x16
mov byte [esp + 0x26], 0x5b
mov byte [esp + 0x28], 0xbd
mov byte [esp + 0x29], 0x15
mov byte [esp + 0x14], 0x51
mov byte [esp + 0x15], 0xaa
mov byte [esp + 0x16], 0x88
mov byte [esp + 0x17], 0x53
mov byte [esp + 0x18], 0xd6
mov byte [esp + 0x19], 0x62
mov byte [esp + 0x1a], 0xb
mov byte [esp + 0x1b], 0xb9
mov byte [esp + 0x1c], 0xcf
mov byte [esp + 0x1d], 0x61
jne 0x1004b4a0
mov bl, al
push 0xb
or bl, 1
mov byte [0x10197c8c], bl
call fcn.1013c2df
add esp, 4
mov dword [0x10197c90], eax
xor esi, esi
mov al, byte [esp + esi + 0x14]
mov bl, byte [esp + esi + 0x20]
movsx edx, al
movsx eax, bl
push edx
push eax
mov ecx, 0x10197c90
call fcn.10025de0
mov cl, byte [esp + esi + 0x14]
xor bl, cl
mov ecx, dword [0x10197c90]
or al, bl
mov byte [esi + ecx], al
inc esi
cmp esi, 0xa
jb 0x1004b458
mov edx, dword [0x10197c90]
push 0x1004b560
mov byte [edx + 0xa], 0
call fcn.1013c36b
add esp, 4
mov ebx, dword [0x10197c90]
xor edi, edi
cmp byte [ebx], 0
je 0x1004b4b6
mov al, byte [ebx + edi + 1]
inc edi
test al, al
jne 0x1004b4ad
lea eax, [edi + 2]
push eax
call fcn.1013c2df
add esp, 4
mov esi, eax
test edi, edi
mov dword [esp + 0x10], esi
jle 0x1004b4dd
mov ecx, ebx
push ebp
sub ecx, esi
mov ebp, edi
mov dl, byte [ecx + eax]
mov byte [eax], dl
inc eax
dec ebp
jne 0x1004b4d3
pop ebp
mov byte [esi + edi + 1], 0
mov byte [esi + edi], 0x57
mov eax, dword [esp + 0xc]
mov dword [esp + 0x34], 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x48]
push edx
push ecx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
push esi
mov edi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.101307a0
mov ecx, dword [esp + 0x30]
add esp, 4
mov eax, edi
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x2c
ret