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

Disassembly:
push 0xffffffffffffffff
push 0x43c746
mov eax, dword fs:[0]
push eax
sub esp, 0x318
mov eax, dword [0x44c274]
xor eax, esp
mov dword [esp + 0x314], eax
push ebp
push esi
push edi
mov eax, dword [0x44c274]
xor eax, esp
push eax
lea eax, [esp + 0x328]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0x338]
lea ecx, [esp + 0x14]
call fcn.0042f930
push 0x104
lea eax, [esp + 0x1c]
push 0
push eax
mov dword [esp + 0x33c], 0
call fcn.00414950
push 0x104
lea ecx, [esp + 0x230]
push 0
push ecx
call fcn.00414950
add esp, 0x18
push 0x104
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push str.System32
lea eax, [esp + 0x1c]
push 0x104
push eax
call fcn.0041f4a9
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x18]
call fcn.0042f480
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
jne 0x42bed7
push 0
lea edx, [esp + 0x1c]
push edx
call edi
push str._accredit.dat
lea eax, [esp + 0x1c]
push 0x104
push eax
call fcn.0041f4a9
add esp, 0xc
push 0x104
lea ecx, [esp + 0x224]
push ecx
mov ecx, esi
call fcn.00427af0
push 0x442b00
lea edx, [esp + 0x224]
push 0x104
push edx
call fcn.0041f4a9
push str.accredit.dat
lea eax, [esp + 0x230]
push 0x104
push eax
call fcn.0041f4a9
add esp, 0x18
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x18]
call sub.SHLWAPI.dll_PathFileExistsA
test eax, eax
jne 0x42bfa2
lea edx, [esp + 0x220]
push edx
lea ecx, [esp + 0x18]
call sub.SHLWAPI.dll_PathFileExistsA
test eax, eax
jne 0x42bf78
lea ecx, [esp + 0x14]
mov dword [esp + 0x330], 0xffffffff
call fcn.0042f410
mov eax, 0x11
jmp 0x42c0da
push 0x104
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.00414950
add esp, 0xc
xor eax, eax
mov edi, edi
mov cl, byte [esp + eax + 0x18]
mov byte [esp + eax + 0x220], cl
add eax, 1
test cl, cl
jne 0x42bf90
push 0x104
lea ecx, [esp + 0x120]
push 0
push ecx
call fcn.00414950
add esp, 0xc
lea edx, [esp + 0x11c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
lea ecx, [esp + 0x14]
jne 0x42bfee
mov dword [esp + 0x330], 0xffffffff
call fcn.0042f410
mov eax, 0x11
jmp 0x42c0da
lea eax, [esp + 0x11c]
push eax
call fcn.0042f480
test eax, eax
jne 0x42c00a
push eax
lea ecx, [esp + 0x120]
push ecx
call edi
lea eax, [esp + 0x11c]
or edi, 0xffffffff
add eax, edi
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x42c016
mov edx, dword [str.mylicense.lic]
mov ecx, dword [0x4429d4]
mov dword [eax], edx
mov edx, dword [0x4429d8]
mov dword [eax + 4], ecx
mov cx, word [0x4429dc]
mov dword [eax + 8], edx
mov word [eax + 0xc], cx
lea ecx, [esp + 0x13]
call fcn.0042f930
lea edx, [esp + 0x11c]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1b]
mov byte [esp + 0x338], 1
call fcn.0042fba0
test eax, eax
jne 0x42c097
lea ecx, [esp + 0x13]
mov byte [esp + 0x330], al
call fcn.0042f410
lea ecx, [esp + 0x14]
mov dword [esp + 0x330], edi
call fcn.0042f410
mov eax, 0x11
jmp 0x42c0da
push ebp
lea ecx, [esp + 0x120]
push ecx
mov ecx, esi
call fcn.0042afb0
lea edx, [esp + 0x11c]
push edx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x13]
mov byte [esp + 0x330], 0
call fcn.0042f410
lea ecx, [esp + 0x14]
mov dword [esp + 0x330], edi
call fcn.0042f410
mov eax, esi
mov ecx, dword [esp + 0x328]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x314]
xor ecx, esp
call fcn.004144f2
add esp, 0x324
ret 4