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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003c333
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x10047650]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov al, byte [esi + 4]
test al, al
jne 0x1000bdd6
mov dword [0x101ab710], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
movzx ecx, byte [esi + 0x51]
movzx edx, byte [esi + 0x70]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [0x101ab704], eax
movzx eax, byte [esi + 0x50]
mov dword [0x101ab708], eax
lea eax, [ebp - 0x9c]
push eax
push 0x40
push 0x11
push 0x101ab398
mov dword [0x101ab70c], ecx
mov dword [0x101ab744], edx
call edi
mov ecx, dword [esi + 0x5b]
mov dword [0x101ab398], ecx
mov edx, dword [esi + 0x5f]
mov dword [0x101ab39c], edx
mov eax, dword [esi + 0x63]
mov dword [0x101ab3a0], eax
mov ecx, dword [esi + 0x67]
mov dword [0x101ab3a4], ecx
mov ecx, dword [ebp - 0x9c]
movzx edx, byte [esi + 0x6b]
lea eax, [ebp - 0x9c]
push eax
push ecx
push 0x11
push 0x101ab398
mov byte [0x101ab3a8], dl
call edi
movzx eax, byte [esi + 0x71]
mov edx, dword [esi + 0x6c]
lea ecx, [ebp - 0x9c]
push ecx
push 0x40
push 8
push 0x100a9c48
mov dword [0x101ab394], edx
mov dword [0x101ab73c], eax
call edi
mov edx, dword [esi + 0x72]
mov dword [0x100a9c48], edx
mov edx, dword [ebp - 0x9c]
mov eax, dword [esi + 0x76]
lea ecx, [ebp - 0x9c]
push ecx
push edx
push 8
push 0x100a9c48
mov dword [0x100a9c4c], eax
call edi
lea eax, [ebp - 0x9c]
push eax
push 0x40
push 0x11
push 0x100a9c50
call edi
mov ecx, dword [esi + 0x7a]
mov dword [0x100a9c50], ecx
mov edx, dword [esi + 0x7e]
mov dword [0x100a9c54], edx
mov eax, dword [esi + 0x82]
mov dword [0x100a9c58], eax
mov ecx, dword [esi + 0x86]
mov dword [0x100a9c5c], ecx
mov ecx, dword [ebp - 0x9c]
movzx edx, byte [esi + 0x8a]
lea eax, [ebp - 0x9c]
push eax
push ecx
push 0x11
push 0x100a9c50
mov byte [0x100a9c60], dl
call edi
mov eax, dword [esi + 0x28]
test eax, eax
je 0x1000bbca
lea edx, [ebp - 0x9c]
push edx
push 0x40
push 0x20
push 0x101ab3e5
mov dword [0x101ab754], eax
call edi
push 0x20
push 0x100a9c27
push 0x101ab3e5
call fcn.10023130
mov ecx, dword [ebp - 0x9c]
add esp, 0xc
lea eax, [ebp - 0x9c]
push eax
push ecx
push 0x20
push 0x101ab3e5
call edi
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x1000bc11
movzx edx, byte [esi + 0x72]
inc dl
mov byte [0x101ab405], dl
mov dword [0x101ab758], eax
movzx eax, byte [esi + 0x74]
add al, 2
mov byte [0x101ab406], al
mov cl, byte [esi + 0x75]
add cl, 3
mov byte [0x101ab407], cl
movzx edx, byte [esi + 0x77]
add dl, 4
mov byte [0x101ab408], dl
movzx eax, byte [esi + 0x78]
add al, 5
mov byte [0x101ab409], al
mov eax, dword [esi + 0x30]
test eax, eax
je 0x1000bc7a
lea ecx, [ebp - 0x9c]
push ecx
push 0x40
push 0x11
push 0x101ab40a
mov dword [0x101ab75c], eax
call edi
mov edx, dword [esi + 0x7a]
mov dword [0x101ab40a], edx
mov eax, dword [esi + 0x7e]
mov dword [0x101ab40e], eax
mov ecx, dword [esi + 0x82]
mov dword [0x101ab412], ecx
mov edx, dword [esi + 0x86]
mov dword [0x101ab416], edx
mov edx, dword [ebp - 0x9c]
mov al, byte [esi + 0x8a]
lea ecx, [ebp - 0x9c]
push ecx
push edx
push 0x11
push 0x101ab40a
mov byte [0x101ab41a], al
call edi
mov eax, dword [esi + 0x34]
test eax, eax
je 0x1000bc86
mov dword [0x101ab748], eax
mov eax, dword [esi + 0x38]
test eax, eax
je 0x1000bc92
mov dword [0x101ab74c], eax
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x1000bc9e
mov dword [0x101ab750], eax
mov eax, dword [esi + 0x40]
test eax, eax
je 0x1000bcaa
mov dword [0x101ab760], eax
mov eax, dword [esi + 0x44]
test eax, eax
je 0x1000bcb6
mov dword [0x101ab764], eax
mov eax, dword [esi + 0x48]
test eax, eax
je 0x1000bcc2
mov dword [0x101ab768], eax
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x1000bcce
mov dword [0x101ab76c], eax
cmp byte [esi + 0x59], 0
lea ecx, [ebp - 0x9c]
push ecx
push 0x40
push 0x20
setne al
push 0x101ab0fc
mov byte [0x101ab3d9], al
call edi
push 0x20
lea ebx, [esi + 5]
push ebx
push 0x101ab0fc
call fcn.10023130
mov eax, dword [ebp - 0x9c]
add esp, 0xc
lea edx, [ebp - 0x9c]
push edx
push eax
push 0x20
push 0x101ab0fc
call edi
mov ecx, ebx
call fcn.1000b610
movzx ecx, byte [esi + 0x52]
movzx eax, byte [esi + 0x54]
movzx edx, byte [esi + 0x53]
mov dword [0x101ab770], ecx
movzx ecx, byte [esi + 0x55]
mov dword [0x101ab778], eax
movzx eax, byte [esi + 0x57]
mov dword [0x101ab774], edx
movzx edx, byte [esi + 0x56]
mov dword [0x101ab77c], ecx
movzx ecx, byte [esi + 0x58]
mov dword [0x101ab784], eax
movzx eax, byte [esi + 0x5a]
xor edi, edi
cmp byte [0x101ab3d8], 0
mov dword [0x101ab708], edi
mov dword [0x101ab70c], edi
mov dword [0x101ab780], edx
mov dword [0x101ab788], ecx
mov dword [0x101ab3dc], eax
je 0x1000bef9
cmp eax, edi
je 0x1000bef9
mov ecx, 0x36
xor eax, eax
mov dl, byte [eax + str.mpYT_f]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x4c], dl
inc eax
and ecx, 0xff
cmp eax, 0x3b
jb 0x1000bd94
mov byte [ebp - 0x11], 0
push 0x1388
lea eax, [ebp - 0x4c]
push eax
push 2
mov eax, 0x100a9eb8
mov dword [ebp - 4], edi
call fcn.100050d0
add esp, 0xc
call fcn.10003cf0
jmp 0x1000bef9
movzx eax, al
dec eax
cmp eax, 5
ja case.default.0x1000bde3
jmp dword [eax*4 + 0x1000bf14]
push 0x1388
push str.Error_8
jmp 0x1000beea
push 0x1388
push str.Error_9
jmp 0x1000beea
mov ecx, 9
xor eax, eax
nop
mov dl, byte [eax + str.RNA_.MQXI5_va9nrru_qAX]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x3c], dl
inc eax
and ecx, 0xff
cmp eax, 0x28
jb 0x1000be10
mov byte [ebp - 0x14], 0
push 0x1388
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], 1
push eax
jmp 0x1000beea
mov ecx, 0x2d
xor eax, eax
lea esp, [esp]
mov dl, byte [eax + str.vjbgwai]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x98], dl
inc eax
and ecx, 0xff
cmp eax, 0x25
jb 0x1000be50
mov byte [ebp - 0x73], 0
push 0x1388
lea eax, [ebp - 0x98]
mov dword [ebp - 4], 2
push eax
jmp 0x1000beea
mov ecx, 0xaf
xor eax, eax
lea esp, [esp]
mov dl, byte [eax + 0x100410d8]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x70], dl
inc eax
and ecx, 0xff
cmp eax, 0x23
jb 0x1000be90
mov byte [ebp - 0x4d], 0
push 0x1388
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 3
push eax
jmp 0x1000beea
cmp dword [0x101ab3d4], 0
jne 0x1000bef9
xor ecx, ecx
mov edi, 0x10008dd0
mov dword [0x101ab3d4], 3
call fcn.10003bf0
jmp 0x1000bef9
push 0x1388
push str.Error_13
push 1
mov eax, 0x100a9d90
call fcn.100050d0
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002005a
mov esp, ebp
pop ebp
ret