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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x100ae940]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push dword [ebp + 8]
lea ecx, [ebp - 8]
call fcn.10003300
mov esi, dword [ebp - 8]
lea eax, [ebp - 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push eax
push 0x40
push 4
push esi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0x18], esi
call ebx
test eax, eax
setne byte [ebp - 0xc]
mov edi, dword [esi]
mov dword [ebp - 0x40], edi
test eax, eax
je 0x1000a0ce
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 8]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 8], eax
push dword [ebp - 0x18]
call ebx
mov ebx, dword [ebp + 0x28]
lea ecx, [ebp + 0x14]
mov edx, dword [ebp + 0x24]
cmp ebx, 0xf
mov dword [ebp - 0x44], 0
cmova ecx, dword [ebp + 0x14]
cmp edx, 6
jne 0x1000a1a8
mov edi, edx
mov esi, str.Raiden
sub edi, 4
jb 0x1000a111
nop word [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x1000a116
add ecx, 4
add esi, 4
sub edi, 4
jae 0x1000a100
cmp edi, 0xfffffffc
je 0x1000a14a
mov al, byte [ecx]
cmp al, byte [esi]
jne 0x1000a143
cmp edi, 0xfffffffd
je 0x1000a14a
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
jne 0x1000a143
cmp edi, 0xfffffffe
je 0x1000a14a
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x1000a143
cmp edi, 0xffffffff
je 0x1000a14a
mov al, byte [ecx + 3]
cmp al, byte [esi + 3]
je 0x1000a14a
sbb eax, eax
or eax, 1
jmp 0x1000a14c
xor eax, eax
test eax, eax
jne 0x1000a1a5
mov eax, dword [ebp + 8]
lea ecx, [ebp - 8]
add eax, 0x4c
push eax
call fcn.10003300
mov esi, dword [ebp - 8]
lea eax, [ebp - 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push eax
push 0x40
push 4
push esi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0x18], esi
call edi
test eax, eax
setne byte [ebp - 0xc]
mov ecx, dword [esi]
mov dword [ebp - 0x44], ecx
test eax, eax
je 0x1000a19f
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 8]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 8], eax
push dword [ebp - 0x18]
call edi
mov ebx, dword [ebp + 0x28]
mov edx, dword [ebp + 0x24]
mov edi, dword [ebp - 0x40]
cmp ebx, 0xf
lea ecx, [ebp + 0x14]
cmova ecx, dword [ebp + 0x14]
cmp edx, 3
jne 0x1000a21f
mov esi, 0x100718e8
sub edx, 4
jb 0x1000a1d2
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x1000a1d7
add ecx, 4
add esi, 4
sub edx, 4
jae 0x1000a1c1
cmp edx, 0xfffffffc
je 0x1000a20b
mov al, byte [ecx]
cmp al, byte [esi]
jne 0x1000a204
cmp edx, 0xfffffffd
je 0x1000a20b
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
jne 0x1000a204
cmp edx, 0xfffffffe
je 0x1000a20b
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x1000a204
cmp edx, 0xffffffff
je 0x1000a20b
mov al, byte [ecx + 3]
cmp al, byte [esi + 3]
je 0x1000a20b
sbb eax, eax
or eax, 1
jmp 0x1000a20d
xor eax, eax
mov ebx, dword [ebp - 0x44]
test eax, eax
mov ecx, 0x160
cmove ebx, ecx
mov dword [ebp - 0x44], ebx
jmp 0x1000a222
mov ebx, dword [ebp - 0x44]
lea eax, [edi + 4]
push eax
lea ecx, [ebp - 8]
call fcn.10003300
mov esi, dword [ebp - 8]
lea eax, [ebp - 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push eax
push 0x40
push 4
push esi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0x18], esi
call edi
test eax, eax
setne byte [ebp - 0xc]
mov esi, dword [esi]
test eax, eax
je 0x1000a26b
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 8]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 8], eax
push dword [ebp - 0x18]
call edi
test ebx, ebx
je 0x1000a461
mov dword [ebp - 0x4c], 0
jle 0x1000a461
mov ecx, dword [0x100b1340]
lea ebx, [esi + 8]
mov eax, dword fs:[0x2c]
mov dword [ebp - 0x48], ebx
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0x40], ecx
nop dword [eax + eax]
mov eax, dword [0x100b0fc0]
cmp eax, dword [ecx + 4]
jg 0x1000a4a6
lea eax, [ebp - 0x34]
mov dword [ebp - 0x38], 4
push eax
push 0x40
push 4
push ebx
mov dword [ebp - 0x3c], ebx
call edi
test eax, eax
setne byte [ebp - 0x30]
mov ecx, dword [ebx]
mov dword [ebp - 0x1c], ecx
test eax, eax
je 0x1000a2e8
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 8]
push ecx
push eax
push dword [ebp - 0x38]
mov dword [ebp - 8], eax
push dword [ebp - 0x3c]
call edi
mov edi, dword [ebp + 0x10]
xor ecx, ecx
mov dword [ebp - 8], ecx
xor ebx, ebx
cmp byte [0x100afa60], 0
mov edx, edi
cmovne edx, dword [ebp + 0xc]
xor eax, eax
add edx, ebx
xor esi, esi
cmp dword [edx + 0x10], eax
jbe 0x1000a32e
mov edi, dword [edx + 0x14]
nop dword [eax]
mov ecx, edx
cmp edi, 0xf
jbe 0x1000a319
mov ecx, dword [edx]
movsx ecx, byte [ecx + esi]
inc esi
shl eax, 8
or eax, ecx
cmp esi, dword [edx + 0x10]
jb 0x1000a310
mov ecx, dword [ebp - 8]
mov edi, dword [ebp + 0x10]
bswap eax
cmp dword [ebp - 0x1c], eax
je 0x1000a352
inc ecx
add ebx, 0x18
mov dword [ebp - 8], ecx
cmp ebx, 0xe10
jl 0x1000a2f2
mov ebx, dword [ebp - 0x48]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x1000a448
cmp byte [0x100afa60], 0
je 0x1000a3eb
lea eax, [ecx + ecx*2]
xor esi, esi
mov ebx, dword [edi + eax*8 + 0x10]
lea edx, [edi + eax*8]
xor ecx, ecx
test ebx, ebx
je 0x1000a38b
mov edi, dword [edx + 0x14]
mov eax, edx
cmp edi, 0xf
jbe 0x1000a37d
mov eax, dword [edx]
movsx eax, byte [eax + ecx]
inc ecx
shl esi, 8
or esi, eax
cmp ecx, ebx
jb 0x1000a374
mov ecx, dword [ebp - 0x40]
mov eax, dword [0x100b0fc0]
bswap esi
cmp eax, dword [ecx + 4]
jg 0x1000a4fa
mov ebx, dword [ebp - 0x48]
lea eax, [ebp - 0x24]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push eax
push 0x40
push 4
push ebx
mov dword [ebp - 0x28], 4
mov dword [ebp - 0x2c], ebx
call edi
test eax, eax
setne byte [ebp - 0x20]
mov dword [ebx], esi
cmp byte [ebp - 0x20], 0
je 0x1000a3e0
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x1c]
push ecx
push eax
push dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x2c]
call edi
cmp byte [0x100afa60], 0
jne 0x1000a448
jmp 0x1000a3f4
mov ebx, dword [ebp - 0x48]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x4c]
mov eax, dword [0x100b0fc0]
mov esi, dword [esi*4 + 0x100afa78]
cmp eax, dword [ecx + 4]
jg 0x1000a54e
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 4
push eax
push 0x40
push 4
push ebx
mov dword [ebp - 0x18], ebx
call edi
test eax, eax
setne byte [ebp - 0xc]
mov dword [ebx], esi
cmp byte [ebp - 0xc], 0
je 0x1000a448
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x1c]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x18]
call edi
mov edx, dword [ebp - 0x4c]
add ebx, 0x3c
mov ecx, dword [ebp - 0x40]
inc edx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x4c], edx
cmp edx, dword [ebp - 0x44]
jl 0x1000a2a0
mov ecx, dword [ebp + 0x28]
cmp ecx, 0xf
jbe 0x1000a495
mov edx, dword [ebp + 0x14]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000a48b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000a5a2
push ecx
push edx
call fcn.1004561a
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100459fc
mov esp, ebp
pop ebp
ret
push 0x100b0fc0
call fcn.10045998
add esp, 4
cmp dword [0x100b0fc0], 0xffffffff
jne 0x1000a2b1
mov ecx, 0x100b0fb4
mov dword [0x100b0fb4], 0x1007148c
mov dword [0x100b0fbc], 0
mov dword [0x100b0fb8], 0
call fcn.10006eb0
push 0x100b0fc0
call fcn.10045947
add esp, 4
jmp 0x1000a2b1
push 0x100b0fc0
call fcn.10045998
add esp, 4
cmp dword [0x100b0fc0], 0xffffffff
jne 0x1000a3a1
mov ecx, 0x100b0fb4
mov dword [0x100b0fb4], 0x1007148c
mov dword [0x100b0fbc], 0
mov dword [0x100b0fb8], 0
call fcn.10006eb0
push 0x100b0fc0
call fcn.10045947
add esp, 4
jmp 0x1000a3a1
push 0x100b0fc0
call fcn.10045998
add esp, 4
cmp dword [0x100b0fc0], 0xffffffff
jne 0x1000a412
mov ecx, 0x100b0fb4
mov dword [0x100b0fb4], 0x1007148c
mov dword [0x100b0fbc], 0
mov dword [0x100b0fb8], 0
call fcn.10006eb0
push 0x100b0fc0
call fcn.10045947
add esp, 4
jmp 0x1000a412
call fcn.1004a97f
int3