Function at 0x40fa40
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52f9f5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8a8
push ebx
push esi
push edi
mov ecx, 0x56c83f
mov dword [ebp - 0x68], 0
call fcn.00500c8d
lea eax, [ebp - 0x70]
push eax
call fcn.0040b1c0
add esp, 4
xor eax, eax
mov dword [ebp - 4], 0
mov word [ebp - 0x74], ax
lea ecx, [ebp - 0x72]
lea eax, [ebp - 0xd]
mov dword [ebp - 0x90], 0x500047
push eax
push ecx
lea edx, [ebp - 0x90]
mov dword [ebp - 0x8c], 0x200054
push edx
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0x88], 0x680043
mov dword [ebp - 0x84], 0x6f0072
mov dword [ebp - 0x80], 0x65006d
mov dword [ebp - 0x7c], 0x6c002e
mov dword [ebp - 0x78], 0x6b006e
call fcn.00404100
push dword [eax]
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004045b0
add esp, 0xc
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 3
call fcn.0040bc60
push dword [ebp - 0x24]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call ebx
lea eax, [ebp - 0x6c]
push eax
call fcn.0040b2a0
add esp, 4
xor eax, eax
mov byte [ebp - 4], 4
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x26]
lea eax, [ebp - 0xd]
mov dword [ebp - 0x44], 0x500047
push eax
push ecx
lea edx, [ebp - 0x44]
mov dword [ebp - 0x40], 0x200054
push edx
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x3c], 0x680043
mov dword [ebp - 0x38], 0x6f0072
mov dword [ebp - 0x34], 0x65006d
mov dword [ebp - 0x30], 0x6c002e
mov dword [ebp - 0x2c], 0x6b006e
call fcn.00404100
push dword [eax]
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004045b0
add esp, 0xc
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x24]
call fcn.00404370
mov edx, dword [ebp - 0x14]
or edi, 0xffffffff
mov byte [ebp - 4], 5
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40fbb4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 4
call fcn.0040bc60
push dword [ebp - 0x24]
call ebx
lea eax, [ebp - 0x20]
push eax
call fcn.0040b380
add esp, 4
xor eax, eax
mov byte [ebp - 4], 7
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x26]
lea eax, [ebp - 0xd]
mov dword [ebp - 0x44], 0x500047
push eax
push ecx
lea edx, [ebp - 0x44]
mov dword [ebp - 0x40], 0x200054
push edx
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x3c], 0x680043
mov dword [ebp - 0x38], 0x6f0072
mov dword [ebp - 0x34], 0x65006d
mov dword [ebp - 0x30], 0x6c002e
mov dword [ebp - 0x2c], 0x6b006e
call fcn.00404100
push dword [eax]
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004045b0
add esp, 0xc
lea ecx, [ebp - 0x9c]
call fcn.0040bc60
push dword [ebp - 0x1c]
call ebx
mov byte [ebp - 4], 0xb
call fcn.004056c0
mov ecx, eax
test ecx, ecx
je 0x40feef
mov eax, dword [ecx]
call dword [eax + 0xc]
push 0x800
push 0
mov dword [ebp - 0x68], 1
lea esi, [eax + 0x10]
lea eax, [ebp - 0x8b4]
mov dword [ebp - 0x14], esi
push eax
call fcn.00503f20
add esp, 0xc
lea eax, [ebp - 0x8b4]
push 0
push 0x17
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x40fcd6
lea eax, [ebp - 0x8b4]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40fca7
sub eax, edx
lea ecx, [ebp - 0x14]
sar eax, 1
push eax
lea eax, [ebp - 0x8b4]
push eax
call fcn.00406790
push 0x536974
lea ecx, [ebp - 0x14]
call fcn.0040e800
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x20]
call fcn.00404370
mov byte [ebp - 4], 0xa
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40fcfd
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov dword [ebp - 0x64], 0x500047
mov word [ebp - 0x48], ax
lea ecx, [ebp - 0x46]
lea eax, [ebp - 0xd]
mov dword [ebp - 0x60], 0x200054
push eax
push ecx
lea edx, [ebp - 0x64]
mov dword [ebp - 0x5c], 0x680043
push edx
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x58], 0x6f0072
mov dword [ebp - 0x54], 0x65006d
mov dword [ebp - 0x50], 0x6c002e
mov dword [ebp - 0x4c], 0x6b006e
call fcn.00404100
push dword [eax]
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.004045b0
add esp, 0xc
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xd
call fcn.00404370
mov edx, dword [ebp - 0x68]
mov eax, edi
mov byte [ebp - 4], 0xc
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40fd8c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0xa
call fcn.0040bc60
push dword [ebp - 0x1c]
call ebx
lea eax, [ebp - 0x18]
push eax
call fcn.00407f00
add esp, 4
xor eax, eax
mov byte [ebp - 4], 0xe
mov word [ebp - 0x48], ax
lea ecx, [ebp - 0x46]
lea eax, [ebp - 0xd]
mov dword [ebp - 0x64], 0x500047
push eax
push ecx
lea edx, [ebp - 0x64]
mov dword [ebp - 0x60], 0x200054
push edx
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x5c], 0x680043
mov dword [ebp - 0x58], 0x6f0072
mov dword [ebp - 0x54], 0x65006d
mov dword [ebp - 0x50], 0x6c002e
mov dword [ebp - 0x4c], 0x6b006e
call fcn.00404100
push dword [eax]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xf
call fcn.0040e800
lea ecx, [ebp - 0xa8]
call fcn.0040bc60
push dword [ebp - 0x18]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40fe29
push dword [ebp - 0x18]
call ebx
mov edx, dword [ebp - 0x18]
mov eax, edi
mov byte [ebp - 4], 0xa
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40fe47
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1c]
mov eax, edi
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40fe65
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x20]
mov eax, edi
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40fe83
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x6c]
mov eax, edi
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40fea1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x24]
mov eax, edi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40febf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x70]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
pop edi
pop esi
pop ebx
jg 0x40fee1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404a90
int3