Function at 0x10002440
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 0x10127250
mov ebx, eax
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
nop
mov cl, byte [eax + 0x10017000]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10127250], cl
inc eax
cmp eax, 0x100
jb 0x10002460
mov edx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x60]
mov ecx, dword [ebx + 0x5c]
push edx
mov edx, dword [ebx + 0x58]
push eax
mov eax, dword [ebx + 0x54]
push ecx
mov ecx, dword [ebx + 0x50]
push edx
mov edx, dword [ebx + 0x4c]
push eax
mov eax, dword [ebx + 0x48]
push ecx
movzx ecx, byte [ebx + 0x2e]
push edx
movzx edx, byte [ebx + 0x2d]
push eax
movzx eax, byte [ebx + 0x2c]
push ecx
movzx ecx, byte [ebx + 0x2a]
push edx
movzx edx, byte [ebx + 0x28]
push eax
movzx eax, byte [ebx + 0x27]
push ecx
movzx ecx, byte [ebx + 0x26]
push edx
movzx edx, byte [ebx + 0x25]
push eax
movzx eax, byte [ebx + 4]
push ecx
push edx
push eax
push 0x10127250
push 0
mov ecx, 0x1011c548
call fcn.10005790
mov al, byte [ebx + 4]
add esp, 0x4c
test al, al
jne 0x10002693
mov dword [0x10126bbc], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x10126bb0], eax
lea esi, [ebx + 5]
mov ecx, 8
mov edi, 0x10126b1c
rep movsd dword es:[edi], dword [esi]
movzx ecx, byte [ebx + 0x25]
movzx eax, byte [ebx + 0x27]
movzx edx, byte [ebx + 0x26]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [0x10126bb4], ecx
movzx ecx, byte [ebx + 0x28]
mov dword [0x10126c0c], eax
movzx eax, byte [ebx + 0x2a]
mov dword [0x10126bb8], edx
movzx edx, byte [ebx + 0x29]
mov dword [0x10126bfc], ecx
movzx ecx, byte [ebx + 0x2b]
mov dword [0x10126be8], eax
movzx eax, byte [ebx + 0x2d]
mov dword [0x10126c00], edx
movzx edx, byte [ebx + 0x2c]
mov dword [0x10126bec], ecx
movzx ecx, byte [ebx + 0x2e]
mov dword [0x10126bf4], eax
mov eax, dword [ebx + 0x48]
mov dword [0x10126bf0], edx
mov dword [0x10126bf8], ecx
test eax, eax
je 0x100025b1
lea edx, [ebp - 4]
push edx
push 0x40
push 0x20
push 0x10126afc
mov dword [0x10126c1c], eax
call esi
push 0x20
push 0x10121594
push 0x10126afc
call sub.MSVCR100.dll_memcpy
mov ecx, dword [ebp - 4]
add esp, 0xc
lea eax, [ebp - 4]
push eax
push ecx
push 0x20
push 0x10126afc
call esi
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x100025f8
movzx edx, byte [ebx + 0x2f]
inc dl
mov byte [0x10126af4], dl
mov dword [0x10126c20], eax
movzx eax, byte [ebx + 0x31]
add al, 2
mov byte [0x10126af5], al
mov cl, byte [ebx + 0x32]
add cl, 3
mov byte [0x10126af6], cl
movzx edx, byte [ebx + 0x34]
add dl, 4
mov byte [0x10126af7], dl
movzx eax, byte [ebx + 0x35]
add al, 5
mov byte [0x10126af8], al
mov eax, dword [ebx + 0x50]
test eax, eax
je 0x1000264f
lea ecx, [ebp - 4]
push ecx
push 0x40
push 0x11
push 0x10126ae0
mov dword [0x10126c24], eax
call esi
mov edx, dword [ebx + 0x37]
mov dword [0x10126ae0], edx
mov eax, dword [ebx + 0x3b]
mov dword [0x10126ae4], eax
mov ecx, dword [ebx + 0x3f]
mov dword [0x10126ae8], ecx
mov edx, dword [ebx + 0x43]
mov dword [0x10126aec], edx
mov edx, dword [ebp - 4]
mov al, byte [ebx + 0x47]
lea ecx, [ebp - 4]
push ecx
push edx
push 0x11
push 0x10126ae0
mov byte [0x10126af0], al
call esi
mov eax, dword [ebx + 0x54]
test eax, eax
je 0x1000265b
mov dword [0x10126c10], eax
mov eax, dword [ebx + 0x58]
test eax, eax
je 0x10002667
mov dword [0x10126c14], eax
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x10002673
mov dword [0x10126c18], eax
mov eax, dword [ebx + 0x60]
test eax, eax
je 0x1000267f
mov dword [0x10126c28], eax
mov ebx, dword [ebx + 0x64]
test ebx, ebx
je 0x100026e5
mov dword [0x10126c2c], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, al
dec eax
cmp eax, 5
ja case.default.0x1000269c
jmp dword [eax*4 + 0x100026ec]
mov ecx, 8
jmp 0x100026cb
mov ecx, 9
jmp 0x100026cb
mov ecx, 0xa
jmp 0x100026cb
mov ecx, 0xb
jmp 0x100026cb
mov ecx, 0xc
jmp 0x100026cb
mov ecx, 0xd
push 0x1388
call fcn.10005ee0
push eax
push 1
mov eax, 0x101264f8
call fcn.1000d510
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret