Function at 0x403f23
Capabilities:
Check for time delay via gettickcount
Check if file exists
Create thread
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x451638
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x464140]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, ecx
push dword [edi + 0xd4]
xor ebx, ebx
mov dword [edi + 0x138], ebx
mov dword [edi + 0x134], ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40434b
call fcn.00403805
test eax, eax
jne 0x40434b
mov eax, dword [edi + 0x124]
cmp eax, ebx
je 0x403fc2
push dword [edi + 0x120]
push edi
push 1
call eax
add esp, 0xc
test eax, eax
jne 0x403fc2
mov eax, dword [edi + 0x124]
mov dword [edi + 0x134], 4
cmp eax, ebx
je 0x404369
push dword [edi + 0x120]
push edi
push 2
jmp 0x404364
mov eax, dword [edi + 0xc8]
mov ecx, dword [edi + 0xc4]
push eax
push ecx
mov ecx, edi
call fcn.0040386b
test eax, eax
jne 0x403ffb
mov eax, dword [edi + 0x124]
mov dword [edi + 0x134], 1
cmp eax, ebx
je 0x404369
push dword [edi + 0x120]
jmp 0x403fba
lea eax, [esp + 0x1c]
push str..itd
push eax
lea ecx, [edi + 0xd4]
call fcn.00404e82
pop ecx
pop ecx
push ebx
push 0x80
push 4
push ebx
push 3
push 0xc0000000
mov dword [esp + 0x68], ebx
push dword [esp + 0x34]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [edi + 0xd8], esi
cmp esi, 0xffffffff
jne 0x404061
mov eax, dword [edi + 0x124]
push 2
pop ecx
mov dword [edi + 0x134], ecx
cmp eax, ebx
je 0x40433d
push dword [edi + 0x120]
push edi
push ecx
jmp 0x404338
mov eax, dword [edi + 0xe0]
mov edx, dword [edi + 0xe4]
push ebx
push dword [edi + 0xe0]
mov cl, 0x20
call fcn.0044d500
push eax
push 4
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [edi + 0xdc], eax
cmp eax, ebx
jne 0x40423b
mov dword [edi + 0x134], 3
jmp 0x404325
call fcn.00403805
test eax, eax
jne 0x404249
mov eax, dword [edi + 4]
sub eax, dword [edi]
mov dword [esp + 0x18], ebx
sar eax, 2
test eax, eax
je 0x404152
mov ecx, dword [esp + 0x18]
mov eax, dword [edi]
mov eax, dword [eax + ecx*4]
mov edx, dword [eax + 0x18]
mov ecx, dword [eax + 0x1c]
mov esi, dword [eax + 8]
mov ebx, dword [eax + 0xc]
add edx, esi
mov esi, dword [eax + 0x10]
adc ecx, ebx
cmp ecx, dword [eax + 0x14]
jg 0x4040f2
jl 0x4040eb
cmp edx, esi
jae 0x4040f2
xor ecx, ecx
inc ecx
xor ebx, ebx
jmp 0x4040f6
xor ebx, ebx
xor ecx, ecx
mov dword [eax], ecx
mov eax, dword [eax]
test eax, eax
je 0x40413c
lea eax, [esp + 0x14]
push eax
push ebx
push edi
push 0x4048b1
push ebx
push ebx
mov dword [esp + 0x2c], ebx
call fcn.0043b480
add esp, 0x18
mov esi, eax
cmp dword [esp + 0x14], ebx
je 0x40413c
lea eax, [edi + 0xb4]
lea edx, [esp + 0x14]
call fcn.00404fd6
mov ecx, dword [esp + 0x14]
push esi
mov dword [eax], ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi + 4]
sub eax, dword [edi]
inc dword [esp + 0x18]
sar eax, 2
cmp dword [esp + 0x18], eax
jb 0x4040c4
mov ecx, edi
call fcn.0040496a
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x18], eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, edi
call fcn.0040496a
mov esi, eax
mov dword [esp + 0x40], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esp + 0x40]
mov ecx, esi
sub ecx, dword [esp + 0x2c]
mov dword [esp + 0x28], eax
sbb edx, dword [esp + 0x30]
sub eax, dword [esp + 0x18]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
fild qword [esp + 0x34]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
jns 0x4041bb
fadd qword [0x45c940]
fdivp st(1)
fmul qword [0x45c938]
call fcn.0044cbb6
mov dword [edi + 0x140], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x124]
mov dword [edi + 0x144], edx
mov dword [esp + 0x2c], esi
cmp eax, ebx
je 0x404200
push dword [edi + 0x120]
push edi
push 3
call eax
add esp, 0xc
lea esi, [edi + 0x98]
call fcn.00418960
xor ecx, ecx
cmp dword [edi + 0xbc], ebx
lea eax, [edi + 0x98]
sete cl
mov esi, ecx
call fcn.00418980
cmp esi, ebx
je 0x40416b
mov ecx, dword [edi + 0x148]
test ecx, ecx
je 0x404249
mov dword [edi + 0x148], ebx
mov eax, dword [edi + 0x138]
test eax, eax
je 0x4040a3
push dword [edi + 0xdc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [edi + 0xd8]
mov dword [edi + 0xdc], ebx
call esi
mov dword [edi + 0xd8], ebx
call fcn.00403805
test eax, eax
je 0x404302
lea eax, [esp + 0x24]
push str..itd
push eax
lea ecx, [edi + 0xd4]
call fcn.00404e82
pop ecx
pop ecx
mov byte [esp + 0x50], 1
push dword [edi + 0xd4]
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea eax, [esp + 0x20]
push str..itd.cfg
push eax
lea ecx, [edi + 0xd4]
call fcn.00404e82
pop ecx
pop ecx
mov byte [esp + 0x50], 2
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [edi + 0x124]
mov dword [edi + 0x134], ebx
cmp eax, ebx
je 0x4042e8
push dword [edi + 0x120]
push edi
push 4
call eax
add esp, 0xc
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
call fcn.00402c12
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
call fcn.00402c12
jmp 0x40433d
mov eax, dword [edi + 0x138]
test eax, eax
je 0x40431b
mov ecx, edi
call fcn.004049a1
mov dword [edi + 0x134], ebx
jmp 0x404325
mov dword [edi + 0x134], 4
mov eax, dword [edi + 0x124]
cmp eax, ebx
je 0x40433d
push dword [edi + 0x120]
push edi
push 2
call eax
add esp, 0xc
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.00402c12
jmp 0x404369
mov eax, dword [edi + 0x124]
mov dword [edi + 0x134], ebx
cmp eax, ebx
je 0x404369
push dword [edi + 0x120]
push edi
push 4
call eax
add esp, 0xc
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret