Function at 0x401e40
Capabilities:
Check for time delay via gettickcount
Delete file
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a9126
push eax
mov dword fs:[0], esp
sub esp, 0x618
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov ebp, ecx
push ebx
call fcn.004495e0
add esp, 4
call fcn.00449650
mov ecx, ebp
call fcn.004025d0
test eax, eax
jne 0x401e9e
mov dword [ebp + 0x30], 3
xor eax, eax
mov ecx, dword [esp + 0x628]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x624
ret
mov ecx, dword [ebp + 0x18]
mov dword [ebp + 0x24], ebx
cmp ecx, ebx
je 0x401e83
cmp dword [ebp + 0x1c], ebx
je 0x401e83
call fcn.0043d580
mov ecx, dword [eax]
cmp dword [ecx - 0xc], ebx
jl 0x401ec9
mov dword [esp + 0x10], ecx
add ecx, 0xfffffff4
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x401eef
mov ecx, dword [0x4c2080]
mov dword [esp + 0x10], ecx
mov esi, dword [eax]
cmp esi, ebx
jne 0x401edd
xor eax, eax
jmp 0x401ee4
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push eax
lea ecx, [esp + 0x18]
call fcn.00405750
lea edx, [esp + 0x220]
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x220]
push edx
push 0x104
rep stosd dword es:[edi], eax
mov dword [esp + 0x638], ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x220]
push ecx
push eax
push str.__tmpini_
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
push 0x3f
lea ecx, [esp + 0x18]
call fcn.00404d20
cmp eax, 0xffffffff
jne 0x401f81
mov ecx, str._mid
test ecx, ecx
jne 0x401f6f
xor eax, eax
push ecx
jmp 0x401f9e
push str._mid
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push str._mid
jmp 0x401f9e
mov edx, str.mid
test edx, edx
jne 0x401f8e
xor eax, eax
jmp 0x401f99
push str.mid
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push str.mid
push eax
lea ecx, [esp + 0x18]
call fcn.00405810
mov eax, dword [ebp + 0x68]
lea ecx, [esp + 0x10]
push eax
mov eax, dword [eax - 8]
push eax
call fcn.00405810
push ebx
push str..360.cn_
lea ecx, [esp + 0x18]
call fcn.00404d60
cmp eax, 0xffffffff
jne 0x40200c
push ebx
push str..360safe.com_
lea ecx, [esp + 0x18]
call fcn.00404d60
cmp eax, 0xffffffff
jne 0x40200c
mov dword [ebp + 0x30], 1
mov eax, dword [esp + 0x10]
mov edx, dword [0x4c2084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x401e83
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
jmp 0x402221
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ecx, dword [esp + 0x10]
mov edi, eax
lea eax, [esp + 0x18]
push 0xea60
push eax
push ecx
mov ecx, dword [ebp + 0x1c]
call fcn.00419b90
mov ebx, eax
call esi
mov edx, eax
mov eax, 0x10624dd3
sub edx, edi
mul edx
shr edx, 6
test ebx, ebx
mov dword [ebp + 0x70], edx
jne 0x402064
mov ecx, dword [ebp + 0x1c]
call fcn.0041a240
test eax, eax
je 0x40205b
mov dword [ebp + 0x30], 6
jmp 0x401fe8
mov dword [ebp + 0x30], 2
jmp 0x401fe8
lea eax, [esp + 0x18]
push 0x104
lea ecx, [esp + 0x224]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_wcsncpy]
push 0x104
lea edx, [esp + 0x230]
push str..dir
push edx
call dword [sym.imp.MSVCRT.dll_wcsncat]
add esp, 0x18
lea eax, [esp + 0x220]
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, ebp
call fcn.00401e10
lea edx, [esp + 0x18]
mov esi, eax
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test esi, esi
jne 0x4020c8
mov dword [ebp + 0x30], 4
jmp 0x401fe8
mov eax, dword [0x4c2080]
mov dword [esp + 0x14], eax
mov ecx, dword [0x4d1ac8]
lea edx, [esp + 0x428]
push 0x100
push edx
mov eax, dword [ecx + 8]
mov ebx, 1
push 0xa1
push eax
mov byte [esp + 0x640], bl
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x40210b
mov word [esp + 0x428], ax
mov ecx, 0x100
sub ecx, eax
cmp ecx, ebx
jle 0x402147
lea edx, [esp + 0x428]
test edx, edx
jne 0x402125
xor eax, eax
jmp 0x402133
lea eax, [esp + 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [esp + 0x428]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00405750
jmp 0x402194
push 0x1ff
lea ecx, [esp + 0x18]
mov esi, 0x200
call fcn.00405530
test eax, eax
je 0x402189
push esi
push eax
push 0xa1
call fcn.00405b00
mov edx, esi
sub edx, eax
cmp edx, ebx
jg 0x402189
add esi, 0x100
lea ecx, [esp + 0x14]
lea eax, [esi - 1]
push eax
call fcn.00405530
test eax, eax
jne 0x40215e
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.004055f0
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x220]
push ecx
lea eax, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [ebp + 0x18]
call fcn.0043c870
lea edx, [esp + 0x220]
mov ecx, ebp
push edx
mov esi, eax
call fcn.00402ae0
test esi, esi
jne 0x40223e
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov dword [ebp + 0x30], 5
mov edx, dword [0x4c2084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x402206
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x402206
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00442ac0
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x4c2084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x401e83
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x401e83
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00442ac0
add esp, 4
jmp 0x401e83
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov dword [ebp + 0x24], ebx
mov edx, dword [0x4c2084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x402272
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x402272
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00442ac0
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x4c2084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40229d
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40229d
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00442ac0
add esp, 4
mov eax, ebx
jmp 0x401e85