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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100467de
mov eax, dword fs:[0]
push eax
sub esp, 0x4a8
mov eax, dword [0x10057060]
xor eax, esp
mov dword [esp + 0x4a0], eax
push ebx
push esi
push edi
mov eax, dword [0x10057060]
xor eax, esp
push eax
lea eax, [esp + 0x4b8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0xc]
mov esi, ecx
mov dword [esp + 0x14], eax
lea eax, [esi + 4]
push eax
mov dword [esp + 0x1c], 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.10012b08
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.10031290
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.10031290
add esp, 0xc
lea eax, [esp + 0x94]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x18], 0x10
jb 0x100105d1
mov eax, dword [eax + 4]
jmp 0x100105d4
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.10012551
xor edi, edi
inc edi
push str.username
lea ecx, [esp + 0x28]
mov dword [esp + 0x4c4], edi
call fcn.10005029
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x78]
push eax
mov byte [esp + 0x4c8], 2
call fcn.10012587
push 0xffffffffffffffff
push ebx
push dword [esp + 0x24]
mov ecx, eax
call fcn.10005912
push ebx
push edi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4c8], 1
call fcn.10005a12
push str.password
lea ecx, [esp + 0x28]
call fcn.10005029
push dword [esp + 0x14]
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0x4c8], 3
call fcn.100281c9
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.10012587
push 0xffffffffffffffff
push ebx
push dword [esp + 0x1c]
mov ecx, eax
call fcn.10005912
push ebx
push edi
lea ecx, [esp + 0x48]
call fcn.10005a12
push ebx
push edi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4c8], 1
call fcn.10005a12
sub esp, 0x20
mov eax, esp
mov dword [esp + 0x40], esp
push eax
lea ecx, [esp + 0x98]
call fcn.10012653
lea eax, [esp + 0xb4]
push eax
push edi
lea eax, [esp + 0x84]
push eax
mov ecx, esi
call fcn.1000f896
lea eax, [esp + 0x94]
push eax
mov byte [esp + 0x4c4], 5
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x1001072a
lea eax, [esp + 0x94]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x1001072a
push 0x104
lea eax, [esp + 0x98]
push eax
push 0x1005b2a0
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push str.uuid:
lea ecx, [esp + 0x28]
call fcn.10005029
lea eax, [esp + 0x5c]
push eax
mov edx, str.data
mov byte [esp + 0x4c4], 6
call fcn.1001e4de
push eax
lea ecx, [esp + 0x28]
call fcn.10009fea
pop ecx
push ebx
push edi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1b], al
mov byte [esp + 0x4c8], 5
call fcn.10005a12
cmp byte [esp + 0x13], bl
je 0x100108ce
lea eax, [esp + 0x5c]
push eax
mov edx, str.data
call fcn.1001e4de
push eax
mov edx, str.uuid
call fcn.1001e4de
push eax
lea ecx, [esp + 0x44]
call fcn.1001d791
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x5c]
push eax
mov byte [esp + 0x4cc], 7
call fcn.10005912
push ebx
push edi
lea ecx, [esp + 0x48]
mov byte [esp + 0x4c8], 5
call fcn.10005a12
cmp dword [esi + 0x70], ebx
je 0x100108ce
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.10031290
add esp, 0xc
lea edi, [esp + 0x19c]
call fcn.10015d1c
cmp word [esp + 0x19c], bx
je 0x100108cb
mov eax, edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.projonepodrive
push eax
call edi
add esi, 0x1c
lea eax, [esp + 0x40]
push esi
push eax
call fcn.1000125f
cmp dword [eax + 0x18], 8
pop ecx
pop ecx
jb 0x1001083b
mov eax, dword [eax + 4]
jmp 0x1001083e
add eax, 4
push eax
lea eax, [esp + 0x1a0]
push eax
call edi
push ebx
push 1
lea esi, [esp + 0x48]
call fcn.10005bea
push str.cache
lea eax, [esp + 0x1a0]
push eax
call edi
mov eax, dword [esp + 0x18]
add eax, 0x5c
cmp dword [eax + 0x18], 0x10
jb 0x10010876
mov eax, dword [eax + 4]
jmp 0x10010879
add eax, 4
push eax
push str._hs.did
lea ecx, [esp + 0x48]
call fcn.10015944
cmp dword [eax + 0x18], 8
pop ecx
pop ecx
jb 0x10010895
mov eax, dword [eax + 4]
jmp 0x10010898
add eax, 4
push eax
lea eax, [esp + 0x1a0]
push eax
call edi
push ebx
push 1
lea esi, [esp + 0x48]
call fcn.10005bea
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x19c]
push eax
lea eax, [esi + 0x78]
push eax
call fcn.10005b48
mov ecx, esi
call fcn.1000fdc9
xor edi, edi
inc edi
push str.code
lea ecx, [esp + 0x28]
call fcn.10005029
lea eax, [esp + 0x24]
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x64]
mov byte [esp + 0x4c8], 8
call fcn.1000141f
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.10005a12
cmp byte [esp + 0x13], bl
je 0x1001091a
mov byte [esi + 0xb4], 1
mov bl, 1
lea esi, [esp + 0x5c]
mov byte [esp + 0x4c0], 1
call fcn.1001d5a3
or dword [esp + 0x4c0], 0xffffffff
lea eax, [esp + 0x74]
push eax
call fcn.100126fd
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.1002cf2d
mov esp, ebp
pop ebp
ret 8