Function at 0x1005c9c0
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 0x100841de
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x178
mov eax, dword [0x100ba040]
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.1000a580
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x80]
call fcn.1000f9f0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x80]
push str.1_kej_recorder
lea ecx, [ebp - 0x50]
call fcn.1000a680
add esp, 4
mov byte [ebp - 4], 3
mov ecx, eax
call fcn.1000fa80
mov byte [ebp - 0x145], al
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call fcn.10005af0
cmp byte [ebp - 0x145], 0
jne 0x1005cafa
push str.1_kej_recorder
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0x38]
call fcn.1000a680
add esp, 4
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 0xf
jbe 0x1005caa1
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.10005af0
cmp esi, 0xffffffff
jne 0x1005cafa
lea ecx, [ebp - 0x50]
call fcn.10010c60
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 0xf
jbe 0x1005cad2
mov eax, dword [eax]
push eax
push str.IO_WriteData_failed_with:__s
push 7
call fcn.1000ab80
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call fcn.10005af0
mov byte [ebp - 0x145], 0
jmp 0x1005d40b
sub esp, 0x18
lea eax, [ebx + 0xc]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.10007e70
mov byte [ebp - 4], 6
mov byte [ebp - 4], 2
call fcn.10010bc0
add esp, 0x18
test al, al
jne 0x1005cb46
cmp dword [ebx + 0x20], 0xf
lea eax, [ebx + 0xc]
cmova eax, dword [ebx + 0xc]
push eax
push str.IO_WriteData_failed_with:_invalid_file_name___s__n
push 7
call fcn.1000ab80
add esp, 0xc
mov byte [ebp - 0x145], 0
jmp 0x1005d40b
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x50]
call fcn.1000f930
mov byte [ebp - 4], 8
push ecx
push 0x100a6420
lea ecx, [ebp - 0x50]
call fcn.10011680
push eax
push 0
lea eax, [ebp - 0x170]
push eax
lea ecx, [ebp - 0x50]
call fcn.100115e0
mov edi, 8
mov dword [ebp - 0x154], edi
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x50]
call fcn.10005af0
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 0x1005cbe5
cmp edx, 0xf
lea esi, [ebp - 0x170]
lea eax, [ecx + 0x10]
cmova 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 0x1005cbf5
push dword [ebp - 0x18]
lea ecx, [ebp - 0x170]
push 0x10
call fcn.1000a800
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.1000e5b0
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.1000a9d0
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.10005af0
and edi, 0xfffffffb
mov dword [ebp - 0x154], edi
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x38]
call fcn.10005af0
and edi, 0xfffffff7
mov dword [ebp - 0x154], edi
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x170]
call fcn.10005af0
cmp dword [ebp - 0xdc], 0
jne 0x1005cdbd
cmp dword [ebp - 0x54], 0xf
lea eax, [ebp - 0x68]
push ecx
cmova eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x128]
push 2
push eax
call fcn.10011750
test eax, eax
lea ecx, [ebp - 0x140]
mov eax, dword [ebp - 0x140]
push 0
je 0x1005cd39
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 0x1005cd44
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 0x1005cdbd
lea ecx, [ebp - 0x38]
call fcn.10010c60
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x38]
cmp dword [ebp - 0x24], 0xf
cmova eax, dword [ebp - 0x38]
push eax
push str.IO_WriteData_failed_with__s_n
push 7
call fcn.1000ab80
add esp, 0xc
cmp dword [ebp - 0xdc], 0
je 0x1005cda5
lea ecx, [ebp - 0x128]
call fcn.1000a230
test eax, eax
jne 0x1005cda5
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.10005af0
mov byte [ebp - 0x145], 0
jmp 0x1005d3ff
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 0x1005cdf9
push str.IO_WriteData_failed_with:_data.size_____1_n
push 7
call fcn.1000ab80
add esp, 8
mov byte [ebp - 0x145], 0
jmp 0x1005d3ff
cmp dword [ebx + 0x1c], 1
jae 0x1005ce1a
push str.IO_WriteData_failed_with:_run_name.size_____1_n
push 7
call fcn.1000ab80
add esp, 8
mov byte [ebp - 0x145], 0
jmp 0x1005d3ff
mov dword [ebp - 0x18], 0x56b5d0
mov edi, str.mapname
call dword [ebp - 0x18]
mov edx, eax
test edx, edx
jne 0x1005ce4a
push str._mapname__dvar_does_not_exist__n
push 7
call fcn.1000ab80
add esp, 8
mov byte [ebp - 0x145], 0
jmp 0x1005d3ff
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.10007b10
mov dl, 0xa
mov ecx, eax
call fcn.10008b00
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 0x1005d3ac
mov dword [ebp - 0x14c], 0
nop word [eax + eax]
mov dl, 0x7b
lea ecx, [ebp - 0x130]
call fcn.10008b00
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, 0x100ae018
mov ecx, eax
call fcn.10007b10
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, 0x100ae018
mov ecx, eax
call fcn.10007b10
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.10008b00
mov dl, 0x7b
lea ecx, [ebp - 0x130]
call fcn.10008b00
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, 0x100ae018
mov ecx, eax
call fcn.10007b10
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, 0x100ae018
mov ecx, eax
call fcn.10007b10
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.10008b00
mov dl, 0x7b
lea ecx, [ebp - 0x130]
call fcn.10008b00
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, 0x100ae018
mov ecx, eax
call fcn.10007b10
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, 0x100ae018
mov ecx, eax
call fcn.10007b10
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.10008b00
mov dl, 0x7b
lea ecx, [ebp - 0x130]
call fcn.10008b00
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, 0x100ae018
mov ecx, eax
call fcn.10007b10
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, 0x100ae018
mov ecx, eax
call fcn.10007b10
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.10008b00
mov dl, 0x7b
lea ecx, [ebp - 0x130]
call fcn.10008b00
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, 0x100ae018
mov ecx, eax
call fcn.10007b10
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, 0x100ae018
mov ecx, eax
call fcn.10007b10
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.10008b00
mov dl, 0x7b
lea ecx, [ebp - 0x130]
call fcn.10008b00
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, 0x100ae01c
mov ecx, eax
call fcn.10007b10
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.10008b00
mov dl, 0x7b
lea ecx, [ebp - 0x130]
call fcn.10008b00
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, 0x100ae01c
mov ecx, eax
call fcn.10007b10
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.10008b00
mov dl, 0x7b
lea ecx, [ebp - 0x130]
call fcn.10008b00
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, 0x100ae01c
mov ecx, eax
call fcn.10007b10
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.10008b00
mov dl, 0x7b
lea ecx, [ebp - 0x130]
call fcn.10008b00
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, 0x100ae01c
mov ecx, eax
call fcn.10007b10
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, 0x100ae01c
mov ecx, eax
call fcn.10007b10
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, 0x100ae020
mov ecx, eax
call fcn.10007b10
mov eax, dword [ebp - 0x158]
mov ecx, dword [ebp - 0x150]
cmp dword [eax + 0x10], ecx
jne 0x1005d344
lea ecx, [ebp - 0x1c]
call fcn.1005be40
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x150]
cmp dword [edi + 0x10], eax
jne 0x1005d360
lea ecx, [ebp - 0x20]
call fcn.1005be40
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x150]
cmp dword [esi + 0x10], eax
jne 0x1005d376
lea ecx, [ebp - 0x18]
call fcn.1005be40
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 0x1005cec0
cmp dword [ebp - 0xdc], 0
je 0x1005d3dd
lea ecx, [ebp - 0x128]
call fcn.1000a230
test eax, eax
jne 0x1005d3dd
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], 0xf
lea eax, [ebx + 0xc]
cmova eax, dword [ebx + 0xc]
push eax
push str.2file___s__has_been_saved_n
push 5
call fcn.1000aa50
add esp, 0xc
mov byte [ebp - 0x145], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x68]
call fcn.10005af0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x80]
call fcn.10005af0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x140]
call fcn.1000a350
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0xc]
call fcn.10005af0
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.1007f5d0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x1c