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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005951c
mov eax, dword fs:[0]
push eax
sub esp, 0x210
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 - 0x44], 0
lea ecx, [ebp - 0x21c]
call fcn.10009ae0
mov ecx, str.WantedLevelEditor.xml
mov dword [ebp - 4], 0
call fcn.1003bb90
push eax
lea ecx, [ebp - 0x21c]
call fcn.10009f70
test eax, eax
jne 0x100350b7
mov edx, str.WeaponSkill
mov ecx, 0x1006ad80
call fcn.10037de0
test al, al
je 0x100350b7
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
mov eax, dword [0x1006acb8]
add eax, dword [0x1006aea0]
push eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x44], 1
call fcn.10038e60
push 0x1006ae90
lea ecx, [ebp - 0x28]
call fcn.10037170
push 0x1006aca8
lea ecx, [ebp - 0x28]
call fcn.10037170
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
push 0xc
push str._weapon_skil
cmp eax, 0xc
jb 0x10034d23
cmp edx, 0x10
lea esi, [ebp - 0x28]
lea eax, [ecx + 0xc]
cmovae esi, dword [ebp - 0x28]
add esi, ecx
mov dword [ebp - 0x18], eax
push esi
call fcn.1003ef40
add esp, 0xc
mov byte [esi + 0xc], 0
lea eax, [ebp - 0x28]
jmp 0x10034d34
mov byte [ebp - 0x4c], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x4c]
push 0xc
call fcn.10038840
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
movups xmm0, xmmword [eax]
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
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x10034d9c
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10034d92
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100350dd
push edx
push ecx
call fcn.1003bfed
add esp, 8
cmp dword [0x1006b0b4], 0x10
mov eax, 0x1006b0a0
mov esi, dword [ebp - 0x200]
cmovae eax, dword [0x1006b0a0]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x44], eax
test esi, esi
je 0x10034e23
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax]
call eax
mov edi, eax
test edi, edi
je 0x10034e1c
cmp dword [ebp - 0x44], 0
je 0x10034e25
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x18]
call edx
test eax, eax
je 0x10034dfa
xor eax, eax
jmp 0x10034e02
lea ecx, [edi + 0xc]
call fcn.10007e00
mov ecx, dword [ebp - 0x44]
cmp eax, ecx
je 0x10034e25
push 0x7fffffff
push ecx
push eax
call fcn.10043530
add esp, 0xc
test eax, eax
je 0x10034e25
mov esi, dword [esi + 0x28]
test esi, esi
jne 0x10034dd5
xor edi, edi
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
mov esi, dword [edi + 0x1c]
cmovae eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
test esi, esi
je 0x10034e8e
nop word [eax + eax]
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax]
call eax
mov edi, eax
test edi, edi
je 0x10034e87
cmp dword [ebp - 0x44], 0
je 0x10034e90
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x18]
call eax
test eax, eax
je 0x10034e65
xor eax, eax
jmp 0x10034e6d
lea ecx, [edi + 0xc]
call fcn.10007e00
mov ecx, dword [ebp - 0x44]
cmp eax, ecx
je 0x10034e90
push 0x7fffffff
push ecx
push eax
call fcn.10043530
add esp, 0xc
test eax, eax
je 0x10034e90
mov esi, dword [esi + 0x28]
test esi, esi
jne 0x10034e40
xor edi, edi
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
call fcn.10009370
mov eax, dword [ebp - 0x48]
mov ecx, str.none
test eax, eax
jne 0x10034eae
mov edi, str.poor
jmp 0x10034ed1
cmp eax, 1
jne 0x10034eba
mov edi, str.gang
jmp 0x10034ed1
cmp eax, 2
jne 0x10034ec6
mov edi, str.hitm
jmp 0x10034ed1
cmp eax, 3
mov edi, str.copsk
cmovne edi, ecx
movzx eax, byte [0x100ec940]
push eax
mov eax, 0x580750
call eax
add esp, 4
mov ecx, 0x1006ad80
push 0xb
push str.WeaponSkill
call fcn.10037420
mov eax, dword [0x1025c244]
test al, 1
jne 0x10034f28
or eax, 1
mov dword [0x1025b6cc], 0x1006353c
mov dword [0x1025c244], eax
mov dword [0x1025b6d4], 0
mov dword [0x1025b6d0], 0
call fcn.1000c4c0
lea eax, [ebp - 0x54]
mov dword [ebp - 0x58], 4
push eax
push 0x40
mov esi, 0x582029
push 4
push esi
mov dword [ebp - 0x5c], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 0x50]
mov dword [esi], 4
cmp byte [ebp - 0x50], 0
je 0x10034f6f
mov eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x4c]
push ecx
push eax
push dword [ebp - 0x58]
mov dword [ebp - 0x4c], eax
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 1
push 1
push 1
push 2
sub esp, 0xc
mov eax, 0x582300
mov dword [esp + 8], 0x42480000
mov dword [esp + 4], 0x432a0000
mov dword [esp], 0x41e80000
push str.DUMMY
push 0
call eax
mov edx, dword [ebp - 0x48]
movzx ecx, al
push 0
mov dword [0x100ec940], ecx
call fcn.100386b0
push str.DUMMY
push str.DUMMY
push str.DUMMY
movzx eax, byte [0x100ec940]
mov esi, 0x581e00
push str.DUMMY
push str.DUMMY
push str.DUMMY
push str.DUMMY
push str.DUMMY
push str.copsk
push str.hitm
push str.gang
push str.poor
push str.weapskl
push 0
push eax
call esi
add esp, 0x64
movzx eax, byte [0x100ec940]
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 edi
push 1
push eax
call esi
movzx eax, byte [0x100ec940]
mov esi, 0x582050
push 0xaa
push 0
push eax
call esi
movzx eax, byte [0x100ec940]
add esp, 0x48
push 0xaa
push 1
push eax
call esi
mov edx, dword [ebp - 0x2c]
add esp, 0xc
mov eax, dword [0xb7cb84]
mov dword [0x1025b6c8], eax
cmp edx, 0x10
jb 0x100350b7
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100350ad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100350e2
push edx
push ecx
call fcn.1003bfed
add esp, 8
lea ecx, [ebp - 0x21c]
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
int3