Function at 0x10002540
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 0x10124638
mov esi, eax
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
mov cl, byte [eax + 0x10013f80]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10124638], cl
inc eax
cmp eax, 0x100
jb 0x10002560
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 0x10124638
push 0
mov ecx, 0x10119200
call fcn.10005510
mov al, byte [esi + 4]
add esp, 0x4c
test al, al
jne 0x1000288d
mov dword [0x1011f1cc], 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 [0x1011f1c8], edx
movzx edx, byte [esi + 9]
mov dword [0x1011f1c0], eax
movzx eax, byte [esi + 7]
mov dword [0x1011f1f0], edx
movzx edx, byte [esi + 0xc]
mov dword [0x1011f1c4], ecx
movzx ecx, byte [esi + 8]
mov dword [0x1011f210], eax
movzx eax, byte [esi + 0xa]
mov dword [0x1011f1fc], edx
mov dword [0x1011f204], ecx
movzx ecx, byte [esi + 0xb]
lea edx, [ebp - 4]
push edx
push 0x40
mov dword [0x1011f1f4], eax
movzx eax, byte [esi + 0xd]
mov dword [0x1011f1f8], ecx
mov cl, byte [esi + 0x48]
push 0x20
push 0x1011f0d8
mov dword [0x1011f200], eax
mov byte [0x1011f234], cl
call edi
push 0x20
lea eax, [esi + 0x49]
push eax
push 0x1011f0d8
call sub.MSVCR100.dll_memcpy
mov edx, dword [ebp - 4]
add esp, 0xc
lea ecx, [ebp - 4]
push ecx
push edx
push 0x20
push 0x1011f0d8
call edi
lea eax, [ebp - 4]
push eax
push 0x40
push 0x20
push 0x1011f0b8
call edi
push 0x20
lea ecx, [esi + 0x69]
push ecx
push 0x1011f0b8
call sub.MSVCR100.dll_memcpy
mov eax, dword [ebp - 4]
add esp, 0xc
lea edx, [ebp - 4]
push edx
push eax
push 0x20
push 0x1011f0b8
call edi
lea ecx, [ebp - 4]
push ecx
push 0x40
push 0x20
push 0x1011f098
call edi
push 0x20
lea edx, [esi + 0x89]
push edx
push 0x1011f098
call sub.MSVCR100.dll_memcpy
mov ecx, dword [ebp - 4]
add esp, 0xc
lea eax, [ebp - 4]
push eax
push ecx
push 0x20
push 0x1011f098
call edi
lea edx, [ebp - 4]
push edx
push 0x40
push 0x20
push 0x1011f078
call edi
push 0x20
lea eax, [esi + 0xa9]
push eax
push 0x1011f078
call sub.MSVCR100.dll_memcpy
mov edx, dword [ebp - 4]
add esp, 0xc
lea ecx, [ebp - 4]
push ecx
push edx
push 0x20
push 0x1011f078
call edi
lea eax, [ebp - 4]
push eax
push 0x40
push 0x20
push 0x1011f058
call edi
push 0x20
lea ecx, [esi + 0xc9]
push ecx
push 0x1011f058
call sub.MSVCR100.dll_memcpy
mov eax, dword [ebp - 4]
add esp, 0xc
lea edx, [ebp - 4]
push edx
push eax
push 0x20
push 0x1011f058
call edi
mov eax, dword [esi + 0x28]
test eax, eax
je 0x100027a9
lea ecx, [ebp - 4]
push ecx
push 0x40
push 0x20
push 0x1011f114
mov dword [0x1011f220], eax
call edi
push 0x20
push 0x10119464
push 0x1011f114
call sub.MSVCR100.dll_memcpy
mov eax, dword [ebp - 4]
add esp, 0xc
lea edx, [ebp - 4]
push edx
push eax
push 0x20
push 0x1011f114
call edi
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x100027f2
movzx ecx, byte [esi + 0xe]
inc cl
mov byte [0x1011f10c], cl
movzx edx, byte [esi + 0x10]
add dl, 2
mov byte [0x1011f10d], dl
mov dword [0x1011f224], eax
mov al, byte [esi + 0x11]
add al, 3
mov byte [0x1011f10e], al
movzx ecx, byte [esi + 0x13]
add cl, 4
mov byte [0x1011f10f], cl
movzx edx, byte [esi + 0x14]
add dl, 5
mov byte [0x1011f110], dl
mov eax, dword [esi + 0x30]
test eax, eax
je 0x1000284a
mov dword [0x1011f228], eax
lea eax, [ebp - 4]
push eax
push 0x40
push 0x11
push 0x1011f0f8
call edi
mov ecx, dword [esi + 0x16]
mov dword [0x1011f0f8], ecx
mov edx, dword [esi + 0x1a]
mov dword [0x1011f0fc], edx
mov eax, dword [esi + 0x1e]
mov dword [0x1011f100], eax
mov ecx, dword [esi + 0x22]
mov dword [0x1011f104], ecx
mov ecx, dword [ebp - 4]
mov dl, byte [esi + 0x26]
lea eax, [ebp - 4]
push eax
push ecx
push 0x11
push 0x1011f0f8
mov byte [0x1011f108], dl
call edi
mov eax, dword [esi + 0x34]
test eax, eax
je 0x10002856
mov dword [0x1011f214], eax
mov eax, dword [esi + 0x38]
test eax, eax
je 0x10002862
mov dword [0x1011f218], eax
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x1000286e
mov dword [0x1011f21c], eax
mov eax, dword [esi + 0x40]
test eax, eax
je 0x1000287a
mov dword [0x1011f22c], eax
mov esi, dword [esi + 0x44]
test esi, esi
je 0x10002887
mov dword [0x1011f230], esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
movzx eax, al
dec eax
cmp eax, 4
ja case.default.0x10002896
jmp dword [eax*4 + 0x10002900]
push 0x1388
mov ecx, 8
call fcn.10005c90
push eax
push 1
mov eax, 0x1011e3b8
call fcn.1000c3b0
add esp, 0xc
call fcn.1000bfd0
push 0x1388
mov ecx, 9
jmp 0x100028a7
push 0x1388
mov ecx, 0xa
jmp 0x100028a7
push 0x1388
mov ecx, 0xb
jmp 0x100028a7
push 0x1388
mov ecx, 0xc
jmp 0x100028a7
push 0x1388
mov ecx, 0xd
jmp 0x100028a7