Function at 0x1005ad60
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 0x1007ec32
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x170
mov eax, dword [0x10096018]
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 - 0x140], 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.1000d3e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.1000dbb0
mov byte [ebp - 4], 2
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x148], esp
lea edx, [ebp - 0x60]
push str.1_kej_recorder
call fcn.10010ec0
add esp, 4
mov byte [ebp - 4], 3
mov byte [ebp - 4], 2
call fcn.1000dc40
add esp, 0x18
test al, al
jne 0x1005ae9d
push str.1_kej_recorder
lea edx, [ebp - 0x60]
lea ecx, [ebp - 0x30]
call fcn.10010ec0
add esp, 4
mov byte [ebp - 4], 4
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x1c], 0x10
cmovae eax, dword [ebp - 0x30]
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 - 0x30]
call fcn.100051d0
cmp esi, 0xffffffff
jne 0x1005ae9d
lea ecx, [ebp - 0x180]
call fcn.1000edf0
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 0x10
jb 0x1005ae72
mov eax, dword [eax]
push eax
push str.IO_WriteData_failed_with:__s
push 7
call fcn.10007dd0
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x180]
call fcn.100051d0
mov byte [ebp - 0x139], 0
jmp 0x1005b827
lea eax, [ebx + 0xc]
push eax
lea ecx, [ebp - 0x168]
call fcn.100075d0
mov byte [ebp - 4], 6
lea esi, [ebp - 0x168]
cmp dword [ebp - 0x154], 0x10
lea edi, [ebp - 0x168]
cmovae esi, dword [ebp - 0x168]
setae dl
test dl, dl
cmovne edi, dword [ebp - 0x168]
add edi, dword [ebp - 0x158]
cmp esi, edi
je 0x1005af00
movsx eax, byte [esi]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalnum]
add esp, 4
test eax, eax
jne 0x1005aefb
mov al, byte [esi]
cmp al, 0x2d
je 0x1005aefb
cmp al, 0x5f
jne 0x1005af46
inc esi
cmp esi, edi
jne 0x1005aee0
mov byte [ebp - 4], 2
mov byte [ebp - 0x139], 1
lea ecx, [ebp - 0x168]
call fcn.100051d0
cmp byte [ebp - 0x139], 0
jne 0x1005af53
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.10007dd0
add esp, 0xc
mov byte [ebp - 0x139], 0
jmp 0x1005b827
mov byte [ebp - 4], 2
mov byte [ebp - 0x139], 0
jmp 0x1005af0b
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x48]
call fcn.1000dae0
mov byte [ebp - 4], 8
push ecx
push 0x100832b8
lea ecx, [ebp - 0x48]
call fcn.1000f900
push eax
push 0
lea eax, [ebp - 0x180]
push eax
lea ecx, [ebp - 0x48]
call fcn.1000f850
mov dword [ebp - 0x14c], 4
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x48]
call fcn.100051d0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x180]
push str.1_kej_recorder_
call fcn.10008790
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
movups xmm0, xmmword [eax]
mov dword [ebp - 0x14c], 0x14
movups xmmword [ebp - 0x30], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x20], 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 - 0x30]
call fcn.10013310
mov dword [ebp - 0x168], 0
lea edx, [ebp - 0x168]
mov dword [ebp - 0x158], 0
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x154], 0
movups xmm0, xmmword [eax]
push str..kej
mov dword [ebp - 0x14c], 0x34
movups xmmword [ebp - 0x168], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x158], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
call fcn.10008800
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 - 0x168]
call fcn.100051d0
and esi, 0xffffffef
mov dword [ebp - 0x14c], esi
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x30]
call fcn.100051d0
and esi, 0xfffffffb
mov dword [ebp - 0x14c], esi
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x180]
call fcn.100051d0
sub esp, 0x18
lea eax, [ebp - 0x78]
mov dword [ebp - 0x148], esp
mov ecx, esp
push eax
call fcn.100075d0
mov byte [ebp - 4], 0xf
mov byte [ebp - 4], 0xe
mov edx, 2
lea ecx, [ebp - 0x138]
call fcn.1000e170
add esp, 0x18
test al, al
jne 0x1005b15b
lea ecx, [ebp - 0x30]
call fcn.1000edf0
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x1c], 0x10
cmovae eax, dword [ebp - 0x30]
push eax
push str.IO_WriteData_failed_with__s_n
push 7
call fcn.10007dd0
add esp, 0xc
cmp dword [ebp - 0xd4], 0
je 0x1005b143
lea ecx, [ebp - 0x120]
call fcn.1000d670
test eax, eax
jne 0x1005b143
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 - 0x30]
call fcn.100051d0
mov byte [ebp - 0x139], 0
jmp 0x1005b81b
mov esi, dword [ebp - 0x140]
mov eax, 0x6bca1af3
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 0x1005b197
push str.IO_WriteData_failed_with:_data.size_____1_n
push 7
call fcn.10007dd0
add esp, 8
mov byte [ebp - 0x139], 0
jmp 0x1005b81b
cmp dword [ebx + 0x1c], 1
jae 0x1005b1b8
push str.IO_WriteData_failed_with:_run_name.size_____1_n
push 7
call fcn.10007dd0
add esp, 8
mov byte [ebp - 0x139], 0
jmp 0x1005b81b
mov dword [ebp - 0x148], 0x56b5d0
mov edi, str.mapname
call dword [ebp - 0x148]
mov edx, eax
test edx, edx
jne 0x1005b1ee
push str._mapname__dvar_does_not_exist__n
push 7
call fcn.10007dd0
add esp, 8
mov byte [ebp - 0x139], 0
jmp 0x1005b81b
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.10007270
mov dl, 0xa
mov ecx, eax
call fcn.10007ac0
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x150], 0
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x6bca1af3
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1005b7c8
mov dword [ebp - 0x144], 0
mov dl, 0x7b
lea ecx, [ebp - 0x128]
call fcn.10007ac0
mov ecx, dword [ebp - 0x140]
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, 0x1008adf8
mov ecx, eax
call fcn.10007270
mov ecx, dword [ebp - 0x140]
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, 0x1008adf8
mov ecx, eax
call fcn.10007270
mov ecx, dword [ebp - 0x140]
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.10007ac0
mov dl, 0x7b
lea ecx, [ebp - 0x128]
call fcn.10007ac0
mov ecx, dword [ebp - 0x140]
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, 0x1008adf8
mov ecx, eax
call fcn.10007270
mov ecx, dword [ebp - 0x140]
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, 0x1008adf8
mov ecx, eax
call fcn.10007270
mov ecx, dword [ebp - 0x140]
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.10007ac0
mov dl, 0x7b
lea ecx, [ebp - 0x128]
call fcn.10007ac0
mov ecx, dword [ebp - 0x140]
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, 0x1008adf8
mov ecx, eax
call fcn.10007270
mov ecx, dword [ebp - 0x140]
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, 0x1008adf8
mov ecx, eax
call fcn.10007270
mov ecx, dword [ebp - 0x140]
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.10007ac0
mov dl, 0x7b
lea ecx, [ebp - 0x128]
call fcn.10007ac0
mov ecx, dword [ebp - 0x140]
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, 0x1008adf8
mov ecx, eax
call fcn.10007270
mov ecx, dword [ebp - 0x140]
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, 0x1008adf8
mov ecx, eax
call fcn.10007270
mov ecx, dword [ebp - 0x140]
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.10007ac0
mov dl, 0x7b
lea ecx, [ebp - 0x128]
call fcn.10007ac0
mov ecx, dword [ebp - 0x140]
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, 0x1008adf8
mov ecx, eax
call fcn.10007270
mov ecx, dword [ebp - 0x140]
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, 0x1008adf8
mov ecx, eax
call fcn.10007270
mov ecx, dword [ebp - 0x140]
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.10007ac0
mov dl, 0x7b
lea ecx, [ebp - 0x128]
call fcn.10007ac0
mov ecx, dword [ebp - 0x140]
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, 0x1008adfc
mov ecx, eax
call fcn.10007270
mov ecx, dword [ebp - 0x140]
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.10007ac0
mov dl, 0x7b
lea ecx, [ebp - 0x128]
call fcn.10007ac0
mov ecx, dword [ebp - 0x140]
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, 0x1008adfc
mov ecx, eax
call fcn.10007270
mov ecx, dword [ebp - 0x140]
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.10007ac0
mov dl, 0x7b
lea ecx, [ebp - 0x128]
call fcn.10007ac0
mov ecx, dword [ebp - 0x140]
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, 0x1008adfc
mov ecx, eax
call fcn.10007270
mov ecx, dword [ebp - 0x140]
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.10007ac0
mov dl, 0x7b
lea ecx, [ebp - 0x128]
call fcn.10007ac0
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, 0x1008adfc
mov ecx, eax
call fcn.10007270
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, 0x1008adfc
mov ecx, eax
call fcn.10007270
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, 0x1008ae00
mov ecx, eax
call fcn.10007270
mov eax, dword [ebp - 0x148]
mov edx, dword [ebp - 0x150]
cmp dword [eax + 0x10], edx
jne 0x1005b710
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
je 0x1005b6ed
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x1005b6e5
cmp eax, dword [ecx + 8]
jne 0x1005b6e5
mov eax, ecx
mov ecx, dword [ecx + 4]
cmp byte [ecx + 0xd], 0
je 0x1005b6d5
mov dword [ebp - 0x148], ecx
jmp 0x1005b710
mov eax, ecx
mov dword [ebp - 0x148], eax
mov ecx, dword [eax]
cmp byte [ecx + 0xd], 0
jne 0x1005b710
nop dword [eax]
mov eax, dword [ecx]
mov dword [ebp - 0x148], ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x1005b700
cmp dword [edi + 0x10], edx
jne 0x1005b751
mov eax, dword [edi + 8]
cmp byte [eax + 0xd], 0
je 0x1005b73b
mov eax, dword [edi + 4]
cmp byte [eax + 0xd], 0
jne 0x1005b737
cmp edi, dword [eax + 8]
jne 0x1005b737
mov edi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x1005b727
mov edi, eax
jmp 0x1005b751
mov edi, eax
mov ecx, dword [edi]
cmp byte [ecx + 0xd], 0
jne 0x1005b751
mov eax, dword [ecx]
mov edi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x1005b745
cmp dword [esi + 0x10], edx
jne 0x1005b792
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x1005b77c
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x1005b778
cmp esi, dword [eax + 8]
jne 0x1005b778
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x1005b768
mov esi, eax
jmp 0x1005b792
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x1005b792
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x1005b786
mov eax, dword [ebp - 0x140]
inc edx
add dword [ebp - 0x144], 0x4c
mov dword [ebp - 0x150], edx
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x6bca1af3
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x150], eax
jb 0x1005b250
cmp dword [ebp - 0xd4], 0
je 0x1005b7f9
lea ecx, [ebp - 0x120]
call fcn.1000d670
test eax, eax
jne 0x1005b7f9
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.10007ca0
add esp, 0xc
mov byte [ebp - 0x139], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x78]
call fcn.100051d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.100051d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x138]
call fcn.1000ba80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0xc]
call fcn.100051d0
mov al, byte [ebp - 0x139]
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.1007a095
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x1c