Function at 0x1002e690
Capabilities:
Delete file
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d357a
mov eax, dword fs:[0]
push eax
sub esp, 0x84
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 - 0x78]
mov ebx, dword [ebp + 0xc]
mov edx, 7
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x7c], 0
cmp dword [ecx + 0x14], edx
mov dword [ebp - 0x90], 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 - 0x28]
mov dword [ebp - 4], 2
push eax
lea eax, [esi + 4]
mov dword [ebp - 0x18], 0
push eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x7c], 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 - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0x100efc08
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.100a1278
mov byte [ebp - 4], 1
add esp, 0x14
mov edx, dword [ebp - 0x14]
mov edi, eax
mov dword [ebp - 0x8c], edi
cmp edx, 0x10
jb 0x1002e774
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002e76a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002ea52
push edx
push ecx
call fcn.1008bfe4
add esp, 8
mov dword [ebp - 0x18], 0
mov esi, 0x64
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
test edi, edi
jne 0x1002e797
or esi, 0xffffffff
jmp 0x1002e9f1
push 2
push 0
push edi
call fcn.100a0ba6
push edi
call fcn.100a11a1
push 0
push 0
push edi
mov dword [ebp - 0x80], eax
call fcn.100a0ba6
push 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
lea eax, [ebx + 4]
mov dword [ebp - 0x30], 0
push eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x7c], 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 - 0x2c], 0x10
lea eax, [ebp - 0x40]
push 0x100efc74
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.100a1278
mov byte [ebp - 4], 1
add esp, 0x30
mov edx, dword [ebp - 0x2c]
mov ebx, eax
mov dword [ebp - 0x84], ebx
cmp edx, 0x10
jb 0x1002e839
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002e82f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002ea57
push edx
push ecx
call fcn.1008bfe4
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
test ebx, ebx
jne 0x1002e860
push edi
call fcn.1009ffb4
add esp, 4
lea esi, [ebx - 3]
jmp 0x1002e9f1
mov ecx, edi
xor ebx, ebx
call fcn.1002db90
cmp eax, 1
je 0x1002e87a
cmp eax, 2
je 0x1002e87a
mov esi, eax
jmp 0x1002e99c
push 0
push 0
push edi
call fcn.100a0ba6
push dword [ebp - 0x80]
call fcn.1008bff2
push edi
push 1
push dword [ebp - 0x80]
mov ebx, eax
push ebx
call fcn.100a145b
add esp, 0x20
cmp eax, 0xffffffff
jne 0x1002e8ac
mov esi, 0xfffffff3
jmp 0x1002e99c
mov ecx, dword [ebx + 0x3c]
xor edi, edi
movzx eax, word [ecx + ebx + 0x14]
movzx edx, word [ecx + ebx + 6]
add eax, ecx
lea ecx, [ebx + 0x18]
mov dword [ebp - 0x88], edx
add ecx, eax
mov dword [ebp - 0x80], ecx
test edx, edx
je 0x1002e996
xor eax, eax
mov dword [ebp - 0x7c], eax
add eax, ecx
lea ecx, [ebp - 0x5c]
push eax
call sym.XNewLookSch.dll_public:_void___thiscall_LString::constructor_char_const__
cmp dword [ebp - 0x60], 8
lea ecx, [ebp - 0x74]
lea eax, [ebp - 0x58]
cmovae ecx, dword [ebp - 0x74]
cmp dword [ebp - 0x44], 8
push ecx
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.10092559
add esp, 8
test eax, eax
jne 0x1002e935
push dword [ebp - 0x84]
mov ecx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x7c]
push 1
push dword [ecx + eax + 8]
mov eax, dword [ecx + eax + 0x14]
add eax, ebx
push eax
call fcn.100a04c8
xor ecx, ecx
add esp, 0x10
cmp eax, 0xffffffff
mov esi, 0xfffffff1
cmovne esi, ecx
dec dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x5c], vtable.LString.0
cmp edx, 8
jb 0x1002e97c
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002e972
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002ea52
push edx
push ecx
call fcn.1008bfe4
add esp, 8
mov eax, dword [ebp - 0x7c]
inc edi
add eax, 0x28
mov dword [ebp - 0x7c], eax
cmp edi, dword [ebp - 0x88]
jae 0x1002e996
mov ecx, dword [ebp - 0x80]
jmp 0x1002e8d8
mov edi, dword [ebp - 0x8c]
push edi
call fcn.1009ffb4
mov edi, dword [ebp - 0x84]
push edi
call fcn.1009fee5
push edi
call fcn.1009ffb4
add esp, 0xc
test ebx, ebx
je 0x1002e9c4
push ebx
call fcn.1008c032
add esp, 4
test esi, esi
je 0x1002e9f1
mov ecx, dword [ebp - 0x90]
lea eax, [ebp - 0x5c]
push eax
call sym.XNewLookSch.dll_public:_class_LString___thiscall_LString::get_real_file_from_env_format_void_
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x5c]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
dec dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x78], vtable.LString.0
cmp edx, 8
jb 0x1002ea34
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002ea2a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002ea5c
push edx
push ecx
call fcn.1008bfe4
add esp, 8
mov eax, esi
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
int3