Function at 0x435b60
Capabilities:
Delete file
Move file
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bd27b
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
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 ecx, dword [ebp + 8]
lea eax, [ebp - 0x80]
mov ebx, dword [ebp + 0x10]
mov edx, 7
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xbc], 0
cmp dword [ecx + 0x14], edx
mov dword [ebp - 0xd0], ebx
cmovl edx, dword [ecx + 0x14]
push edx
push 0
push eax
call sym.XNewLook.exe_public:_class_LString___thiscall_LString::substr_int__int_
push 0
lea eax, [ebp - 0x98]
mov dword [ebp - 4], 2
push eax
lea eax, [ebx + 4]
mov dword [ebp - 0x88], 0
push eax
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
mov dword [ebp - 0xbc], 3
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_
cmp dword [ebp - 0x84], 0x10
lea eax, [ebp - 0x98]
push 0x4d664c
cmovae eax, dword [ebp - 0x98]
push eax
call fcn.004870f5
mov byte [ebp - 4], 1
add esp, 0x14
mov edx, dword [ebp - 0x84]
mov ebx, eax
mov dword [ebp - 0xd8], ebx
cmp edx, 0x10
jb 0x435c65
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x435c5b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4363f9
push edx
push ecx
call fcn.00475891
add esp, 8
mov dword [ebp - 0x88], 0
mov edi, 0x64
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
test ebx, ebx
jne 0x435c91
or edi, 0xffffffff
jmp 0x436398
push 2
push 0
push ebx
call fcn.004876be
push ebx
call fcn.00486ef1
push 0
push 0
push ebx
mov dword [ebp - 0xb8], eax
call fcn.004876be
push 0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 3
push eax
lea eax, [esi + 4]
mov dword [ebp - 0x34], 0
push eax
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov dword [ebp - 0xbc], 5
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_
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
push 0x4d664c
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.004870f5
mov byte [ebp - 4], 1
add esp, 0x30
mov edx, dword [ebp - 0x30]
mov esi, eax
mov dword [ebp - 0xd4], esi
cmp edx, 0x10
jb 0x435d39
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x435d2f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4363fe
push edx
push ecx
call fcn.00475891
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
test esi, esi
jne 0x435d60
push ebx
call fcn.00487369
add esp, 4
lea edi, [esi - 2]
jmp 0x436398
push 2
push 0
push esi
call fcn.004876be
push esi
call fcn.00486ef1
push 0
push 0
push esi
mov dword [ebp - 0xc8], eax
call fcn.004876be
xor eax, eax
mov dword [ebp - 0x2c], vtable.LString.0
add esp, 0x1c
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
inc dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
push str..tmp
call fcn.00409940
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 5
push eax
push dword [ebp - 0xd0]
lea eax, [ebp - 0xb4]
push eax
call sym.XNewLook.exe_class_LString___cdecl_operator_class_LString_const___class_LString_const__
add esp, 0xc
lea ecx, [ebp - 0x2c]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
push 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0xb0]
mov dword [ebp - 0x18], 0
push eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0xbc], 9
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_
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0x4d66b8
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004870f5
mov byte [ebp - 4], 7
add esp, 0x14
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0xcc], eax
cmp edx, 0x10
jb 0x435e6b
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x435e5b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x436403
push edx
push ecx
call fcn.00475891
mov eax, dword [ebp - 0xcc]
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
test eax, eax
jne 0x435e9a
push ebx
call fcn.00487369
push esi
call fcn.00487369
add esp, 8
mov edi, 0xfffffffd
jmp 0x43632b
xor ecx, ecx
xor esi, esi
mov dword [ebp - 0xbc], ecx
mov ecx, ebx
call fcn.00435920
mov dword [ebp - 0xc4], eax
cmp eax, 1
je 0x435ec2
cmp eax, 2
je 0x435ec2
mov edi, eax
jmp 0x436032
push 0
push 0
push ebx
call fcn.004876be
push dword [ebp - 0xb8]
call fcn.004759b9
push ebx
push 1
push dword [ebp - 0xb8]
mov esi, eax
push esi
mov dword [ebp - 0xc0], esi
call fcn.0048802f
add esp, 0x20
cmp eax, 0xffffffff
jne 0x435f00
mov edi, 0xfffffff3
jmp 0x436032
push dword [ebp - 0xc8]
call fcn.004759b9
push dword [ebp - 0xd4]
mov dword [ebp - 0xbc], eax
push 1
push dword [ebp - 0xc8]
push eax
call fcn.0048802f
add esp, 0x14
cmp eax, 0xffffffff
jne 0x435f37
mov edi, 0xfffffff2
jmp 0x436032
mov ecx, dword [esi + 0x3c]
movzx ebx, word [ecx + esi + 0x14]
movzx eax, word [ecx + esi + 6]
add ebx, 0x18
add ebx, ecx
add ebx, esi
xor esi, esi
cmp dword [ebp - 0xc4], 1
mov dword [ebp - 0xc4], eax
jne 0x4360ae
test eax, eax
je 0x435fd0
push ebx
lea ecx, [ebp - 0x64]
call sym.XNewLook.exe_public:_void___thiscall_LString::constructor_char_const__
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x7c]
cmp dword [ebp - 0x68], 8
lea eax, [ebp - 0x60]
cmovae ecx, dword [ebp - 0x7c]
cmp dword [ebp - 0x4c], 8
push ecx
cmovae eax, dword [ebp - 0x60]
push eax
call fcn.0047cdb1
add esp, 8
test eax, eax
je 0x435faf
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 7
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
inc esi
add ebx, 0x28
cmp esi, dword [ebp - 0xc4]
jb 0x435f64
jmp 0x435fd0
push esi
lea edx, [ebp - 0xb8]
lea ecx, [ebp - 0xc0]
call fcn.00435010
add esp, 4
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x64]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
push dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xbc]
lea eax, [ebp - 0x7c]
cmp dword [ebp - 0x68], 8
lea edx, [ebp - 0xb8]
push ecx
cmovae eax, dword [ebp - 0x7c]
push ecx
push eax
lea ecx, [ebp - 0xc0]
call fcn.00435210
mov esi, dword [ebp - 0xc0]
add esp, 0x10
test eax, eax
je 0x43602c
push dword [ebp - 0xcc]
push 1
push dword [ebp - 0xb8]
push esi
call fcn.00487a5a
xor ecx, ecx
add esp, 0x10
cmp eax, 0xffffffff
mov edi, 0xfffffff1
cmovne edi, ecx
mov ebx, dword [ebp - 0xd8]
push ebx
call fcn.00487369
push dword [ebp - 0xd4]
call fcn.00487369
mov ebx, dword [ebp - 0xcc]
push ebx
call fcn.0048729a
push ebx
call fcn.00487369
add esp, 0x10
test esi, esi
je 0x436065
push esi
call fcn.004759e5
add esp, 4
mov eax, dword [ebp - 0xbc]
test eax, eax
je 0x436078
push eax
call fcn.004759e5
add esp, 4
lea eax, [ebp - 0x64]
push eax
test edi, edi
je 0x43614e
lea ecx, [ebp - 0xb4]
call sym.XNewLook.exe_public:_class_LString___thiscall_LString::get_real_file_from_env_format_void_
cmp dword [ebp - 0x4c], 8
lea eax, [ebp - 0x60]
cmovae eax, dword [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x64]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
jmp 0x43632b
test eax, eax
je 0x43611e
push ebx
lea ecx, [ebp - 0x64]
call sym.XNewLook.exe_public:_void___thiscall_LString::constructor_char_const__
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x7c]
cmp dword [ebp - 0x68], 8
lea eax, [ebp - 0x60]
cmovae ecx, dword [ebp - 0x7c]
cmp dword [ebp - 0x4c], 8
push ecx
cmovae eax, dword [ebp - 0x60]
push eax
call fcn.0047cdb1
add esp, 8
test eax, eax
je 0x4360fd
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 7
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
inc esi
add ebx, 0x28
cmp esi, dword [ebp - 0xc4]
jb 0x4360b2
jmp 0x43611e
push esi
lea edx, [ebp - 0xb8]
lea ecx, [ebp - 0xc0]
call fcn.004354a0
add esp, 4
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x64]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
push dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xbc]
lea eax, [ebp - 0x7c]
cmp dword [ebp - 0x68], 8
lea edx, [ebp - 0xb8]
push ecx
cmovae eax, dword [ebp - 0x7c]
push ecx
push eax
lea ecx, [ebp - 0xc0]
call fcn.00435690
jmp 0x435ffb
mov ecx, dword [ebp - 0xd0]
mov edi, 0xfffffff0
call sym.XNewLook.exe_public:_class_LString___thiscall_LString::get_real_file_from_env_format_void_
cmp dword [ebp - 0x4c], 8
lea eax, [ebp - 0x60]
cmovae eax, dword [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x64]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, 0xbb8
lea eax, [ebp - 0x48]
sub esi, 0x3e8
push eax
lea ecx, [ebp - 0xb4]
call sym.XNewLook.exe_public:_class_LString___thiscall_LString::get_real_file_from_env_format_void_
mov ecx, dword [ebp - 0xd0]
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 0xb
call sym.XNewLook.exe_public:_class_LString___thiscall_LString::get_real_file_from_env_format_void_
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x44]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x30], 8
push ecx
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], vtable.LString.0
test eax, eax
jne 0x436291
mov eax, dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
dec eax
mov dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count], eax
cmp edx, 8
jb 0x436222
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x436213
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x436408
push edx
push ecx
call fcn.00475891
mov eax, dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
add esp, 8
mov byte [ebp - 4], 7
xor ecx, ecx
mov edx, dword [ebp - 0x30]
dec eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
mov dword [ebp - 0x48], vtable.LString.0
mov dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count], eax
cmp edx, 8
jb 0x436281
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x436277
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x436408
push edx
push ecx
call fcn.00475891
add esp, 8
push esi
call ebx
test esi, esi
jne 0x436183
jmp 0x43632b
dec dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
cmp edx, 8
jb 0x4362ce
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4362c4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x436408
push edx
push ecx
call fcn.00475891
add esp, 8
dec dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
xor eax, eax
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 0x48], vtable.LString.0
cmp edx, 8
jb 0x436329
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43631f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x436408
push edx
push ecx
call fcn.00475891
add esp, 8
xor edi, edi
dec dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0xb4], vtable.LString.0
cmp edx, 8
jb 0x43637b
mov ecx, dword [ebp - 0xb0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x436371
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43640d
push edx
push ecx
call fcn.00475891
add esp, 8
xor eax, eax
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 7
mov word [ebp - 0xb0], ax
dec dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x80], vtable.LString.0
cmp edx, 8
jb 0x4363db
mov ecx, dword [ebp - 0x7c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4363d1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43640d
push edx
push ecx
call fcn.00475891
add esp, 8
mov eax, edi
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
call fcn.0047cd61
call fcn.0047cd61
call fcn.0047cd61
call fcn.0047cd61
call fcn.0047cd61
int3