Function at 0x546480
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
call fcn.005499f0
test eax, eax
jne 0x5464ad
push 0x30
push 0x71aab0
push str.The_mission_is_invalid._Check_the_list_of_waypoints_for_warning_symbols__fix_the_mistakes__and_try_again.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x54718f
cmp dword [0x15daa24], 0
je 0x54718d
lea eax, [ebp - 0x190]
push eax
push str.c:FallenLevels
push 0x1b31778
call fcn.0041e320
add esp, 0xc
push 0x58
push 0
lea ecx, [ebp - 0x8c]
push ecx
call fcn.0067d630
add esp, 0xc
mov edx, dword [0x15daa24]
add edx, 0x310
push edx
push str._s.ucm
push 0x1b31a90
call fcn.0041e320
add esp, 0xc
mov dword [ebp - 0x8c], 0x58
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x80], str.Game_Mission_Files
mov dword [ebp - 0x70], 0x1b31a90
mov dword [ebp - 0x6c], 0x104
mov dword [ebp - 0x60], 0x1b31778
mov dword [ebp - 0x5c], str.Export_a_mission_file
mov dword [ebp - 0x58], 0x804
mov dword [ebp - 0x50], 0x7216a4
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameA]
test eax, eax
je 0x54718d
push 0x717e54
push 0x1b31a90
call fcn.00690360
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x547186
mov dword [ebp - 0x30], 0xa
mov ecx, dword [ebp - 0x14]
push ecx
push 1
push 4
lea edx, [ebp - 0x30]
push edx
call fcn.006cf670
add esp, 0x10
push 0x9a21
call fcn.0067bdb0
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x5465ca
push 0x9a21
push 0
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0067d630
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], ecx
jmp 0x5465d1
mov dword [ebp - 0x24], 0
mov edx, dword [ebp - 0x24]
mov dword [ebp - 8], edx
push 0x9a21
mov eax, dword [0x15daa24]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.0067d8c0
add esp, 0xc
mov dword [ebp - 0xc], 0
jmp 0x546600
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0x200
jae 0x5466b8
imul eax, dword [ebp - 0xc], 0x4a
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + eax + 0x522]
cmp edx, 3
jne 0x5466b3
imul eax, dword [ebp - 0xc], 0x4a
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax + 0x520]
mov eax, 4
imul ecx, eax, 5
mov edx, dword [edx + ecx + 0xe]
and edx, 0xffff
mov word [ebp - 0x18], dx
imul eax, dword [ebp - 0xc], 0x4a
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax + 0x520]
mov eax, 4
imul ecx, eax, 5
mov edx, dword [edx + ecx + 0xe]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x54668d
movsx ecx, word [ebp - 0x18]
mov edx, dword [0x15daa24]
movzx eax, byte [edx + ecx + 0x9920]
mov dword [ebp - 0x20], eax
movsx ecx, word [ebp - 0x18]
mov edx, dword [ebp - 0x20]
shl edx, 0x10
or ecx, edx
imul eax, dword [ebp - 0xc], 0x4a
mov edx, dword [ebp - 8]
lea eax, [edx + eax + 0x520]
mov edx, 4
imul edx, edx, 5
mov dword [eax + edx + 0xe], ecx
jmp 0x5465f7
mov dword [ebp - 0x10], 0
jmp 0x5466ca
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x200
jge 0x5466f6
imul ecx, dword [ebp - 0x10], 0x4a
mov edx, dword [ebp - 8]
lea eax, [edx + ecx + 0x520]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 7]
and edx, 0xffffffef
mov eax, dword [ebp - 4]
mov byte [eax + 7], dl
jmp 0x5466c1
mov dword [ebp - 0x10], 0
jmp 0x546708
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0x200
jge 0x5470e4
imul edx, dword [ebp - 0x10], 0x4a
mov eax, dword [ebp - 8]
lea ecx, [eax + edx + 0x520]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 2]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x39
ja case.0x54673d.48
mov ecx, dword [ebp - 0x28]
jmp dword [ecx*4 + 0x547194]
jmp 0x546b81
mov edx, 4
imul eax, edx, 6
mov ecx, dword [ebp - 4]
cmp dword [ecx + eax + 0xe], 1
jl 0x5467a8
mov edx, 4
imul eax, edx, 6
mov ecx, dword [ebp - 4]
cmp dword [ecx + eax + 0xe], 0x1ff
jg 0x5467a8
mov edx, 4
imul eax, edx, 6
mov ecx, dword [ebp - 4]
imul edx, dword [ecx + eax + 0xe], 0x4a
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + edx + 0x527]
or ecx, 0x10
mov edx, 4
imul eax, edx, 6
mov edx, dword [ebp - 4]
imul eax, dword [edx + eax + 0xe], 0x4a
mov edx, dword [ebp - 8]
mov byte [edx + eax + 0x527], cl
jmp 0x546b81
mov eax, 4
imul ecx, eax, 5
mov edx, dword [ebp - 4]
cmp dword [edx + ecx + 0xe], 8
jne 0x54681e
mov eax, 4
imul ecx, eax, 7
mov edx, dword [ebp - 4]
cmp dword [edx + ecx + 0xe], 1
jl 0x54681e
mov eax, 4
imul ecx, eax, 7
mov edx, dword [ebp - 4]
cmp dword [edx + ecx + 0xe], 0x1ff
jg 0x54681e
mov eax, 4
imul ecx, eax, 7
mov edx, dword [ebp - 4]
imul eax, dword [edx + ecx + 0xe], 0x4a
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + eax + 0x527]
or edx, 0x10
mov eax, 4
imul ecx, eax, 7
mov eax, dword [ebp - 4]
imul ecx, dword [eax + ecx + 0xe], 0x4a
mov eax, dword [ebp - 8]
mov byte [eax + ecx + 0x527], dl
mov ecx, 4
imul edx, ecx, 3
mov eax, dword [ebp - 4]
cmp dword [eax + edx + 0xe], 4
jne 0x54688f
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp - 4]
cmp dword [edx + ecx + 0xe], 1
jl 0x54688f
mov eax, 4
shl eax, 0
mov ecx, dword [ebp - 4]
cmp dword [ecx + eax + 0xe], 0x1ff
jg 0x54688f
mov edx, 4
shl edx, 0
mov eax, dword [ebp - 4]
imul ecx, dword [eax + edx + 0xe], 0x4a
mov edx, dword [ebp - 8]
movzx eax, byte [edx + ecx + 0x527]
or eax, 0x10
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp - 4]
imul ecx, dword [edx + ecx + 0xe], 0x4a
mov edx, dword [ebp - 8]
mov byte [edx + ecx + 0x527], al
jmp 0x546b81
jmp 0x546b81
mov eax, 4
shl eax, 0
mov ecx, dword [ebp - 4]
cmp dword [ecx + eax + 0xe], 1
jl 0x5468f8
mov edx, 4
shl edx, 0
mov eax, dword [ebp - 4]
cmp dword [eax + edx + 0xe], 0x1ff
jg 0x5468f8
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp - 4]
imul eax, dword [edx + ecx + 0xe], 0x4a
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + eax + 0x527]
or edx, 0x10
mov eax, 4
shl eax, 0
mov ecx, dword [ebp - 4]
imul eax, dword [ecx + eax + 0xe], 0x4a
mov ecx, dword [ebp - 8]
mov byte [ecx + eax + 0x527], dl
mov edx, 4
shl edx, 1
mov eax, dword [ebp - 4]
cmp dword [eax + edx + 0xe], 1
jl 0x546953
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp - 4]
cmp dword [edx + ecx + 0xe], 0x1ff
jg 0x546953
mov eax, 4
shl eax, 1
mov ecx, dword [ebp - 4]
imul edx, dword [ecx + eax + 0xe], 0x4a
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + edx + 0x527]
or ecx, 0x10
mov edx, 4
shl edx, 1
mov eax, dword [ebp - 4]
imul edx, dword [eax + edx + 0xe], 0x4a
mov eax, dword [ebp - 8]
mov byte [eax + edx + 0x527], cl
jmp 0x546b81
jmp 0x546b81
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp - 4]
cmp dword [eax + edx + 0xe], 1
jl 0x5469bc
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp - 4]
cmp dword [eax + edx + 0xe], 0x1ff
jg 0x5469bc
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp - 4]
imul ecx, dword [eax + edx + 0xe], 0x4a
mov edx, dword [ebp - 8]
movzx eax, byte [edx + ecx + 0x527]
or eax, 0x10
mov ecx, 4
imul edx, ecx, 0
mov ecx, dword [ebp - 4]
imul edx, dword [ecx + edx + 0xe], 0x4a
mov ecx, dword [ebp - 8]
mov byte [ecx + edx + 0x527], al
jmp 0x546b81
jmp 0x546b81
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp - 4]
cmp dword [ecx + eax + 0xe], 1
jl 0x546a25
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp - 4]
cmp dword [ecx + eax + 0xe], 0x1ff
jg 0x546a25
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp - 4]
imul edx, dword [ecx + eax + 0xe], 0x4a
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + edx + 0x527]
or ecx, 0x10
mov edx, 4
imul eax, edx, 0
mov edx, dword [ebp - 4]
imul eax, dword [edx + eax + 0xe], 0x4a
mov edx, dword [ebp - 8]
mov byte [edx + eax + 0x527], cl
jmp 0x546b81
jmp 0x546b81
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 4]
cmp dword [edx + ecx + 0xe], 1
jl 0x546a8e
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 4]
cmp dword [edx + ecx + 0xe], 0x1ff
jg 0x546a8e
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 4]
imul eax, dword [edx + ecx + 0xe], 0x4a
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + eax + 0x527]
or edx, 0x10
mov eax, 4
imul ecx, eax, 0
mov eax, dword [ebp - 4]
imul ecx, dword [eax + ecx + 0xe], 0x4a
mov eax, dword [ebp - 8]
mov byte [eax + ecx + 0x527], dl
jmp 0x546b81
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp - 4]
cmp dword [eax + edx + 0xe], 1
jl 0x546af2
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp - 4]
cmp dword [eax + edx + 0xe], 0x1ff
jg 0x546af2
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp - 4]
imul ecx, dword [eax + edx + 0xe], 0x4a
mov edx, dword [ebp - 8]
movzx eax, byte [edx + ecx + 0x527]
or eax, 0x10
mov ecx, 4
imul edx, ecx, 0
mov ecx, dword [ebp - 4]
imul edx, dword [ecx + edx + 0xe], 0x4a
mov ecx, dword [ebp - 8]
mov byte [ecx + edx + 0x527], al
jmp 0x546b81
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp - 4]
cmp dword [ecx + eax + 0xe], 1
jl 0x546b56
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp - 4]
cmp dword [ecx + eax + 0xe], 0x1ff
jg 0x546b56
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp - 4]
imul edx, dword [ecx + eax + 0xe], 0x4a
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + edx + 0x527]
or ecx, 0x10
mov edx, 4
imul eax, edx, 0
mov edx, dword [ebp - 4]
imul eax, dword [edx + eax + 0xe], 0x4a
mov edx, dword [ebp - 8]
mov byte [edx + eax + 0x527], cl
jmp 0x546b81
jmp 0x546b81
mov eax, 1
test eax, eax
je 0x546b7a
push 0x34f
push str.C:devworkspaces_repo_clonesClean_UrbanChaosMuckyFoot_UrbanChaos_fallenGEditSourceMission.cpp
push str.ASSERT_TRIGGERED
call fcn.0049b8f0
add esp, 0xc
xor eax, eax
jmp 0x54718f
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 4]
mov dword [ebp - 0x2c], edx
cmp dword [ebp - 0x2c], 0x2c
ja case.0x546b98.38
mov eax, dword [ebp - 0x2c]
jmp dword [eax*4 + 0x54727c]
jmp 0x5470df
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + 8]
cmp edx, 1
jl 0x546beb
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 8]
cmp ecx, 0x1ff
jg 0x546beb
mov edx, dword [ebp - 4]
movzx eax, word [edx + 8]
imul ecx, eax, 0x4a
mov edx, dword [ebp - 8]
movzx eax, byte [edx + ecx + 0x527]
or eax, 0x10
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + 8]
imul ecx, edx, 0x4a
mov edx, dword [ebp - 8]
mov byte [edx + ecx + 0x527], al
jmp 0x5470df
jmp 0x5470df
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 8]
cmp ecx, 1
jl 0x546c3b
mov edx, dword [ebp - 4]
movzx eax, word [edx + 8]
cmp eax, 0x1ff
jg 0x546c3b
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + 8]
imul eax, edx, 0x4a
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + eax + 0x527]
or edx, 0x10
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 8]
imul eax, ecx, 0x4a
mov ecx, dword [ebp - 8]
mov byte [ecx + eax + 0x527], dl
mov edx, dword [ebp - 4]
movzx eax, word [edx + 0xa]
cmp eax, 1
jl 0x546c82
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + 0xa]
cmp edx, 0x1ff
jg 0x546c82
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 0xa]
imul edx, ecx, 0x4a
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + edx + 0x527]
or ecx, 0x10
mov edx, dword [ebp - 4]
movzx eax, word [edx + 0xa]
imul edx, eax, 0x4a
mov eax, dword [ebp - 8]
mov byte [eax + edx + 0x527], cl
jmp 0x5470df
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + 8]
cmp edx, 1
jl 0x546cce
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 8]
cmp ecx, 0x1ff
jg 0x546cce
mov edx, dword [ebp - 4]
movzx eax, word [edx + 8]
imul ecx, eax, 0x4a
mov edx, dword [ebp - 8]
movzx eax, byte [edx + ecx + 0x527]
or eax, 0x10
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + 8]
imul ecx, edx, 0x4a
mov edx, dword [ebp - 8]
mov byte [edx + ecx + 0x527], al
jmp 0x5470df
jmp 0x5470df
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 8]
cmp ecx, 1
jl 0x546d1e
mov edx, dword [ebp - 4]
movzx eax, word [edx + 8]
cmp eax, 0x1ff
jg 0x546d1e
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + 8]
imul eax, edx, 0x4a
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + eax + 0x527]
or edx, 0x10
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 8]
imul eax, ecx, 0x4a
mov ecx, dword [ebp - 8]
mov byte [ecx + eax + 0x527], dl
jmp 0x5470df
jmp 0x5470df
mov edx, dword [ebp - 4]
movzx eax, word [edx + 8]
cmp eax, 1
jl 0x546d6f
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + 8]
cmp edx, 0x1ff
jg 0x546d6f
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 8]
imul edx, ecx, 0x4a
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + edx + 0x527]
or ecx, 0x10
mov edx, dword [ebp - 4]
movzx eax, word [edx + 8]
imul edx, eax, 0x4a
mov eax, dword [ebp - 8]
mov byte [eax + edx + 0x527], cl
jmp 0x5470df
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + 8]
cmp edx, 1
jl 0x546dbb
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 8]
cmp ecx, 0x1ff
jg 0x546dbb
mov edx, dword [ebp - 4]
movzx eax, word [edx + 8]
imul ecx, eax, 0x4a
mov edx, dword [ebp - 8]
movzx eax, byte [edx + ecx + 0x527]
or eax, 0x10
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + 8]
imul ecx, edx, 0x4a
mov edx, dword [ebp - 8]
mov byte [edx + ecx + 0x527], al
jmp 0x5470df
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 8]
cmp ecx, 1
jl 0x546e06
mov edx, dword [ebp - 4]
movzx eax, word [edx + 8]
cmp eax, 0x1ff
jg 0x546e06
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + 8]
imul eax, edx, 0x4a
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + eax + 0x527]
or edx, 0x10
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 8]
imul eax, ecx, 0x4a
mov ecx, dword [ebp - 8]
mov byte [ecx + eax + 0x527], dl
jmp 0x5470df
jmp 0x5470df
mov edx, dword [ebp - 4]
movzx eax, word [edx + 8]
cmp eax, 1
jl 0x546e57
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + 8]
cmp edx, 0x1ff
jg 0x546e57
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 8]
imul edx, ecx, 0x4a
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + edx + 0x527]
or ecx, 0x10
mov edx, dword [ebp - 4]
movzx eax, word [edx + 8]
imul edx, eax, 0x4a
mov eax, dword [ebp - 8]
mov byte [eax + edx + 0x527], cl
jmp 0x5470df
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + 8]
cmp edx, 1
jl 0x546ea3
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 8]
cmp ecx, 0x1ff
jg 0x546ea3
mov edx, dword [ebp - 4]
movzx eax, word [edx + 8]
imul ecx, eax, 0x4a
mov edx, dword [ebp - 8]
movzx eax, byte [edx + ecx + 0x527]
or eax, 0x10
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + 8]
imul ecx, edx, 0x4a
mov edx, dword [ebp - 8]
mov byte [edx + ecx + 0x527], al
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 0xa]
cmp ecx, 1
jl 0x546ee9
mov edx, dword [ebp - 4]
movzx eax, word [edx + 0xa]
cmp eax, 0x1ff
jg 0x546ee9
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + 0xa]
imul eax, edx, 0x4a
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + eax + 0x527]
or edx, 0x10
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 0xa]
imul eax, ecx, 0x4a
mov ecx, dword [ebp - 8]
mov byte [ecx + eax + 0x527], dl
jmp 0x5470df
mov edx, dword [ebp - 4]
movzx eax, word [edx + 8]
cmp eax, 1
jl 0x546f35
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + 8]
cmp edx, 0x1ff
jg 0x546f35
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 8]
imul edx, ecx, 0x4a
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + edx + 0x527]
or ecx, 0x10
mov edx, dword [ebp - 4]
movzx eax, word [edx + 8]
imul edx, eax, 0x4a
mov eax, dword [ebp - 8]
mov byte [eax + edx + 0x527], cl
jmp 0x5470df
jmp 0x5470df
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + 8]
cmp edx, 1
jl 0x546f86
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 8]
cmp ecx, 0x1ff
jg 0x546f86
mov edx, dword [ebp - 4]
movzx eax, word [edx + 8]
imul ecx, eax, 0x4a
mov edx, dword [ebp - 8]
movzx eax, byte [edx + ecx + 0x527]
or eax, 0x10
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + 8]
imul ecx, edx, 0x4a
mov edx, dword [ebp - 8]
mov byte [edx + ecx + 0x527], al
jmp 0x5470df
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 8]
cmp ecx, 1
jl 0x546fd1
mov edx, dword [ebp - 4]
movzx eax, word [edx + 8]
cmp eax, 0x1ff
jg 0x546fd1
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + 8]
imul eax, edx, 0x4a
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + eax + 0x527]
or edx, 0x10
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 8]
imul eax, ecx, 0x4a
mov ecx, dword [ebp - 8]
mov byte [ecx + eax + 0x527], dl
jmp 0x5470df
jmp 0x5470df
mov edx, dword [ebp - 4]
movzx eax, word [edx + 8]
cmp eax, 1
jl 0x547022
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + 8]
cmp edx, 0x1ff
jg 0x547022
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 8]
imul edx, ecx, 0x4a
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + edx + 0x527]
or ecx, 0x10
mov edx, dword [ebp - 4]
movzx eax, word [edx + 8]
imul edx, eax, 0x4a
mov eax, dword [ebp - 8]
mov byte [eax + edx + 0x527], cl
jmp 0x5470df
jmp 0x5470df
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + 8]
cmp edx, 1
jl 0x547073
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 8]
cmp ecx, 0x1ff
jg 0x547073
mov edx, dword [ebp - 4]
movzx eax, word [edx + 8]
imul ecx, eax, 0x4a
mov edx, dword [ebp - 8]
movzx eax, byte [edx + ecx + 0x527]
or eax, 0x10
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + 8]
imul ecx, edx, 0x4a
mov edx, dword [ebp - 8]
mov byte [edx + ecx + 0x527], al
jmp 0x5470df
jmp 0x5470df
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 8]
cmp ecx, 1
jl 0x5470bd
mov edx, dword [ebp - 4]
movzx eax, word [edx + 8]
cmp eax, 0x1ff
jg 0x5470bd
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + 8]
imul eax, edx, 0x4a
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + eax + 0x527]
or edx, 0x10
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 8]
imul eax, ecx, 0x4a
mov ecx, dword [ebp - 8]
mov byte [ecx + eax + 0x527], dl
jmp 0x5470df
mov edx, 1
test edx, edx
je 0x5470df
push 0x3c3
push str.C:devworkspaces_repo_clonesClean_UrbanChaosMuckyFoot_UrbanChaos_fallenGEditSourceMission.cpp
push str.ASSERT_TRIGGERED
call fcn.0049b8f0
add esp, 0xc
jmp 0x5466ff
mov eax, dword [ebp - 0x14]
push eax
push 1
push 0x9a21
mov ecx, dword [ebp - 8]
push ecx
call fcn.006cf670
add esp, 0x10
mov edx, dword [ebp - 8]
mov dword [ebp - 0x34], edx
push 0x9a21
mov eax, dword [ebp - 0x34]
push eax
call fcn.0067be00
add esp, 8
mov dword [ebp - 0xc], 0
jmp 0x547124
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0x200
jae 0x54714c
imul edx, dword [ebp - 0xc], 0x4a
mov eax, dword [0x15daa24]
lea ecx, [eax + edx + 0x520]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.00549bf0
add esp, 8
jmp 0x54711b
mov eax, dword [ebp - 0x14]
push eax
push 1
push 0x4000
mov eax, dword [0x15daa24]
sub eax, 0x15daa28
cdq
mov ecx, 0x9a21
idiv ecx
shl eax, 0xe
add eax, 0x199df10
push eax
call fcn.006cf670
add esp, 0x10
mov edx, dword [ebp - 0x14]
push edx
call fcn.0068fac0
add esp, 4
mov eax, 1
jmp 0x54718f
xor eax, eax
mov esp, ebp
pop ebp
ret