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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100aa769
mov eax, dword fs:[0]
push eax
sub esp, 0x378
mov eax, dword [0x100db688]
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 - 0x37c], eax
mov dword [ebp - 0x384], eax
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.10081e40
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 0x10014843
call fcn.10007040
mov ecx, eax
test ecx, ecx
je 0x10015018
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x370], edi
jmp 0x100148d8
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.10007040
mov ecx, eax
test ecx, ecx
je 0x10015022
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x370], eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
test eax, 0xffff0000
jne 0x100148a5
movzx eax, ax
lea ecx, [ebp - 0x370]
push eax
call fcn.1000ab30
jmp 0x100148d2
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100148b0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x370]
call fcn.10007260
mov edi, dword [ebp - 0x370]
push ecx
mov esi, esp
mov byte [ebp - 4], 2
mov dword [ebp - 0x380], esi
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.10006d00
add eax, 0x10
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0x378]
push eax
call fcn.10013d50
push 0x100b3948
lea eax, [ebp - 0x370]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x380]
push eax
call fcn.10009ed0
lea ecx, [ebp - 0x378]
mov byte [ebp - 4], 4
push ecx
push eax
lea eax, [ebp - 0x36c]
push eax
call fcn.10009e20
add esp, 0x20
mov edx, dword [ebp - 0x380]
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 0x10014960
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 0x10014c21
call fcn.10007040
mov ecx, eax
test ecx, ecx
je 0x1001502c
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.1005e970
add esp, 8
cmp dword [ebp + 0x10], 0
jne 0x10014a89
push 0x20
push str.45476F8083D74BA28A2DD8ED399737B7
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], 0
call fcn.1000bdb0
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.1004a5e0
add esp, 0xc
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x260]
mov ebx, eax
call fcn.10006b60
test ebx, ebx
je 0x10014b00
cmp dword [ebp - 0x21c], 0x10
lea eax, [ebp - 0x230]
push 0xfde9
cmovae eax, dword [ebp - 0x230]
lea ecx, [ebp - 0x364]
push eax
call fcn.1000f930
push dword [eax]
lea ecx, [ebp - 0x368]
mov byte [ebp - 4], 0xb
call fcn.10010aa0
jmp 0x10014add
cmp dword [ebp - 0x234], 0x10
lea eax, [ebp - 0x248]
push 0xfde9
cmovae eax, dword [ebp - 0x248]
lea ecx, [ebp - 0x364]
push eax
call fcn.1000f930
mov edx, dword [eax]
mov byte [ebp - 4], 0xc
test edx, edx
jne 0x10014abc
xor ecx, ecx
jmp 0x10014ad0
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10014ac1
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x368]
call fcn.10007260
mov eax, dword [ebp - 0x364]
lea ecx, [ebp - 0x360]
mov byte [ebp - 4], 9
cmp eax, ecx
je 0x10014afa
push eax
call fcn.10088bae
add esp, 4
mov esi, dword [ebp - 0x368]
cmp dword [esi - 0xc], 0
je 0x10014be1
lea eax, [esi - 0x10]
push eax
mov dword [ebp - 0x374], eax
call fcn.10006d00
mov esi, dword [ebp - 0x37c]
lea ecx, [ebp - 0x230]
add esp, 4
add eax, 0x10
mov dword [esi], eax
call fcn.10006b60
lea ecx, [ebp - 0x248]
call fcn.10006b60
mov edx, dword [ebp - 0x374]
or ebx, 0xffffffff
mov byte [ebp - 4], 6
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10014b5e
mov ecx, dword [edx]
push edx
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 0x10014b7f
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 0x10014ba0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x10014bbb
mov ecx, dword [edi]
push edi
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 0x10014bda
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
jmp 0x10014ffc
push dword [ebp - 0x36c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x230]
call fcn.10006b60
lea ecx, [ebp - 0x248]
call fcn.10006b60
or ebx, 0xffffffff
mov byte [ebp - 4], 6
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10014c21
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.10007040
mov ecx, eax
test ecx, ecx
je 0x10015036
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x368], eax
push 0
push 0x2710
lea eax, [ebp - 0x368]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.1001e360
add esp, 0x10
test eax, eax
jne 0x10014d54
call fcn.10007040
mov ecx, eax
test ecx, ecx
je 0x10015040
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [ebp - 0x37c]
add eax, 0x10
mov dword [esi], eax
mov eax, 0x100b3628
mov byte [ebp - 4], 0xe
mov ecx, esi
test eax, 0xffff0000
jne 0x10014ca0
movzx eax, ax
push eax
call fcn.1000ab30
jmp 0x10014cac
push 0
push 0x100b3628
call fcn.10007260
mov edx, dword [ebp - 0x368]
mov eax, ebx
mov byte [ebp - 4], 6
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10014ccd
mov ecx, dword [edx]
push edx
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 0x10014cee
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 0x10014d0f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x10014d2a
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10014bda
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
jmp 0x10014ffc
mov esi, dword [ebp - 0x368]
push dword [esi - 0xc]
push esi
push dword [ebp - 0x36c]
call fcn.1005eb50
add esp, 0xc
call fcn.10007040
mov ecx, eax
test ecx, ecx
je 0x1001504a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x374], eax
cmp dword [ebp + 0x10], 0
mov byte [ebp - 4], 0xf
jne 0x10014ebe
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
push 0x20
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.1000bdb0
mov ecx, esi
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10014e07
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x260]
call fcn.1000bdb0
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.1004a5e0
add esp, 0xc
lea ecx, [ebp - 0x260]
mov ebx, eax
call fcn.10006b60
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0x10
call fcn.10006b60
test ebx, ebx
je 0x10014ead
cmp dword [ebp - 0x21c], 0x10
lea eax, [ebp - 0x230]
push 0xfde9
cmovae eax, dword [ebp - 0x230]
lea ecx, [ebp - 0x364]
push eax
call fcn.1000f930
push dword [eax]
lea ecx, [ebp - 0x374]
mov byte [ebp - 4], 0x13
call fcn.10010aa0
mov eax, dword [ebp - 0x364]
lea ecx, [ebp - 0x360]
cmp eax, ecx
je 0x10014ead
push eax
call fcn.10088bae
add esp, 4
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0xf
call fcn.10006b60
jmp 0x10014f1b
push 0xfde9
push esi
lea ecx, [ebp - 0x364]
call fcn.1000f930
mov edx, dword [eax]
mov byte [ebp - 4], 0x14
test edx, edx
jne 0x10014edd
xor ecx, ecx
jmp 0x10014ef1
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10014ee2
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x374]
call fcn.10007260
mov eax, dword [ebp - 0x364]
lea ecx, [ebp - 0x360]
mov byte [ebp - 4], 0xf
cmp eax, ecx
je 0x10014f1b
push eax
call fcn.10088bae
add esp, 4
mov eax, dword [ebp - 0x374]
add eax, 0xfffffff0
push eax
mov dword [ebp - 0x384], eax
call fcn.10006d00
mov ecx, dword [ebp - 0x37c]
add eax, 0x10
mov edx, dword [ebp - 0x384]
or ebx, 0xffffffff
add esp, 4
mov byte [ebp - 4], 0xd
mov dword [ecx], eax
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10014f5f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10014f7a
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 0x10014f9b
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 0x10014fbc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x10014fd7
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10014ff6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x37c]
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.10061c7c
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10006cd0
push 0x80004005
call fcn.10006cd0
push 0x80004005
call fcn.10006cd0
push 0x80004005
call fcn.10006cd0
push 0x80004005
call fcn.10006cd0
push 0x80004005
call fcn.10006cd0
int3