Function at 0x100297e0
Capabilities:
Check for time delay via gettickcount
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d2d78
mov eax, dword fs:[0]
push eax
sub esp, 0x164
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 esi, dword [ebp + 8]
push 0
mov dword [ebp - 0xbc], 0
call fcn.1009623e
push eax
mov dword [ebp - 0xbc], eax
call fcn.100961ad
xor ecx, ecx
mov dword [ebp - 0x48], vtable.LString.0
mov edx, 7
mov dword [ebp - 0x34], ecx
xor eax, eax
mov dword [ebp - 0x30], edx
add esp, 8
mov word [ebp - 0x44], ax
mov dword [ebp - 4], eax
add esi, 4
inc dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
lea eax, [ebp - 0x44]
cmp eax, esi
je 0x1002987a
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x10029868
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x44]
push eax
call fcn.10002b70
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 4], 1
test ecx, ecx
je 0x100298f1
mov ebx, dword [ebp - 0x44]
lea eax, [ebp - 0x44]
cmp edx, 8
cmovae eax, ebx
movzx eax, word [eax + ecx*2 - 2]
cmp eax, 0x5c
je 0x100298f1
cmp eax, 0x2f
je 0x100298f1
mov eax, edx
sub eax, ecx
cmp eax, 1
jb 0x100298d3
cmp edx, 8
lea esi, [ebp - 0x44]
push 2
cmovae esi, ebx
lea edi, [ecx + 1]
push 0x100ee8cc
mov dword [ebp - 0x34], edi
lea eax, [esi + ecx*2]
push eax
call fcn.1008e280
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x100298f1
push 1
push 0x100ee8cc
mov byte [ebp - 0xc0], 0
lea ecx, [ebp - 0x44]
push dword [ebp - 0xc0]
push 1
call fcn.100129e0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea ecx, [ebp - 0x2c]
call sym.XNewLookSch.dll_public:_void___thiscall_LString::constructor_unsigned_int_
xor eax, eax
mov dword [ebp - 0x80], vtable.LString.0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
push 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x7c]
inc dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
push 0x100eeb18
call fcn.10002b70
xor eax, eax
mov dword [ebp - 0x64], vtable.LString.0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
push 0xa
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x60]
inc dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
push str..460554752
call fcn.10002b70
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xb8]
push dword [ebp - 0xbc]
call sym.XNewLookSch.dll_public:_void___thiscall_LString::constructor_unsigned_int_
push str.TestCW.
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 7
call sym.XNewLookSch.dll_public:_void___thiscall_LString::constructor_char_const__
mov byte [ebp - 4], 8
lea eax, [ebp - 0x98]
cmp dword [ebp - 0x84], 8
lea ecx, [ebp - 0x44]
push dword [ebp - 0x88]
cmovae eax, dword [ebp - 0x98]
push eax
call fcn.10011440
cmp dword [ebp - 0xa0], 8
lea eax, [ebp - 0xb4]
push dword [ebp - 0xa4]
cmovae eax, dword [ebp - 0xb4]
lea ecx, [ebp - 0x44]
push eax
call fcn.10011440
cmp dword [ebp - 0x4c], 8
lea eax, [ebp - 0x60]
push dword [ebp - 0x50]
cmovae eax, dword [ebp - 0x60]
lea ecx, [ebp - 0x44]
push eax
call fcn.10011440
cmp dword [ebp - 0x68], 8
lea eax, [ebp - 0x7c]
push dword [ebp - 0x6c]
cmovae eax, dword [ebp - 0x7c]
lea ecx, [ebp - 0x44]
push eax
call fcn.10011440
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x44]
push eax
call fcn.10011440
lea ecx, [ebp - 0x9c]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0xb8]
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 - 0x80]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x48]
call sym.XNewLookSch.dll_public:_class_LString___thiscall_LString::get_real_file_from_env_format_void_
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmovae eax, dword [ebp - 0x28]
push eax
call esi
cmp eax, 0xffffffff
lea ecx, [ebp - 0x2c]
setne bl
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
test bl, bl
je 0x10029ab4
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x48]
call sym.XNewLookSch.dll_public:_class_LString___thiscall_LString::get_real_file_from_env_format_void_
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
lea ecx, [ebp - 0x2c]
setne bl
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
jmp 0x10029c16
push ecx
lea ecx, [ebp - 0x170]
call fcn.10018940
push 0
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x50], 0
push eax
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
mov dword [ebp - 0xbc], 1
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 - 0x4c], 0x10
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x16c]
cmovae eax, dword [ebp - 0x60]
add esp, 8
push 0x22
push eax
call fcn.1001a070
test eax, eax
lea ecx, [ebp - 0x170]
mov eax, dword [ebp - 0x170]
push 0
mov eax, dword [eax + 4]
jne 0x10029b36
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
jmp 0x10029b45
add ecx, eax
xor edx, edx
mov eax, 4
cmp dword [ecx + 0x38], edx
cmovne eax, edx
push eax
call fcn.10004f60
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x10029b83
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10029b79
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10029c3c
push edx
push ecx
call fcn.1008bfe4
add esp, 8
lea ecx, [ebp - 0x16c]
call fcn.10019fb0
test eax, eax
jne 0x10029bbd
mov eax, dword [ebp - 0x170]
lea ecx, [ebp - 0x170]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10004f60
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x48]
call sym.XNewLookSch.dll_public:_class_LString___thiscall_LString::get_real_file_from_env_format_void_
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call esi
cmp eax, 0xffffffff
lea ecx, [ebp - 0x2c]
setne bl
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x48]
call sym.XNewLookSch.dll_public:_class_LString___thiscall_LString::get_real_file_from_env_format_void_
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x2c]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x170]
call fcn.100177b0
lea ecx, [ebp - 0x48]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
mov al, bl
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
int3