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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100790bd
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x10098128]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov si, dx
mov word [ebp - 0x12], si
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
cmp eax, 0x190
jl 0x1003b16a
cmp eax, 0xffff
jg 0x1003b16a
mov edi, dword [ebp + 0xc]
mov eax, edi
mov ebx, dword [ebp + 0x10]
cmp eax, ebx
je 0x1003b00e
nop dword [eax + eax]
mov ecx, dword [eax]
movzx edx, word [ecx]
cmp dx, si
je 0x1003b007
cmp byte [0x100ae8ea], 0
je 0x1003b0b5
add eax, 4
cmp eax, ebx
jne 0x1003aff0
cmp edi, ebx
je 0x1003b074
mov eax, dword [edi]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1000b3f0
mov dword [ebp - 0x2c], 2
mov esi, dword [eax]
lea eax, [ebp - 0x28]
push eax
push 0x40
push 2
push esi
mov dword [ebp - 0x30], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
mov eax, dword [ebp + 8]
setne byte [ebp - 0x24]
mov word [esi], ax
cmp byte [ebp - 0x24], 0
je 0x1003b067
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x18]
push ecx
push eax
push dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
add edi, 4
cmp edi, ebx
jne 0x1003b012
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
push 0xa30bfde4
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x871214
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.1001bdb0
mov eax, dword [eax + 4]
test eax, eax
je 0x1003b0fd
cmp eax, dword [0x100cca34]
je 0x1003b0fd
push dword [ebp + 0x20]
mov eax, dword [eax + 0x24]
push dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
call eax
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov byte [ebp + 0xb], al
jmp 0x1003b101
push edx
push ecx
push str.CAutomobile::SetTowLink
push str.Modified_method_detected:__s___0x_08X_is__u_n
push ecx
call fcn.10011620
add esp, 0x14
mov dword [ebp + 8], 0x871214
lea eax, [ebp + 8]
push 0xa30bfde4
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.1001bdb0
mov eax, dword [eax + 4]
test eax, eax
je 0x1003b0f6
cmp eax, dword [0x100cca34]
jne 0x1003b192
xor bl, bl
jmp 0x1003b1ac
mov byte [ebp + 0xb], 0
cmp edi, ebx
je 0x1003b165
mov eax, dword [edi]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1000b3f0
mov dword [ebp - 0x2c], 2
mov esi, dword [eax]
lea eax, [ebp - 0x28]
push eax
push 0x40
push 2
push esi
mov dword [ebp - 0x30], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
mov ax, word [ebp - 0x12]
setne byte [ebp - 0x24]
mov word [esi], ax
cmp byte [ebp - 0x24], 0
je 0x1003b15b
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x18]
push ecx
push eax
push dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
add edi, 4
cmp edi, ebx
jne 0x1003b105
mov edi, dword [ebp + 0xc]
mov bl, byte [ebp + 0xb]
jmp 0x1003b1af
push 0xa30bfde4
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x871214
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.1001bdb0
mov eax, dword [eax + 4]
test eax, eax
je 0x1003b1a5
cmp eax, dword [0x100cca34]
je 0x1003b1a5
push dword [ebp + 0x20]
mov eax, dword [eax + 0x24]
push dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
call eax
mov byte [ebp + 0xb], al
jmp 0x1003b1a9
mov byte [ebp + 0xb], 0
mov bl, byte [ebp + 0xb]
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x1003b1df
mov ecx, dword [ebp + 0x14]
mov eax, edi
sub ecx, edi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x1003b1d5
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b1f3
push ecx
push edi
call fcn.10054b98
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1006014f
int3