Function at 0x1002ffe0
Capabilities:
Check if file exists
Create directory
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10123f60
mov eax, dword fs:[0]
push eax
sub esp, 0x37c
mov eax, dword [0x10167c60]
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 eax, dword [ebp + 8]
mov dword [ebp - 0x388], eax
mov dword [ebp - 0x384], eax
xor eax, eax
mov dword [ebp - 0x380], eax
push 0x208
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
push eax
call fcn.100e67c0
add esp, 0xc
lea eax, [ebp - 0x218]
push 1
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x10030076
call fcn.100088b0
mov ecx, eax
test ecx, ecx
je 0x10030806
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x374], esi
jmp 0x10030108
push str.360wpCommonCache
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
call fcn.100088b0
mov ecx, eax
test ecx, ecx
je 0x10030810
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x374], eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x374]
call fcn.10016a90
test al, al
jne 0x10030102
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100300e0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x374]
call fcn.1000b940
mov esi, dword [ebp - 0x374]
mov dword [ebp - 0x380], 2
push ecx
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 2
mov ecx, esp
push eax
call fcn.1000d040
lea eax, [ebp - 0x378]
push eax
call fcn.1002f8a0
add esp, 8
mov ecx, dword [esi - 0x10]
lea edi, [esi - 0x10]
mov byte [ebp - 4], 4
mov dword [ebp - 0x37c], edi
test ecx, ecx
je 0x10030150
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x10030166
call fcn.100088b0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x1003081a
mov eax, dword [ecx]
call dword [eax + 0xc]
push 1
push 0x101310e0
push dword [esi - 0xc]
add eax, 0x10
mov dword [ebp - 0x380], 6
mov dword [ebp - 0x368], eax
lea eax, [ebp - 0x368]
push esi
push eax
call fcn.1002f820
lea eax, [ebp - 0x378]
push eax
lea eax, [ebp - 0x368]
push eax
lea eax, [ebp - 0x36c]
push eax
call fcn.1002e8b0
add esp, 0x20
mov edx, dword [ebp - 0x368]
or ebx, 0xffffffff
mov byte [ebp - 4], 6
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100301d6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x36c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100304ac
call fcn.100088b0
mov ecx, eax
test ecx, ecx
je 0x10030824
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x368], esi
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 9
push eax
push dword [ebp - 0x36c]
call fcn.10098b70
add esp, 8
cmp dword [ebp + 0x10], 0
jne 0x1003030d
push str.45476F8083D74BA28A2DD8ED399737B7
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], 0
call fcn.10032280
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.100958a0
add esp, 0xc
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x260]
mov edi, eax
call fcn.10007e60
test edi, edi
je 0x10030394
cmp dword [ebp - 0x21c], 0x10
lea eax, [ebp - 0x230]
lea ecx, [ebp - 0x360]
cmovae eax, dword [ebp - 0x230]
push 0xfde9
mov dword [ebp - 0x364], ecx
lea ecx, [ebp - 0x364]
push eax
call fcn.10030850
push dword [ebp - 0x364]
lea ecx, [ebp - 0x368]
mov byte [ebp - 4], 0xb
call fcn.10008380
jmp 0x10030371
cmp dword [ebp - 0x234], 0x10
lea eax, [ebp - 0x248]
lea ecx, [ebp - 0x360]
cmovae eax, dword [ebp - 0x248]
push 0xfde9
mov dword [ebp - 0x364], ecx
lea ecx, [ebp - 0x364]
push eax
call fcn.10030850
mov edx, dword [ebp - 0x364]
mov byte [ebp - 4], 0xc
test edx, edx
jne 0x10030350
xor ecx, ecx
jmp 0x10030364
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10030355
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x368]
call fcn.1000b940
mov eax, dword [ebp - 0x364]
lea ecx, [ebp - 0x360]
mov byte [ebp - 4], 9
cmp eax, ecx
je 0x1003038e
push eax
call fcn.100e9f68
add esp, 4
mov esi, dword [ebp - 0x368]
cmp dword [esi - 0xc], 0
je 0x10030469
mov edi, dword [ebp - 0x384]
lea eax, [ebp - 0x368]
push eax
mov ecx, edi
call fcn.1000d040
lea ecx, [ebp - 0x230]
call fcn.10007e60
lea ecx, [ebp - 0x248]
call fcn.10007e60
mov byte [ebp - 4], 6
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100303e3
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x36c]
mov eax, ebx
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10030404
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x378]
mov eax, ebx
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10030425
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x37c]
mov eax, ebx
mov byte [ebp - 4], 0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10030443
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10030462
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
jmp 0x100307ea
push dword [ebp - 0x36c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x230]
call fcn.10007e60
lea ecx, [ebp - 0x248]
call fcn.10007e60
mov byte [ebp - 4], 6
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100304a6
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x37c]
call fcn.100088b0
mov ecx, eax
test ecx, ecx
je 0x1003082e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x370], eax
push 0
push 0x2710
lea eax, [ebp - 0x370]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.1003e710
add esp, 0x10
test eax, eax
jne 0x10030535
call fcn.100088b0
mov ecx, eax
test ecx, ecx
je 0x10030838
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [ebp - 0x384]
add eax, 0x10
mov dword [esi], eax
push 0x101308ac
mov ecx, esi
mov byte [ebp - 4], 0xe
call fcn.10016a90
test al, al
jne 0x1003074e
push 0
push 0x101308ac
mov ecx, esi
call fcn.1000b940
jmp 0x1003074e
mov eax, dword [ebp - 0x370]
push dword [eax - 0xc]
push eax
push dword [ebp - 0x36c]
call fcn.10098d50
add esp, 0xc
call fcn.100088b0
mov ecx, eax
test ecx, ecx
je 0x10030842
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x368], eax
cmp dword [ebp + 0x10], 0
mov byte [ebp - 4], 0xf
jne 0x100306a3
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
push str.45476F8083D74BA28A2DD8ED399737B7
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.10032280
push dword [ebp - 0x370]
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], 0
call fcn.10032280
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.100958a0
add esp, 0xc
lea ecx, [ebp - 0x260]
mov esi, eax
call fcn.10007e60
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0x10
call fcn.10007e60
test esi, esi
je 0x10030692
cmp dword [ebp - 0x21c], 0x10
lea eax, [ebp - 0x230]
lea ecx, [ebp - 0x360]
cmovae eax, dword [ebp - 0x230]
push 0xfde9
mov dword [ebp - 0x364], ecx
lea ecx, [ebp - 0x364]
push eax
call fcn.10030850
push dword [ebp - 0x364]
lea ecx, [ebp - 0x368]
mov byte [ebp - 4], 0x13
call fcn.10008380
mov eax, dword [ebp - 0x364]
lea ecx, [ebp - 0x360]
cmp eax, ecx
je 0x10030692
push eax
call fcn.100e9f68
add esp, 4
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0xf
call fcn.10007e60
jmp 0x10030719
push 0xfde9
push dword [ebp - 0x370]
lea eax, [ebp - 0x360]
lea ecx, [ebp - 0x364]
mov dword [ebp - 0x364], eax
call fcn.10030850
mov edx, dword [ebp - 0x364]
mov byte [ebp - 4], 0x14
test edx, edx
jne 0x100306d7
xor ecx, ecx
jmp 0x100306ef
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100306e0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x368]
call fcn.1000b940
mov eax, dword [ebp - 0x364]
lea ecx, [ebp - 0x360]
mov byte [ebp - 4], 0xf
cmp eax, ecx
je 0x10030719
push eax
call fcn.100e9f68
add esp, 4
mov esi, dword [ebp - 0x384]
lea eax, [ebp - 0x368]
push eax
mov ecx, esi
call fcn.1000d040
mov edx, dword [ebp - 0x368]
mov eax, ebx
mov byte [ebp - 4], 0xd
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003074e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x370]
mov eax, ebx
add edx, 0xfffffff0
mov byte [ebp - 4], 6
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003076f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x36c]
mov eax, ebx
add edx, 0xfffffff0
mov byte [ebp - 4], 3
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10030790
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x378]
mov eax, ebx
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100307b1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
mov byte [ebp - 4], 0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x100307c9
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x100307e8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
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.100c495f
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10008520
push 0x80004005
call fcn.10008520
push 0x80004005
call fcn.10008520
push 0x80004005
call fcn.10008520
push 0x80004005
call fcn.10008520
push 0x80004005
call fcn.10008520
push 0x80004005
call fcn.10008520
int3