Function at 0x1004a090
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10062973
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x1008000c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [0x10080eb4]
mov eax, dword fs:[0x2c]
mov dword [ebp - 0x20], 0x6835cca7
mov dword [ebp - 0x1c], 0xedd71fb9
mov byte [ebp - 0x18], 0xc3
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0x14], ecx
lea edi, [ecx + 0x2738]
mov eax, dword [ecx + 0x2db0]
test al, 1
jne 0x1004a139
or eax, 1
mov dword [ecx + 0x2db0], eax
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movlpd qword [ebp - 0x48], xmm0
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
mov byte [edi + 9], 1
mov al, byte [ebp + ecx - 0x20]
mov byte [ecx + edi], al
add ecx, 1
adc edx, 0
jne 0x1004a125
cmp ecx, 9
jb 0x1004a111
push 0x10070f50
call fcn.100583f7
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp byte [edi + 9], 0
je 0x1004a17b
xorps xmm0, xmm0
movlpd qword [ebp - 0x48], xmm0
mov ebx, dword [ebp - 0x44]
mov esi, dword [ebp - 0x48]
nop dword [eax]
mov ecx, esi
mov eax, 0x5151ffc3
and ecx, 7
mov edx, 0x81bb7b97
shl ecx, 3
call fcn.10058da0
xor byte [esi + edi], al
add esi, 1
adc ebx, 0
jne 0x1004a177
cmp esi, 9
jb 0x1004a150
mov byte [edi + 9], 0
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, dword [ebp - 0x14]
test eax, eax
je 0x1004a0e5
push 0x1c
lea ecx, [ebp - 0x3c]
add eax, 0x1000
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov eax, dword [0x100870f8]
test eax, eax
jne 0x1004a3d4
mov esi, dword [ebp - 0x30]
mov edx, esi
mov edi, dword [ebp - 0x3c]
push ecx
push 7
push str.xxx____xx__xxxxxxx____xxxx__xx
push 0x10073b64
mov ecx, edi
call fcn.10049fe0
mov edx, eax
add esp, 0x10
mov dword [0x1008923c], edx
cmp edx, 0x1000
jb 0x1004a208
xor ecx, ecx
nop dword [eax]
cmp byte [ecx + edx], 0xff
lea eax, [ecx + edx]
jne 0x1004a1f0
cmp byte [ecx + edx + 1], 0x15
je 0x1004a1fb
dec ecx
cmp ecx, 0xfffffe00
jne 0x1004a1e0
jmp 0x1004a208
mov dword [0x100870f8], eax
test eax, eax
jne 0x1004a3d4
push ecx
push 7
push str.xxx____x____xxxxxxxx____x____xxxxxx____xxxxxxxxxxxxx__
push 0x10073bbc
mov edx, esi
mov ecx, edi
call fcn.10049fe0
mov edx, eax
add esp, 0x10
mov dword [0x1008923c], edx
cmp edx, 0x1000
jb 0x1004a25b
xor ecx, ecx
cmp byte [ecx + edx], 0xff
lea eax, [ecx + edx]
jne 0x1004a243
cmp byte [ecx + edx + 1], 0x15
je 0x1004a24e
dec ecx
cmp ecx, 0xfffffe00
jne 0x1004a233
jmp 0x1004a25b
mov dword [0x100870f8], eax
test eax, eax
jne 0x1004a3d4
push ecx
push 0x15
push str.xxx____xxxxxxxxxx____xx
push 0x10073c0c
mov edx, esi
mov ecx, edi
call fcn.10049fe0
mov edx, eax
add esp, 0x10
mov dword [0x1008923c], edx
cmp edx, 0x1000
jb 0x1004a2ae
xor ecx, ecx
cmp byte [ecx + edx], 0xff
lea eax, [ecx + edx]
jne 0x1004a296
cmp byte [ecx + edx + 1], 0x15
je 0x1004a2a1
dec ecx
cmp ecx, 0xfffffe00
jne 0x1004a286
jmp 0x1004a2ae
mov dword [0x100870f8], eax
test eax, eax
jne 0x1004a3d4
push ecx
push 7
push str.xxx____xx
push 0x10073c30
mov edx, esi
mov ecx, edi
call fcn.10049fe0
mov edx, eax
add esp, 0x10
mov dword [0x1008923c], edx
cmp edx, 0x1000
jb 0x1004a308
xor ecx, ecx
nop dword [eax]
cmp byte [ecx + edx], 0xff
lea eax, [ecx + edx]
jne 0x1004a2f0
cmp byte [ecx + edx + 1], 0x15
je 0x1004a2fb
dec ecx
cmp ecx, 0xfffffe00
jne 0x1004a2e0
jmp 0x1004a308
mov dword [0x100870f8], eax
test eax, eax
jne 0x1004a3d4
push ecx
push 0xe
push str.xxx____xxx____x____
push 0x10073c50
mov edx, esi
mov ecx, edi
call fcn.10049fe0
mov edx, eax
add esp, 0x10
mov dword [0x1008923c], edx
cmp edx, 0x1000
jb 0x1004a357
xor ecx, ecx
cmp byte [ecx + edx], 0xff
lea eax, [ecx + edx]
jne 0x1004a343
cmp byte [ecx + edx + 1], 0x15
je 0x1004a34e
dec ecx
cmp ecx, 0xfffffe00
jne 0x1004a333
jmp 0x1004a357
mov dword [0x100870f8], eax
test eax, eax
jne 0x1004a3d4
push ecx
push 5
push str.xxxxx
push 0x10073c6c
mov edx, esi
mov ecx, edi
call fcn.10049fe0
mov edx, eax
add esp, 0x10
mov dword [0x1008923c], edx
cmp edx, 0x1000
jae 0x1004a3a6
mov dword [0x100870f8], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10057a19
mov esp, ebp
pop ebp
ret
xor ecx, ecx
nop dword [eax + eax]
cmp byte [ecx + edx], 0xff
lea eax, [ecx + edx]
jne 0x1004a3c0
cmp byte [ecx + edx + 1], 0x15
je 0x1004a3cb
dec ecx
cmp ecx, 0xfffffe00
jne 0x1004a3b0
jmp 0x1004a380
mov dword [0x100870f8], eax
test eax, eax
je 0x1004a38a
cmp eax, 0x1000
jbe 0x1004a3e0
mov ecx, dword [eax + 2]
jmp 0x1004a3e2
xor ecx, ecx
mov ecx, dword [ecx]
xor esi, esi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [0x100824bc], ecx
mov dword [0x10087684], 0x1004a050
mov dword [0x100870d4], 0x10087684
lea ecx, [ebp - 0x14]
add eax, 2
push ecx
push 0x40
push 1
add eax, esi
push eax
call edi
mov ecx, dword [0x100870f8]
mov al, byte [esi + 0x100870d4]
add ecx, 2
add ecx, esi
mov byte [ecx], al
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 1
push ecx
call edi
inc esi
cmp esi, 3
jg 0x1004a38a
mov eax, dword [0x100870f8]
jmp 0x1004a406