Function at 0x4314e0
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 0x4bcae8
mov eax, dword fs:[0]
push eax
sub esp, 0x164
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 esi, dword [ebp + 8]
push 0
mov dword [ebp - 0xbc], 0
call fcn.0047cfa5
push eax
mov dword [ebp - 0xbc], eax
call fcn.0047d857
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.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
lea eax, [ebp - 0x44]
cmp eax, esi
je 0x43157a
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x431568
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x44]
push eax
call fcn.00409940
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 4], 1
test ecx, ecx
je 0x4315f1
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 0x4315f1
cmp eax, 0x2f
je 0x4315f1
mov eax, edx
sub eax, ecx
cmp eax, 1
jb 0x4315d3
cmp edx, 8
lea esi, [ebp - 0x44]
push 2
cmovae esi, ebx
lea edi, [ecx + 1]
push 0x4d2b88
mov dword [ebp - 0x34], edi
lea eax, [esi + ecx*2]
push eax
call fcn.00478b30
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x4315f1
push 1
push 0x4d2b88
mov byte [ebp - 0xc0], 0
lea ecx, [ebp - 0x44]
push dword [ebp - 0xc0]
push 1
call fcn.004090c0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea ecx, [ebp - 0x2c]
call sym.XNewLook.exe_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.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
push 0x4d2b80
call fcn.00409940
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.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
push str..460554752
call fcn.00409940
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xb8]
push dword [ebp - 0xbc]
call sym.XNewLook.exe_public:_void___thiscall_LString::constructor_unsigned_int_
push str.TestCW.
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 7
call sym.XNewLook.exe_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.00408f20
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.00408f20
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.00408f20
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.00408f20
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.00408f20
lea ecx, [ebp - 0x9c]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0xb8]
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 - 0x80]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x48]
call sym.XNewLook.exe_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.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
test bl, bl
je 0x4317b4
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x48]
call sym.XNewLook.exe_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.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
jmp 0x431916
push ecx
lea ecx, [ebp - 0x170]
call fcn.00438ac0
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.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 - 0x4c], 0x10
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x16c]
cmovae eax, dword [ebp - 0x60]
add esp, 8
push 0x22
push eax
call fcn.0043a690
test eax, eax
lea ecx, [ebp - 0x170]
mov eax, dword [ebp - 0x170]
push 0
mov eax, dword [eax + 4]
jne 0x431836
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
jmp 0x431845
add ecx, eax
xor edx, edx
mov eax, 4
cmp dword [ecx + 0x38], edx
cmovne eax, edx
push eax
call fcn.004151e0
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x431883
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x431879
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43193c
push edx
push ecx
call fcn.00475891
add esp, 8
lea ecx, [ebp - 0x16c]
call fcn.0043a5d0
test eax, eax
jne 0x4318bd
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.004151e0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x48]
call sym.XNewLook.exe_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.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x48]
call sym.XNewLook.exe_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.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x170]
call fcn.00431950
lea ecx, [ebp - 0x48]
call sym.XNewLook.exe_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.00475880
mov esp, ebp
pop ebp
ret
call fcn.0047cd61
int3