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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100795ed
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x10099128]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
cmp eax, 0x190
jl 0x1003d739
cmp eax, 0xffff
jg 0x1003d739
mov edi, dword [ebp + 0xc]
mov esi, 0x1b0
mov ebx, dword [ebp + 0x10]
mov eax, edi
cmp eax, ebx
je 0x1003d5ee
nop dword [eax]
mov ecx, dword [eax]
movzx edx, word [ecx]
cmp dx, si
je 0x1003d5e7
cmp byte [0x100af8e7], 0
je 0x1003d724
add eax, 4
cmp eax, ebx
jne 0x1003d5d0
cmp edi, ebx
je 0x1003d654
mov eax, dword [edi]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
call fcn.1000be60
mov dword [ebp - 0x24], 2
mov esi, dword [eax]
lea eax, [ebp - 0x20]
push eax
push 0x40
push 2
push esi
mov dword [ebp - 0x28], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
mov eax, dword [ebp + 8]
setne byte [ebp - 0x1c]
mov word [esi], ax
cmp byte [ebp - 0x1c], 0
je 0x1003d647
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x10]
push ecx
push eax
push dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
add edi, 4
cmp edi, ebx
jne 0x1003d5f2
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
push 0x7f5c8cf1
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x6b51b8
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1001c530
mov eax, dword [eax + 4]
test eax, eax
je 0x1003d68d
cmp eax, dword [0x100cda44]
je 0x1003d68d
push dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
mov eax, dword [eax + 0x24]
call eax
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
cmp edi, ebx
je 0x1003d6f2
mov eax, dword [edi]
lea ecx, [ebp + 8]
mov dword [ebp + 8], eax
lea eax, [ebp - 0x14]
push eax
call fcn.1000be60
mov dword [ebp - 0x24], 2
mov esi, dword [eax]
lea eax, [ebp - 0x20]
push eax
push 0x40
push 2
push esi
mov dword [ebp - 0x28], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
mov eax, 0x1b0
setne byte [ebp - 0x1c]
mov word [esi], ax
cmp byte [ebp - 0x1c], 0
je 0x1003d6e8
mov eax, dword [ebp - 0x20]
lea ecx, [ebp + 8]
push ecx
push eax
push dword [ebp - 0x24]
mov dword [ebp + 8], eax
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
add edi, 4
cmp edi, ebx
jne 0x1003d691
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x1003d79f
mov ecx, dword [ebp + 0x14]
mov eax, edi
sub ecx, edi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x1003d720
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003d7b1
push ecx
push edi
jmp 0x1003d797
push edx
push ecx
push str.CAutomobile::DoSoftGroundResistance
push str.Modified_method_detected:__s___0x_08X_is__u_n
push ecx
call fcn.10012090
add esp, 0x14
push 0x7f5c8cf1
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x6b51b8
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1001c530
mov eax, dword [eax + 4]
test eax, eax
je 0x1003d76c
cmp eax, dword [0x100cda44]
je 0x1003d76c
push dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
mov eax, dword [eax + 0x24]
call eax
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x1003d79f
mov ecx, dword [ebp + 0x14]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x1003d795
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003d7b1
push ecx
push edx
call fcn.100550a8
add esp, 8
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.1006065f
int3