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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
push 0x100
push 0
push 0x10125238
mov esi, eax
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
mov cl, byte [eax + 0x10014fe0]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10125238], cl
inc eax
cmp eax, 0x100
jb 0x100020e0
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 0x10125238
push 0
mov ecx, 0x1011a678
call fcn.10004f40
mov al, byte [esi + 4]
add esp, 0x4c
test al, al
jne 0x100022f1
mov dword [0x1011fed8], 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 [0x1011fecc], eax
movzx eax, byte [esi + 7]
mov dword [0x1011fed0], ecx
movzx ecx, byte [esi + 8]
mov dword [0x1011fed4], edx
movzx edx, byte [esi + 9]
mov dword [0x1011ff18], eax
movzx eax, byte [esi + 0xa]
mov dword [0x1011ff0c], ecx
movzx ecx, byte [esi + 0xb]
mov dword [0x1011fefc], edx
movzx edx, byte [esi + 0xc]
mov dword [0x1011ff00], eax
mov eax, dword [esi + 0x28]
mov dword [0x1011ff04], ecx
mov dword [0x1011ff08], edx
test eax, eax
je 0x1000220f
mov dword [0x1011ff28], eax
lea eax, [ebp - 4]
push eax
push 0x40
push 0x20
push 0x1011fe3c
call edi
push 0x20
push 0x1011a8dc
push 0x1011fe3c
call sub.MSVCR100.dll_memcpy
mov edx, dword [ebp - 4]
add esp, 0xc
lea ecx, [ebp - 4]
push ecx
push edx
push 0x20
push 0x1011fe3c
call edi
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x10002257
mov dword [0x1011ff2c], eax
movzx eax, byte [esi + 0xd]
inc al
mov byte [0x1011fe34], al
movzx ecx, byte [esi + 0xf]
add cl, 2
mov byte [0x1011fe35], cl
mov dl, byte [esi + 0x10]
add dl, 3
mov byte [0x1011fe36], dl
movzx eax, byte [esi + 0x12]
add al, 4
mov byte [0x1011fe37], al
movzx ecx, byte [esi + 0x13]
add cl, 5
mov byte [0x1011fe38], cl
mov eax, dword [esi + 0x30]
test eax, eax
je 0x100022ae
lea edx, [ebp - 4]
push edx
push 0x40
push 0x11
push 0x1011fe20
mov dword [0x1011ff30], eax
call edi
mov eax, dword [esi + 0x15]
mov dword [0x1011fe20], eax
mov ecx, dword [esi + 0x19]
mov dword [0x1011fe24], ecx
mov edx, dword [esi + 0x1d]
mov dword [0x1011fe28], edx
mov eax, dword [esi + 0x21]
mov dword [0x1011fe2c], eax
mov eax, dword [ebp - 4]
mov cl, byte [esi + 0x25]
lea edx, [ebp - 4]
push edx
push eax
push 0x11
push 0x1011fe20
mov byte [0x1011fe30], cl
call edi
mov eax, dword [esi + 0x34]
test eax, eax
je 0x100022ba
mov dword [0x1011ff1c], eax
mov eax, dword [esi + 0x38]
test eax, eax
je 0x100022c6
mov dword [0x1011ff20], eax
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x100022d2
mov dword [0x1011ff24], eax
mov eax, dword [esi + 0x40]
test eax, eax
je 0x100022de
mov dword [0x1011ff34], eax
mov esi, dword [esi + 0x44]
test esi, esi
je 0x10002343
mov dword [0x1011ff38], esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
movzx eax, al
dec eax
cmp eax, 4
ja case.default.0x100022fa
jmp dword [eax*4 + 0x1000234c]
mov ecx, 8
jmp 0x10002329
mov ecx, 9
jmp 0x10002329
mov ecx, 0xa
jmp 0x10002329
mov ecx, 0xb
jmp 0x10002329
mov ecx, 0xc
jmp 0x10002329
mov ecx, 0xd
push 0x1388
call fcn.10005440
push eax
push 1
mov eax, 0x1011f868
call fcn.1000d0a0
add esp, 0xc
pop edi
pop esi
mov esp, ebp
pop ebp
ret