Function at 0x468361
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x24
mov eax, 0x4b3641
call fcn.004764c0
mov dword [ebp - 0x1c], ecx
mov edi, dword [ebp + 0x214]
mov esi, 0x4f7c20
mov ecx, esi
call fcn.0043a0f3
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x4683a9
push 8
pop eax
jmp 0x468761
mov ecx, esi
call fcn.0043a0e0
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x4683a1
push edi
lea ecx, [ebp - 0x18]
call fcn.00403cb9
and dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00415953
lea ecx, [ebp - 0x18]
call fcn.004159bb
mov ebx, dword [ebp - 0x18]
cmp dword [ebx - 0xc], 0
jne 0x4683ef
xor esi, esi
inc esi
lea ecx, [ebx - 0x10]
call fcn.00402820
mov eax, esi
jmp 0x468761
mov eax, dword [edi]
cmp dword [eax - 0xc], 0x80
jle 0x4683ff
push 9
pop esi
jmp 0x4683e0
push str.:_Recyle.Bin
push ebx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x468413
push 0x12
jmp 0x4683fc
mov ecx, esi
call fcn.0043a0b9
xor edi, edi
mov dword [ebp - 0x28], eax
cmp eax, edi
je 0x46871b
mov esi, 0x4bb864
push esi
lea ecx, [ebp - 0x10]
call fcn.004024e0
mov eax, dword [ebp - 0x10]
push dword [eax - 0xc]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00414e15
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004103e5
lea ecx, [ebp - 0x10]
call fcn.004103e5
push dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
call fcn.0040ce21
push ecx
mov dword [ebp - 0x24], esp
test eax, eax
je 0x4684a9
mov eax, esp
push esi
lea ecx, [ebp - 0x18]
push ecx
push eax
call fcn.00403a39
add esp, 0xc
call fcn.00442623
pop ecx
cmp eax, edi
jne 0x4684b6
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402820
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402820
push 7
jmp 0x4683fc
lea eax, [ebp - 0x18]
mov ecx, esp
push eax
call fcn.00403cb9
jmp 0x468482
mov ecx, dword [ebp - 0x28]
call fcn.0045f262
test eax, eax
jne 0x468630
push 0x208
lea eax, [ebp]
push edi
push eax
call fcn.00475420
add esp, 0xc
push 0x104
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push ebx
lea eax, [ebp]
push eax
push str.CheckSetupTargetPath
call fcn.00404da7
add esp, 0xc
push ebx
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsSameRootW]
test eax, eax
jne 0x468593
mov ecx, dword [ebp - 0x1c]
call fcn.004666ac
test eax, eax
je 0x468561
cmp dword [ebx - 0xc], edi
jge 0x468527
push 0x80070057
call fcn.0040283a
movzx eax, word [ebx]
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push 1
push eax
call fcn.0044109f
mov ecx, dword [ebp - 0x1c]
call fcn.00441a69
cmp eax, edi
je 0x468561
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402820
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402820
push 0x10
jmp 0x4683fc
cmp dword [ebx - 0xc], edi
jl 0x46851d
movzx eax, word [ebx]
mov ecx, dword [ebp - 0x1c]
push eax
call fcn.00440332
test eax, eax
je 0x468593
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402820
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402820
push 0xf
jmp 0x4683fc
mov ecx, dword [ebp - 0x28]
call fcn.0045f577
test eax, eax
jne 0x468630
push dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
call fcn.0040ce21
test eax, eax
lea eax, [ebp - 0x18]
je 0x4685ff
push esi
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00403a39
add esp, 0xc
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
mov ecx, dword [ebp - 0x24]
test eax, eax
setne byte [ebp - 0x1d]
add ecx, 0xfffffff0
call fcn.00402820
cmp byte [ebp - 0x1d], 0
je 0x468630
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402820
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402820
push 0xd
jmp 0x4683fc
mov ecx, dword [ebp - 0x1c]
push eax
call fcn.00440ad0
test eax, eax
jne 0x46862d
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402820
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402820
mov ebx, dword [ebp - 0x18]
push 0xe
pop esi
jmp 0x4683e0
mov ebx, dword [ebp - 0x18]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00403cb9
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 3
call fcn.00440d54
mov esi, dword [ebp - 0x24]
mov byte [ebp - 4], 4
cmp dword [esi - 0xc], edi
je 0x468677
push esi
push 0x104
lea ecx, [ebp - 0x1c]
call fcn.00416214
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
call fcn.0040b3c8
mov edi, dword [ebp - 0x1c]
push edi
mov ecx, 0x4f7c20
call fcn.0043a235
test eax, eax
je 0x4686b6
lea ecx, [esi - 0x10]
call fcn.00402820
lea ecx, [edi - 0x10]
call fcn.00402820
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402820
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402820
push 0xb
jmp 0x4683fc
push edi
mov ecx, 0x4f7c20
call fcn.0043cabd
lea ecx, [esi - 0x10]
test eax, eax
je 0x4686f2
call fcn.00402820
lea ecx, [edi - 0x10]
call fcn.00402820
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402820
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402820
push 0xc
jmp 0x4683fc
call fcn.00402820
lea ecx, [edi - 0x10]
call fcn.00402820
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402820
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.00402820
xor edi, edi
cmp dword [ebx - 0xc], edi
jl 0x46851d
movzx eax, word [ebx]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x50]
mov edi, eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov esi, edx
shrd edi, esi, 0x14
push eax
shr esi, 0x14
call dword [ecx + 0x30]
cdq
cmp esi, edx
ja 0x468757
jb 0x468750
cmp edi, eax
jae 0x468757
push 6
jmp 0x4683fc
lea ecx, [ebx - 0x10]
call fcn.00402820
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 + 0x208]
xor ecx, ebp
call fcn.0047549a
add ebp, 0x20c
leave
ret 4