Function at 0x100168f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d08d0
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x101120a8]
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 edi, ecx
mov dword [ebp - 0xac], edi
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0xa4], 0
cmp byte [edi + 0x100], 0
mov dword [ebp - 0xb0], ecx
je 0x100170d3
mov eax, dword [esi + 0x14]
dec eax
cmp eax, 0xc7
ja 0x100170d7
mov eax, dword [ecx + 0x14]
dec eax
cmp eax, 0x3b
ja 0x100170d7
push esi
call sym.XNewLookSch.dll_int___cdecl_LFile::make_dir_class_LString_const__
add esp, 4
lea eax, [ebp - 0x48]
mov ecx, esi
push eax
call sym.XNewLookSch.dll_public:_class_LString___thiscall_LString::get_real_file_from_env_format_void_
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
lea ecx, [ebp - 0x48]
setne bl
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
test bl, bl
je 0x100170d7
push dword [edi + 0x34]
lea ecx, [ebp - 0xb8]
call sym.XNewLookSch.dll_public:_void___thiscall_LAutoMutex::constructor_class_LMutex__
push 0x100eeb18
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0
call sym.XNewLookSch.dll_public:_void___thiscall_LString::constructor_wchar_t_const__
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
add esi, 4
mov ebx, 1
cmp dword [ebp - 0x30], 8
mov edi, esi
mov dword [ebp - 0xa4], ebx
cmovae ecx, dword [ebp - 0x44]
cmp dword [esi + 0x14], 8
jb 0x100169ea
mov edi, dword [esi]
mov edx, dword [esi + 0x10]
cmp edx, dword [ebp - 0x34]
jne 0x10016a1c
test edx, edx
je 0x10016ac1
sub edi, ecx
nop dword [eax]
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x10016a1c
add ecx, 2
sub edx, ebx
jne 0x10016a00
mov byte [ebp - 0x9d], 1
jmp 0x10016ad1
push 0x100eeea0
lea ecx, [ebp - 0x64]
call sym.XNewLookSch.dll_public:_void___thiscall_LString::constructor_wchar_t_const__
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x60]
cmp dword [ebp - 0x4c], 8
mov ebx, 3
mov dword [ebp - 0xa4], ebx
mov edi, esi
cmovae ecx, dword [ebp - 0x60]
cmp dword [esi + 0x14], 8
jb 0x10016a50
mov edi, dword [esi]
mov edx, dword [esi + 0x10]
cmp edx, dword [ebp - 0x50]
jne 0x10016a7a
test edx, edx
je 0x10016ac1
sub edi, ecx
nop
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x10016a7a
add ecx, 2
sub edx, 1
jne 0x10016a60
mov byte [ebp - 0x9d], 1
jmp 0x10016ad1
push 0x100eeea8
lea ecx, [ebp - 0x2c]
call sym.XNewLookSch.dll_public:_void___thiscall_LString::constructor_wchar_t_const__
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov ebx, 7
mov edi, esi
cmovae ecx, dword [ebp - 0x28]
cmp dword [esi + 0x14], 8
jb 0x10016aa1
mov edi, dword [esi]
mov edx, dword [esi + 0x10]
cmp edx, dword [ebp - 0x18]
jne 0x10016aca
test edx, edx
je 0x10016ac1
sub edi, ecx
nop
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x10016aca
add ecx, 2
sub edx, 1
jne 0x10016ab0
mov byte [ebp - 0x9d], 1
jmp 0x10016ad1
mov byte [ebp - 0x9d], 0
test bl, 4
je 0x10016ae1
lea ecx, [ebp - 0x2c]
and ebx, 0xfffffffb
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
test bl, 2
je 0x10016af1
lea ecx, [ebp - 0x64]
and ebx, 0xfffffffd
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x48]
mov dword [ebp - 0xa8], ebx
and ebx, 0xfffffffe
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
mov edi, dword [ebp - 0xac]
add edi, 0x3c
cmp byte [ebp - 0x9d], 0
je 0x10016b5d
push 0x100eeea8
lea ecx, [ebp - 0x2c]
call sym.XNewLookSch.dll_public:_void___thiscall_LString::constructor_wchar_t_const__
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
cmp edi, eax
je 0x10016b46
cmp dword [ebp - 0x14], 8
mov ecx, edi
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.10002b70
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
mov esi, dword [ebp - 0xac]
jmp 0x10016bd7
cmp edi, esi
je 0x10016b76
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x10016b6b
mov eax, dword [esi]
push dword [esi + 0x10]
mov ecx, edi
push eax
call fcn.10002b70
mov esi, dword [ebp - 0xac]
cmp dword [esi + 0x50], 8
lea eax, [esi + 0x3c]
mov ecx, eax
mov edx, dword [esi + 0x4c]
jb 0x10016b8c
mov ecx, dword [eax]
cmp word [ecx + edx*2 - 2], 0x2f
je 0x10016bd7
cmp dword [eax + 0x14], 8
jb 0x10016b9c
mov eax, dword [eax]
cmp word [eax + edx*2 - 2], 0x5c
je 0x10016bd7
push 0x100ee8cc
lea ecx, [ebp - 0x48]
call sym.XNewLookSch.dll_public:_void___thiscall_LString::constructor_wchar_t_const__
mov byte [ebp - 4], 4
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
mov ecx, edi
push dword [ebp - 0x34]
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.10011440
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
mov eax, dword [ebp - 0xb0]
lea edi, [esi + 0x54]
add eax, 4
lea ecx, [edi + 4]
cmp ecx, eax
je 0x10016bfd
cmp dword [eax + 0x14], 8
mov edx, eax
jb 0x10016bf4
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.10002b70
push str._0.log
lea ecx, [ebp - 0x48]
call sym.XNewLookSch.dll_public:_void___thiscall_LString::constructor_wchar_t_const__
push edi
lea eax, [esi + 0x38]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x80]
push eax
call sym.XNewLookSch.dll_class_LString___cdecl_operator_class_LString_const___class_LString_const__
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 6
push ecx
push eax
lea eax, [ebp - 0x64]
push eax
call sym.XNewLookSch.dll_class_LString___cdecl_operator_class_LString_const___class_LString_const__
push 0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
push ecx
add eax, 4
mov dword [ebp - 0x18], 0
or ebx, 8
mov dword [ebp - 0x14], 0xf
push eax
mov byte [ebp - 0x28], 0
mov dword [ebp - 0xa4], ebx
call sym.XNewLookSch.dll_public:_static_int___cdecl_LString::ws2str_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____unsigned_int_
add esp, 0x24
lea eax, [ebp - 0x28]
lea ecx, [esi + 0x70]
push eax
call fcn.10018720
mov ebx, dword [ebp - 0xa8]
mov byte [ebp - 4], 7
and ebx, 0xfffffff6
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x10016cac
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10016ca2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100170f8
push edx
push ecx
call fcn.1008bfe4
add esp, 8
lea ecx, [ebp - 0x64]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x80]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
push str._1.log
lea ecx, [ebp - 0x48]
call sym.XNewLookSch.dll_public:_void___thiscall_LString::constructor_wchar_t_const__
push edi
lea eax, [esi + 0x38]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x64]
push eax
call sym.XNewLookSch.dll_class_LString___cdecl_operator_class_LString_const___class_LString_const__
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xa
push ecx
push eax
lea eax, [ebp - 0x80]
push eax
call sym.XNewLookSch.dll_class_LString___cdecl_operator_class_LString_const___class_LString_const__
push 0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xc
push ecx
add eax, 4
mov dword [ebp - 0x18], 0
or ebx, 0x10
mov dword [ebp - 0x14], 0xf
push eax
mov byte [ebp - 0x28], 0
mov dword [ebp - 0xa4], ebx
call sym.XNewLookSch.dll_public:_static_int___cdecl_LString::ws2str_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____unsigned_int_
add esp, 0x24
lea eax, [ebp - 0x28]
lea ecx, [esi + 0x88]
push eax
call fcn.10018720
mov ebx, dword [ebp - 0xa8]
mov byte [ebp - 4], 0xb
and ebx, 0xffffffe6
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x10016d7a
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10016d70
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100170fd
push edx
push ecx
call fcn.1008bfe4
add esp, 8
lea ecx, [ebp - 0x80]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x64]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
push str._2.log
lea ecx, [ebp - 0x48]
call sym.XNewLookSch.dll_public:_void___thiscall_LString::constructor_wchar_t_const__
push edi
lea eax, [esi + 0x38]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x64]
push eax
call sym.XNewLookSch.dll_class_LString___cdecl_operator_class_LString_const___class_LString_const__
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xe
push ecx
push eax
lea eax, [ebp - 0x80]
push eax
call sym.XNewLookSch.dll_class_LString___cdecl_operator_class_LString_const___class_LString_const__
push 0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x10
push ecx
add eax, 4
mov dword [ebp - 0x18], 0
or ebx, 0x20
mov dword [ebp - 0x14], 0xf
push eax
mov byte [ebp - 0x28], 0
mov dword [ebp - 0xa4], ebx
call sym.XNewLookSch.dll_public:_static_int___cdecl_LString::ws2str_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____unsigned_int_
add esp, 0x24
lea eax, [ebp - 0x28]
lea ecx, [esi + 0xa0]
push eax
call fcn.10018720
mov ebx, dword [ebp - 0xa8]
mov byte [ebp - 4], 0xf
and ebx, 0xffffffc6
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x10016e48
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10016e3e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10017102
push edx
push ecx
call fcn.1008bfe4
add esp, 8
lea ecx, [ebp - 0x80]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x64]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
push str._noise_0.log
lea ecx, [ebp - 0x48]
call sym.XNewLookSch.dll_public:_void___thiscall_LString::constructor_wchar_t_const__
push edi
lea eax, [esi + 0x38]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0x64]
push eax
call sym.XNewLookSch.dll_class_LString___cdecl_operator_class_LString_const___class_LString_const__
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x12
push ecx
push eax
lea eax, [ebp - 0x80]
push eax
call sym.XNewLookSch.dll_class_LString___cdecl_operator_class_LString_const___class_LString_const__
push 0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x14
push ecx
add eax, 4
mov dword [ebp - 0x18], 0
or ebx, 0x40
mov dword [ebp - 0x14], 0xf
push eax
mov byte [ebp - 0x28], 0
mov dword [ebp - 0xa4], ebx
call sym.XNewLookSch.dll_public:_static_int___cdecl_LString::ws2str_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____unsigned_int_
add esp, 0x24
lea eax, [ebp - 0x28]
lea ecx, [esi + 0xb8]
push eax
call fcn.10018720
mov ebx, dword [ebp - 0xa8]
mov byte [ebp - 4], 0x13
and ebx, 0xffffff86
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x10016f16
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10016f0c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10017107
push edx
push ecx
call fcn.1008bfe4
add esp, 8
lea ecx, [ebp - 0x80]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x64]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
push str._noise_1.log
lea ecx, [ebp - 0x48]
call sym.XNewLookSch.dll_public:_void___thiscall_LString::constructor_wchar_t_const__
push edi
lea eax, [esi + 0x38]
mov byte [ebp - 4], 0x15
push eax
lea eax, [ebp - 0x64]
push eax
call sym.XNewLookSch.dll_class_LString___cdecl_operator_class_LString_const___class_LString_const__
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x16
push ecx
push eax
lea eax, [ebp - 0x80]
push eax
call sym.XNewLookSch.dll_class_LString___cdecl_operator_class_LString_const___class_LString_const__
push 0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x18
push ecx
add eax, 4
mov dword [ebp - 0x18], 0
or ebx, 0x80
mov dword [ebp - 0x14], 0xf
push eax
mov byte [ebp - 0x28], 0
mov dword [ebp - 0xa4], ebx
call sym.XNewLookSch.dll_public:_static_int___cdecl_LString::ws2str_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____unsigned_int_
add esp, 0x24
lea eax, [ebp - 0x28]
lea ecx, [esi + 0xd0]
push eax
call fcn.10018720
mov ebx, dword [ebp - 0xa8]
mov byte [ebp - 4], 0x17
and ebx, 0xffffff06
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x10016fea
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10016fe0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001710c
push edx
push ecx
call fcn.1008bfe4
add esp, 8
lea ecx, [ebp - 0x80]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x64]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
push str._noise_2.log
lea ecx, [ebp - 0x64]
call sym.XNewLookSch.dll_public:_void___thiscall_LString::constructor_wchar_t_const__
push edi
lea eax, [esi + 0x38]
mov byte [ebp - 4], 0x19
push eax
lea eax, [ebp - 0x9c]
push eax
call sym.XNewLookSch.dll_class_LString___cdecl_operator_class_LString_const___class_LString_const__
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x1a
push ecx
push eax
lea eax, [ebp - 0x80]
push eax
call sym.XNewLookSch.dll_class_LString___cdecl_operator_class_LString_const___class_LString_const__
push 0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x1c
push ecx
add eax, 4
mov dword [ebp - 0x18], 0
or ebx, 0x100
mov dword [ebp - 0x14], 0xf
push eax
mov byte [ebp - 0x28], 0
mov dword [ebp - 0xa4], ebx
call sym.XNewLookSch.dll_public:_static_int___cdecl_LString::ws2str_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____unsigned_int_
add esp, 0x24
lea eax, [ebp - 0x28]
lea ecx, [esi + 0xe8]
push eax
call fcn.10018720
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x100170ad
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100170a3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10017111
push edx
push ecx
call fcn.1008bfe4
add esp, 8
lea ecx, [ebp - 0x80]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x9c]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x64]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0xb8]
call sym.XNewLookSch.dll_public:_void___thiscall_LAutoMutex::destructor_void_
xor eax, eax
jmp 0x100170da
or eax, 0xffffffff
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.1008bffe
mov esp, ebp
pop ebp
ret 8
call fcn.10092486
call fcn.10092486
call fcn.10092486
call fcn.10092486
call fcn.10092486
call fcn.10092486
int3