Function at 0x10051a00
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b7248
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x100e41c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xff
push 0x16
lea edx, [ebp - 0x70]
mov dword [ebp - 0x70], 0xffff158b
mov ecx, 0x400000
mov dword [ebp - 0x6c], 0x1589ffff
mov dword [ebp - 0x68], 0xffffffff
mov dword [ebp - 0x64], 0xffe8006a
mov dword [ebp - 0x60], 0x83ffffff
mov word [ebp - 0x5c], 0x4c4
call fcn.10086180
add esp, 8
mov dword [0x101ef040], eax
test eax, eax
je 0x10051a8c
mov ecx, dword [eax + 0xf]
add ecx, 0x13
add ecx, eax
mov eax, dword [eax + 8]
mov dword [0x101eefb4], ecx
mov dword [0x101ef040], eax
jmp 0x10051a96
mov ecx, str.SS6_SwitchCharacter_Connect_Index
call fcn.10086360
push 0xff
push 0x2a
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0xff68
mov ecx, 0x400000
mov dword [ebp - 0x38], 0xc16800
mov dword [ebp - 0x34], 0x8d8d0000
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x2c], 0xffffffe8
mov dword [ebp - 0x28], 0x8d026aff
mov dword [ebp - 0x24], 0xffffff8d
mov dword [ebp - 0x20], 0xffffe8ff
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x18], 0x8b500cff
mov word [ebp - 0x14], 0x84d
call fcn.10086180
add esp, 8
mov dword [0x101eefc4], eax
test eax, eax
je 0x10051b16
movzx ecx, byte [eax + 1]
add eax, 0x31
mov dword [0x100e6494], ecx
mov dword [0x101ef0b8], eax
jmp 0x10051b20
mov ecx, str.SS6_Move_Map_0x8E_HOOK
call fcn.10086360
push 0xff
push 0x47
lea edx, [ebp - 0x58]
mov dword [ebp - 0x58], 0x274ff81
mov ecx, 0x400000
mov dword [ebp - 0x54], 0xa1520000
mov dword [ebp - 0x50], 0xffffffff
mov dword [ebp - 0x4c], 0xffff8b50
mov dword [ebp - 0x48], 0x51ffffff
mov dword [ebp - 0x44], 0x8bffff8b
mov dword [ebp - 0x40], 0xb0ff
mov dword [ebp - 0x3c], 0xff8b5000
mov dword [ebp - 0x38], 0xacff8bff
mov dword [ebp - 0x34], 0x52000000
mov dword [ebp - 0x30], 0xffffffe8
mov dword [ebp - 0x2c], 0x1cff83ff
mov dword [ebp - 0x28], 0x85ffffff
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x20], 0x8bffffff
mov dword [ebp - 0x1c], 0xffc6ffff
mov dword [ebp - 0x18], 0xff8b0079
mov word [ebp - 0x14], 0x52ff
mov byte [ebp - 0x12], 0x8b
call fcn.10086180
mov edx, eax
add esp, 8
test edx, edx
je 0x10051c6b
mov ecx, dword [edx + 8]
mov eax, dword [edx + 0x29]
mov dword [0x101eef24], ecx
add eax, 0x2d
add ecx, 4
mov dword [ebp - 0x74], 0x136a006a
add eax, edx
mov dword [0x101ef12c], ecx
push 0xfe
push 0x1c
lea edx, [ebp - 0x74]
mov dword [0x101ef0f0], eax
mov ecx, 0x400000
mov dword [ebp - 0x70], 0xfefefe8b
mov dword [ebp - 0x6c], 0xfee8fefe
mov dword [ebp - 0x68], 0x5dfefefe
mov dword [ebp - 0x64], 0xccccccc3
mov dword [ebp - 0x60], 0x55cccccc
mov dword [ebp - 0x5c], 0xff6aec8b
call fcn.10086180
add esp, 8
mov dword [0x101eefd0], eax
test eax, eax
je 0x10051c3c
add eax, 0x17
mov dword [0x101eefd0], eax
jmp 0x10051ca4
mov edx, 0x47
xor ecx, ecx
mov al, byte [ecx + 0x100d24e4]
xor al, dl
mov byte [ebp + ecx - 0x68], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0xc
jb 0x10051c43
mov byte [ebp - 0x5c], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x68]
jmp 0x10051c98
mov edx, 0x11
xor ecx, ecx
mov al, byte [ecx + str.BA_KRycwFRRY]
xor al, dl
mov byte [ebp + ecx - 0x68], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0xd
jb 0x10051c72
mov byte [ebp - 0x5b], 0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x68]
call fcn.10086360
mov dword [ebp - 4], 0xffffffff
push 0xff
push 0x2a
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0xffffff66
mov ecx, 0x400000
mov dword [ebp - 0x38], 0xffffffff
mov dword [ebp - 0x34], 0xffffff66
mov dword [ebp - 0x30], 0x8bffffff
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x28], 0xffff66ff
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x20], 0xffffff66
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x18], 0xffffff8b
mov word [ebp - 0x14], 0xffff
call fcn.10086180
add esp, 8
mov dword [0x101eef90], eax
test eax, eax
je 0x10051d1a
mov eax, dword [eax + 4]
mov dword [0x101eef90], eax
jmp 0x10051d53
mov edx, 0x19
xor ecx, ecx
mov al, byte [ecx + str.JI_CP_O]
xor al, dl
mov byte [ebp + ecx - 0x6c], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x11
jb 0x10051d21
mov byte [ebp - 0x5b], 0
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], 2
call fcn.10086360
mov dword [ebp - 4], 0xffffffff
mov edx, 0xfe
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + 0x100d2518]
xor al, dl
mov byte [ebp + ecx - 0x68], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0xc
jb 0x10051d60
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 0x5c], 0
call esi
test eax, eax
je 0x10051ea6
mov dword [ebp - 0x34], 0x404ffd9
mov edx, 0xfe
mov dword [ebp - 0x30], 0xffdb0000
xor ecx, ecx
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x28], 0xffffffdc
mov dword [ebp - 0x24], 0xffdcffff
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x1c], 0xffffffa1
mov dword [ebp - 0x18], 0x8ffd9ff
mov word [ebp - 0x14], 4
mov byte [ebp - 0x12], 0
nop dword [eax]
mov al, byte [ecx + 0x100d2518]
xor al, dl
mov byte [ebp + ecx - 0x68], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0xc
jb 0x10051de0
push 0xff
push 0x23
lea eax, [ebp - 0x68]
mov byte [ebp - 0x5c], 0
push eax
call esi
lea edx, [ebp - 0x34]
mov ecx, eax
call fcn.10086180
mov ebx, eax
mov dword [ebp - 0x60], 0
add esp, 8
mov byte [ebp - 0x5c], 0
xorps xmm0, xmm0
movq qword [ebp - 0x68], xmm0
test ebx, ebx
je 0x10051e9c
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x78]
push eax
push 0x40
push 6
push ebx
call edi
mov eax, dword [0x100d180c]
mov dword [ebx], eax
movzx eax, word [0x100d1810]
mov word [ebx + 4], ax
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x78]
push 6
push ebx
call edi
lea eax, [ebp - 0x78]
push eax
push 0x40
push 6
lea esi, [ebx + 0x1d]
push esi
call edi
mov eax, dword [0x100d180c]
mov dword [esi], eax
movzx eax, word [0x100d1810]
mov word [esi + 4], ax
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x78]
push 6
push esi
call edi
mov eax, dword [ebx + 8]
mov dword [0x101eeffc], eax
add eax, 0xfffffffc
mov dword [0x101eef1c], eax
jmp 0x10051ea6
mov ecx, str.SS6_Target_Anti_X_Find
call fcn.10086360
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008d9f1
mov esp, ebp
pop ebp
ret