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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x100
push 0
push 0x1012b428
mov esi, eax
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
nop
mov cl, byte [eax + 0x1001e860]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x1012b428], cl
inc eax
cmp eax, 0x100
jl 0x100031a0
mov edx, dword [esi + 0x68]
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 0x60]
push edx
mov edx, dword [esi + 0x5c]
push eax
mov eax, dword [esi + 0x58]
push ecx
mov ecx, dword [esi + 0x54]
push edx
mov edx, dword [esi + 0x50]
push eax
mov eax, dword [esi + 0x4c]
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 0x1012b428
push 0
mov ecx, 0x10120080
call fcn.10006b00
mov al, byte [esi + 4]
add esp, 0x4c
test al, al
jne 0x1000353f
mov dword [0x10125fb8], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
movzx edx, byte [esi + 6]
movzx ecx, byte [esi + 5]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [0x10125fb4], edx
movzx edx, byte [esi + 0x26]
mov dword [0x10125fac], eax
movzx eax, byte [esi + 7]
mov dword [0x10125fb0], ecx
movzx ecx, byte [esi + 8]
mov dword [0x10125fe4], edx
movzx edx, byte [esi + 0xb]
mov dword [0x10126004], eax
movzx eax, byte [esi + 9]
mov dword [0x10125ff8], ecx
movzx ecx, byte [esi + 0xa]
mov dword [0x10125ff0], edx
lea edx, [ebp - 4]
push edx
push 0x40
mov dword [0x10125fe8], eax
movzx eax, byte [esi + 0xc]
mov dword [0x10125fec], ecx
movzx ecx, byte [esi + 0xce]
push 8
push 0x10125198
mov dword [0x10125ff4], eax
mov dword [0x10126008], ecx
call edi
mov eax, dword [esi + 0xd]
mov dword [0x10125198], eax
mov eax, dword [ebp - 4]
mov ecx, dword [esi + 0x11]
lea edx, [ebp - 4]
push edx
push eax
push 8
push 0x10125198
mov dword [0x1012519c], ecx
call edi
lea ecx, [ebp - 4]
push ecx
push 0x40
push 0x11
push 0x101251a0
call edi
mov edx, dword [esi + 0x15]
mov dword [0x101251a0], edx
mov eax, dword [esi + 0x19]
mov dword [0x101251a4], eax
mov ecx, dword [esi + 0x1d]
mov dword [0x101251a8], ecx
mov edx, dword [esi + 0x21]
mov dword [0x101251ac], edx
mov edx, dword [ebp - 4]
mov al, byte [esi + 0x25]
lea ecx, [ebp - 4]
push ecx
push edx
push 0x11
push 0x101251a0
mov byte [0x101251b0], al
call edi
lea eax, [ebp - 4]
push eax
push 0x40
push 0x20
push 0x1012510c
call edi
push 0x20
lea ecx, [esi + 0x27]
push ecx
push 0x1012510c
call sub.MSVCR100.dll_memcpy
mov eax, dword [ebp - 4]
add esp, 0xc
lea edx, [ebp - 4]
push edx
push eax
push 0x20
push 0x1012510c
call edi
mov eax, dword [esi + 0x48]
test eax, eax
je 0x10003360
mov dword [0x1012512c], eax
call fcn.1000f2e0
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x100033a5
lea ecx, [ebp - 4]
push ecx
push 0x40
push 0x20
push 0x10125e1c
mov dword [0x10126018], eax
call edi
push 0x20
push 0x101202e4
push 0x10125e1c
call sub.MSVCR100.dll_memcpy
mov eax, dword [ebp - 4]
add esp, 0xc
lea edx, [ebp - 4]
push edx
push eax
push 0x20
push 0x10125e1c
call edi
mov eax, dword [esi + 0x50]
test eax, eax
je 0x100033ee
movzx ecx, byte [esi + 0xd]
inc cl
mov byte [0x10125e14], cl
movzx edx, byte [esi + 0xf]
add dl, 2
mov byte [0x10125e15], dl
mov dword [0x1012601c], eax
mov al, byte [esi + 0x10]
add al, 3
mov byte [0x10125e16], al
movzx ecx, byte [esi + 0x12]
add cl, 4
mov byte [0x10125e17], cl
movzx edx, byte [esi + 0x13]
add dl, 5
mov byte [0x10125e18], dl
mov eax, dword [esi + 0x54]
test eax, eax
je 0x10003446
mov dword [0x10126020], eax
lea eax, [ebp - 4]
push eax
push 0x40
push 0x11
push 0x10125e00
call edi
mov ecx, dword [esi + 0x15]
mov dword [0x10125e00], ecx
mov edx, dword [esi + 0x19]
mov dword [0x10125e04], edx
mov eax, dword [esi + 0x1d]
mov dword [0x10125e08], eax
mov ecx, dword [esi + 0x21]
mov dword [0x10125e0c], ecx
mov ecx, dword [ebp - 4]
mov dl, byte [esi + 0x25]
lea eax, [ebp - 4]
push eax
push ecx
push 0x11
push 0x10125e00
mov byte [0x10125e10], dl
call edi
mov eax, dword [esi + 0x58]
test eax, eax
je 0x10003452
mov dword [0x1012600c], eax
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x1000345e
mov dword [0x10126010], eax
mov eax, dword [esi + 0x60]
test eax, eax
je 0x1000346a
mov dword [0x10126014], eax
mov eax, dword [esi + 0x64]
test eax, eax
je 0x10003476
mov dword [0x10126024], eax
mov eax, dword [esi + 0x68]
test eax, eax
je 0x10003482
mov dword [0x10126028], eax
movzx edx, byte [esi + 0x6c]
lea eax, [ebp - 4]
push eax
push 0x40
push 0x20
push 0x10125134
mov dword [0x10125130], edx
call edi
push 0x20
lea ecx, [esi + 0x6d]
push ecx
push 0x10125134
call sub.MSVCR100.dll_memcpy
mov eax, dword [ebp - 4]
add esp, 0xc
lea edx, [ebp - 4]
push edx
push eax
push 0x20
push 0x10125134
call edi
movzx ecx, byte [esi + 0x8d]
lea edx, [ebp - 4]
push edx
push 0x40
push 0x20
push 0x10125158
mov dword [0x10125154], ecx
call edi
push 0x20
lea eax, [esi + 0x8e]
push eax
push 0x10125158
call sub.MSVCR100.dll_memcpy
mov edx, dword [ebp - 4]
add esp, 0xc
lea ecx, [ebp - 4]
push ecx
push edx
push 0x20
push 0x10125158
call edi
lea eax, [ebp - 4]
push eax
push 0x40
push 0x20
push 0x10125178
call edi
push 0x20
add esi, 0xae
push esi
push 0x10125178
call sub.MSVCR100.dll_memcpy
mov edx, dword [ebp - 4]
add esp, 0xc
lea ecx, [ebp - 4]
push ecx
push edx
push 0x20
push 0x10125178
call edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, al
dec eax
cmp eax, 4
ja case.default.0x10003548
jmp dword [eax*4 + 0x10003598]
mov ecx, 8
jmp 0x10003577
mov ecx, 9
jmp 0x10003577
mov ecx, 0xa
jmp 0x10003577
mov ecx, 0xb
jmp 0x10003577
mov ecx, 0xc
jmp 0x10003577
mov ecx, 0xd
push 0x1388
call fcn.10007260
push eax
push 1
mov ebx, 0x10125300
call fcn.1000ef90
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret