Function at 0x1001077e
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100477f9
mov eax, dword fs:[0]
push eax
sub esp, 0x4a8
mov eax, dword [0x10058060]
xor eax, esp
mov dword [esp + 0x4a0], eax
push ebx
push esi
push edi
mov eax, dword [0x10058060]
xor eax, esp
push eax
lea eax, [esp + 0x4b8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
mov esi, ecx
mov dword [esp + 0x14], eax
lea eax, [esi + 4]
push eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
lea edi, [esi + 0x94]
mov dword [esp + 0x4c0], ebx
call fcn.10012e7a
or dword [esp + 0x4c0], 0xffffffff
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, 0x103
push edi
lea eax, [esp + 0x3a9]
push ebx
push eax
mov byte [esp + 0x3b0], bl
call fcn.100321a0
add esp, 0xc
push 0x104
lea eax, [esp + 0x3a8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push edi
lea eax, [esp + 0x99]
push ebx
push eax
mov byte [esp + 0xa0], bl
call fcn.100321a0
add esp, 0xc
lea eax, [esp + 0x94]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x18], 0x10
jb 0x10010873
mov eax, dword [eax + 4]
jmp 0x10010876
add eax, 4
push eax
lea eax, [esp + 0x98]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [esp + 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esp + 0x74]
push eax
call fcn.100128c3
xor edi, edi
inc edi
push str.username
lea ecx, [esp + 0x28]
mov dword [esp + 0x4c4], edi
call fcn.1000520a
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x78]
push eax
mov byte [esp + 0x4c8], 2
call fcn.100128f9
push 0xffffffffffffffff
push ebx
push dword [esp + 0x20]
mov ecx, eax
call fcn.10005ac0
push ebx
push edi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4c8], 1
call fcn.10005c5b
push str.password
lea ecx, [esp + 0x28]
call fcn.1000520a
push dword [esp + 0x14]
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0x4c8], 3
call fcn.100289d1
pop ecx
pop ecx
mov dword [esp + 0x14], eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x78]
push eax
mov byte [esp + 0x4c8], 4
call fcn.100128f9
push 0xffffffffffffffff
push ebx
push dword [esp + 0x1c]
mov ecx, eax
call fcn.10005ac0
push ebx
push edi
lea ecx, [esp + 0x48]
call fcn.10005c5b
push ebx
push edi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4c8], 1
call fcn.10005c5b
sub esp, 0x20
mov eax, esp
mov dword [esp + 0x40], esp
push eax
lea ecx, [esp + 0x98]
call fcn.100129c5
lea eax, [esp + 0xb4]
push eax
push edi
lea eax, [esp + 0x84]
push eax
mov ecx, esi
call fcn.1000fb38
lea eax, [esp + 0x94]
push eax
mov byte [esp + 0x4c4], 5
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x100109cc
lea eax, [esp + 0x94]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x100109cc
push 0x104
lea eax, [esp + 0x98]
push eax
push 0x1005c2a0
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push str.uuid:
lea ecx, [esp + 0x28]
call fcn.1000520a
lea eax, [esp + 0x5c]
push eax
mov edx, str.data
mov byte [esp + 0x4c4], 6
call fcn.1001e827
push eax
lea ecx, [esp + 0x28]
call fcn.1000a1b9
pop ecx
push ebx
push edi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1b], al
mov byte [esp + 0x4c8], 5
call fcn.10005c5b
cmp byte [esp + 0x13], bl
je 0x10010b7a
lea eax, [esp + 0x5c]
push eax
mov edx, str.data
call fcn.1001e827
push eax
mov edx, str.uuid
call fcn.1001e827
push eax
lea ecx, [esp + 0x44]
call fcn.1001dad7
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x5c]
push eax
mov byte [esp + 0x4cc], 7
mov dword [esp + 0x20], ecx
call fcn.10005ac0
push ebx
push edi
lea ecx, [esp + 0x48]
mov byte [esp + 0x4c8], 5
call fcn.10005c5b
cmp dword [esi + 0x70], ebx
je 0x10010b7a
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
xor eax, eax
push 0x206
mov word [esp + 0x1a0], ax
lea eax, [esp + 0x1a2]
push ebx
push eax
call fcn.100321a0
add esp, 0xc
lea eax, [esp + 0x19c]
push eax
call fcn.100160b3
cmp word [esp + 0x19c], bx
je 0x10010b7a
push str.projonepodrive
lea eax, [esp + 0x1a0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
add esi, 0x1c
lea eax, [esp + 0x40]
push esi
push eax
call fcn.100012dd
cmp dword [eax + 0x18], 8
pop ecx
pop ecx
jb 0x10010ae5
mov eax, dword [eax + 4]
jmp 0x10010ae8
add eax, 4
push eax
lea eax, [esp + 0x1a0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push ebx
push edi
lea esi, [esp + 0x48]
call fcn.10005e33
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.cache
lea eax, [esp + 0x1a0]
push eax
call esi
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x18], 0x10
jb 0x10010b26
mov eax, dword [eax + 4]
jmp 0x10010b29
add eax, 4
push eax
push str._hs.did
lea ecx, [esp + 0x48]
call fcn.10015cdb
cmp dword [eax + 0x18], 8
pop ecx
pop ecx
jb 0x10010b45
mov eax, dword [eax + 4]
jmp 0x10010b48
add eax, 4
push eax
lea eax, [esp + 0x1a0]
push eax
call esi
push ebx
push edi
lea esi, [esp + 0x48]
call fcn.10005e33
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x19c]
push eax
lea eax, [esi + 0x78]
push eax
call fcn.10005d91
mov ecx, esi
call fcn.1001006b
push str.code
lea ecx, [esp + 0x28]
call fcn.1000520a
lea eax, [esp + 0x24]
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x64]
mov byte [esp + 0x4c8], 8
call fcn.10001456
pop ecx
pop ecx
neg eax
sbb al, al
push ebx
inc al
push edi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1b], al
call fcn.10005c5b
cmp byte [esp + 0x13], bl
je 0x10010bc6
mov byte [esi + 0xb4], 1
mov bl, 1
lea esi, [esp + 0x5c]
mov byte [esp + 0x4c0], 1
call fcn.1001d8e9
or dword [esp + 0x4c0], 0xffffffff
lea eax, [esp + 0x74]
push eax
call fcn.10012a6f
mov al, bl
mov ecx, dword [esp + 0x4b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4a0]
xor ecx, esp
call fcn.1002dda4
mov esp, ebp
pop ebp
ret 8