Function at 0x547570
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1352c
call fcn.0067ac70
lea eax, [ebp - 0x1ec]
push eax
push str.c:FallenLevels
push 0x1b31778
call fcn.0041e320
add esp, 0xc
push 0x58
push 0
lea ecx, [ebp - 0x7c]
push ecx
call fcn.0067d630
add esp, 0xc
push 0x72177c
push 0x1b31a90
call fcn.0041e320
add esp, 8
mov dword [ebp - 0x7c], 0x58
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x70], str.Game_Mission_Files
mov dword [ebp - 0x60], 0x1b31a90
mov dword [ebp - 0x5c], 0x104
mov dword [ebp - 0x50], 0x1b31778
mov dword [ebp - 0x4c], str.Import_a_mission_file
mov dword [ebp - 0x48], 0x1804
mov dword [ebp - 0x40], 0x7216a4
push 0
push 9
push 0x110a
mov edx, dword [0x1b3176c]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe8], 4
lea ecx, [ebp - 0xe8]
push ecx
push 0
push 0x110c
mov edx, dword [0x1b3176c]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x7c]
push ecx
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameA]
test eax, eax
je 0x547939
push 0x716764
push 0x1b31a90
call fcn.00690360
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x547939
mov dword [ebp - 0x14], 0xa
mov edx, dword [ebp - 8]
push edx
push 1
push 4
lea eax, [ebp - 0x14]
push eax
call fcn.006b7750
add esp, 0x10
mov ecx, dword [ebp - 0x1c]
movzx edx, word [ecx + 4]
push edx
call fcn.00546360
add esp, 4
mov word [ebp - 0xc], ax
movzx eax, word [ebp - 0xc]
test eax, eax
je 0x547915
movzx ecx, word [ebp - 0xc]
imul edx, ecx, 0x9a21
add edx, 0x15daa28
mov dword [ebp - 4], edx
cmp dword [ebp - 0x14], 8
jbe 0x5476e8
mov eax, dword [ebp - 8]
push eax
push 1
push 0x9a21
mov ecx, dword [ebp - 4]
push ecx
call fcn.006b7750
add esp, 0x10
jmp 0x54777a
cmp dword [ebp - 0x14], 5
jbe 0x547735
mov edx, dword [ebp - 8]
push edx
push 1
push 0x9a20
lea eax, [ebp - 0x1352c]
push eax
call fcn.006b7750
add esp, 0x10
push 0x9a21
push 0
mov ecx, dword [ebp - 4]
push ecx
call fcn.0067d630
add esp, 0xc
push 0x9a20
lea edx, [ebp - 0x1352c]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.0067d8c0
add esp, 0xc
jmp 0x54777a
mov ecx, dword [ebp - 8]
push ecx
push 1
push 0x9920
lea edx, [ebp - 0x9b0c]
push edx
call fcn.006b7750
add esp, 0x10
push 0x9a21
push 0
mov eax, dword [ebp - 4]
push eax
call fcn.0067d630
add esp, 0xc
push 0x9920
lea ecx, [ebp - 0x9b0c]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.0067d8c0
add esp, 0xc
cmp dword [ebp - 0x14], 0xa
jae 0x54778a
mov eax, dword [ebp - 4]
mov byte [eax + 0x9a1e], 4
mov dword [ebp - 0x18], 0
jmp 0x54779c
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0x200
jge 0x5477cf
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 4]
add eax, 0x520
push eax
imul ecx, dword [ebp - 0x18], 0x4a
mov edx, dword [ebp - 4]
lea eax, [edx + ecx + 0x520]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.005489b0
add esp, 0x10
jmp 0x547793
mov edx, dword [ebp - 8]
push edx
push 1
push 0x4000
mov eax, dword [ebp - 4]
sub eax, 0x15daa28
cdq
mov ecx, 0x9a21
idiv ecx
shl eax, 0xe
add eax, 0x199df10
push eax
call fcn.006b7750
add esp, 0x10
mov edx, dword [ebp - 4]
add edx, 0x310
push edx
push str.Enter_new_name_for_mission:
push str.Import_Mission
call fcn.00540a40
add esp, 0xc
push eax
mov eax, dword [ebp - 4]
add eax, 0x310
push eax
call fcn.006b6b40
add esp, 8
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
mov ax, word [edx + 4]
mov word [ecx + 0x518], ax
mov ecx, dword [ebp - 0x1c]
movzx edx, word [ecx + 4]
imul eax, edx, 0x1d0
add eax, 0x1b2df14
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x20c
push ecx
call fcn.006b6b40
add esp, 8
push 0xc
call fcn.0067bdb0
add esp, 4
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
je 0x547915
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], 0xffff0002
mov dword [ebp - 0xb8], 0x27
mov dword [ebp - 0xa0], 1
mov dword [ebp - 0x9c], 1
mov ecx, dword [ebp - 4]
add ecx, 0x310
mov dword [ebp - 0xa8], ecx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x94], edx
lea eax, [ebp - 0xc0]
push eax
push 0
push 0x1100
mov ecx, dword [0x1b3176c]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x10]
mov byte [eax], 3
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
mov ax, word [edx + 4]
mov word [ecx + 4], ax
mov ecx, dword [ebp - 0x10]
mov dx, word [ebp - 0xc]
mov word [ecx + 6], dx
push 0
push 0
mov eax, dword [0x1b3176c]
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [ebp - 8]
push ecx
call fcn.0068fac0
add esp, 4
mov edx, dword [ebp - 4]
push edx
call fcn.00545ef0
add esp, 4
mov eax, dword [ebp - 4]
push eax
call fcn.00545e60
add esp, 4
mov esp, ebp
pop ebp
ret