Function at 0x403d70
Capabilities:
Delete file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4a94d6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x41c
push ebx
push ebp
mov ebx, ecx
push esi
push edi
mov ecx, 0x4d1ad0
call fcn.00401320
mov ecx, 0x4d1ad0
mov dword [esp + 0x18], eax
call fcn.0047ee50
mov ebp, eax
mov ecx, ebp
call fcn.0043dee0
mov ecx, dword [eax]
mov edx, dword [ecx - 0xc]
test edx, edx
jl 0x403dcb
mov dword [esp + 0x10], ecx
add ecx, 0xfffffff4
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x403df1
mov ecx, dword [0x4c2080]
mov dword [esp + 0x10], ecx
mov esi, dword [eax]
test esi, esi
jne 0x403ddf
xor eax, eax
jmp 0x403de6
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push eax
lea ecx, [esp + 0x18]
call fcn.00405750
lea edx, [esp + 0x1c]
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x1c]
push edx
push 0x104
rep stosd dword es:[edi], eax
mov dword [esp + 0x43c], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x224]
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea ecx, [esp + 0x224]
lea edx, [esp + 0x1c]
push ecx
push eax
push str.360irs
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esp + 0x224]
push eax
call edi
push 0
push 0x3f
lea ecx, [esp + 0x18]
call fcn.00404d20
cmp eax, 0xffffffff
jne 0x403e8a
mov ecx, str._mid
test ecx, ecx
jne 0x403e78
xor eax, eax
push ecx
jmp 0x403ea7
push str._mid
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push str._mid
jmp 0x403ea7
mov edx, str.mid
test edx, edx
jne 0x403e97
xor eax, eax
jmp 0x403ea2
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 [ebx + 0x68]
lea ecx, [esp + 0x10]
push eax
mov eax, dword [eax - 8]
push eax
call fcn.00405810
push 0
push str..360.cn_
lea ecx, [esp + 0x18]
call fcn.00404d60
mov ecx, dword [esp + 0x10]
cmp eax, 0xffffffff
jne 0x403f42
mov eax, dword [ecx - 8]
test eax, eax
jl 0x403f02
push str..360safe.com_
push ecx
call dword [sym.imp.MSVCRT.dll_wcsstr]
mov ecx, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x403f02
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
jne 0x403f42
mov dword [ebx + 0x30], 7
mov eax, dword [0x4c2084]
lea edx, [ecx - 0xc]
cmp edx, eax
je 0x404006
add ecx, 0xfffffff4
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x404006
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.00442ac0
add esp, 4
xor eax, eax
jmp 0x404108
mov esi, dword [esp + 0x18]
lea edx, [esp + 0x224]
push 0xea60
push edx
push ecx
mov ecx, esi
call fcn.00419b90
test eax, eax
jne 0x403f7c
mov ecx, esi
call fcn.0041a240
test eax, eax
je 0x403f73
mov dword [ebx + 0x30], 8
jmp 0x403fd7
mov dword [ebx + 0x30], 9
jmp 0x403fd7
lea eax, [esp + 0x224]
push 0x104
lea ecx, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_wcsncpy]
push 0x104
lea edx, [esp + 0x2c]
push str..dir
push edx
call dword [sym.imp.MSVCRT.dll_wcsncat]
add esp, 0x18
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x224]
push eax
push ecx
mov ecx, ebx
call fcn.00401e10
lea edx, [esp + 0x224]
mov esi, eax
push edx
call edi
test esi, esi
jne 0x40400d
mov dword [ebx + 0x30], 0xa
mov eax, dword [esp + 0x10]
mov edx, dword [0x4c2084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x404006
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x404006
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00442ac0
add esp, 4
xor eax, eax
jmp 0x404108
mov eax, dword [0x4c2080]
lea ecx, [esp + 0x1c]
test ecx, ecx
mov dword [esp + 0x14], eax
je 0x40407c
lea edx, [esp + 0x1c]
shr edx, 0x10
jne 0x40403c
xor eax, eax
lea ecx, [esp + 0x1c]
mov ax, cx
lea ecx, [esp + 0x14]
push eax
call fcn.00405320
jmp 0x40407c
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
je 0x40407c
push esi
lea ecx, [esp + 0x18]
call fcn.004056f0
test eax, eax
je 0x40407c
lea ecx, [esi + esi]
lea eax, [esi + esi + 2]
cmp eax, ecx
jb 0x40407c
mov edi, dword [esp + 0x14]
mov edx, ecx
lea esi, [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x14]
mov ecx, ebp
push eax
mov byte [esp + 0x438], 1
call fcn.0043def0
mov eax, dword [esp + 0x14]
mov edx, dword [0x4c2084]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4040c1
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4040c1
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00442ac0
add esp, 4
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x4040d8
push 0
push 0
push 0x7ee
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x10]
mov edx, dword [0x4c2084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x404103
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x404103
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00442ac0
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x42c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x428
ret