Function at 0x1005c6a0
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 0x1008323a
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x170
mov eax, dword [0x1009c018]
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 - 0x13c], ecx
mov dword [ebp - 0x14c], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x138]
push 0xc0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 8
lea ecx, [ebp - 0x138]
call fcn.1000a880
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x74]
call fcn.1000fe90
mov byte [ebp - 4], 2
lea edx, [ebp - 0x74]
push str.1_kej_recorder
lea ecx, [ebp - 0x168]
call fcn.1000a980
add esp, 4
mov byte [ebp - 4], 3
mov ecx, eax
call fcn.1000ff20
mov byte [ebp - 0x13d], al
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x168]
call fcn.10005a90
cmp byte [ebp - 0x13d], 0
jne 0x1005c7f0
push str.1_kej_recorder
lea edx, [ebp - 0x74]
lea ecx, [ebp - 0x168]
call fcn.1000a980
add esp, 4
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 0x10
jb 0x1005c78e
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 - 0x168]
call fcn.10005a90
cmp esi, 0xffffffff
jne 0x1005c7f0
lea ecx, [ebp - 0x168]
call fcn.10011020
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 0x10
jb 0x1005c7c5
mov eax, dword [eax]
push eax
push str.IO_WriteData_failed_with:__s
push 7
call fcn.1000ae90
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x168]
call fcn.10005a90
mov byte [ebp - 0x13d], 0
jmp 0x1005d137
sub esp, 0x18
lea eax, [ebx + 0xc]
mov ecx, esp
mov dword [ebp - 0x148], esp
push eax
call fcn.10008010
mov byte [ebp - 4], 6
mov byte [ebp - 4], 2
call fcn.10010f80
add esp, 0x18
test al, al
jne 0x1005c83f
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.1000ae90
add esp, 0xc
mov byte [ebp - 0x13d], 0
jmp 0x1005d137
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x5c]
call fcn.1000fdc0
mov byte [ebp - 4], 8
push ecx
push 0x10088460
lea ecx, [ebp - 0x5c]
call fcn.100118e0
push eax
push 0
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x5c]
call fcn.10011830
mov dword [ebp - 0x14c], 4
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x5c]
call fcn.10005a90
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x168]
push str.1_kej_recorder_
call fcn.1000ac50
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
movups xmm0, xmmword [eax]
mov dword [ebp - 0x14c], 0x14
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0xa
lea eax, [ebx + 0xc]
push eax
lea ecx, [ebp - 0x2c]
call fcn.1000e9d0
mov dword [ebp - 0x180], 0
lea edx, [ebp - 0x180]
mov dword [ebp - 0x170], 0
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x16c], 0
movups xmm0, xmmword [eax]
push str..kej
mov dword [ebp - 0x14c], 0x34
movups xmmword [ebp - 0x180], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x170], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
call fcn.1000acc0
add esp, 4
mov byte [ebp - 4], 0xb
mov esi, 0x34
mov dword [ebp - 0x14c], esi
and esi, 0xffffffdf
mov dword [ebp - 0x14c], esi
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x180]
call fcn.10005a90
and esi, 0xffffffef
mov dword [ebp - 0x14c], esi
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2c]
call fcn.10005a90
and esi, 0xfffffffb
mov dword [ebp - 0x14c], esi
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x168]
call fcn.10005a90
cmp dword [ebp - 0xd4], 0
jne 0x1005ca6e
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
push ecx
cmovae eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x120]
push 2
push eax
call fcn.100119b0
test eax, eax
lea ecx, [ebp - 0x138]
mov eax, dword [ebp - 0x138]
push 0
je 0x1005c9ea
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 0x1005c9f5
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 - 0xd4], 0
jne 0x1005ca6e
lea ecx, [ebp - 0x2c]
call fcn.10011020
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
cmovae eax, dword [ebp - 0x2c]
push eax
push str.IO_WriteData_failed_with__s_n
push 7
call fcn.1000ae90
add esp, 0xc
cmp dword [ebp - 0xd4], 0
je 0x1005ca56
lea ecx, [ebp - 0x120]
call fcn.1000a6a0
test eax, eax
jne 0x1005ca56
mov eax, dword [ebp - 0x138]
lea ecx, [ebp - 0x138]
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 - 0x2c]
call fcn.10005a90
mov byte [ebp - 0x13d], 0
jmp 0x1005d12b
mov esi, dword [ebp - 0x13c]
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 0x1005caaa
push str.IO_WriteData_failed_with:_data.size_____1_n
push 7
call fcn.1000ae90
add esp, 8
mov byte [ebp - 0x13d], 0
jmp 0x1005d12b
cmp dword [ebx + 0x1c], 1
jae 0x1005cacb
push str.IO_WriteData_failed_with:_run_name.size_____1_n
push 7
call fcn.1000ae90
add esp, 8
mov byte [ebp - 0x13d], 0
jmp 0x1005d12b
mov dword [ebp - 0x148], 0x56b5d0
mov edi, str.mapname
call dword [ebp - 0x148]
mov edx, eax
test edx, edx
jne 0x1005cb01
push str._mapname__dvar_does_not_exist__n
push 7
call fcn.1000ae90
add esp, 8
mov byte [ebp - 0x13d], 0
jmp 0x1005d12b
mov eax, dword [esi + 0x24]
lea ecx, [ebp - 0x128]
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 - 0x148], eax
call fcn.10007cb0
mov dl, 0xa
mov ecx, eax
call fcn.10009040
mov eax, dword [ebp - 0x13c]
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 0x1005d0d8
mov dword [ebp - 0x144], 0
mov dl, 0x7b
lea ecx, [ebp - 0x128]
call fcn.10009040
mov ecx, dword [ebp - 0x13c]
mov edx, dword [ebp - 0x144]
mov ecx, dword [ecx]
push ecx
movss xmm0, dword [ecx + edx + 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, 0x10090048
mov ecx, eax
call fcn.10007cb0
mov ecx, dword [ebp - 0x13c]
mov edx, dword [ebp - 0x144]
mov ecx, dword [ecx]
push ecx
movss xmm0, dword [ecx + edx + 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, 0x10090048
mov ecx, eax
call fcn.10007cb0
mov ecx, dword [ebp - 0x13c]
mov edx, dword [ebp - 0x144]
mov ecx, dword [ecx]
push ecx
movss xmm0, dword [ecx + edx + 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.10009040
mov dl, 0x7b
lea ecx, [ebp - 0x128]
call fcn.10009040
mov ecx, dword [ebp - 0x13c]
mov edx, dword [ebp - 0x144]
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, 0x10090048
mov ecx, eax
call fcn.10007cb0
mov ecx, dword [ebp - 0x13c]
mov edx, dword [ebp - 0x144]
mov ecx, dword [ecx]
push ecx
movss xmm0, dword [ecx + edx + 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, 0x10090048
mov ecx, eax
call fcn.10007cb0
mov ecx, dword [ebp - 0x13c]
mov edx, dword [ebp - 0x144]
mov ecx, dword [ecx]
push ecx
movss xmm0, dword [ecx + edx + 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.10009040
mov dl, 0x7b
lea ecx, [ebp - 0x128]
call fcn.10009040
mov ecx, dword [ebp - 0x13c]
mov edx, dword [ebp - 0x144]
mov ecx, dword [ecx]
push ecx
movss xmm0, dword [ecx + edx + 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, 0x10090048
mov ecx, eax
call fcn.10007cb0
mov ecx, dword [ebp - 0x13c]
mov edx, dword [ebp - 0x144]
mov ecx, dword [ecx]
push ecx
movss xmm0, dword [ecx + edx + 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, 0x10090048
mov ecx, eax
call fcn.10007cb0
mov ecx, dword [ebp - 0x13c]
mov edx, dword [ebp - 0x144]
mov ecx, dword [ecx]
push ecx
movss xmm0, dword [ecx + edx + 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.10009040
mov dl, 0x7b
lea ecx, [ebp - 0x128]
call fcn.10009040
mov ecx, dword [ebp - 0x13c]
mov edx, dword [ebp - 0x144]
mov ecx, dword [ecx]
push ecx
movss xmm0, dword [ecx + edx + 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, 0x10090048
mov ecx, eax
call fcn.10007cb0
mov ecx, dword [ebp - 0x13c]
mov edx, dword [ebp - 0x144]
mov ecx, dword [ecx]
push ecx
movss xmm0, dword [ecx + edx + 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, 0x10090048
mov ecx, eax
call fcn.10007cb0
mov ecx, dword [ebp - 0x13c]
mov edx, dword [ebp - 0x144]
mov ecx, dword [ecx]
push ecx
movss xmm0, dword [ecx + edx + 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.10009040
mov dl, 0x7b
lea ecx, [ebp - 0x128]
call fcn.10009040
mov ecx, dword [ebp - 0x13c]
mov edx, dword [ebp - 0x144]
mov ecx, dword [ecx]
push ecx
movss xmm0, dword [ecx + edx + 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, 0x10090048
mov ecx, eax
call fcn.10007cb0
mov ecx, dword [ebp - 0x13c]
mov edx, dword [ebp - 0x144]
mov ecx, dword [ecx]
movss xmm0, dword [ecx + edx + 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, 0x10090048
mov ecx, eax
call fcn.10007cb0
mov ecx, dword [ebp - 0x13c]
mov edx, dword [ebp - 0x144]
mov ecx, dword [ecx]
push ecx
movss xmm0, dword [ecx + edx + 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.10009040
mov dl, 0x7b
lea ecx, [ebp - 0x128]
call fcn.10009040
mov ecx, dword [ebp - 0x13c]
mov edx, dword [ebp - 0x144]
mov ecx, dword [ecx]
movsx ecx, byte [ecx + edx + 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, 0x1009004c
mov ecx, eax
call fcn.10007cb0
mov ecx, dword [ebp - 0x13c]
mov edx, dword [ebp - 0x144]
mov ecx, dword [ecx]
movsx ecx, byte [ecx + edx + 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.10009040
mov dl, 0x7b
lea ecx, [ebp - 0x128]
call fcn.10009040
mov ecx, dword [ebp - 0x13c]
mov edx, dword [ebp - 0x144]
mov ecx, dword [ecx]
mov cl, byte [ecx + edx + 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, 0x1009004c
mov ecx, eax
call fcn.10007cb0
mov ecx, dword [ebp - 0x13c]
mov edx, dword [ebp - 0x144]
mov ecx, dword [ecx]
mov cl, byte [ecx + edx + 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.10009040
mov dl, 0x7b
lea ecx, [ebp - 0x128]
call fcn.10009040
mov ecx, dword [ebp - 0x13c]
mov edx, dword [ebp - 0x144]
mov ecx, dword [ecx]
push dword [ecx + edx + 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, 0x1009004c
mov ecx, eax
call fcn.10007cb0
mov ecx, dword [ebp - 0x13c]
mov edx, dword [ebp - 0x144]
mov ecx, dword [ecx]
mov cl, byte [ecx + edx + 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.10009040
mov dl, 0x7b
lea ecx, [ebp - 0x128]
call fcn.10009040
mov ecx, dword [ebp - 0x148]
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, 0x1009004c
mov ecx, eax
call fcn.10007cb0
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, 0x1009004c
mov ecx, eax
call fcn.10007cb0
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, 0x10090050
mov ecx, eax
call fcn.10007cb0
mov eax, dword [ebp - 0x148]
mov edx, dword [ebp - 0x150]
cmp dword [eax + 0x10], edx
jne 0x1005d020
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
je 0x1005d000
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x1005cff8
cmp eax, dword [ecx + 8]
jne 0x1005cff8
mov eax, ecx
mov ecx, dword [ecx + 4]
cmp byte [ecx + 0xd], 0
je 0x1005cfe8
mov dword [ebp - 0x148], ecx
jmp 0x1005d020
mov eax, ecx
mov dword [ebp - 0x148], eax
mov ecx, dword [eax]
cmp byte [ecx + 0xd], 0
jne 0x1005d020
mov eax, dword [ecx]
mov dword [ebp - 0x148], ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x1005d010
cmp dword [edi + 0x10], edx
jne 0x1005d061
mov eax, dword [edi + 8]
cmp byte [eax + 0xd], 0
je 0x1005d04b
mov eax, dword [edi + 4]
cmp byte [eax + 0xd], 0
jne 0x1005d047
cmp edi, dword [eax + 8]
jne 0x1005d047
mov edi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x1005d037
mov edi, eax
jmp 0x1005d061
mov edi, eax
mov ecx, dword [edi]
cmp byte [ecx + 0xd], 0
jne 0x1005d061
mov eax, dword [ecx]
mov edi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x1005d055
cmp dword [esi + 0x10], edx
jne 0x1005d0a2
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x1005d08c
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x1005d088
cmp esi, dword [eax + 8]
jne 0x1005d088
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x1005d078
mov esi, eax
jmp 0x1005d0a2
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x1005d0a2
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x1005d096
mov eax, dword [ebp - 0x13c]
inc edx
add dword [ebp - 0x144], 0x50
mov dword [ebp - 0x150], edx
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 0x1005cb63
cmp dword [ebp - 0xd4], 0
je 0x1005d109
lea ecx, [ebp - 0x120]
call fcn.1000a6a0
test eax, eax
jne 0x1005d109
mov eax, dword [ebp - 0x138]
lea ecx, [ebp - 0x138]
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.1000ad60
add esp, 0xc
mov byte [ebp - 0x13d], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.10005a90
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x74]
call fcn.10005a90
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x138]
call fcn.1000a7b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0xc]
call fcn.10005a90
mov al, byte [ebp - 0x13d]
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.1007e605
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x1c