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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005cdfd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x60
mov eax, dword [0x10071040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x10076f61], 0
je 0x1004232f
push 0xf
xor edx, edx
mov ecx, str.Auto
call fcn.1000c400
mov edx, 0x10077084
mov ecx, str.REPAIR
call fcn.10057cf0
add esp, 4
test al, al
je 0x10041bb6
mov esi, dword [0x10076fc8]
lea ecx, [ebp - 0x28]
push ecx
push ecx
lea edx, [ebp - 0x30]
mov dword [ebp - 0x30], 0x10
push edx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x2c], 0
add esi, 0x1126508
call fcn.100457e0
mov edi, dword [ebp - 0x44]
xor ecx, ecx
mov edx, dword [ebp - 0x48]
sub edi, edx
sar edi, 2
test edi, edi
je 0x10041b3c
nop
mov eax, dword [edx + ecx*4]
inc ecx
add eax, dword [esi]
mov esi, eax
cmp ecx, edi
jb 0x10041b30
test edx, edx
je 0x10041b79
mov eax, dword [ebp - 0x40]
sub eax, edx
sar eax, 2
lea ecx, [eax*4]
mov eax, edx
cmp ecx, 0x1000
jb 0x10041b6f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10041b6f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1005b378
add esp, 8
mov eax, dword [0x10076fc8]
add eax, 0x1455f0
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x1c]
call dword [ebp - 0x4c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x10041bb6
mov eax, dword [0x10076fc8]
add eax, 0x741d80
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x4c]
call dword [ebp - 0x1c]
push ecx
mov edx, 0x10077084
mov ecx, str.REMOVE_WINDOW
call fcn.10057cf0
add esp, 4
test al, al
je case.default.0x10041cb7
mov esi, dword [0x10076fc8]
lea ecx, [ebp - 0x28]
push ecx
push ecx
lea edx, [ebp - 0x30]
mov dword [ebp - 0x30], 0x10
push edx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x2c], 0
add esi, 0x1126508
call fcn.100457e0
mov edi, dword [ebp - 0x44]
xor ecx, ecx
mov edx, dword [ebp - 0x48]
sub edi, edx
sar edi, 2
test edi, edi
je 0x10041c1c
nop dword [eax]
mov eax, dword [edx + ecx*4]
inc ecx
add eax, dword [esi]
mov esi, eax
cmp ecx, edi
jb 0x10041c10
test edx, edx
je 0x10041c59
mov eax, dword [ebp - 0x40]
sub eax, edx
sar eax, 2
lea ecx, [eax*4]
mov eax, edx
cmp ecx, 0x1000
jb 0x10041c4f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10041c4f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1005b378
add esp, 8
mov eax, dword [0x10076fc8]
add eax, 0x1455f0
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x4c]
call dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
test eax, eax
je case.default.0x10041cb7
mov ecx, dword [0x10076fc8]
add eax, 0xc0
mov edx, dword [0x10076f1c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
lea eax, [ecx + 0x73b0a0]
mov dword [ebp - 0x4c], eax
lea eax, [ecx + 0x73b120]
mov dword [ebp - 0x28], eax
lea eax, [ecx + 0x73b000]
mov dword [ebp - 0x2c], eax
cmp edx, 5
ja case.default.0x10041cb7
jmp dword [edx*4 + 0x10042350]
push dword [ebp - 0x20]
call dword [ebp - 0x4c]
jmp case.default.0x10041cb7
mov ecx, dword [ebp - 0x1c]
push dword [ebp - 0x20]
call dword [ebp - 0x28]
jmp case.default.0x10041cb7
push dword [ebp - 0x20]
call dword [ebp - 0x2c]
movss xmm1, dword [0x1006a784]
xorps xmm0, xmm0
call fcn.10010190
mov edi, dword [0x10076f1c]
lea ecx, [ebp - 0x48]
push 0x1007711c
call fcn.100455f0
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
cmp esi, ecx
je 0x10041d33
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x10041d33
lea eax, [edi + edi*2]
cmp dword [esi + eax*8 + 0x14], 0xf
lea edx, [esi + eax*8]
jbe 0x10041d38
mov edx, dword [edx]
jmp 0x10041d38
mov edx, 0x10066510
push 0x24
mov ecx, str.Windows
call fcn.10029e50
add esp, 4
mov byte [ebp - 0x15], al
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0xffffffff
call fcn.100458b0
cmp byte [ebp - 0x15], 0
je 0x10041d80
sub esp, 0xc
mov ecx, esp
push 0x1007711c
call fcn.100455f0
mov ecx, 0x10076f1c
call fcn.10056dc0
add esp, 0xc
call fcn.10011290
push ecx
mov edx, 0x10077084
mov ecx, str.GET_IN_THE_CAR
call fcn.10057cf0
add esp, 4
mov edi, 0xffff
test al, al
je 0x10041df3
mov eax, dword [0x10076fbc]
mov dword [ebp - 0x20], 0
mov eax, dword [eax + 0x34]
mov esi, dword [eax + 0x10]
mov eax, dword [0x10076fc8]
add eax, 0x1455f0
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x2c]
call dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
test edx, edx
jne 0x10041de8
mov eax, dword [0x10076fb8]
movzx eax, word [eax + 0x138]
cmp ax, di
je 0x10041df3
mov ecx, eax
call fcn.1004a610
mov edx, dword [eax]
push ecx
mov ecx, esi
call fcn.1004dd20
add esp, 4
movss xmm1, dword [0x1006a784]
xorps xmm0, xmm0
call fcn.10010190
mov edi, dword [0x10076f20]
lea ecx, [ebp - 0x48]
push 0x10077134
call fcn.100455f0
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
cmp esi, ecx
je 0x10041e4f
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x10041e4f
lea eax, [edi + edi*2]
cmp dword [esi + eax*8 + 0x14], 0xf
lea edx, [esi + eax*8]
jbe 0x10041e54
mov edx, dword [edx]
jmp 0x10041e54
mov edx, 0x10066510
push 0x24
mov ecx, str.VehicleSeats
call fcn.10029e50
add esp, 4
mov byte [ebp - 0x15], al
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0xffffffff
call fcn.100458b0
cmp byte [ebp - 0x15], 0
je 0x10041e9c
sub esp, 0xc
mov ecx, esp
push 0x10077134
call fcn.100455f0
mov ecx, 0x10076f20
call fcn.10056dc0
add esp, 0xc
call fcn.10011290
push ecx
mov edx, 0x10077084
mov ecx, str.SET_COLOR
call fcn.10057cf0
add esp, 4
test al, al
je 0x10041f0f
mov eax, dword [0x10076fbc]
mov dword [ebp - 0x20], 0
mov eax, dword [eax + 0x34]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x10076fc8]
add eax, 0x1455f0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x2c]
call dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [0x10076ef4], eax
test eax, eax
je 0x10041f0f
mov eax, dword [0x10076fc8]
add eax, 0x3b7c50
mov byte [0x10076f59], 1
mov byte [0x10076f5a], 1
mov byte [ebp - 0x2c], 1
mov dword [ebp - 0x28], eax
push dword [ebp - 0x2c]
call dword [ebp - 0x28]
mov al, byte [0x10076f4e]
mov dword [ebp - 0x2c], 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push dword [ebp - 0x30]
push dword [0x10076ea4]
push eax
push ecx
mov ecx, str.HEADLIGHTS
call fcn.10056ea0
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esp, 0x14
test al, al
je 0x10041fed
mov eax, dword [0x10076fbc]
mov dword [ebp - 0x20], 0
mov eax, dword [eax + 0x34]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x10076fc8]
add eax, 0x1455f0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x2c]
call dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x10041fed
cmp byte [0x10076f4e], 0
mov byte [ebp - 0x15], 0
sete al
mov byte [ebp - 0x21], al
mov byte [0x10076f4e], al
lea eax, [ebp - 0x1c]
push eax
push 0x40
push 1
lea eax, [ebp - 0x15]
push eax
call edi
mov al, byte [esi + 0x1126]
add esi, 0x1126
mov byte [ebp - 0x15], al
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
lea eax, [ebp - 0x15]
push 1
push eax
call edi
cmp byte [ebp - 0x21], 0
mov al, byte [ebp - 0x15]
je 0x10041fcc
or al, 2
jmp 0x10041fce
and al, 0xfc
mov byte [ebp - 0x15], al
lea eax, [ebp - 0x1c]
push eax
push 0x40
push 1
push esi
call edi
mov al, byte [ebp - 0x15]
mov byte [esi], al
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
push 1
push esi
call edi
mov al, byte [0x10076f44]
mov dword [ebp - 0x2c], 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push dword [ebp - 0x30]
push dword [0x10076ea4]
push eax
push ecx
mov ecx, str.UNBREAKABLE
call fcn.10056ea0
add esp, 0x14
test al, al
je 0x10042066
mov eax, dword [0x10076fbc]
mov dword [ebp - 0x1c], 0
mov eax, dword [eax + 0x34]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x10076fc8]
add eax, 0x1455f0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x2c]
call dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x10042066
cmp byte [0x10076f44], 0
sete al
mov byte [0x10076f44], al
mov byte [ecx + 0x1358], al
push ecx
mov edx, 0x10077084
mov ecx, str.CREATE_VEHICLE
call fcn.10057cf0
add esp, 4
test al, al
je 0x10042281
mov eax, dword [0x10076fbc]
mov eax, dword [eax + 0x34]
mov esi, dword [eax + 0x10]
lea eax, [ebp - 0x1c]
push eax
push 0x40
push 0xc
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0
push eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call edi
movq xmm0, qword [esi + 0x1d0]
movq qword [ebp - 0x34], xmm0
mov eax, dword [esi + 0x1d8]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
lea eax, [ebp - 0x34]
push 0xc
push eax
call edi
movss xmm0, dword [ebp - 0x34]
lea ecx, [ebp - 0x48]
mov eax, dword [0x10076f18]
lea edx, [ebp - 0x50]
mov edi, dword [0x10076fb4]
movss dword [ebp - 0x60], xmm0
add edi, 0x18
movss xmm0, dword [ebp - 0x30]
push ecx
push ecx
movss dword [ebp - 0x5c], xmm0
lea ecx, [ebp - 0x48]
movss xmm0, dword [ebp - 0x2c]
shl eax, 2
push edx
movss dword [ebp - 0x58], xmm0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], 0
call fcn.100457e0
mov esi, dword [ebp - 0x44]
xor ecx, ecx
mov edx, dword [ebp - 0x48]
sub esi, edx
sar esi, 2
test esi, esi
je 0x10042142
mov eax, dword [edx + ecx*4]
inc ecx
add eax, dword [edi]
mov edi, eax
cmp ecx, esi
jb 0x10042136
test edx, edx
je 0x10042194
mov eax, dword [ebp - 0x40]
sub eax, edx
sar eax, 2
lea ecx, [eax*4]
mov eax, edx
cmp ecx, 0x1000
jb 0x10042175
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10042175
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1005b378
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov eax, 0xffff
mov dword [ebp - 0x2c], edi
cmp word [edi + 6], ax
jne 0x100421bc
mov dword [ebp - 0x28], 0
mov esi, dword [0x1007703c]
push dword [ebp - 0x2c]
call dword [0x10076ffc]
mov word [ebp - 0x28], ax
cmp byte [0x1007129c], 0
jne 0x10042215
mov ecx, dword [0x10076fec]
movzx esi, word [edi + 6]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov edi, eax
lea eax, [ebp - 0x1c]
push eax
push 0x40
push 0x10
mov word [edi + 0x28], si
lea esi, [edi + 0x180]
push esi
mov byte [edi + 0xe4], 1
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
movups xmm0, xmmword [ebp - 0x60]
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
movups xmmword [esi], xmm0
push 0x10
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [edi]
mov ecx, edi
jmp 0x1004227e
mov esi, dword [0x10076fb8]
test esi, esi
je 0x1004223d
mov eax, dword [0x10076fd8]
add eax, 0x55c970
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], eax
push 1
push dword [ebp - 0x2c]
call dword [ebp - 0x28]
mov esi, dword [0x10076fb8]
mov byte [esi + 0xe4], 1
mov ax, word [edi + 6]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov word [esi + 0x28], ax
lea eax, [ebp - 0x1c]
push eax
push 0x40
push 0x10
add esi, 0x180
push esi
call edi
movups xmm0, xmmword [ebp - 0x60]
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
movups xmmword [esi], xmm0
push 0x10
push esi
call edi
mov ecx, dword [0x10076fb8]
mov eax, dword [ecx]
call dword [eax + 8]
movss xmm1, dword [0x1006a784]
xorps xmm0, xmm0
call fcn.10010190
mov esi, dword [0x10076f18]
lea ecx, [ebp - 0x70]
push 0x100770d4
call fcn.100455f0
mov dword [ebp - 4], 2
mov edi, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x6c]
cmp edi, ecx
je 0x100422dd
sub ecx, edi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x100422dd
lea eax, [esi + esi*2]
cmp dword [edi + eax*8 + 0x14], 0xf
lea edx, [edi + eax*8]
jbe 0x100422e2
mov edx, dword [edx]
jmp 0x100422e2
mov edx, 0x10066510
push 0x24
mov ecx, str.VehicleTypes
call fcn.10029e50
add esp, 4
mov byte [ebp - 0x21], al
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0xffffffff
call fcn.100458b0
cmp byte [ebp - 0x21], 0
je 0x1004232a
sub esp, 0xc
mov ecx, esp
push 0x100770d4
call fcn.100455f0
mov ecx, 0x10076f18
call fcn.10056dc0
add esp, 0xc
call fcn.10011290
call fcn.1000ed00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1005ae5b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret