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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100594c8
mov eax, dword fs:[0]
push eax
sub esp, 0x2dc
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 - 0x124], 0
lea ecx, [ebp - 0x2e8]
call fcn.10009ae0
mov ecx, str.WantedLevelEditor.xml
mov dword [ebp - 4], 0
call fcn.1003bb90
push eax
lea ecx, [ebp - 0x2e8]
call fcn.10009f70
test eax, eax
jne 0x10033fc8
mov edx, str.GeneralSettings
mov ecx, 0x1006ad80
call fcn.10037de0
test al, al
je 0x10033d72
movzx eax, byte [0x100ec940]
push eax
mov eax, 0x580750
call eax
add esp, 4
mov ecx, 0x1006ad80
push 0xf
push str.GeneralSettings
call fcn.10037420
mov eax, dword [0x1025c244]
test al, 1
jne 0x100338a8
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 - 0xe0]
push eax
push 0x40
mov esi, 0x582029
mov dword [ebp - 0xe4], 4
push 4
push esi
mov dword [ebp - 0xe8], esi
call edi
test eax, eax
setne byte [ebp - 0xdc]
mov dword [esi], 7
cmp byte [ebp - 0xdc], 0
je 0x1003390b
mov eax, dword [ebp - 0xe0]
lea ecx, [ebp - 0x124]
push ecx
push eax
push dword [ebp - 0xe4]
mov dword [ebp - 0x124], eax
push dword [ebp - 0xe8]
call edi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xf0]
mov eax, dword [0x1006b1b8]
inc eax
mov dword [ebp - 0xe0], 0
push eax
mov dword [ebp - 0xdc], 0xf
mov byte [ebp - 0xf0], 0
mov dword [ebp - 0x124], 1
call fcn.10038e60
mov edx, dword [ebp - 0xdc]
mov eax, edx
mov ecx, dword [ebp - 0xe0]
sub eax, ecx
push 1
push 0x1006359c
cmp eax, 1
jb 0x1003398c
cmp edx, 0x10
lea esi, [ebp - 0xf0]
lea eax, [ecx + 1]
cmovae esi, dword [ebp - 0xf0]
add esi, ecx
mov dword [ebp - 0xe0], eax
push esi
call fcn.1003ef40
add esp, 0xc
mov byte [esi + 1], 0
jmp 0x100339a6
mov byte [ebp - 0x128], 0
lea ecx, [ebp - 0xf0]
push dword [ebp - 0x128]
push 1
call fcn.10038840
push 0x1006b1a8
lea ecx, [ebp - 0xf0]
call fcn.10037170
mov edx, dword [ebp - 0xdc]
mov eax, edx
mov ecx, dword [ebp - 0xe0]
sub eax, ecx
push 1
push 0x10063598
cmp eax, 1
jb 0x10033a02
cmp edx, 0x10
lea esi, [ebp - 0xf0]
lea eax, [ecx + 1]
cmovae esi, dword [ebp - 0xf0]
add esi, ecx
mov dword [ebp - 0xe0], eax
push esi
call fcn.1003ef40
add esp, 0xc
mov byte [esi + 1], 0
lea eax, [ebp - 0xf0]
jmp 0x10033a1c
mov byte [ebp - 0x128], 0
lea ecx, [ebp - 0xf0]
push dword [ebp - 0x128]
push 1
call fcn.10038840
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0
movups xmm0, xmmword [eax]
mov dword [ebp - 0x124], 3
movups xmmword [ebp - 0x108], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xf8], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push 0x1006af38
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 2
call fcn.10037170
mov ecx, 0x1006b3b8
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x120], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x120]
push eax
movq qword [ebp - 0x110], xmm0
call fcn.100372d0
mov edx, dword [ebp - 0x10c]
cmp edx, 0x10
jb 0x10033ae9
mov ecx, dword [ebp - 0x120]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10033adf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10033fee
push edx
push ecx
call fcn.1003bfed
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0xf4]
cmp edx, 0x10
jb 0x10033b27
mov ecx, dword [ebp - 0x108]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10033b1d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10033ff3
push edx
push ecx
call fcn.1003bfed
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0xdc]
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0xf
mov byte [ebp - 0x108], 0
cmp edx, 0x10
jb 0x10033b80
mov ecx, dword [ebp - 0xf0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10033b76
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10033ff8
push edx
push ecx
call fcn.1003bfed
add esp, 8
cmp dword [0x1006af64], 0x10
mov eax, 0x1006af50
push 1
cmovae eax, dword [0x1006af50]
push 1
push 1
push 4
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
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
push str.DUMMY
push str.DUMMY
push str.DUMMY
push str.DUMMY
movzx eax, al
mov esi, 0x581e00
push 0
push eax
mov dword [0x100ec940], eax
call esi
add esp, 0x60
movzx eax, byte [0x100ec940]
push str.DUMMY
push str.DUMMY
push str.DUMMY
push str.DUMMY
push str.DUMMY
push str.STAR_6
push str.STAR_5
push str.STAR_4
push str.STAR_3
push str.STAR_2
push str.STAR_1
push str.STAR_0
push str.STAR
push 1
push eax
call esi
push str.DUMMY
push str.DUMMY
push str.DUMMY
movzx eax, byte [0x100ec940]
push str.DUMMY
push str.DUMMY
push str.DUMMY
push str.DUMMY
push str.DUMMY
push str.RARROW
push str.DUMMY
push str.DUMMY
push str.DUMMY
push str.DUMMY
push 2
push eax
call esi
add esp, 0x78
mov ecx, 0xc9bee4
call fcn.1003b890
mov ecx, 0xc9bee8
mov word [0x1023ca64], ax
call fcn.1003b890
mov ax, word [0x1023ca64]
mov ecx, 0xc9bee4
shr ax, 1
mov word [0x1009c908], ax
call fcn.1003b890
mov ecx, 0xc9bee8
mov word [0x1023ca64], ax
call fcn.1003b890
movzx esi, word [0x1023ca64]
mov eax, 0x66666667
mov ecx, esi
shr ecx, 1
imul ecx
push 0x23
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov word [0x1009c908], ax
mov eax, 0xcccccccd
mul esi
movzx eax, byte [0x100ec940]
mov esi, 0x582050
shr edx, 2
push 0
push eax
mov word [0x1017ca00], dx
call esi
movzx eax, word [0x1017ca00]
push eax
movzx eax, byte [0x100ec940]
push 1
push eax
call esi
movzx eax, byte [0x100ec940]
push 0x23
push 2
push eax
call esi
mov eax, dword [0xb7cb84]
add esp, 0x24
mov dword [0x1025b6c8], eax
cmp byte [0x1013c9a1], 0
mov esi, dword [ebp - 0x2cc]
jne 0x10033e99
test esi, esi
je 0x10033ddc
nop dword [eax]
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax]
call eax
mov edi, eax
test edi, edi
je 0x10033dd5
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x18]
call edx
test eax, eax
je 0x10033daf
xor eax, eax
jmp 0x10033db7
lea ecx, [edi + 0xc]
call fcn.10007e00
cmp eax, str.misc
je 0x10033dde
push 0x7fffffff
push str.misc
push eax
call fcn.10043530
add esp, 0xc
test eax, eax
je 0x10033dde
mov esi, dword [esi + 0x28]
test esi, esi
jne 0x10033d90
xor edi, edi
mov esi, dword [edi + 0x1c]
test esi, esi
je 0x10033e31
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax]
call eax
mov edi, eax
test edi, edi
je 0x10033e2a
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x18]
call eax
test eax, eax
je 0x10033e04
xor eax, eax
jmp 0x10033e0c
lea ecx, [edi + 0xc]
call fcn.10007e00
cmp eax, str.enable_general_settings
je 0x10033e33
push 0x7fffffff
push str.enable_general_settings
push eax
call fcn.10043530
add esp, 0xc
test eax, eax
je 0x10033e33
mov esi, dword [esi + 0x28]
test esi, esi
jne 0x10033de5
xor edi, edi
push str.true
push 0x10062d88
lea eax, [ebp - 0xd8]
push 0xc8
push eax
call fcn.10007bc0
add esp, 0x10
lea eax, [ebp - 0xd8]
mov ecx, edi
push eax
call fcn.100091b0
mov ecx, dword [0x100ec940]
xor edx, edx
push 0
call fcn.100386b0
mov ecx, dword [0x100ec940]
mov edx, 1
push 0
call fcn.100386b0
mov ecx, dword [0x100ec940]
mov edx, 2
push 0
call fcn.100386b0
push 0
jmp 0x10033fa4
test esi, esi
je 0x10033eec
nop dword [eax]
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax]
call eax
mov edi, eax
test edi, edi
je 0x10033ee5
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x18]
call edx
test eax, eax
je 0x10033ebf
xor eax, eax
jmp 0x10033ec7
lea ecx, [edi + 0xc]
call fcn.10007e00
cmp eax, str.misc
je 0x10033eee
push 0x7fffffff
push str.misc
push eax
call fcn.10043530
add esp, 0xc
test eax, eax
je 0x10033eee
mov esi, dword [esi + 0x28]
test esi, esi
jne 0x10033ea0
xor edi, edi
mov esi, dword [edi + 0x1c]
test esi, esi
je 0x10033f41
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax]
call eax
mov edi, eax
test edi, edi
je 0x10033f3a
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x18]
call eax
test eax, eax
je 0x10033f14
xor eax, eax
jmp 0x10033f1c
lea ecx, [edi + 0xc]
call fcn.10007e00
cmp eax, str.enable_general_settings
je 0x10033f43
push 0x7fffffff
push str.enable_general_settings
push eax
call fcn.10043530
add esp, 0xc
test eax, eax
je 0x10033f43
mov esi, dword [esi + 0x28]
test esi, esi
jne 0x10033ef5
xor edi, edi
push str.false
push 0x10062d88
lea eax, [ebp - 0xd8]
push 0xc8
push eax
call fcn.10007bc0
add esp, 0x10
lea eax, [ebp - 0xd8]
mov ecx, edi
push eax
call fcn.100091b0
mov ecx, dword [0x100ec940]
xor edx, edx
push 1
call fcn.100386b0
mov ecx, dword [0x100ec940]
mov edx, 1
push 1
call fcn.100386b0
mov ecx, dword [0x100ec940]
mov edx, 2
push 1
call fcn.100386b0
push 1
mov ecx, dword [0x100ec940]
mov edx, 3
call fcn.100386b0
add esp, 0x10
push ecx
push str.WantedLevelEditor.xml
lea ecx, [ebp - 0x2e8]
call fcn.1000a0b0
lea ecx, [ebp - 0x2e8]
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
int3