Function at 0x4275b0
Capabilities:
Check if file exists
Copy file
Delete file
Get common file path
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x439cc6
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x448270]
xor eax, esp
mov dword [esp + 0x41c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x448270]
xor eax, esp
push eax
lea eax, [esp + 0x434]
mov dword fs:[0], eax
mov dword [esp + 0x1c], ecx
mov ebx, dword [esp + 0x444]
lea ecx, [esp + 0x18]
call fcn.0042cdb0
push 0x104
lea eax, [esp + 0x24]
push 0
push eax
mov dword [esp + 0x448], 0
call fcn.004141c0
push 0x104
lea ecx, [esp + 0x134]
push 0
push ecx
call fcn.004141c0
push 0x104
lea edx, [esp + 0x244]
push 0
push edx
call fcn.004141c0
add esp, 0x24
lea eax, [esp + 0x124]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [esp + 0x124]
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x427663
mov ecx, dword [str.mylicense.lic]
mov edx, dword [0x43f878]
mov dword [eax], ecx
mov ecx, dword [0x43f87c]
mov dword [eax + 4], edx
mov dx, word [0x43f880]
mov dword [eax + 8], ecx
mov word [eax + 0xc], dx
lea eax, [esp + 0x124]
push eax
lea ecx, [esp + 0x1c]
call sub.SHLWAPI.dll_PathFileExistsA
test eax, eax
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
je 0x4276b7
lea ecx, [esp + 0x124]
push ecx
call ebp
mov edi, dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x104
lea edx, [esp + 0x24]
push edx
call edi
push str.System32_
lea eax, [esp + 0x24]
push 0x104
push eax
call fcn.0041ed58
push str.accredit.dat
lea ecx, [esp + 0x30]
push 0x104
push ecx
call fcn.0041ed58
add esp, 0x18
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x1c]
call sub.SHLWAPI.dll_PathFileExistsA
test eax, eax
je 0x42770d
lea eax, [esp + 0x20]
push eax
call ebp
lea ecx, [esp + 0x124]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0042e8b0
mov esi, eax
test esi, esi
je 0x427749
cmp esi, 0xffffffff
je 0x427749
push ebx
push esi
lea ecx, [esp + 0x20]
call fcn.0042e910
test eax, eax
push esi
jne 0x427789
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x124]
push edx
call ebp
lea ecx, [esp + 0x18]
mov dword [esp + 0x43c], 0xffffffff
call fcn.00401bf0
xor eax, eax
mov ecx, dword [esp + 0x434]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x41c]
xor ecx, esp
call fcn.00413d5c
add esp, 0x42c
ret 4
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x17]
call fcn.0042cdb0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x128]
push ecx
lea ecx, [esp + 0x1f]
mov byte [esp + 0x444], 1
call fcn.0042ee30
lea edx, [esp + 0x124]
push edx
mov ebx, eax
call ebp
push 0x104
lea eax, [esp + 0x22c]
push eax
call edi
test eax, eax
jne 0x4277ea
lea ecx, [esp + 0x17]
mov byte [esp + 0x43c], al
call fcn.00401bf0
jmp 0x427749
lea eax, [esp + 0x228]
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x4277f4
mov ecx, dword [str.System]
mov edx, dword [0x43f9b8]
mov dword [eax], ecx
mov dword [eax + 4], edx
lea eax, [esp + 0x228]
add eax, 0xffffffff
lea esp, [esp]
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x427820
mov ecx, dword [str._accredit.dat]
mov edx, dword [0x43f9a8]
mov dword [eax], ecx
mov ecx, dword [0x43f9ac]
mov dword [eax + 4], edx
mov dx, word [0x43f9b0]
mov dword [eax + 8], ecx
mov word [eax + 0xc], dx
lea eax, [esp + 0x228]
push eax
call ebp
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0
lea ecx, [esp + 0x22c]
push ecx
lea edx, [esp + 0x28]
push edx
call esi
mov ecx, dword [esp + 0x1c]
push 0x104
lea eax, [esp + 0x330]
push eax
call fcn.004270a0
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
je 0x4278f6
lea eax, [esp + 0x32c]
add eax, 0xffffffff
lea ebx, [ebx]
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x4278a0
mov ecx, dword [str._accredit.dat]
mov edx, dword [0x43f9a8]
mov dword [eax], ecx
mov ecx, dword [0x43f9ac]
mov dword [eax + 4], edx
mov dx, word [0x43f9b0]
mov dword [eax + 8], ecx
mov word [eax + 0xc], dx
lea eax, [esp + 0x32c]
push eax
call ebp
push 0
lea ecx, [esp + 0x330]
push ecx
lea edx, [esp + 0x28]
push edx
call esi
push 0x22
lea eax, [esp + 0x330]
push eax
call edi
push 0x22
lea ecx, [esp + 0x24]
push ecx
call edi
push 0x22
lea edx, [esp + 0x22c]
push edx
call edi
lea ecx, [esp + 0x17]
mov byte [esp + 0x43c], 0
call fcn.00401bf0
lea ecx, [esp + 0x18]
mov dword [esp + 0x43c], 0xffffffff
call fcn.00401bf0
test ebx, ebx
je 0x42775d
mov eax, 1
jmp 0x42775f