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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d350b
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
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 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.XNewLookSch.dll_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.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_
cmp dword [ebp - 0x84], 0x10
lea eax, [ebp - 0x98]
push 0x100efc08
cmovae eax, dword [ebp - 0x98]
push eax
call fcn.100a1278
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 0x1002ded5
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002decb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002e669
push edx
push ecx
call fcn.1008bfe4
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 0x1002df01
or edi, 0xffffffff
jmp 0x1002e608
push 2
push 0
push ebx
call fcn.100a0ba6
push ebx
call fcn.100a11a1
push 0
push 0
push ebx
mov dword [ebp - 0xb8], eax
call fcn.100a0ba6
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.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_
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
push 0x100efc08
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.100a1278
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 0x1002dfa9
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002df9f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002e66e
push edx
push ecx
call fcn.1008bfe4
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
test esi, esi
jne 0x1002dfd0
push ebx
call fcn.1009ffb4
add esp, 4
lea edi, [esi - 2]
jmp 0x1002e608
push 2
push 0
push esi
call fcn.100a0ba6
push esi
call fcn.100a11a1
push 0
push 0
push esi
mov dword [ebp - 0xc8], eax
call fcn.100a0ba6
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.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
push str..tmp
call fcn.10002b70
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 5
push eax
push dword [ebp - 0xd0]
lea eax, [ebp - 0xb4]
push eax
call sym.XNewLookSch.dll_class_LString___cdecl_operator_class_LString_const___class_LString_const__
add esp, 0xc
lea ecx, [ebp - 0x2c]
call sym.XNewLookSch.dll_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.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_
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0x100efc74
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.100a1278
mov byte [ebp - 4], 7
add esp, 0x14
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0xcc], eax
cmp edx, 0x10
jb 0x1002e0db
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002e0cb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002e673
push edx
push ecx
call fcn.1008bfe4
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 0x1002e10a
push ebx
call fcn.1009ffb4
push esi
call fcn.1009ffb4
add esp, 8
mov edi, 0xfffffffd
jmp 0x1002e59b
xor ecx, ecx
xor esi, esi
mov dword [ebp - 0xbc], ecx
mov ecx, ebx
call fcn.1002db90
mov dword [ebp - 0xc4], eax
cmp eax, 1
je 0x1002e132
cmp eax, 2
je 0x1002e132
mov edi, eax
jmp 0x1002e2a2
push 0
push 0
push ebx
call fcn.100a0ba6
push dword [ebp - 0xb8]
call fcn.1008bff2
push ebx
push 1
push dword [ebp - 0xb8]
mov esi, eax
push esi
mov dword [ebp - 0xc0], esi
call fcn.100a145b
add esp, 0x20
cmp eax, 0xffffffff
jne 0x1002e170
mov edi, 0xfffffff3
jmp 0x1002e2a2
push dword [ebp - 0xc8]
call fcn.1008bff2
push dword [ebp - 0xd4]
mov dword [ebp - 0xbc], eax
push 1
push dword [ebp - 0xc8]
push eax
call fcn.100a145b
add esp, 0x14
cmp eax, 0xffffffff
jne 0x1002e1a7
mov edi, 0xfffffff2
jmp 0x1002e2a2
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 0x1002e31e
test eax, eax
je 0x1002e240
push ebx
lea ecx, [ebp - 0x64]
call sym.XNewLookSch.dll_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.10092559
add esp, 8
test eax, eax
je 0x1002e21f
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 7
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
inc esi
add ebx, 0x28
cmp esi, dword [ebp - 0xc4]
jb 0x1002e1d4
jmp 0x1002e240
push esi
lea edx, [ebp - 0xb8]
lea ecx, [ebp - 0xc0]
call fcn.1002d280
add esp, 4
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x64]
call sym.XNewLookSch.dll_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.1002d480
mov esi, dword [ebp - 0xc0]
add esp, 0x10
test eax, eax
je 0x1002e29c
push dword [ebp - 0xcc]
push 1
push dword [ebp - 0xb8]
push esi
call fcn.100a04c8
xor ecx, ecx
add esp, 0x10
cmp eax, 0xffffffff
mov edi, 0xfffffff1
cmovne edi, ecx
mov ebx, dword [ebp - 0xd8]
push ebx
call fcn.1009ffb4
push dword [ebp - 0xd4]
call fcn.1009ffb4
mov ebx, dword [ebp - 0xcc]
push ebx
call fcn.1009fee5
push ebx
call fcn.1009ffb4
add esp, 0x10
test esi, esi
je 0x1002e2d5
push esi
call fcn.1008c032
add esp, 4
mov eax, dword [ebp - 0xbc]
test eax, eax
je 0x1002e2e8
push eax
call fcn.1008c032
add esp, 4
lea eax, [ebp - 0x64]
push eax
test edi, edi
je 0x1002e3be
lea ecx, [ebp - 0xb4]
call sym.XNewLookSch.dll_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.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
jmp 0x1002e59b
test eax, eax
je 0x1002e38e
push ebx
lea ecx, [ebp - 0x64]
call sym.XNewLookSch.dll_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.10092559
add esp, 8
test eax, eax
je 0x1002e36d
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 7
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
inc esi
add ebx, 0x28
cmp esi, dword [ebp - 0xc4]
jb 0x1002e322
jmp 0x1002e38e
push esi
lea edx, [ebp - 0xb8]
lea ecx, [ebp - 0xc0]
call fcn.1002d710
add esp, 4
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x64]
call sym.XNewLookSch.dll_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.1002d900
jmp 0x1002e26b
mov ecx, dword [ebp - 0xd0]
mov edi, 0xfffffff0
call sym.XNewLookSch.dll_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.XNewLookSch.dll_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.XNewLookSch.dll_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.XNewLookSch.dll_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 0x1002e501
mov eax, dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
dec eax
mov dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count], eax
cmp edx, 8
jb 0x1002e492
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002e483
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002e678
push edx
push ecx
call fcn.1008bfe4
mov eax, dword [sym.XNewLookSch.dll_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.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count], eax
cmp edx, 8
jb 0x1002e4f1
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002e4e7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002e678
push edx
push ecx
call fcn.1008bfe4
add esp, 8
push esi
call ebx
test esi, esi
jne 0x1002e3f3
jmp 0x1002e59b
dec dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
cmp edx, 8
jb 0x1002e53e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002e534
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002e678
push edx
push ecx
call fcn.1008bfe4
add esp, 8
dec dword [sym.XNewLookSch.dll_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 0x1002e599
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002e58f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002e678
push edx
push ecx
call fcn.1008bfe4
add esp, 8
xor edi, edi
dec dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0xb4], vtable.LString.0
cmp edx, 8
jb 0x1002e5eb
mov ecx, dword [ebp - 0xb0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002e5e1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002e67d
push edx
push ecx
call fcn.1008bfe4
add esp, 8
xor eax, eax
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 7
mov word [ebp - 0xb0], ax
dec dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x80], vtable.LString.0
cmp edx, 8
jb 0x1002e64b
mov ecx, dword [ebp - 0x7c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002e641
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002e67d
push edx
push ecx
call fcn.1008bfe4
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.1008bffe
mov esp, ebp
pop ebp
ret
call fcn.10092486
call fcn.10092486
call fcn.10092486
call fcn.10092486
call fcn.10092486
int3