Function at 0x45684f
Capabilities:
Check if file exists
Get common file path

Disassembly:
push 0x528
mov eax, 0x514b4f
call fcn.004e3d9f
mov eax, dword [ebp + 8]
push 0x5af644
lea ecx, [ebp - 0x4f4]
mov dword [ebp - 0x458], eax
call fcn.0040253b
mov dword [ebp - 0x454], eax
and dword [ebp - 4], 0
push 0x5b1604
lea ecx, [ebp - 0x4ec]
call fcn.0040253b
mov dword [ebp - 0x46c], eax
mov ebx, 0x5af65c
push ebx
lea ecx, [ebp - 0x4e4]
mov byte [ebp - 4], 1
call fcn.0040253b
mov dword [ebp - 0x480], eax
push 0x5af63c
lea ecx, [ebp - 0x4dc]
mov byte [ebp - 4], 2
call fcn.0040253b
mov dword [ebp - 0x4d0], eax
mov edi, 0x5af648
push edi
lea ecx, [ebp - 0x4d4]
mov byte [ebp - 4], 3
call fcn.0040253b
mov dword [ebp - 0x510], eax
mov esi, 0x5b2450
push esi
lea ecx, [ebp - 0x4cc]
mov byte [ebp - 4], 4
call fcn.0040253b
mov dword [ebp - 0x51c], eax
push 0x5b2454
lea ecx, [ebp - 0x4c4]
mov byte [ebp - 4], 5
call fcn.0040253b
mov dword [ebp - 0x504], eax
push esi
lea ecx, [ebp - 0x4bc]
mov byte [ebp - 4], 6
call fcn.0040253b
mov dword [ebp - 0x4fc], eax
mov esi, 0x5af660
push esi
lea ecx, [ebp - 0x4b4]
mov byte [ebp - 4], 7
call fcn.0040253b
mov dword [ebp - 0x4c0], eax
push 0x5af684
lea ecx, [ebp - 0x4ac]
mov byte [ebp - 4], 8
call fcn.0040253b
mov dword [ebp - 0x488], eax
push 0x5af69c
lea ecx, [ebp - 0x4a4]
mov byte [ebp - 4], 9
call fcn.0040253b
mov dword [ebp - 0x514], eax
push 0x5b275c
lea ecx, [ebp - 0x49c]
mov byte [ebp - 4], 0xa
call fcn.0040253b
push ebx
push eax
lea eax, [ebp - 0x494]
mov byte [ebp - 4], 0xb
push eax
call fcn.00402187
add esp, 0xc
push dword [ebp - 0x514]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x48c]
push eax
call fcn.00402130
add esp, 0xc
push 0x5af64c
push eax
lea eax, [ebp - 0x484]
push eax
mov byte [ebp - 4], 0xd
call fcn.00402187
add esp, 0xc
push dword [ebp - 0x488]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x47c]
push eax
call fcn.00402130
add esp, 0xc
push 0x5af640
push eax
lea eax, [ebp - 0x478]
push eax
mov byte [ebp - 4], 0xf
call fcn.00402187
add esp, 0xc
push dword [ebp - 0x4c0]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x4f8]
push eax
call fcn.00402130
add esp, 0xc
push edi
push eax
lea eax, [ebp - 0x4c8]
push eax
mov byte [ebp - 4], 0x11
call fcn.00402187
add esp, 0xc
push dword [ebp - 0x4fc]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x50c]
push eax
call fcn.00402130
add esp, 0xc
push 0x5af678
push eax
lea eax, [ebp - 0x474]
push eax
mov byte [ebp - 4], 0x13
call fcn.00402187
add esp, 0xc
push dword [ebp - 0x504]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x4f0]
push eax
call fcn.00402130
add esp, 0xc
push 0x5af664
push eax
lea eax, [ebp - 0x4b8]
push eax
mov byte [ebp - 4], 0x15
call fcn.00402187
add esp, 0xc
push dword [ebp - 0x51c]
mov byte [ebp - 4], 0x16
push eax
lea eax, [ebp - 0x508]
push eax
call fcn.00402130
add esp, 0xc
push 0x5b244c
push eax
lea eax, [ebp - 0x4b0]
push eax
mov byte [ebp - 4], 0x17
call fcn.00402187
add esp, 0xc
push dword [ebp - 0x510]
mov byte [ebp - 4], 0x18
push eax
lea eax, [ebp - 0x4e8]
push eax
call fcn.00402130
add esp, 0xc
push esi
push eax
lea eax, [ebp - 0x4a8]
push eax
mov byte [ebp - 4], 0x19
call fcn.00402187
add esp, 0xc
push dword [ebp - 0x4d0]
mov byte [ebp - 4], 0x1a
push eax
lea eax, [ebp - 0x518]
push eax
call fcn.00402130
add esp, 0xc
push 0x5af6a4
push eax
lea eax, [ebp - 0x4a0]
push eax
mov byte [ebp - 4], 0x1b
call fcn.00402187
add esp, 0xc
push dword [ebp - 0x480]
mov byte [ebp - 4], 0x1c
push eax
lea eax, [ebp - 0x4e0]
push eax
call fcn.00402130
add esp, 0xc
push 0x5af668
push eax
lea eax, [ebp - 0x498]
push eax
mov byte [ebp - 4], 0x1d
call fcn.00402187
add esp, 0xc
mov byte [ebp - 4], 0x1e
push dword [ebp - 0x46c]
push eax
lea eax, [ebp - 0x500]
push eax
call fcn.00402130
add esp, 0xc
push str.6VC
push eax
lea eax, [ebp - 0x490]
push eax
mov byte [ebp - 4], 0x1f
call fcn.00402187
add esp, 0xc
mov byte [ebp - 4], 0x20
push dword [ebp - 0x454]
push eax
lea eax, [ebp - 0x4d8]
push eax
call fcn.00402130
add esp, 0xc
push 0x5b0d34
push eax
lea eax, [ebp - 0x468]
push eax
mov byte [ebp - 4], 0x21
call fcn.00402187
add esp, 0xc
mov ecx, dword [ebp - 0x4d8]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [ebp - 0x490]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [ebp - 0x500]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [ebp - 0x498]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [ebp - 0x4e0]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [ebp - 0x4a0]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [ebp - 0x518]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [ebp - 0x4a8]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [ebp - 0x4e8]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [ebp - 0x4b0]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [ebp - 0x508]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [ebp - 0x4b8]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [ebp - 0x4f0]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [ebp - 0x474]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [ebp - 0x50c]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [ebp - 0x4c8]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [ebp - 0x4f8]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [ebp - 0x478]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [ebp - 0x47c]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [ebp - 0x484]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [ebp - 0x48c]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [ebp - 0x494]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [ebp - 0x49c]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [ebp - 0x4a4]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [ebp - 0x4ac]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [ebp - 0x4b4]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [ebp - 0x4bc]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [ebp - 0x4c4]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [ebp - 0x4cc]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [ebp - 0x4d4]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [ebp - 0x4dc]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [ebp - 0x4e4]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [ebp - 0x4ec]
add ecx, 0xfffffff0
call fcn.0040285b
mov byte [ebp - 4], 0x44
mov ecx, dword [ebp - 0x4f4]
add ecx, 0xfffffff0
call fcn.0040285b
push ecx
mov dword [ebp - 0x454], esp
mov ecx, esp
push 0x60a540
call fcn.00402305
lea ecx, [ebp - 0x468]
call fcn.00406dee
mov eax, dword [ebp - 0x458]
mov cl, byte [eax + 0x111]
test cl, cl
jne 0x456def
mov al, byte [eax + 0x208]
test al, al
je 0x456fc4
xor ebx, ebx
lea eax, [ebp - 0x464]
mov dword [ebp - 0x464], ebx
mov dword [ebp - 0x460], eax
mov dword [ebp - 0x45c], ebx
call fcn.00482292
test al, al
je 0x456e24
push dword [ebp - 0x460]
call fcn.0044b345
pop ecx
mov dword [ebp - 0x45c], eax
push 0x104
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.ASOROSet.bin
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x456fa3
lea eax, [ebp - 0x528]
mov dword [ebp - 0x450], ebx
mov dword [ebp - 0x44c], ebx
mov dword [ebp - 0x448], ebx
mov dword [ebp - 0x444], ebx
mov dword [ebp - 0x440], ebx
mov dword [ebp - 0x43c], ebx
call fcn.00445b7d
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x220]
push eax
mov byte [ebp - 4], 0x46
call fcn.004cb095
cmp eax, ebx
je 0x456ed0
mov eax, dword [ebp - 0x450]
mov dword [ebp - 0x470], eax
mov eax, dword [ebp - 0x44c]
mov dword [ebp - 0x46c], eax
lea eax, [ebp - 0x470]
lea esi, [ebp - 0x528]
call fcn.00445b3e
mov dword [ebp - 4], 0x45
jmp 0x456ee8
push 0x400
push ebx
lea eax, [ebp - 0x458]
push eax
lea ecx, [ebp - 0x528]
call fcn.00445d15
push eax
mov ecx, 0x609a80
mov byte [ebp - 4], 0x48
call fcn.004025da
mov byte [ebp - 4], 0x45
mov ecx, dword [ebp - 0x458]
add ecx, 0xfffffff0
call fcn.0040285b
lea eax, [ebp - 0x534]
call fcn.00445b7d
push 0x5c188c
lea edi, [ebp - 0x454]
lea ecx, [ebp - 0x534]
call fcn.00459a60
push eax
mov ecx, 0x609a70
mov byte [ebp - 4], 0x49
call fcn.004025da
mov byte [ebp - 4], 0x45
mov ecx, dword [ebp - 0x454]
add ecx, 0xfffffff0
call fcn.0040285b
call fcn.00456fc8
mov byte [ebp - 4], 0x44
call fcn.00482292
test al, al
je 0x456f89
cmp dword [ebp - 0x45c], ebx
je 0x456f89
push dword [ebp - 0x464]
call fcn.0044b37b
pop ecx
mov bl, 1
mov ecx, dword [ebp - 0x468]
add ecx, 0xfffffff0
call fcn.0040285b
mov al, bl
call fcn.004e3dfb
ret 4
mov byte [ebp - 4], 0x44
call fcn.00482292
test al, al
je 0x456fc4
cmp dword [ebp - 0x45c], ebx
je 0x456fc4
push dword [ebp - 0x464]
call fcn.0044b37b
pop ecx
xor bl, bl
jmp 0x456f8b