Function at 0x1005cd30
Capabilities:
Create directory

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008281e
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x178
mov eax, dword [0x100b6018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x144], ecx
mov dword [ebp - 0x154], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x140]
push 0xc0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 8
lea ecx, [ebp - 0x140]
call fcn.1000a800
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x80]
call fcn.100101d0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x80]
push str.1_kej_recorder
lea ecx, [ebp - 0x50]
call fcn.1000a900
add esp, 4
mov byte [ebp - 4], 3
mov ecx, eax
call fcn.10010260
mov byte [ebp - 0x145], al
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call fcn.10005ab0
cmp byte [ebp - 0x145], 0
jne 0x1005ce6a
push str.1_kej_recorder
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0x38]
call fcn.1000a900
add esp, 4
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 0x10
jb 0x1005ce11
mov eax, dword [eax]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir]
add esp, 4
mov esi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.10005ab0
cmp esi, 0xffffffff
jne 0x1005ce6a
lea ecx, [ebp - 0x50]
call fcn.10011420
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 0x10
jb 0x1005ce42
mov eax, dword [eax]
push eax
push str.IO_WriteData_failed_with:__s
push 7
call fcn.1000ae00
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call fcn.10005ab0
mov byte [ebp - 0x145], 0
jmp 0x1005d77b
sub esp, 0x18
lea eax, [ebx + 0xc]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.10007fb0
mov byte [ebp - 4], 6
mov byte [ebp - 4], 2
call fcn.10011380
add esp, 0x18
test al, al
jne 0x1005ceb6
cmp dword [ebx + 0x20], 0x10
lea eax, [ebx + 0xc]
cmovae eax, dword [ebx + 0xc]
push eax
push str.IO_WriteData_failed_with:_invalid_file_name___s__n
push 7
call fcn.1000ae00
add esp, 0xc
mov byte [ebp - 0x145], 0
jmp 0x1005d77b
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x50]
call fcn.10010110
mov byte [ebp - 4], 8
push ecx
push 0x100a349c
lea ecx, [ebp - 0x50]
call fcn.10011e40
push eax
push 0
lea eax, [ebp - 0x170]
push eax
lea ecx, [ebp - 0x50]
call fcn.10011da0
mov edi, 8
mov dword [ebp - 0x154], edi
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x50]
call fcn.10005ab0
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x15c]
mov eax, edx
mov ecx, dword [ebp - 0x160]
sub eax, ecx
mov dword [ebp - 0x18], ecx
push 0x10
push str.1_kej_recorder_
cmp eax, 0x10
jb 0x1005cf55
cmp edx, 0x10
lea esi, [ebp - 0x170]
lea eax, [ecx + 0x10]
cmovae esi, dword [ebp - 0x170]
mov dword [ebp - 0x160], eax
lea eax, [esi + ecx]
push eax
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x18]
add esp, 0xc
mov byte [esi + eax + 0x10], 0
lea eax, [ebp - 0x170]
jmp 0x1005cf65
push dword [ebp - 0x18]
lea ecx, [ebp - 0x170]
push 0x10
call fcn.1000aa80
mov dword [ebp - 0x28], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x24], 0
or edi, 4
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x38], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x28], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov dword [ebp - 0x154], edi
mov byte [ebp - 4], 0xa
lea eax, [ebx + 0xc]
push eax
lea ecx, [ebp - 0x38]
call fcn.1000ed20
mov dword [ebp - 0x178], 0
lea edx, [ebp - 0x188]
mov dword [ebp - 0x174], 0
lea ecx, [ebp - 0x68]
xorps xmm0, xmm0
or edi, 0x20
movups xmmword [ebp - 0x188], xmm0
push str..kej
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x188], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x178], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov dword [ebp - 0x154], edi
call fcn.1000ac50
add esp, 4
mov byte [ebp - 4], 0xb
and edi, 0xffffffdf
mov dword [ebp - 0x154], edi
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x188]
call fcn.10005ab0
and edi, 0xfffffffb
mov dword [ebp - 0x154], edi
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x38]
call fcn.10005ab0
and edi, 0xfffffff7
mov dword [ebp - 0x154], edi
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x170]
call fcn.10005ab0
cmp dword [ebp - 0xdc], 0
jne 0x1005d12d
cmp dword [ebp - 0x54], 0x10
lea eax, [ebp - 0x68]
push ecx
cmovae eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x128]
push 2
push eax
call fcn.10011f10
test eax, eax
lea ecx, [ebp - 0x140]
mov eax, dword [ebp - 0x140]
push 0
je 0x1005d0a9
add ecx, dword [eax + 4]
push 0
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
jmp 0x1005d0b4
add ecx, dword [eax + 4]
push 2
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
cmp dword [ebp - 0xdc], 0
jne 0x1005d12d
lea ecx, [ebp - 0x38]
call fcn.10011420
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x38]
cmp dword [ebp - 0x24], 0x10
cmovae eax, dword [ebp - 0x38]
push eax
push str.IO_WriteData_failed_with__s_n
push 7
call fcn.1000ae00
add esp, 0xc
cmp dword [ebp - 0xdc], 0
je 0x1005d115
lea ecx, [ebp - 0x128]
call fcn.1000a590
test eax, eax
jne 0x1005d115
mov eax, dword [ebp - 0x140]
lea ecx, [ebp - 0x140]
push 0
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x38]
call fcn.10005ab0
mov byte [ebp - 0x145], 0
jmp 0x1005d76f
mov esi, dword [ebp - 0x144]
mov eax, 0x66666667
mov ecx, dword [esi + 4]
sub ecx, dword [esi]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jae 0x1005d169
push str.IO_WriteData_failed_with:_data.size_____1_n
push 7
call fcn.1000ae00
add esp, 8
mov byte [ebp - 0x145], 0
jmp 0x1005d76f
cmp dword [ebx + 0x1c], 1
jae 0x1005d18a
push str.IO_WriteData_failed_with:_run_name.size_____1_n
push 7
call fcn.1000ae00
add esp, 8
mov byte [ebp - 0x145], 0
jmp 0x1005d76f
mov dword [ebp - 0x18], 0x56b5d0
mov edi, str.mapname
call dword [ebp - 0x18]
mov edx, eax
test edx, edx
jne 0x1005d1ba
push str._mapname__dvar_does_not_exist__n
push 7
call fcn.1000ae00
add esp, 8
mov byte [ebp - 0x145], 0
jmp 0x1005d76f
mov eax, dword [esi + 0x24]
lea ecx, [ebp - 0x130]
mov edi, dword [esi + 0x2c]
mov esi, dword [esi + 0x34]
mov edx, dword [edx + 0xc]
mov eax, dword [eax]
mov edi, dword [edi]
mov esi, dword [esi]
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x18], esi
call fcn.10007c50
mov dl, 0xa
mov ecx, eax
call fcn.10008f90
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x150], 0
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x66666667
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1005d71c
mov dword [ebp - 0x14c], 0
nop word [eax + eax]
mov dl, 0x7b
lea ecx, [ebp - 0x130]
call fcn.10008f90
mov ecx, dword [ebp - 0x144]
mov edx, dword [ebp - 0x14c]
mov ecx, dword [ecx]
push ecx
movss xmm0, dword [edx + ecx + 0x18]
mov ecx, eax
movss dword [esp], xmm0
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___float_]
mov edx, 0x100ab050
mov ecx, eax
call fcn.10007c50
mov ecx, dword [ebp - 0x144]
mov edx, dword [ebp - 0x14c]
mov ecx, dword [ecx]
push ecx
movss xmm0, dword [edx + ecx + 0x1c]
mov ecx, eax
movss dword [esp], xmm0
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___float_]
mov edx, 0x100ab050
mov ecx, eax
call fcn.10007c50
mov ecx, dword [ebp - 0x144]
mov edx, dword [ebp - 0x14c]
mov ecx, dword [ecx]
push ecx
movss xmm0, dword [edx + ecx + 0x20]
mov ecx, eax
movss dword [esp], xmm0
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___float_]
mov dl, 0x7d
mov ecx, eax
call fcn.10008f90
mov dl, 0x7b
lea ecx, [ebp - 0x130]
call fcn.10008f90
mov ecx, dword [ebp - 0x144]
mov edx, dword [ebp - 0x14c]
mov ecx, dword [ecx]
push ecx
movss xmm0, dword [edx + ecx]
mov ecx, eax
movss dword [esp], xmm0
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___float_]
mov edx, 0x100ab050
mov ecx, eax
call fcn.10007c50
mov ecx, dword [ebp - 0x144]
mov edx, dword [ebp - 0x14c]
mov ecx, dword [ecx]
push ecx
movss xmm0, dword [edx + ecx + 4]
mov ecx, eax
movss dword [esp], xmm0
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___float_]
mov edx, 0x100ab050
mov ecx, eax
call fcn.10007c50
mov ecx, dword [ebp - 0x144]
mov edx, dword [ebp - 0x14c]
mov ecx, dword [ecx]
push ecx
movss xmm0, dword [edx + ecx + 8]
mov ecx, eax
movss dword [esp], xmm0
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___float_]
mov dl, 0x7d
mov ecx, eax
call fcn.10008f90
mov dl, 0x7b
lea ecx, [ebp - 0x130]
call fcn.10008f90
mov ecx, dword [ebp - 0x144]
mov edx, dword [ebp - 0x14c]
mov ecx, dword [ecx]
push ecx
movss xmm0, dword [edx + ecx + 0xc]
movss dword [esp], xmm0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___float_]
mov edx, 0x100ab050
mov ecx, eax
call fcn.10007c50
mov ecx, dword [ebp - 0x144]
mov edx, dword [ebp - 0x14c]
mov ecx, dword [ecx]
push ecx
movss xmm0, dword [edx + ecx + 0x10]
mov ecx, eax
movss dword [esp], xmm0
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___float_]
mov edx, 0x100ab050
mov ecx, eax
call fcn.10007c50
mov ecx, dword [ebp - 0x144]
mov edx, dword [ebp - 0x14c]
mov ecx, dword [ecx]
push ecx
movss xmm0, dword [edx + ecx + 0x14]
mov ecx, eax
movss dword [esp], xmm0
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___float_]
mov dl, 0x7d
mov ecx, eax
call fcn.10008f90
mov dl, 0x7b
lea ecx, [ebp - 0x130]
call fcn.10008f90
mov ecx, dword [ebp - 0x144]
mov edx, dword [ebp - 0x14c]
mov ecx, dword [ecx]
push ecx
movss xmm0, dword [edx + ecx + 0x28]
mov ecx, eax
movss dword [esp], xmm0
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___float_]
mov edx, 0x100ab050
mov ecx, eax
call fcn.10007c50
mov ecx, dword [ebp - 0x144]
mov edx, dword [ebp - 0x14c]
mov ecx, dword [ecx]
push ecx
movss xmm0, dword [edx + ecx + 0x2c]
mov ecx, eax
movss dword [esp], xmm0
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___float_]
mov edx, 0x100ab050
mov ecx, eax
call fcn.10007c50
mov ecx, dword [ebp - 0x144]
mov edx, dword [ebp - 0x14c]
mov ecx, dword [ecx]
push ecx
movss xmm0, dword [edx + ecx + 0x30]
mov ecx, eax
movss dword [esp], xmm0
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___float_]
mov dl, 0x7d
mov ecx, eax
call fcn.10008f90
mov dl, 0x7b
lea ecx, [ebp - 0x130]
call fcn.10008f90
mov ecx, dword [ebp - 0x144]
mov edx, dword [ebp - 0x14c]
mov ecx, dword [ecx]
push ecx
movss xmm0, dword [edx + ecx + 0x34]
mov ecx, eax
movss dword [esp], xmm0
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___float_]
mov edx, 0x100ab050
mov ecx, eax
call fcn.10007c50
mov ecx, dword [ebp - 0x144]
mov edx, dword [ebp - 0x14c]
mov ecx, dword [ecx]
movss xmm0, dword [edx + ecx + 0x38]
push ecx
mov ecx, eax
movss dword [esp], xmm0
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___float_]
mov edx, 0x100ab050
mov ecx, eax
call fcn.10007c50
mov ecx, dword [ebp - 0x144]
mov edx, dword [ebp - 0x14c]
mov ecx, dword [ecx]
push ecx
movss xmm0, dword [edx + ecx + 0x3c]
mov ecx, eax
movss dword [esp], xmm0
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___float_]
mov dl, 0x7d
mov ecx, eax
call fcn.10008f90
mov dl, 0x7b
lea ecx, [ebp - 0x130]
call fcn.10008f90
mov ecx, dword [ebp - 0x144]
mov edx, dword [ebp - 0x14c]
mov ecx, dword [ecx]
movsx ecx, byte [edx + ecx + 0x24]
push ecx
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
mov edx, 0x100ab054
mov ecx, eax
call fcn.10007c50
mov ecx, dword [ebp - 0x144]
mov edx, dword [ebp - 0x14c]
mov ecx, dword [ecx]
movsx ecx, byte [edx + ecx + 0x25]
push ecx
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
mov dl, 0x7d
mov ecx, eax
call fcn.10008f90
mov dl, 0x7b
lea ecx, [ebp - 0x130]
call fcn.10008f90
mov ecx, dword [ebp - 0x144]
mov edx, dword [ebp - 0x14c]
mov ecx, dword [ecx]
mov cl, byte [edx + ecx + 0x40]
push ecx
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___bool_]
mov edx, 0x100ab054
mov ecx, eax
call fcn.10007c50
mov ecx, dword [ebp - 0x144]
mov edx, dword [ebp - 0x14c]
mov ecx, dword [ecx]
mov cl, byte [edx + ecx + 0x41]
push ecx
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___bool_]
mov dl, 0x7d
mov ecx, eax
call fcn.10008f90
mov dl, 0x7b
lea ecx, [ebp - 0x130]
call fcn.10008f90
mov ecx, dword [ebp - 0x144]
mov edx, dword [ebp - 0x14c]
mov ecx, dword [ecx]
push dword [edx + ecx + 0x44]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
mov edx, 0x100ab054
mov ecx, eax
call fcn.10007c50
mov ecx, dword [ebp - 0x144]
mov edx, dword [ebp - 0x14c]
mov ecx, dword [ecx]
mov cl, byte [edx + ecx + 0x48]
push ecx
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___bool_]
mov dl, 0x7d
mov ecx, eax
call fcn.10008f90
mov dl, 0x7b
lea ecx, [ebp - 0x130]
call fcn.10008f90
mov ecx, dword [ebp - 0x158]
mov edx, dword [ebp - 0x150]
cmp dword [ecx + 0x10], edx
sete cl
push ecx
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___bool_]
mov edx, 0x100ab054
mov ecx, eax
call fcn.10007c50
mov ecx, dword [ebp - 0x150]
cmp dword [edi + 0x10], ecx
sete cl
push ecx
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___bool_]
mov edx, 0x100ab054
mov ecx, eax
call fcn.10007c50
mov ecx, dword [ebp - 0x150]
cmp dword [esi + 0x10], ecx
sete cl
push ecx
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___bool_]
mov edx, 0x100ab058
mov ecx, eax
call fcn.10007c50
mov eax, dword [ebp - 0x158]
mov ecx, dword [ebp - 0x150]
cmp dword [eax + 0x10], ecx
jne 0x1005d6b4
lea ecx, [ebp - 0x1c]
call fcn.1005c1f0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x150]
cmp dword [edi + 0x10], eax
jne 0x1005d6d0
lea ecx, [ebp - 0x20]
call fcn.1005c1f0
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x150]
cmp dword [esi + 0x10], eax
jne 0x1005d6e6
lea ecx, [ebp - 0x18]
call fcn.1005c1f0
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x150]
inc eax
add dword [ebp - 0x14c], 0x50
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x144]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x66666667
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x150], eax
jb 0x1005d230
cmp dword [ebp - 0xdc], 0
je 0x1005d74d
lea ecx, [ebp - 0x128]
call fcn.1000a590
test eax, eax
jne 0x1005d74d
mov eax, dword [ebp - 0x140]
lea ecx, [ebp - 0x140]
push 0
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
cmp dword [ebx + 0x20], 0x10
lea eax, [ebx + 0xc]
cmovae eax, dword [ebx + 0xc]
push eax
push str.2file___s__has_been_saved_n
push 5
call fcn.1000acd0
add esp, 0xc
mov byte [ebp - 0x145], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x68]
call fcn.10005ab0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x80]
call fcn.10005ab0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x140]
call fcn.1000a6b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0xc]
call fcn.10005ab0
mov al, byte [ebp - 0x145]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1007dbea
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x1c