Function at 0x427910
Capabilities:
Check if file exists
Get common file path
Get startup folder

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a13f5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30c
mov eax, dword [0x4c400c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x238]
mov dword [ebp - 0x2d0], 0
push 0
push eax
call fcn.0043e790
xor eax, eax
mov dword [ebp - 0x2c8], 0
add esp, 0xc
mov dword [ebp - 0x2b8], 0
mov dword [ebp - 0x2b4], 7
mov word [ebp - 0x2c8], ax
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x238]
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x4279b7
mov al, 1
jmp 0x42821b
xor eax, eax
mov dword [ebp - 0x250], 0
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 7
lea edx, [ecx + 2]
mov word [ebp - 0x250], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4279e7
sub ecx, edx
lea eax, [ebp - 0x238]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x250]
call fcn.00405ec0
lea ecx, [ebp - 0x298]
mov byte [ebp - 4], 1
call fcn.004160c0
mov byte [ebp - 4], 2
mov eax, SysReAllocString
mov ecx, dword [ebp - 0x240]
sub eax, ecx
cmp eax, 1
jb 0x428238
cmp dword [ebp - 0x23c], 8
lea eax, [ebp - 0x250]
push 1
cmovae eax, dword [ebp - 0x250]
push 0x4b5640
push ecx
push eax
push ecx
push dword [ebp - 0x2d0]
lea ecx, [ebp - 0x318]
call fcn.00406830
mov byte [ebp - 4], 3
lea eax, [ebp - 0x298]
cmp dword [ebp - 0x284], 8
lea ecx, [ebp - 0x318]
push dword [ebp - 0x288]
cmovae eax, dword [ebp - 0x298]
push eax
call fcn.00406370
mov dword [ebp - 0x2c], 0
xor ecx, ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 1
push 0x4b5640
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.00406370
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x300], xmm0
movq xmm0, qword [eax + 0x10]
mov word [eax], cx
lea ecx, [ebp - 0x250]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
lea eax, [ebp - 0x300]
push eax
movq qword [ebp - 0x2f0], xmm0
call fcn.00405ae0
mov edx, dword [ebp - 0x2ec]
cmp edx, 8
jb 0x427b53
mov ecx, dword [ebp - 0x300]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427b49
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42823d
push edx
push ecx
call fcn.0043d19d
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x427b91
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427b87
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42823d
push edx
push ecx
call fcn.0043d19d
add esp, 8
xor eax, eax
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x304]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp edx, 8
jb 0x427be9
mov ecx, dword [ebp - 0x318]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427bdf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42823d
push edx
push ecx
call fcn.0043d19d
add esp, 8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0x2e8], 0
mov dword [ebp - 0x2d8], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x2d4], 7
mov word [ebp - 0x2e8], ax
mov dword [ebp - 0x2d0], 0xf
mov dword [ebp - 0x28], 0x6f0042
mov dword [ebp - 0x24], 0x6b006f
mov dword [ebp - 0x20], 0x61006d
mov dword [ebp - 0x1c], 0x6b0072
mov dword [ebp - 0x18], 0x73
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x427c47
sub ecx, edx
lea eax, [ebp - 0x28]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2e8]
call fcn.00405ec0
cmp dword [ebp - 0x23c], 8
lea eax, [ebp - 0x250]
push dword [ebp - 0x240]
cmovae eax, dword [ebp - 0x250]
push eax
push ecx
lea ecx, [ebp - 0x2e8]
call fcn.00425380
mov dword [ebp - 0x268], 0
xor ecx, ecx
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x268], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x258], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x2d4]
cmp edx, 8
jb 0x427d19
mov ecx, dword [ebp - 0x2e8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427d0f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428242
push edx
push ecx
call fcn.0043d19d
add esp, 8
xor eax, eax
mov dword [ebp - 0x2d8], 0
lea ecx, [ebp - 0x300]
mov dword [ebp - 0x2d4], 7
mov word [ebp - 0x2e8], ax
call fcn.00414a40
mov esi, eax
lea ecx, [ebp - 0x318]
mov byte [ebp - 4], 8
call fcn.00414980
mov ecx, eax
mov byte [ebp - 4], 9
lea eax, [ebp - 0x250]
cmp dword [ebp - 0x23c], 8
push dword [ebp - 0x240]
cmovae eax, dword [ebp - 0x250]
push eax
push ecx
call fcn.00425380
mov dword [ebp - 0x2c], 0
xor ecx, ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 1
push 0x4b63e0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call fcn.00406370
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2e8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x2d8], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push esi
lea eax, [ebp - 0x2e8]
mov byte [ebp - 4], 0xb
push eax
push dword [ebp - 0x2d0]
lea ecx, [ebp - 0x2b0]
call fcn.00424290
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x2d4]
cmp edx, 8
jb 0x427e50
mov ecx, dword [ebp - 0x2e8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427e46
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428247
push edx
push ecx
call fcn.0043d19d
add esp, 8
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x427e8e
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427e84
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428247
push edx
push ecx
call fcn.0043d19d
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x304]
cmp edx, 8
jb 0x427ee6
mov ecx, dword [ebp - 0x318]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427edc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428247
push edx
push ecx
call fcn.0043d19d
add esp, 8
xor eax, eax
mov dword [ebp - 0x308], 0
mov dword [ebp - 0x304], 7
mov word [ebp - 0x318], ax
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x2ec]
cmp edx, 8
jb 0x427f47
mov ecx, dword [ebp - 0x300]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427f3d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428247
push edx
push ecx
call fcn.0043d19d
add esp, 8
xor eax, eax
mov dword [ebp - 0x2f0], 0
lea ecx, [ebp - 0x2e8]
mov dword [ebp - 0x2ec], 7
mov word [ebp - 0x300], ax
call fcn.00414a40
mov ecx, eax
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x250]
cmp dword [ebp - 0x23c], 8
push dword [ebp - 0x240]
cmovae eax, dword [ebp - 0x250]
push eax
push ecx
call fcn.00425380
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x280], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x270], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x2d4]
cmp edx, 8
jb 0x428000
mov ecx, dword [ebp - 0x2e8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427ff6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42824c
push edx
push ecx
call fcn.0043d19d
add esp, 8
cmp dword [ebp - 0x254], 8
lea eax, [ebp - 0x268]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x268]
push eax
call esi
test eax, eax
jne 0x42805e
cmp dword [ebp - 0x29c], 8
lea eax, [ebp - 0x2b0]
cmovae eax, dword [ebp - 0x2b0]
push eax
call esi
test eax, eax
jne 0x42805e
cmp dword [ebp - 0x26c], 8
lea eax, [ebp - 0x280]
cmovae eax, dword [ebp - 0x280]
push eax
call esi
mov byte [ebp - 0x2c9], 1
test eax, eax
je 0x428065
mov byte [ebp - 0x2c9], 0
mov edx, dword [ebp - 0x26c]
cmp edx, 8
jb 0x4280a5
mov ecx, dword [ebp - 0x280]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42809b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428251
push edx
push ecx
call fcn.0043d19d
add esp, 8
mov edx, dword [ebp - 0x29c]
xor eax, eax
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x26c], 7
mov word [ebp - 0x280], ax
cmp edx, 8
jb 0x428102
mov ecx, dword [ebp - 0x2b0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4280f8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428251
push edx
push ecx
call fcn.0043d19d
add esp, 8
mov edx, dword [ebp - 0x254]
xor eax, eax
mov dword [ebp - 0x2a0], 0
mov dword [ebp - 0x29c], 7
mov word [ebp - 0x2b0], ax
cmp edx, 8
jb 0x42815f
mov ecx, dword [ebp - 0x268]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428155
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428251
push edx
push ecx
call fcn.0043d19d
add esp, 8
mov edx, dword [ebp - 0x284]
xor eax, eax
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 7
mov word [ebp - 0x268], ax
cmp edx, 8
jb 0x4281bc
mov ecx, dword [ebp - 0x298]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4281b2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428251
push edx
push ecx
call fcn.0043d19d
add esp, 8
mov edx, dword [ebp - 0x23c]
xor eax, eax
mov dword [ebp - 0x288], 0
mov dword [ebp - 0x284], 7
mov word [ebp - 0x298], ax
cmp edx, 8
jb 0x428215
mov ecx, dword [ebp - 0x250]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42820b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428251
push edx
push ecx
call fcn.0043d19d
add esp, 8
mov al, byte [ebp - 0x2c9]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043cc06
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004014a0
call fcn.00446380
call fcn.00446380
call fcn.00446380
call fcn.00446380
call fcn.00446380
int3