Function at 0x10007960
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10068bfd
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x10077008]
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 - 0x2c], 0
mov edi, 0x10077214
cmp dword [0x10077228], 0x10
mov eax, dword [0x10077224]
cmovae edi, dword [0x10077214]
test eax, eax
je 0x100079ff
mov ebx, dword [sym.imp.VCRUNTIME140.dll_memchr]
dec eax
or esi, 0xffffffff
cmp eax, esi
push 1
cmovb esi, eax
movsx eax, byte [esi + edi]
add esi, edi
push eax
push 0x1006c558
call ebx
add esp, 0xc
test eax, eax
jne 0x100079f1
cmp esi, edi
je 0x100079fa
movsx eax, byte [esi - 1]
dec esi
push 1
push eax
push 0x1006c558
call ebx
add esp, 0xc
test eax, eax
je 0x100079d7
mov eax, dword [0x10077224]
sub esi, edi
jmp 0x10007a02
mov eax, dword [0x10077224]
or esi, 0xffffffff
cmp eax, esi
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
cmovb esi, eax
mov byte [ebp - 0x28], 0
cmp dword [0x10077228], 0x10
mov eax, 0x10077214
push esi
cmovae eax, dword [0x10077214]
push eax
call fcn.10028610
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x10007a66
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x10007c69
cmp dword [0x10077228], 0x10
lea ecx, [ebp - 0x78]
mov esi, 0x10077214
mov dword [ebp - 0xe0], 0x1006c508
cmovae esi, dword [0x10077214]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
push 0
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0x2c], 3
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xe4], eax
lea eax, [ebp - 0xdc]
mov ecx, eax
mov dword [ebp - 0x30], eax
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0xdc], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [ebp - 0x94], 0
mov byte [ebp - 0x9f], 0
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void_]
mov eax, dword [0x1007c7dc]
mov dword [ebp - 0x9c], eax
mov eax, dword [0x1007c7e0]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x98], eax
mov dword [ebp - 0xa4], 0
push ecx
push 2
push esi
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 4
call fcn.10028d40
test eax, eax
jne 0x10007b70
push eax
mov eax, dword [ebp - 0xe0]
lea ecx, [ebp - 0xe0]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xe4], eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax + 4]
cmp dword [ebp + eax - 0xd4], 0
jne 0x10007c5e
cmp dword [ebp - 0x90], 0
lea esi, [ebp - 0xdc]
jne 0x10007bc5
xor esi, esi
jmp 0x10007bed
lea ecx, [ebp - 0xdc]
call fcn.10028a40
push dword [ebp - 0x90]
xor ecx, ecx
test al, al
cmove esi, ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor ecx, ecx
add esp, 4
test eax, eax
cmovne esi, ecx
lea ecx, [ebp - 0xdc]
mov byte [ebp - 0x94], 0
mov byte [ebp - 0x9f], 0
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void_]
mov eax, dword [0x1007c7dc]
mov dword [ebp - 0x9c], eax
mov eax, dword [0x1007c7e0]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x98], eax
mov dword [ebp - 0xa4], 0
test esi, esi
jne 0x10007c4f
mov eax, dword [ebp - 0xe0]
lea ecx, [ebp - 0xe0]
push esi
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
lea ecx, [ebp - 0xe0]
call fcn.10007cd0
mov bl, 1
jmp 0x10007c6b
lea ecx, [ebp - 0xe0]
call fcn.10007cd0
xor bl, bl
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x10007ca1
mov ecx, dword [ebp - 0x28]
inc eax
cmp eax, 0x1000
jb 0x10007c98
test cl, 0x1f
jne 0x10007cbf
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x10007cbf
sub ecx, eax
cmp ecx, 4
jb 0x10007cbf
cmp ecx, 0x23
ja 0x10007cbf
mov ecx, eax
push ecx
call fcn.10067552
add esp, 4
mov al, bl
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.100671ce
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3