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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bdff0
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x4f9008]
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 0x43dfc3
mov eax, dword [esi + 0x14]
dec eax
cmp eax, 0xc7
ja 0x43dfc7
mov eax, dword [ecx + 0x14]
dec eax
cmp eax, 0x3b
ja 0x43dfc7
push esi
call sym.XNewLook.exe_int___cdecl_LFile::make_dir_class_LString_const__
add esp, 4
lea eax, [ebp - 0x48]
mov ecx, esi
push eax
call sym.XNewLook.exe_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.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
test bl, bl
je 0x43dfc7
push dword [edi + 0x34]
lea ecx, [ebp - 0xb8]
call sym.XNewLook.exe_public:_void___thiscall_LAutoMutex::constructor_class_LMutex__
push 0x4d2b80
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0
call sym.XNewLook.exe_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 0x43d8da
mov edi, dword [esi]
mov edx, dword [esi + 0x10]
cmp edx, dword [ebp - 0x34]
jne 0x43d90c
test edx, edx
je 0x43d9b1
sub edi, ecx
nop dword [eax]
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x43d90c
add ecx, 2
sub edx, ebx
jne 0x43d8f0
mov byte [ebp - 0x9d], 1
jmp 0x43d9c1
push 0x4d68d8
lea ecx, [ebp - 0x64]
call sym.XNewLook.exe_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 0x43d940
mov edi, dword [esi]
mov edx, dword [esi + 0x10]
cmp edx, dword [ebp - 0x50]
jne 0x43d96a
test edx, edx
je 0x43d9b1
sub edi, ecx
nop
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x43d96a
add ecx, 2
sub edx, 1
jne 0x43d950
mov byte [ebp - 0x9d], 1
jmp 0x43d9c1
push 0x4d68e0
lea ecx, [ebp - 0x2c]
call sym.XNewLook.exe_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 0x43d991
mov edi, dword [esi]
mov edx, dword [esi + 0x10]
cmp edx, dword [ebp - 0x18]
jne 0x43d9ba
test edx, edx
je 0x43d9b1
sub edi, ecx
nop
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x43d9ba
add ecx, 2
sub edx, 1
jne 0x43d9a0
mov byte [ebp - 0x9d], 1
jmp 0x43d9c1
mov byte [ebp - 0x9d], 0
test bl, 4
je 0x43d9d1
lea ecx, [ebp - 0x2c]
and ebx, 0xfffffffb
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
test bl, 2
je 0x43d9e1
lea ecx, [ebp - 0x64]
and ebx, 0xfffffffd
call sym.XNewLook.exe_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.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
mov edi, dword [ebp - 0xac]
add edi, 0x3c
cmp byte [ebp - 0x9d], 0
je 0x43da4d
push 0x4d68e0
lea ecx, [ebp - 0x2c]
call sym.XNewLook.exe_public:_void___thiscall_LString::constructor_wchar_t_const__
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
cmp edi, eax
je 0x43da36
cmp dword [ebp - 0x14], 8
mov ecx, edi
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00409940
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
mov esi, dword [ebp - 0xac]
jmp 0x43dac7
cmp edi, esi
je 0x43da66
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x43da5b
mov eax, dword [esi]
push dword [esi + 0x10]
mov ecx, edi
push eax
call fcn.00409940
mov esi, dword [ebp - 0xac]
cmp dword [esi + 0x50], 8
lea eax, [esi + 0x3c]
mov ecx, eax
mov edx, dword [esi + 0x4c]
jb 0x43da7c
mov ecx, dword [eax]
cmp word [ecx + edx*2 - 2], 0x2f
je 0x43dac7
cmp dword [eax + 0x14], 8
jb 0x43da8c
mov eax, dword [eax]
cmp word [eax + edx*2 - 2], 0x5c
je 0x43dac7
push 0x4d2b88
lea ecx, [ebp - 0x48]
call sym.XNewLook.exe_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.00408f20
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call sym.XNewLook.exe_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 0x43daed
cmp dword [eax + 0x14], 8
mov edx, eax
jb 0x43dae4
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.00409940
push str._0.log
lea ecx, [ebp - 0x48]
call sym.XNewLook.exe_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.XNewLook.exe_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.XNewLook.exe_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.XNewLook.exe_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.0043f530
mov ebx, dword [ebp - 0xa8]
mov byte [ebp - 4], 7
and ebx, 0xfffffff6
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x43db9c
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43db92
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43dfe8
push edx
push ecx
call fcn.00475891
add esp, 8
lea ecx, [ebp - 0x64]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x80]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
push str._1.log
lea ecx, [ebp - 0x48]
call sym.XNewLook.exe_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.XNewLook.exe_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.XNewLook.exe_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.XNewLook.exe_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.0043f530
mov ebx, dword [ebp - 0xa8]
mov byte [ebp - 4], 0xb
and ebx, 0xffffffe6
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x43dc6a
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43dc60
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43dfed
push edx
push ecx
call fcn.00475891
add esp, 8
lea ecx, [ebp - 0x80]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x64]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
push str._2.log
lea ecx, [ebp - 0x48]
call sym.XNewLook.exe_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.XNewLook.exe_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.XNewLook.exe_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.XNewLook.exe_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.0043f530
mov ebx, dword [ebp - 0xa8]
mov byte [ebp - 4], 0xf
and ebx, 0xffffffc6
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x43dd38
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43dd2e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43dff2
push edx
push ecx
call fcn.00475891
add esp, 8
lea ecx, [ebp - 0x80]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x64]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
push str._noise_0.log
lea ecx, [ebp - 0x48]
call sym.XNewLook.exe_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.XNewLook.exe_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.XNewLook.exe_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.XNewLook.exe_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.0043f530
mov ebx, dword [ebp - 0xa8]
mov byte [ebp - 4], 0x13
and ebx, 0xffffff86
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x43de06
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43ddfc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43dff7
push edx
push ecx
call fcn.00475891
add esp, 8
lea ecx, [ebp - 0x80]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x64]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
push str._noise_1.log
lea ecx, [ebp - 0x48]
call sym.XNewLook.exe_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.XNewLook.exe_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.XNewLook.exe_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.XNewLook.exe_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.0043f530
mov ebx, dword [ebp - 0xa8]
mov byte [ebp - 4], 0x17
and ebx, 0xffffff06
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x43deda
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43ded0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43dffc
push edx
push ecx
call fcn.00475891
add esp, 8
lea ecx, [ebp - 0x80]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x64]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
push str._noise_2.log
lea ecx, [ebp - 0x64]
call sym.XNewLook.exe_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.XNewLook.exe_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.XNewLook.exe_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.XNewLook.exe_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.0043f530
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x43df9d
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43df93
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43e001
push edx
push ecx
call fcn.00475891
add esp, 8
lea ecx, [ebp - 0x80]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x9c]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x64]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0xb8]
call sym.XNewLook.exe_public:_void___thiscall_LAutoMutex::destructor_void_
xor eax, eax
jmp 0x43dfca
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.00475880
mov esp, ebp
pop ebp
ret 8
call fcn.0047cd61
call fcn.0047cd61
call fcn.0047cd61
call fcn.0047cd61
call fcn.0047cd61
call fcn.0047cd61
int3