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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001a8e8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10026018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x100
push 0
push 0x111840f8
mov esi, ecx
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
mov cl, byte [eax + 0x1001f070]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x111840f8], cl
inc eax
cmp eax, 0x100
jb 0x10002222
mov edx, dword [esi + 0x44]
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x3c]
push edx
mov edx, dword [esi + 0x38]
push eax
mov eax, dword [esi + 0x34]
push ecx
mov ecx, dword [esi + 0x30]
push edx
mov edx, dword [esi + 0x2c]
push eax
mov eax, dword [esi + 0x28]
push ecx
movzx ecx, byte [esi + 0xc]
push edx
movzx edx, byte [esi + 0xb]
push eax
movzx eax, byte [esi + 0xa]
push ecx
movzx ecx, byte [esi + 9]
push edx
movzx edx, byte [esi + 8]
push eax
movzx eax, byte [esi + 7]
push ecx
movzx ecx, byte [esi + 6]
push edx
movzx edx, byte [esi + 5]
push eax
movzx eax, byte [esi + 4]
push ecx
push edx
push eax
push 0x111840f8
push 0
mov ecx, 0x10126530
call fcn.1000b4f0
mov al, byte [esi + 4]
add esp, 0x4c
test al, al
jne 0x1000247e
mov dword [0x11183b80], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
movzx ecx, byte [esi + 5]
movzx edx, byte [esi + 6]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [0x11183b74], eax
movzx eax, byte [esi + 7]
mov dword [0x11183b78], ecx
movzx ecx, byte [esi + 8]
mov dword [0x11183b7c], edx
movzx edx, byte [esi + 9]
mov dword [0x11183bc0], eax
movzx eax, byte [esi + 0xa]
mov dword [0x11183bb4], ecx
movzx ecx, byte [esi + 0xb]
mov dword [0x11183ba4], edx
movzx edx, byte [esi + 0xc]
mov dword [0x11183ba8], eax
mov eax, dword [esi + 0x28]
mov dword [0x11183bac], ecx
mov dword [0x11183bb0], edx
test eax, eax
je 0x10002351
mov dword [0x11183bd0], eax
lea eax, [ebp - 0x30]
push eax
push 0x40
push 0x20
push 0x10130dec
call edi
push 0x20
push 0x1012b57c
push 0x10130dec
call sub.MSVCR100.dll_memcpy
mov edx, dword [ebp - 0x30]
add esp, 0xc
lea ecx, [ebp - 0x30]
push ecx
push edx
push 0x20
push 0x10130dec
call edi
lea eax, [ebp - 0x30]
push eax
push 0x40
push 0x11
push 0x11183ab4
call edi
mov ecx, dword [esi + 0x48]
mov dword [0x11183ab4], ecx
mov edx, dword [esi + 0x4c]
mov dword [0x11183ab8], edx
mov eax, dword [esi + 0x50]
mov dword [0x11183abc], eax
mov ecx, dword [esi + 0x54]
mov dword [0x11183ac0], ecx
mov ecx, dword [ebp - 0x30]
mov dl, byte [esi + 0x58]
lea eax, [ebp - 0x30]
push eax
push ecx
push 0x11
push 0x11183ab4
mov byte [0x11183ac4], dl
call edi
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x100023e4
movzx edx, byte [esi + 0xd]
inc dl
mov byte [0x10130de4], dl
mov dword [0x11183bd4], eax
movzx eax, byte [esi + 0xf]
add al, 2
mov byte [0x10130de5], al
mov cl, byte [esi + 0x10]
add cl, 3
mov byte [0x10130de6], cl
movzx edx, byte [esi + 0x12]
add dl, 4
mov byte [0x10130de7], dl
movzx eax, byte [esi + 0x13]
add al, 5
mov byte [0x10130de8], al
mov eax, dword [esi + 0x30]
test eax, eax
je 0x1000243b
lea ecx, [ebp - 0x30]
push ecx
push 0x40
push 0x11
push 0x10130dd0
mov dword [0x11183bd8], eax
call edi
mov edx, dword [esi + 0x15]
mov dword [0x10130dd0], edx
mov eax, dword [esi + 0x19]
mov dword [0x10130dd4], eax
mov ecx, dword [esi + 0x1d]
mov dword [0x10130dd8], ecx
mov edx, dword [esi + 0x21]
mov dword [0x10130ddc], edx
mov edx, dword [ebp - 0x30]
mov al, byte [esi + 0x25]
lea ecx, [ebp - 0x30]
push ecx
push edx
push 0x11
push 0x10130dd0
mov byte [0x10130de0], al
call edi
mov eax, dword [esi + 0x34]
test eax, eax
je 0x10002447
mov dword [0x11183bc4], eax
mov eax, dword [esi + 0x38]
test eax, eax
je 0x10002453
mov dword [0x11183bc8], eax
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x1000245f
mov dword [0x11183bcc], eax
mov eax, dword [esi + 0x40]
test eax, eax
je 0x1000246b
mov dword [0x11183bdc], eax
mov esi, dword [esi + 0x44]
test esi, esi
je 0x100024f4
mov dword [0x11183be0], esi
jmp 0x100024f4
movzx eax, al
dec eax
cmp eax, 4
ja case.default.0x10002487
jmp dword [eax*4 + 0x10002510]
mov ecx, 8
jmp 0x100024df
mov ecx, 9
jmp 0x100024df
mov ecx, 3
xor eax, eax
mov dl, byte [eax + str.XW_TQM_WUb0yezp5twzqx]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x2c], dl
inc eax
and ecx, 0xff
cmp eax, 0x1a
jb 0x100024a3
mov byte [ebp - 0x12], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
jmp 0x100024e4
mov ecx, 0xb
jmp 0x100024df
mov ecx, 0xc
jmp 0x100024df
mov ecx, 0xd
call fcn.1000baa0
push eax
push 1
mov eax, 0x10130508
call fcn.100149f0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10019826
mov esp, ebp
pop ebp
ret