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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1109e6b0
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
push edi
call fcn.1100a210
add eax, 4
push eax
call fcn.1100a210
mov ecx, eax
call fcn.1100a300
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edi, 1
test eax, eax
je 0x11022fcd
lea ecx, [ebp - 0x14]
push ecx
push str.WorldMapFontPatch
push str.Misc
mov ecx, eax
call fcn.11003200
test al, al
je 0x11022fcd
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x14], 0x10
jb 0x11022f76
mov ecx, dword [ecx]
call fcn.11011f90
test eax, eax
je 0x11022fcd
cmp byte [0x110c6683], 0
je 0x11022f9f
test byte [0x110c66ec], 1
je 0x11022f9f
push 1
mov edx, edi
mov ecx, str.Applying_world_map_font_patch.
call fcn.11011060
lea eax, [ebp - 0x10]
push eax
push 0x40
push 4
push 0x4c2344
call ebx
mov eax, 0x11021ff0
sub eax, 0x4c2348
mov dword [0x4c2344], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
push 4
push 0x4c2344
call ebx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x30], 0x4c2bf4
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x2c], 0x4c2bb5
push eax
push ecx
mov ecx, 0x11022e80
mov dword [ebp - 0x28], 0x4c2d4c
mov dword [ebp - 0x24], 0x4c2d8a
call fcn.1100fcf0
lea eax, [ebp - 0x10]
push eax
push 0x40
push 4
push 0x4c02db
call ebx
mov eax, 0x11022eb0
sub eax, 0x4c02df
mov dword [0x4c02db], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
push 4
push 0x4c02db
call ebx
lea eax, [ebp - 0x10]
mov esi, 0x11022ed0
push eax
push 0x40
push 5
push 0x4c4257
sub esi, 0x4c425c
call ebx
lea eax, [ebp - 0x10]
mov byte [0x4c4257], 0xe8
push eax
mov dword [0x4c4258], esi
push dword [ebp - 0x10]
push 5
push 0x4c4257
call ebx
push 1
push 0x11022ef0
mov edx, 0x4c4b94
mov cl, 0xe8
call fcn.1100fb30
lea eax, [ebp - 0x10]
push eax
push 0x40
push 4
push 0x4c2c0a
call ebx
lea eax, [ebp - 0x10]
mov dword [0x4c2c0a], 0xc7
push eax
push dword [ebp - 0x10]
push 4
push 0x4c2c0a
call ebx
lea eax, [ebp - 0x10]
push eax
push 0x40
push 1
push 0x4c2c7c
call ebx
lea eax, [ebp - 0x10]
mov byte [0x4c2c7c], 0x43
push eax
push dword [ebp - 0x10]
push 1
push 0x4c2c7c
call ebx
lea eax, [ebp - 0x10]
push eax
push 0x40
push 4
push 0x4c2c92
call ebx
lea eax, [ebp - 0x10]
mov dword [0x4c2c92], 0xb5
push eax
push dword [ebp - 0x10]
push 4
push 0x4c2c92
call ebx
lea eax, [ebp - 0x10]
push eax
push 0x40
push 1
push 0x4c2d04
call ebx
lea eax, [ebp - 0x10]
mov byte [0x4c2d04], 0x46
push eax
push dword [ebp - 0x10]
push 1
push 0x4c2d04
call ebx
cmp byte [0x110c6683], 0
je 0x11023131
test byte [0x110c66ec], 1
je 0x11023131
push 1
mov edx, edi
mov ecx, str.Applying_world_map_cities_list_patch.
call fcn.11011060
lea eax, [ebp - 0x20]
mov dword [ebp - 0x30], 0x4c04b9
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x2c], 0x4c04c8
push eax
push ecx
mov ecx, 0x11021fc0
mov dword [ebp - 0x28], 0x4c4a34
mov dword [ebp - 0x24], 0x4c4a3d
call fcn.1100fcf0
call fcn.1100a210
add eax, 4
push eax
call fcn.1100a210
mov ecx, eax
call fcn.1100a300
test eax, eax
je 0x110231a5
lea ecx, [ebp - 0x14]
push ecx
push str.WorldMapSlots
push str.Misc
mov ecx, eax
call fcn.11003200
test al, al
je 0x110231a5
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x14], 0x10
jb 0x1102319c
mov ecx, dword [ecx]
call fcn.11011f90
mov esi, eax
jmp 0x110231a7
xor esi, esi
test esi, esi
je 0x1102324b
cmp esi, 0x80
jae 0x1102324b
cmp byte [0x110c6683], 0
je 0x110231db
test byte [0x110c66ec], 1
je 0x110231db
push 1
mov edx, edi
mov ecx, str.Applying_world_map_slots_patch.
call fcn.11011060
mov eax, 7
cmp esi, eax
cmovb esi, eax
imul ecx, esi, 0x1b
mov dword [0x110c67b8], ecx
lea eax, [ecx - 0xbd]
mov dword [0x110c0afc], eax
lea eax, [ebp - 0x10]
push eax
push 0x40
push 4
push 0x4c21fd
call ebx
lea eax, [ebp - 0x10]
mov dword [0x4c21fd], 0xbd
push eax
push dword [ebp - 0x10]
push 4
push 0x4c21fd
call ebx
lea eax, [ebp - 0x10]
push eax
push 0x40
push 4
push 0x4c21f1
call ebx
lea eax, [ebp - 0x10]
mov dword [0x4c21f1], 0x110c67b8
push eax
push dword [ebp - 0x10]
push 4
push 0x4c21f1
call ebx
cmp byte [0x110e58bf], 0
jne 0x11023261
cmp byte [0x110c673b], 0
je 0x110232eb
call fcn.1100a210
add eax, 4
push eax
call fcn.1100a210
mov ecx, eax
call fcn.1100a300
test eax, eax
je 0x110232a5
lea ecx, [ebp - 0x14]
push ecx
push str.ExpandWorldMap
push str.Interface
mov ecx, eax
call fcn.11003200
test al, al
je 0x110232a5
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x14], 0x10
jb 0x1102329e
mov ecx, dword [ecx]
call fcn.11011f90
jmp 0x110232a7
xor eax, eax
mov dword [0x110e6d7c], eax
test eax, eax
je 0x110232eb
sub esp, 0x28
mov ecx, 0x110220e0
mov eax, esp
mov dword [eax + 0x24], 0
test ecx, ecx
je 0x110232d5
mov dword [eax], 0x110b3d0c
mov dword [eax + 4], 0x110220e0
mov dword [eax + 0x24], eax
lea eax, [ebp - 0x2c]
mov ecx, 0x110e5100
push eax
call fcn.110053e0
lea ecx, [ebp - 0x2c]
call fcn.110052a0
call fcn.1100a210
add eax, 4
push eax
call fcn.1100a210
mov ecx, eax
call fcn.1100a300
test eax, eax
je 0x11023605
lea ecx, [ebp - 0x14]
push ecx
push str.WorldMapTravelMarkers
push str.Interface
mov ecx, eax
call fcn.11003200
test al, al
je 0x11023605
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x14], 0x10
jb 0x11023330
mov ecx, dword [ecx]
call fcn.11011f90
test eax, eax
je 0x11023605
cmp byte [0x110c6683], 0
je 0x1102335d
test byte [0x110c66ec], 1
je 0x1102335d
push 1
mov edx, edi
mov ecx, str.Applying_world_map_travel_markers_patch.
call fcn.11011060
call fcn.1100a210
add eax, 4
push eax
call fcn.1100a210
mov ecx, eax
call fcn.1100a300
test eax, eax
je 0x110233a1
lea ecx, [ebp - 0x14]
push ecx
push str.TravelMarkerColor
push str.Interface
mov ecx, eax
call fcn.11003200
test al, al
je 0x110233a1
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x14], 0x10
jb 0x1102339a
mov ecx, dword [ecx]
call fcn.11011f90
jmp 0x110233a6
mov eax, 0x86
cmp eax, 0xe4
jle 0x110233b4
mov eax, 0xe4
jmp 0x110233ba
cmp eax, 1
cmovl eax, edi
push 0x110aeab8
push str.TravelMarkerStyles
mov edx, str.Interface
mov byte [0x110c6795], al
lea ecx, [ebp - 0x2c]
call fcn.1100a8c0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
cmp edx, ecx
sete al
test al, al
jne 0x1102355a
sub ecx, edx
mov eax, 0x2aaaaaab
imul ecx
xor ecx, ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, 8
mov dword [0x110c67a8], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1107e661
xor ecx, ecx
mov dword [0x110c67a4], eax
xor edx, edx
mov dword [ebp - 0x20], ecx
add esp, 4
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], ecx
xor edi, edi
mov byte [ebp - 4], 1
cmp dword [0x110c67a8], edi
jbe 0x11023528
xor ebx, ebx
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x20]
push 2
push eax
mov dl, 0x3a
lea ecx, [ecx + ebx]
call fcn.110120d0
mov ecx, dword [ebp - 0x1c]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x20]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jb 0x110234e7
cmp dword [esi + 0x14], 0x10
jb 0x11023480
mov esi, dword [esi]
push esi
call fcn.1108823a
mov ecx, eax
add esp, 4
mov esi, 0xa
cmp ecx, 1
jge 0x1102349a
lea ecx, [esi - 9]
jmp 0x110234a0
cmp ecx, 0xa
cmovg ecx, esi
mov eax, dword [0x110c67a4]
mov dword [eax + edi*8], ecx
mov eax, dword [ebp - 0x20]
add eax, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x110234b6
mov eax, dword [eax]
push eax
call fcn.1108823a
mov ecx, eax
add esp, 4
cmp ecx, 1
jge 0x110234d6
mov eax, dword [0x110c67a4]
mov ecx, 1
mov dword [eax + edi*8 + 4], ecx
jmp 0x110234fb
mov eax, dword [0x110c67a4]
cmp ecx, 0xa
cmovg ecx, esi
mov dword [eax + edi*8 + 4], ecx
jmp 0x110234fb
mov eax, dword [0x110c67a4]
mov dword [eax + edi*8], 2
mov dword [eax + edi*8 + 4], 2
push dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.11008d80
mov ecx, dword [ebp - 0x20]
inc edi
mov edx, ecx
add ebx, 0x18
mov dword [ebp - 0x1c], edx
cmp edi, dword [0x110c67a8]
jb 0x11023447
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x1102355a
push dword [ebp - 0x14]
push ecx
call fcn.11008d80
mov ecx, dword [ebp - 0x18]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x20]
imul ecx
mov ecx, dword [ebp - 0x20]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
push 0x18
call fcn.11004ac0
mov eax, dword [0x110e4590]
sub eax, dword [0x110e4588]
sar eax, 3
cmp eax, 0x200
jae 0x11023579
push 0x200
call fcn.11023f50
sub esp, 0x28
mov ecx, 0x110e5118
mov eax, esp
mov dword [eax], 0x110b487c
mov dword [eax + 0x24], eax
lea eax, [ebp - 0x20]
push eax
call fcn.110053e0
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x110235c9
push dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
push ecx
call fcn.11008d10
mov ecx, dword [ebp - 0x18]
mov eax, 0x66666667
sub ecx, dword [ebp - 0x20]
imul ecx
mov ecx, dword [ebp - 0x20]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
push 0x28
call fcn.11004ac0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x11023605
push dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
push ecx
call fcn.11008d80
mov edx, dword [ebp - 0x24]
mov eax, 0x2aaaaaab
mov ecx, dword [ebp - 0x2c]
sub edx, ecx
imul edx
push 0x18
mov eax, edx
sar eax, 2
mov edx, eax
shr edx, 0x1f
add edx, eax
call fcn.11004ac0
call fcn.1100a210
add eax, 4
push eax
call fcn.1100a210
mov ecx, eax
call fcn.1100a300
test eax, eax
je 0x11023649
lea ecx, [ebp - 0x14]
push ecx
push str.WorldMapTerrainInfo
push str.Interface
mov ecx, eax
call fcn.11003200
test al, al
je 0x11023649
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x14], 0x10
jb 0x11023642
mov ecx, dword [ecx]
call fcn.11011f90
jmp 0x1102364b
xor eax, eax
test eax, eax
lea eax, [ebp - 0x10]
push eax
push 0x40
push 4
push 0x4c3c7f
setne byte [0x110c67b4]
call ebx
mov eax, 0x11022bd0
sub eax, 0x4c3c83
mov dword [0x4c3c7f], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
push 4
push 0x4c3c7f
call ebx
lea eax, [ebp - 0x10]
push eax
push 0x40
push 5
push 0x4bfe84
call ebx
mov eax, 0x11022dd0
mov byte [0x4bfe84], 0xe8
sub eax, 0x4bfe89
mov dword [0x4bfe85], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
push 5
push 0x4bfe84
call ebx
lea eax, [ebp - 0x10]
push eax
push 0x40
push 5
push 0x4c528a
call ebx
mov eax, 0x11022e30
mov byte [0x4c528a], 0xe8
sub eax, 0x4c528f
mov dword [0x4c528b], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
push 5
push 0x4c528a
call ebx
lea eax, [ebp - 0x10]
push eax
push 0x40
push 5
push 0x4c529e
call ebx
mov eax, 0x11022e60
mov byte [0x4c529e], 0xe8
sub eax, 0x4c52a3
mov dword [0x4c529f], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
push 5
push 0x4c529e
call ebx
lea eax, [ebp - 0x10]
push eax
push 0x40
push 1
push 0x4c52a8
call ebx
lea eax, [ebp - 0x10]
mov byte [0x4c52a8], 0xc5
push eax
push dword [ebp - 0x10]
push 1
push 0x4c52a8
call ebx
lea eax, [ebp - 0x10]
push eax
push 0x40
push 1
push 0x4c5289
call ebx
lea eax, [ebp - 0x10]
mov byte [0x4c5289], 0xc
push eax
push dword [ebp - 0x10]
push 1
push 0x4c5289
call ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret