Function at 0x100172c0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10029a7a
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x10040bd0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x108], 0x1002cbe0
call dword [sym.imp.MSVCP140D.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
push 0
lea eax, [ebp - 0xf8]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x30], 1
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov eax, dword [ebp - 0x108]
mov dword [ebp - 4], 1
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x10c], eax
lea eax, [ebp - 0xf8]
mov ecx, eax
mov dword [ebp - 0x34], eax
call dword [sym.imp.MSVCP140D.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 2
mov dword [ebp - 0xf8], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [ebp - 0xb0], 0
mov byte [ebp - 0xbb], 0
call dword [sym.imp.MSVCP140D.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void_]
mov eax, dword [0x10040f2c]
mov ecx, dword [0x10040f30]
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 0xc0], 0
push 0x40
push 1
push str.chgccghcchgh
lea ecx, [ebp - 0xf8]
mov dword [ebp - 4], 3
call fcn.1000cdc0
test eax, eax
lea ecx, [ebp - 0x108]
mov eax, dword [ebp - 0x108]
push 0
mov eax, dword [eax + 4]
je 0x100173fe
push 0
add ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
jmp 0x10017408
push 2
add ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
mov eax, dword [ebp - 0x108]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0xfc], 6
jne 0x10017a62
push 8
mov byte [ebp - 4], 4
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.100277a0
lea ecx, [ebp - 0x2c]
mov dword [eax + 4], 0
mov dword [ebp - 0x2c], eax
mov dword [eax], ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x4d]
mov byte [ebp - 4], 5
push 8
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x48], eax
call fcn.100277a0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x4c], eax
mov dword [eax], ecx
mov dword [eax + 4], 0
mov dword [ebp - 0x40], eax
push 0x30
mov byte [ebp - 4], 6
call fcn.100277a0
mov dword [ebp - 0x4c], 0
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.10015a90
add esp, 0x14
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x1001765d
nop dword [eax]
mov eax, dword [ebp - 0x3c]
xor ebx, ebx
mov edi, eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x34], edi
mov ecx, dword [eax + 4]
mov dword [ebp - 0x30], ecx
cmp byte [ecx + 0xd], bl
jne 0x100175a4
mov esi, ecx
nop
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x30], esi
push eax
lea edi, [esi + 0x10]
push edi
call fcn.10015aa0
add esp, 8
test al, al
je 0x10017588
lea eax, [ebp - 0x2c]
push edi
push eax
call fcn.10015aa0
add esp, 8
test al, al
je 0x1001757e
push str.invalid_comparator
push 0x1002a790
push 0
push 0x5b3
push 0x10030d88
push 2
call dword [sym.imp.ucrtbased.dll__CrtDbgReport]
add esp, 0x18
cmp eax, 1
jne 0x1001755f
int3
push 0
push 0x5b3
push str.C:Program_Files__x86_Microsoft_Visual_Studio2019EnterpriseVCToolsMSVC14.29.30133includexutility
push 0x1002a8dc
push str._invalid_comparator_
call dword [sym.imp.ucrtbased.dll__invalid_parameter]
add esp, 0x14
mov esi, dword [esi + 8]
xor ebx, ebx
mov edi, dword [ebp - 0x34]
jmp 0x10017594
mov edi, esi
mov ebx, 1
mov esi, dword [esi]
mov dword [ebp - 0x34], edi
cmp byte [esi + 0xd], 0
je 0x10017510
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
cmp byte [edi + 0xd], 0
jne 0x100175c8
lea eax, [edi + 0x10]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10015ae0
add esp, 0xc
test al, al
je 0x10017637
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x38], 0x5555555
je 0x10017a5d
lea eax, [ebp - 0x40]
mov dword [ebp - 0x4c], eax
push 0x30
mov byte [ebp - 4], 8
mov dword [ebp - 0x48], 0
call fcn.100277a0
mov edi, eax
add esp, 4
mov dword [ebp - 0x48], edi
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 9
push eax
lea ecx, [edi + 0x10]
call fcn.10015d70
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x40]
mov dword [edi + 0x2c], 0
push edi
mov dword [edi], eax
push ebx
push dword [ebp - 0x30]
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov word [edi + 0xc], 0
mov byte [ebp - 4], 7
mov dword [ebp - 0x48], 0
call fcn.10018310
mov edi, eax
inc dword [edi + 0x2c]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.10015a90
add esp, 8
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x100174f0
cmp dword [ebp - 0xac], 0
je 0x1001770d
mov eax, dword [ebp - 0xec]
lea ecx, [ebp - 0xbc]
cmp dword [eax], ecx
jne 0x1001769a
mov edx, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xa8]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebp - 0xdc]
mov dword [eax], ecx
mov eax, dword [ebp - 0xcc]
mov dword [eax], edx
lea esi, [ebp - 0xf8]
mov ecx, esi
call fcn.10005310
push dword [ebp - 0xac]
xor ecx, ecx
test al, al
cmove esi, ecx
call dword [sym.imp.ucrtbased.dll_fclose]
xor ecx, ecx
add esp, 4
test eax, eax
mov byte [ebp - 0xb0], cl
mov byte [ebp - 0xbb], cl
cmovne esi, ecx
lea ecx, [ebp - 0xf8]
call dword [sym.imp.MSVCP140D.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void_]
mov eax, dword [0x10040f2c]
mov ecx, dword [0x10040f30]
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 0xc0], 0
test esi, esi
jne 0x1001776d
jmp 0x10017752
lea ecx, [ebp - 0xf8]
mov byte [ebp - 0xb0], 0
mov byte [ebp - 0xbb], 0
call dword [sym.imp.MSVCP140D.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void_]
mov eax, dword [0x10040f2c]
mov ecx, dword [0x10040f30]
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0x108]
lea ecx, [ebp - 0x108]
push 0
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
push 0x40
push 1
push 0x10030250
lea ecx, [ebp - 0xf8]
call fcn.1000cdc0
test eax, eax
lea ecx, [ebp - 0x108]
mov eax, dword [ebp - 0x108]
push 0
mov eax, dword [eax + 4]
je 0x100177a2
push 0
add ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
jmp 0x100177ac
push 2
add ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.10015a90
add esp, 8
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x10017944
nop
mov eax, dword [ebp - 0x3c]
xor ebx, ebx
mov edi, eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x30], edi
mov ecx, dword [eax + 4]
mov dword [ebp - 0x34], ecx
cmp byte [ecx + 0xd], bl
jne 0x10017884
mov esi, ecx
nop
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x34], esi
push eax
lea edi, [esi + 0x10]
push edi
call fcn.10015aa0
add esp, 8
test al, al
je 0x10017868
lea eax, [ebp - 0x2c]
push edi
push eax
call fcn.10015aa0
add esp, 8
test al, al
je 0x1001785e
push str.invalid_comparator
push 0x1002a790
push 0
push 0x5b3
push 0x10030d88
push 2
call dword [sym.imp.ucrtbased.dll__CrtDbgReport]
add esp, 0x18
cmp eax, 1
jne 0x1001783f
int3
push 0
push 0x5b3
push str.C:Program_Files__x86_Microsoft_Visual_Studio2019EnterpriseVCToolsMSVC14.29.30133includexutility
push 0x1002a8dc
push str._invalid_comparator_
call dword [sym.imp.ucrtbased.dll__invalid_parameter]
add esp, 0x14
mov esi, dword [esi + 8]
xor ebx, ebx
mov edi, dword [ebp - 0x30]
jmp 0x10017874
mov edi, esi
mov ebx, 1
mov esi, dword [esi]
mov dword [ebp - 0x30], edi
cmp byte [esi + 0xd], 0
je 0x100177f0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
cmp byte [edi + 0xd], 0
jne 0x100178a8
lea eax, [edi + 0x10]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10015ae0
add esp, 0xc
test al, al
je 0x10017917
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x38], 0x5555555
je 0x10017a5d
lea eax, [ebp - 0x40]
mov dword [ebp - 0x4c], eax
push 0x30
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x48], 0
call fcn.100277a0
mov edi, eax
add esp, 4
mov dword [ebp - 0x48], edi
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [edi + 0x10]
call fcn.10015d70
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x40]
mov dword [edi + 0x2c], 0
push edi
mov dword [edi], eax
push ebx
push dword [ebp - 0x34]
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov word [edi + 0xc], 0
mov byte [ebp - 4], 7
mov dword [ebp - 0x48], 0
call fcn.10018310
mov edi, eax
cmp dword [edi + 0x2c], 1
jg 0x10017a90
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.10015a90
add esp, 8
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x100177d0
mov esi, dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::_Lockit::constructor_int_]
lea ecx, [ebp - 0x30]
push 3
call esi
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x10017980
cmp dword [ecx + 4], 0
je 0x10017979
nop
mov eax, dword [ecx + 4]
mov dword [eax], 0
mov eax, dword [ecx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
test eax, eax
jne 0x10017960
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 4], 0
mov edi, dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
lea ecx, [ebp - 0x30]
call edi
mov eax, dword [ebp - 0x3c]
push dword [eax + 4]
lea eax, [ebp - 0x40]
push eax
mov ecx, eax
call fcn.10015b60
push 0x30
push dword [ebp - 0x3c]
call fcn.100277f0
push 8
push dword [ebp - 0x40]
call fcn.10004820
add esp, 0x10
lea ecx, [ebp - 0x34]
push 3
call esi
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x100179f0
cmp dword [ecx + 4], 0
je 0x100179e9
nop word [eax + eax]
mov eax, dword [ecx + 4]
mov dword [eax], 0
mov eax, dword [ecx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
test eax, eax
jne 0x100179d0
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 4], 0
lea ecx, [ebp - 0x34]
call edi
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x10017a0a
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10004820
add esp, 8
mov eax, dword [ebp - 0x2c]
push 8
push eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
call fcn.10004820
add esp, 8
lea ecx, [ebp - 0x108]
call fcn.1000bdc0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10027810
mov esp, ebp
pop ebp
ret
call fcn.10018520
lea ecx, [ebp - 0x108]
call fcn.1000ea20
mov esi, dword [sym.imp.ucrtbased.dll_remove]
push 0x10030244
call esi
push 0x10030248
call esi
push 0x1003024c
call esi
add esp, 0xc
call fcn.10015fe0
lea ecx, [ebp - 0x108]
call fcn.1000ea20
call fcn.10016e30
int3