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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100595ec
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x1006a010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
sub esp, 8
mov dword [ebp - 0x74], 0
lea ecx, [ebp - 0x238]
call fcn.10009ae0
mov ecx, str.WantedLevelEditor.xml
mov dword [ebp - 4], 0
call fcn.1003bb90
push eax
lea ecx, [ebp - 0x238]
call fcn.10009f70
test eax, eax
jne 0x10036f92
mov edx, str.HelicopterWeaponType_0
mov ecx, 0x1006ad80
call fcn.10037de0
test al, al
je 0x10036f92
movzx eax, byte [0x100ec940]
push eax
mov eax, 0x580750
call eax
mov eax, dword [0x1025c244]
add esp, 4
test al, 1
jne 0x10036b24
or eax, 1
mov dword [0x1025b6cc], 0x1006353c
mov dword [0x1025c244], eax
mov dword [0x1025b6d4], 0
mov dword [0x1025b6d0], 0
call fcn.1000c4c0
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x18]
push eax
push 0x40
mov esi, 0x582029
mov dword [ebp - 0x1c], 4
push 4
push esi
mov dword [ebp - 0x20], esi
call edi
test eax, eax
setne byte [ebp - 0x14]
mov dword [esi], 1
cmp byte [ebp - 0x14], 0
je 0x10036b69
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x74]
push ecx
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0x74], eax
push dword [ebp - 0x20]
call edi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
mov eax, dword [0x1006b1b8]
inc eax
mov dword [ebp - 0x18], 0
push eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x74], 1
call fcn.10038e60
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
push 1
push 0x1006359c
cmp eax, 1
jb 0x10036bcc
cmp edx, 0x10
lea esi, [ebp - 0x28]
lea eax, [ecx + 1]
cmovae esi, dword [ebp - 0x28]
add esi, ecx
mov dword [ebp - 0x18], eax
push esi
call fcn.1003ef40
add esp, 0xc
mov byte [esi + 1], 0
jmp 0x10036bdd
mov byte [ebp - 0x78], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x78]
push 1
call fcn.10038840
push 0x1006b1a8
lea ecx, [ebp - 0x28]
call fcn.10037170
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
push 1
push 0x10063598
cmp eax, 1
jb 0x10036c24
cmp edx, 0x10
lea esi, [ebp - 0x28]
lea eax, [ecx + 1]
cmovae esi, dword [ebp - 0x28]
add esi, ecx
mov dword [ebp - 0x18], eax
push esi
call fcn.1003ef40
add esp, 0xc
mov byte [esi + 1], 0
lea eax, [ebp - 0x28]
jmp 0x10036c35
mov byte [ebp - 0x78], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x78]
push 1
call fcn.10038840
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
movups xmm0, xmmword [eax]
mov dword [ebp - 0x74], 3
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push 0x1006af38
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.10037170
mov ecx, 0x1006b3b8
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x70]
push eax
movq qword [ebp - 0x60], xmm0
call fcn.100372d0
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x10036ce1
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10036cd7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036fb8
push edx
push ecx
call fcn.1003bfed
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x10036d19
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10036d0f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036fbd
push edx
push ecx
call fcn.1003bfed
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x10036d63
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10036d59
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036fc2
push edx
push ecx
call fcn.1003bfed
add esp, 8
cmp dword [0x1006b3cc], 0x10
mov eax, 0x1006b3b8
push 0
cmovae eax, dword [0x1006b3b8]
push 1
push 1
push 1
sub esp, 0xc
mov dword [0x1013c9b0], eax
mov eax, 0x582300
mov dword [esp + 8], 0x42480000
mov dword [esp + 4], 0x432a0000
mov dword [esp], 0x41e80000
push str.DUMMY
push 0
call eax
movzx eax, al
push 0xaa
push 0
mov dword [0x100ec940], eax
push eax
mov eax, 0x582050
call eax
add esp, 0x30
mov ecx, 0x1006ad80
push 0x16
push str.HelicopterWeaponType_0
call fcn.10037420
mov esi, dword [ebp - 0x21c]
test esi, esi
je 0x10036e2c
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax]
call eax
mov edi, eax
test edi, edi
je 0x10036e25
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x18]
call edx
test eax, eax
je 0x10036dff
xor eax, eax
jmp 0x10036e07
lea ecx, [edi + 0xc]
call fcn.10007e00
cmp eax, str.misc
je 0x10036e2e
push 0x7fffffff
push str.misc
push eax
call fcn.10043530
add esp, 0xc
test eax, eax
je 0x10036e2e
mov esi, dword [esi + 0x28]
test esi, esi
jne 0x10036de0
xor edi, edi
mov esi, dword [edi + 0x1c]
test esi, esi
je 0x10036e81
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax]
call eax
mov edi, eax
test edi, edi
je 0x10036e7a
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x18]
call eax
test eax, eax
je 0x10036e54
xor eax, eax
jmp 0x10036e5c
lea ecx, [edi + 0xc]
call fcn.10007e00
cmp eax, str.HelicopterWeaponType
je 0x10036e83
push 0x7fffffff
push str.HelicopterWeaponType
push eax
call fcn.10043530
add esp, 0xc
test eax, eax
je 0x10036e83
mov esi, dword [esi + 0x28]
test esi, esi
jne 0x10036e35
xor edi, edi
push 0x1006ac60
mov ecx, edi
call fcn.10009370
mov edx, dword [0x1006ac60]
lea ecx, [ebp - 0x70]
call fcn.1000c860
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 3
push eax
mov edx, 0x100637fc
lea ecx, [ebp - 0x58]
call fcn.10037c50
push str.DUMMY
push str.DUMMY
push str.DUMMY
push str.DUMMY
push str.DUMMY
push str.DUMMY
push str.DUMMY
push str.DUMMY
push str.DUMMY
mov byte [ebp - 4], 4
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 0x10
push str.DUMMY
cmovae eax, dword [ebp - 0x58]
push str.DUMMY
push eax
movzx eax, byte [0x100ec940]
push str.HWTP
push 0
push eax
mov eax, 0x581e00
call eax
mov edx, dword [ebp - 0x44]
add esp, 0x40
mov eax, dword [0xb7cb84]
mov dword [0x1025b6c8], eax
cmp edx, 0x10
jb 0x10036f50
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10036f46
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036fc7
push edx
push ecx
call fcn.1003bfed
add esp, 8
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp edx, 0x10
jb 0x10036f92
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10036f88
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036fcc
push edx
push ecx
call fcn.1003bfed
add esp, 8
lea ecx, [ebp - 0x238]
call fcn.10009d40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003bfa7
mov esp, ebp
pop ebp
ret
call fcn.1004910a
call fcn.1004910a
call fcn.1004910a
call fcn.1004910a
call fcn.1004910a
int3