Function at 0x1004b850
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x1015aa68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov al, 0x61
push ebx
mov byte [esp + 0xc], al
mov byte [esp + 0x13], al
mov al, byte [0x10197c64]
push esi
test al, 1
push edi
mov byte [esp + 0x15], 0x6b
mov byte [esp + 0x16], 0xf9
mov byte [esp + 0x17], 0xf2
mov byte [esp + 0x18], 0x21
mov byte [esp + 0x19], 0x9b
mov byte [esp + 0x1a], 0xe3
mov byte [esp + 0x1c], 0xc1
mov byte [esp + 0x1d], 0x79
mov byte [esp + 0x1e], 0xf6
mov byte [esp + 0x20], 0x12
mov byte [esp + 0x21], 3
mov byte [esp + 0x22], 0x95
mov byte [esp + 0x23], 0x85
mov byte [esp + 0x24], 0x40
mov byte [esp + 0x25], 0xeb
mov byte [esp + 0x26], 0x8a
mov byte [esp + 0x27], 0x4f
mov byte [esp + 0x28], 0xa5
mov byte [esp + 0x29], 0x15
mov byte [esp + 0x2a], 0x9a
jne 0x1004b945
mov bl, al
push 0xc
or bl, 1
mov byte [0x10197c64], bl
call fcn.1013c2df
add esp, 4
mov dword [0x10197c68], 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, 0x10197c68
call fcn.10025de0
mov cl, byte [esp + esi + 0x20]
mov edx, dword [0x10197c68]
xor bl, cl
or al, bl
mov byte [esi + edx], al
inc esi
cmp esi, 0xb
jb 0x1004b8fe
mov eax, dword [0x10197c68]
push 0x1004bad0
mov byte [eax + 0xb], 0
call fcn.1013c36b
add esp, 4
mov al, byte [0x10197c6c]
mov ecx, dword [0x10197c68]
test al, 1
mov dword [esp + 0xc], ecx
mov byte [esp + 0x20], 0xf
mov byte [esp + 0x21], 0x27
mov byte [esp + 0x22], 0x19
mov byte [esp + 0x23], 0xc
mov byte [esp + 0x24], 0xf3
mov byte [esp + 0x25], 0xbd
mov byte [esp + 0x26], 0xc7
mov byte [esp + 0x27], 0xea
mov byte [esp + 0x28], 0x5e
mov byte [esp + 0x29], 0x7a
mov byte [esp + 0x14], 0x5a
mov byte [esp + 0x15], 0x55
mov byte [esp + 0x16], 0x75
mov byte [esp + 0x17], 0x4b
mov byte [esp + 0x18], 0x96
mov byte [esp + 0x19], 0xc9
mov byte [esp + 0x1a], 0x97
mov byte [esp + 0x1b], 0x8b
mov byte [esp + 0x1c], 0x2c
mov byte [esp + 0x1d], 0xe
jne 0x1004ba20
mov bl, al
push 0xb
or bl, 1
mov byte [0x10197c6c], bl
call fcn.1013c2df
add esp, 4
mov dword [0x10197c70], 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, 0x10197c70
call fcn.10025de0
mov cl, byte [esp + esi + 0x14]
xor bl, cl
mov ecx, dword [0x10197c70]
or al, bl
mov byte [esi + ecx], al
inc esi
cmp esi, 0xa
jb 0x1004b9d8
mov edx, dword [0x10197c70]
push 0x1004bae0
mov byte [edx + 0xa], 0
call fcn.1013c36b
add esp, 4
mov ebx, dword [0x10197c70]
xor edi, edi
cmp byte [ebx], 0
je 0x1004ba36
mov al, byte [ebx + edi + 1]
inc edi
test al, al
jne 0x1004ba2d
lea eax, [edi + 2]
push eax
call fcn.1013c2df
add esp, 4
mov esi, eax
test edi, edi
mov dword [esp + 0x10], esi
jle 0x1004ba5d
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 0x1004ba53
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