Function at 0x436460
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 0x4b03a5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30c
mov eax, dword [0x4d500c]
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.00472940
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 0x436507
mov al, 1
jmp 0x436d6b
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 0x436537
sub ecx, edx
lea eax, [ebp - 0x238]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x250]
call fcn.00404350
lea ecx, [ebp - 0x298]
mov byte [ebp - 4], 1
call fcn.0041d6d0
mov byte [ebp - 4], 2
mov eax, SysReAllocString
mov ecx, dword [ebp - 0x240]
sub eax, ecx
cmp eax, 1
jb 0x436d88
cmp dword [ebp - 0x23c], 8
lea eax, [ebp - 0x250]
push 1
cmovae eax, dword [ebp - 0x250]
push 0x4c4740
push ecx
push eax
push ecx
push dword [ebp - 0x2d0]
lea ecx, [ebp - 0x318]
call fcn.0040ab20
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.004047e0
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 0x4c4740
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.004047e0
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.00403f10
mov edx, dword [ebp - 0x2ec]
cmp edx, 8
jb 0x4366a3
mov ecx, dword [ebp - 0x300]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x436699
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x436d8d
push edx
push ecx
call fcn.0044b3bd
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x4366e1
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4366d7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x436d8d
push edx
push ecx
call fcn.0044b3bd
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 0x436739
mov ecx, dword [ebp - 0x318]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43672f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x436d8d
push edx
push ecx
call fcn.0044b3bd
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 0x436797
sub ecx, edx
lea eax, [ebp - 0x28]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2e8]
call fcn.00404350
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.00419c50
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 0x436869
mov ecx, dword [ebp - 0x2e8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43685f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x436d92
push edx
push ecx
call fcn.0044b3bd
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.0041ca20
mov esi, eax
lea ecx, [ebp - 0x318]
mov byte [ebp - 4], 8
call fcn.0041c960
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.00419c50
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 0x4c6b08
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call fcn.004047e0
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.0042e510
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x2d4]
cmp edx, 8
jb 0x4369a0
mov ecx, dword [ebp - 0x2e8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x436996
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x436d97
push edx
push ecx
call fcn.0044b3bd
add esp, 8
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x4369de
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4369d4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x436d97
push edx
push ecx
call fcn.0044b3bd
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 0x436a36
mov ecx, dword [ebp - 0x318]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x436a2c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x436d97
push edx
push ecx
call fcn.0044b3bd
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 0x436a97
mov ecx, dword [ebp - 0x300]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x436a8d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x436d97
push edx
push ecx
call fcn.0044b3bd
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.0041ca20
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.00419c50
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 0x436b50
mov ecx, dword [ebp - 0x2e8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x436b46
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x436d9c
push edx
push ecx
call fcn.0044b3bd
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 0x436bae
cmp dword [ebp - 0x29c], 8
lea eax, [ebp - 0x2b0]
cmovae eax, dword [ebp - 0x2b0]
push eax
call esi
test eax, eax
jne 0x436bae
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 0x436bb5
mov byte [ebp - 0x2c9], 0
mov edx, dword [ebp - 0x26c]
cmp edx, 8
jb 0x436bf5
mov ecx, dword [ebp - 0x280]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x436beb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x436da1
push edx
push ecx
call fcn.0044b3bd
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 0x436c52
mov ecx, dword [ebp - 0x2b0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x436c48
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x436da1
push edx
push ecx
call fcn.0044b3bd
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 0x436caf
mov ecx, dword [ebp - 0x268]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x436ca5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x436da1
push edx
push ecx
call fcn.0044b3bd
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 0x436d0c
mov ecx, dword [ebp - 0x298]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x436d02
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x436da1
push edx
push ecx
call fcn.0044b3bd
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 0x436d65
mov ecx, dword [ebp - 0x250]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x436d5b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x436da1
push edx
push ecx
call fcn.0044b3bd
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.0044ae26
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00401570
call fcn.0047aa50
call fcn.0047aa50
call fcn.0047aa50
call fcn.0047aa50
call fcn.0047aa50
int3