Function at 0x412d50
Capabilities:
Check if file exists
Create process on windows
Delete file
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45b60b
mov eax, dword fs:[0]
push eax
mov eax, 0x1554
call fcn.0043d9d0
mov eax, dword [0x48106c]
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 esi, ecx
mov dword [ebp - 0x14d4], esi
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0043ffb0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
call fcn.0043ffb0
add esp, 0xc
lea eax, [ebp - 0xa38]
push 0x208
push 0
push eax
call fcn.0043ffb0
add esp, 0xc
mov dword [ebp - 0x14d0], 0
lea edx, [esi + 0x404]
lea ecx, [ebp - 0x218]
push 0x104
call fcn.0040fe30
add esp, 4
cmp word [ebp + eax*2 - 0x21a], 0x5c
jne 0x412e16
lea eax, [eax*2 - 2]
cmp eax, 0x208
jae 0x4137b2
xor ecx, ecx
mov word [ebp + eax - 0x218], cx
cmp dword [esi + 0x1c0], 0
jne 0x412e7e
cmp dword [0x48608c], 6
jb 0x412e7e
lea ecx, [ebp - 0x218]
call fcn.0041dae0
test eax, eax
je 0x412e7e
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
jne 0x412e7e
lea ecx, [ebp - 0x218]
call fcn.0041cdd0
test eax, eax
jne 0x412e7e
push ecx
mov ecx, esi
call fcn.004128e0
mov edi, eax
test edi, edi
jne 0x412e77
cmp dword [esi + 0x1c8], eax
je 0x412e77
push 0x473b5c
push 0x473b70
mov ecx, esi
call fcn.00412780
mov eax, edi
jmp 0x413796
lea ecx, [ebp - 0x218]
call fcn.00427070
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x413769
test al, 0x10
je 0x413769
push ecx
push 0x473b98
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0xa38]
call fcn.0041f690
add esp, 8
cmp dword [esi + 0x1c0], 0
jne 0x412ef5
cmp dword [esi + 0x1c8], 0
jne 0x412ef5
push 0x41
push 0x473bb4
mov ecx, 8
call fcn.0041d5f0
push eax
mov ecx, esi
call fcn.00425c10
cmp eax, 1
jne 0x413794
cmp dword [esi + 0x1a4], 0
jne 0x413102
mov eax, dword [esi + 0x610]
mov dword [ebp - 0x14cc], eax
lea eax, [ebp - 0x628]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x628]
push ecx
mov ecx, edx
call fcn.00426f80
add esp, 4
mov edi, 0x481a50
nop dword [eax + eax]
push 0x473bc4
push dword [edi]
call fcn.00449cd6
neg eax
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0x830]
sbb ebx, ebx
add esp, 4
inc ebx
push dword [edi]
call fcn.0041f690
add esp, 8
cmp dword [ebp - 0x14cc], 0
je 0x413056
lea eax, [ebp - 0xc40]
mov ecx, esi
push eax
push dword [edi]
call fcn.00412bd0
lea eax, [ebp - 0x14d0]
push eax
lea eax, [ebp - 0x830]
push eax
lea edx, [ebp - 0xc40]
lea ecx, [esi + 0x60c]
call fcn.004278c0
add esp, 8
test eax, eax
jne 0x412fd0
lea eax, [ebp - 0x830]
push eax
lea edx, [ebp - 0xc40]
lea ecx, [esi + 0x60c]
call fcn.00427570
add esp, 4
test eax, eax
je 0x4132ec
test ebx, ebx
je 0x4130a2
mov eax, dword [esi + 0x1e0]
cmp word [eax], 0x3a
je 0x4130a2
push eax
push dword [edi]
call fcn.00449cd6
add esp, 8
test eax, eax
je 0x4130a2
push ecx
push dword [esi + 0x1e0]
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0xe48]
call fcn.0041f690
lea eax, [ebp - 0x14d0]
push eax
lea eax, [ebp - 0xe48]
push eax
lea edx, [ebp - 0xc40]
lea ecx, [esi + 0x60c]
call fcn.004278c0
add esp, 0x10
test eax, eax
jne 0x4130a2
lea eax, [ebp - 0xe48]
push eax
lea edx, [ebp - 0xc40]
lea ecx, [esi + 0x60c]
call fcn.00427570
add esp, 4
jmp 0x41309a
push ecx
push dword [edi]
lea edx, [ebp - 0x628]
lea ecx, [ebp - 0x420]
call fcn.0041f690
lea eax, [ebp - 0x14d0]
push eax
lea edx, [ebp - 0x830]
lea ecx, [ebp - 0x420]
call fcn.00427380
add esp, 0xc
test eax, eax
jne 0x4130a2
lea edx, [ebp - 0x830]
lea ecx, [ebp - 0x420]
call fcn.00427110
test eax, eax
je 0x4132ec
add edi, 4
cmp edi, str.TLIB_XXVAL_STATUS_k_Gm
jne 0x412f40
mov eax, 0x4819c8
mov edi, 0x4819b0
xor ebx, ebx
cmp eax, edi
sbb eax, eax
and eax, 0xfffffffa
add eax, 6
mov esi, eax
nop dword [eax]
push ecx
push dword [edi]
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0x830]
call fcn.0041f690
add esp, 8
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
inc ebx
lea edi, [edi + 4]
cmp ebx, esi
jne 0x4130d0
mov esi, dword [ebp - 0x14d4]
cmp dword [esi + 0x1c0], 0
jne 0x413212
mov eax, dword [esi + 0x1f0]
xor edi, edi
mov ecx, dword [esi + 0x1ec]
mov dword [ebp - 0x1448], eax
mov eax, dword [esi + 0x1b0]
mov dword [ebp - 0x14d8], eax
mov eax, dword [esi + 0x1b4]
mov dword [ebp - 0x144c], ecx
mov dword [ebp - 0x1444], 0
mov dword [ebp - 0x14d4], eax
test ecx, ecx
je 0x413212
lea ebx, [ebp - 0x144c]
mov dword [ebp - 0x14cc], edi
nop
lea edx, [ebp - 0x420]
sub edx, ecx
nop dword [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx + edx - 2], ax
test ax, ax
jne 0x413170
test edi, edi
jne 0x413196
lea eax, [ebp - 0x420]
push eax
push dword [ebx]
call fcn.004148e0
test eax, eax
jne 0x4131cb
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4131a0
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push 0x473bf0
push 0x473c0c
lea eax, [eax + ecx*2]
push eax
call fcn.00410120
add esp, 0xc
mov eax, dword [ebp - 0x14cc]
cmp dword [ebp + eax - 0x14d8], 0
je 0x4131f2
sub esp, 0xc
lea edx, [ebp - 0x420]
lea ecx, [ebp - 0xa38]
call fcn.00426db0
add esp, 0xc
inc edi
lea ebx, [ebp - 0x144c]
lea eax, [edi*4]
add ebx, eax
mov dword [ebp - 0x14cc], eax
mov ecx, dword [ebx]
test ecx, ecx
jne 0x413160
push 0
push 0x80000001
lea ecx, [ebp - 0x1560]
call fcn.00422000
push ecx
push 0x473c14
lea ecx, [ebp - 0x1560]
mov dword [ebp - 4], 0
call fcn.004221c0
test eax, eax
je 0x4134be
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.0043ffb0
add esp, 8
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0x628]
push 0x473c48
call fcn.0041f690
add esp, 8
cmp dword [esi + 0x1c0], 0
je 0x413359
push 0
push 0x473c64
lea ecx, [ebp - 0x1560]
call fcn.00422220
test eax, eax
je 0x413359
push ecx
lea eax, [ebp - 0x420]
push eax
push 0x473c78
lea ecx, [ebp - 0x1560]
call fcn.00422510
test eax, eax
je 0x41334e
lea ecx, [ebp - 0x420]
lea eax, [ebp - 0x628]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41333b
test dx, dx
je 0x4132e8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41333b
add eax, 4
add ecx, 4
test dx, dx
jne 0x4132c6
xor eax, eax
jmp 0x413340
cmp dword [esi + 0x1c0], 0
je 0x413325
push 5
lea eax, [ebp - 0x218]
push eax
push 0x473be0
lea eax, [ebp - 0xa38]
push eax
push 0x473be4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.004147b0
jmp 0x413794
mov ecx, 7
call fcn.0041d5f0
push eax
lea eax, [ebp - 0x830]
jmp 0x41378c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x41334e
mov dword [esi + 0x1b8], 1
lea ecx, [ebp - 0x1560]
call fcn.004222e0
cmp dword [esi + 0x1b8], 0
je 0x4134b3
push 1
push 0x473c84
lea ecx, [ebp - 0x1560]
call fcn.00422220
test eax, eax
je 0x4134b3
push 0x473c98
push str.DisplayName
lea ecx, [ebp - 0x1560]
call fcn.004226b0
push ecx
push 0x473cb8
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0x420]
call fcn.0041f690
lea ecx, [ebp - 0x420]
add esp, 8
add ecx, 0xfffffffe
nop dword [eax + eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x4133c0
mov eax, dword [0x473ccc]
mov dword [ecx], eax
mov eax, dword [0x473cd0]
mov dword [ecx + 4], eax
lea eax, [ebp - 0x420]
push eax
push str.UninstallString
lea ecx, [ebp - 0x1560]
call fcn.004226b0
lea eax, [ebp - 0x628]
push eax
push str.DisplayIcon
lea ecx, [ebp - 0x1560]
call fcn.004226b0
call fcn.00410040
push eax
push str.DisplayVersion
lea ecx, [ebp - 0x1560]
call fcn.00422580
push str.H.Shirouzu__FastCopy_Lab__LLC.
push str.Publisher
lea ecx, [ebp - 0x1560]
call fcn.00422580
sub esp, 8
lea ecx, [ebp - 0x1560]
call fcn.00422300
mov ecx, 0xf
call fcn.0041d780
push eax
push str.HelpLink
lea ecx, [ebp - 0x1560]
call fcn.00422580
mov ecx, 0x10
call fcn.0041d780
push eax
push str.URLUpdateInfo
lea ecx, [ebp - 0x1560]
call fcn.00422580
mov ecx, 0x11
call fcn.0041d780
push eax
push str.URLInfoAbout
lea ecx, [ebp - 0x1560]
call fcn.00422580
push str.pub_setup_fastcopy.jp
push 0x473d80
lea ecx, [ebp - 0x1560]
call fcn.00422580
lea ecx, [ebp - 0x1560]
call fcn.004222e0
lea ecx, [ebp - 0x1560]
call fcn.004222e0
cmp dword [esi + 0x1b8], 0
je 0x413511
sub esp, 0xc
lea ecx, [ebp - 0x1560]
call fcn.00422060
test eax, eax
je 0x413511
push 1
push 0x473d94
lea ecx, [ebp - 0x1560]
call fcn.00422220
test eax, eax
je 0x413511
lea eax, [ebp - 0x218]
push eax
push str.Path
lea ecx, [ebp - 0x1560]
call fcn.00422660
lea ecx, [ebp - 0x1560]
call fcn.004222e0
call fcn.0041dad0
test eax, eax
mov eax, dword [0x48608c]
je 0x4135ae
cmp eax, 0xa
ja 0x413544
jne 0x4135ae
mov ecx, dword [0x486090]
test ecx, ecx
jne 0x413544
cmp dword [0x486094], 0x55f0
jb 0x4135ae
push 0x38
lea eax, [ebp - 0x1488]
mov dword [ebp - 0x148c], 0x3c
push 0
push eax
call fcn.0043ffb0
add esp, 0xc
lea eax, [ebp - 0x218]
push str.ReRegisterSparsePackage
push str.FastEx11.dll
push eax
lea eax, [ebp - 0x1440]
push 0x473e00
push eax
call fcn.00410120
add esp, 0x14
mov dword [ebp - 0x147c], 0x473e18
lea eax, [ebp - 0x1440]
mov dword [ebp - 0x1478], eax
lea eax, [ebp - 0x148c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov eax, dword [0x48608c]
cmp dword [esi + 0x1c0], 0
je 0x413602
mov eax, dword [esi + 0x1e0]
lea edi, [ebp - 0xa38]
cmp word [eax], 0x3a
je 0x4135e1
push ecx
lea edi, [ebp - 0xe48]
push eax
lea edx, [ebp - 0x218]
mov ecx, edi
call fcn.0041f690
add esp, 8
push 5
lea eax, [ebp - 0x218]
push eax
push str._UPDATED
push edi
push 0x473e48
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x41374e
cmp eax, 6
jb 0x4136e0
lea ecx, [ebp - 0x218]
call fcn.0041dae0
test eax, eax
je 0x4136e0
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.0043ffb0
add esp, 0xc
mov dword [ebp - 0x14cc], 0
lea eax, [ebp - 0x14cc]
push eax
lea eax, [ebp - 0xc40]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov ecx, dword [esi + 0x1e4]
test ecx, ecx
je 0x413682
lea edx, [ebp - 0x628]
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx + edx - 2], ax
test ax, ax
jne 0x413670
jmp 0x4136c6
push 0x208
lea eax, [ebp - 0xe48]
push 0
push eax
call fcn.0043ffb0
add esp, 0xc
lea eax, [ebp - 0xe48]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push ecx
push dword [ebp - 0x14cc]
lea edx, [ebp - 0xe48]
lea ecx, [ebp - 0x628]
call fcn.0041f690
add esp, 8
push dword [esi + 0x1e8]
lea edx, [ebp - 0x628]
lea ecx, [ebp - 0x218]
call fcn.004137c0
add esp, 4
cmp dword [esi + 0x1c8], 0
jne 0x41374e
cmp dword [ebp - 0x14d0], 0
mov eax, 9
mov ecx, 3
cmovne ecx, eax
call fcn.0041d5f0
push esi
push eax
lea ecx, [ebp - 0x14c8]
call fcn.004154f0
push 0
lea ecx, [ebp - 0x14c8]
call fcn.00427d80
cmp eax, 1
jne 0x413743
push 5
lea eax, [ebp - 0x218]
push eax
push str._INSTALL
lea eax, [ebp - 0xa38]
push eax
push 0x473e70
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x14c8]
call fcn.00415560
push 0
mov ecx, esi
call fcn.004147b0
lea ecx, [ebp - 0x1560]
call fcn.00422040
mov eax, 1
jmp 0x413796
cmp dword [esi + 0x1c8], 0
jne 0x41377b
cmp dword [esi + 0x1c0], 0
jne 0x413794
mov ecx, 6
call fcn.0041d5f0
push eax
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.00412780
xor eax, eax
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.0043c755
mov esp, ebp
pop ebp
ret
call fcn.0043cc7a
int3