Function at 0x1004b580
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x1015aa48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov al, 0x4c
push ebx
mov byte [esp + 0x26], al
mov byte [esp + 0xd], al
mov al, byte [0x10197c74]
push esi
test al, 1
push edi
mov byte [esp + 0x24], 0xed
mov byte [esp + 0x25], 0x25
mov byte [esp + 0x26], 0xa8
mov byte [esp + 0x27], 0xa9
mov byte [esp + 0x28], 0xfa
mov byte [esp + 0x29], 0x56
mov byte [esp + 0x2a], 0x84
mov byte [esp + 0x2b], 0xf6
mov byte [esp + 0x2c], 0x75
mov byte [esp + 0x2d], 0x2b
mov byte [esp + 0x14], 0x9a
mov byte [esp + 0x16], 0xc6
mov byte [esp + 0x17], 0xc0
mov byte [esp + 0x18], 0x94
mov byte [esp + 0x19], 0x33
mov byte [esp + 0x1a], 0xf0
mov byte [esp + 0x1b], 0xd8
mov byte [esp + 0x1c], 0x11
mov byte [esp + 0x1d], 0x47
mov byte [esp + 0x1e], 0x20
jne 0x1004b675
mov bl, al
push 0xc
or bl, 1
mov byte [0x10197c74], bl
call fcn.1013c2df
add esp, 4
mov dword [0x10197c78], eax
xor esi, esi
mov al, byte [esp + esi + 0x14]
mov bl, byte [esp + esi + 0x24]
movsx eax, al
movsx ecx, bl
push eax
push ecx
mov ecx, 0x10197c78
call fcn.10025de0
mov cl, byte [esp + esi + 0x14]
mov edx, dword [0x10197c78]
xor bl, cl
or al, bl
mov byte [esi + edx], al
inc esi
cmp esi, 0xb
jb 0x1004b62e
mov eax, dword [0x10197c78]
push 0x1004b830
mov byte [eax + 0xb], 0
call fcn.1013c36b
add esp, 4
mov al, 0x89
mov ecx, dword [0x10197c78]
mov byte [esp + 0x14], al
mov byte [esp + 0x18], al
mov al, 6
mov dword [esp + 0xc], ecx
mov byte [esp + 0x1a], al
mov byte [esp + 0x1b], al
mov al, 0x9d
mov byte [esp + 0x15], 0xf6
mov byte [esp + 0x20], al
mov byte [esp + 0x2f], al
mov al, byte [0x10197c7c]
mov byte [esp + 0x16], 0x6b
test al, 1
mov byte [esp + 0x17], 0x70
mov byte [esp + 0x19], 0xd7
mov byte [esp + 0x1c], 0xd4
mov byte [esp + 0x1d], 0x6f
mov byte [esp + 0x1e], 0xd3
mov byte [esp + 0x1f], 0xfe
mov byte [esp + 0x21], 0x16
mov byte [esp + 0x22], 0x90
mov byte [esp + 0x23], 0xf6
mov byte [esp + 0x24], 0xc0
mov byte [esp + 0x25], 0x98
mov byte [esp + 0x26], 0x1f
mov byte [esp + 0x27], 0x15
mov byte [esp + 0x28], 0xfb
mov byte [esp + 0x29], 0xb9
mov byte [esp + 0x2a], 0x63
mov byte [esp + 0x2b], 0x72
mov byte [esp + 0x2c], 0x97
mov byte [esp + 0x2d], 0x1d
mov byte [esp + 0x2e], 0xb2
mov byte [esp + 0x30], 0xf6
mov byte [esp + 0x31], 0x43
mov byte [esp + 0x32], 0xe2
mov byte [esp + 0x33], 0x9a
jne 0x1004b78c
mov bl, al
push 0x11
or bl, 1
mov byte [0x10197c7c], bl
call fcn.1013c2df
add esp, 4
mov dword [0x10197c80], eax
xor esi, esi
mov al, byte [esp + esi + 0x24]
mov bl, byte [esp + esi + 0x14]
movsx edx, al
movsx eax, bl
push edx
push eax
mov ecx, 0x10197c80
call fcn.10025de0
mov cl, byte [esp + esi + 0x24]
xor bl, cl
mov ecx, dword [0x10197c80]
or al, bl
mov byte [esi + ecx], al
inc esi
cmp esi, 0x10
jb 0x1004b744
mov edx, dword [0x10197c80]
push 0x1004b840
mov byte [edx + 0x10], 0
call fcn.1013c36b
add esp, 4
mov ebx, dword [0x10197c80]
xor edi, edi
cmp byte [ebx], 0
je 0x1004b7a2
mov al, byte [ebx + edi + 1]
inc edi
test al, al
jne 0x1004b799
lea eax, [edi + 2]
push eax
call fcn.1013c2df
add esp, 4
mov esi, eax
test edi, edi
mov dword [esp + 0x10], esi
jle 0x1004b7c9
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 0x1004b7bf
pop ebp
mov byte [esi + edi + 1], 0
mov byte [esi + edi], 0x57
mov eax, dword [esp + 0xc]
mov dword [esp + 0x3c], 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x4c]
push ecx
push edx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
push esi
mov edi, eax
mov dword [esp + 0x40], 0xffffffff
call fcn.101307a0
mov ecx, dword [esp + 0x38]
add esp, 4
mov eax, edi
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x34
ret