Function at 0x43fda0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5400a7
mov eax, dword fs:[0]
push eax
mov eax, 0x2054
call fcn.0050c350
mov eax, dword [0x5ac020]
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
xor eax, eax
mov dword [ebp - 0x204c], 0
mov dword [ebp - 0x2048], 0
mov dword [ebp - 0x2048], 7
mov dword [ebp - 0x204c], 0
mov word [ebp - 0x205c], ax
mov dword [ebp - 4], eax
cmp dword [0x5be4c8], eax
jne 0x43fe80
mov eax, dword [0x5be388]
mov edi, 1
mov dword [0x5bd8f4], eax
mov eax, dword [0x5be38c]
mov dword [0x5bd8f8], eax
mov eax, dword [0x5be390]
mov dword [0x5bd8fc], eax
mov eax, dword [0x5be394]
mov dword [0x5bd900], eax
mov eax, dword [0x5be360]
and eax, 0x1000
mov dword [0x5be4c8], 1
or eax, 0
mov dword [0x5bd8f0], edi
mov dword [0x5bd908], edi
mov dword [0x5bd90c], 0
je 0x43fe74
mov dword [0x5bd910], edi
jmp 0x43fe86
mov dword [0x5bd910], 0
jmp 0x43fe86
mov edi, dword [0x5bd8f0]
cmp edi, 0xffffffff
jle 0x43fecc
mov ecx, dword [esi + 0x1eb8]
mov eax, 0x92492493
sub ecx, dword [esi + 0x1eb4]
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jge 0x43fecc
mov ecx, dword [esi + 0x1e30]
push 0
push dword [esi + 0x1e14]
mov dword [esi + 0x1e9c], edi
mov eax, dword [ecx]
push 0xbbe
call dword [eax + 0x10]
mov edi, dword [0x5bd900]
cmp edi, 0xffffffff
jle 0x43ff18
mov ecx, dword [esi + 0x25e8]
mov eax, 0x92492493
sub ecx, dword [esi + 0x25e4]
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jge 0x43ff18
mov ecx, dword [esi + 0x2560]
push 0
push dword [esi + 0x2544]
mov dword [esi + 0x25cc], edi
mov eax, dword [ecx]
push 0xbbe
call dword [eax + 0x10]
mov ecx, dword [0x5bd8f4]
lea edx, [ebp - 0x205c]
lea edi, [esi + 0x1f28]
call fcn.004c5b20
push eax
mov ecx, edi
call fcn.004d8c60
mov ebx, eax
cmp ebx, 0xffffffff
jle 0x43ff79
mov ecx, dword [edi + 0x100]
mov eax, 0x92492493
sub ecx, dword [edi + 0xfc]
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jge 0x43ff79
mov ecx, dword [edi + 0x78]
push 0
push dword [edi + 0x5c]
mov dword [edi + 0xe4], ebx
mov eax, dword [ecx]
push 0xbbe
call dword [eax + 0x10]
mov ecx, dword [0x5bd8f8]
lea edx, [ebp - 0x205c]
lea edi, [esi + 0x2098]
call fcn.004c5c20
push eax
mov ecx, edi
call fcn.004d8c60
mov ebx, eax
cmp ebx, 0xffffffff
jle 0x43ffda
mov ecx, dword [edi + 0x100]
mov eax, 0x92492493
sub ecx, dword [edi + 0xfc]
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jge 0x43ffda
mov ecx, dword [edi + 0x78]
push 0
push dword [edi + 0x5c]
mov dword [edi + 0xe4], ebx
mov eax, dword [ecx]
push 0xbbe
call dword [eax + 0x10]
mov ecx, dword [0x5bd8fc]
lea edx, [ebp - 0x205c]
lea edi, [esi + 0x2208]
call fcn.004c5cc0
push eax
mov ecx, edi
call fcn.004d8c60
mov ebx, eax
cmp ebx, 0xffffffff
jle 0x44003b
mov ecx, dword [edi + 0x100]
mov eax, 0x92492493
sub ecx, dword [edi + 0xfc]
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jge 0x44003b
mov ecx, dword [edi + 0x78]
push 0
push dword [edi + 0x5c]
mov dword [edi + 0xe4], ebx
mov eax, dword [ecx]
push 0xbbe
call dword [eax + 0x10]
mov ecx, dword [0x5bd908]
lea edi, [esi + 0xd18]
mov eax, dword [0x5bd90c]
mov dword [esi + 0x1d54], ecx
mov dword [esi + 0x1a94], eax
mov eax, dword [0x5bd910]
mov dword [esi + 0x1bf4], eax
mov eax, dword [edi + 0x64]
test ecx, ecx
je 0x440078
test al, al
js 0x4400a4
or eax, 0x80
mov dword [edi + 0x64], eax
jmp 0x440094
test al, al
jns 0x4400a4
and eax, 0xffffff7f
mov dword [edi + 0x64], eax
test al, 0x40
je 0x440094
mov ecx, dword [edi + 0x78]
test ecx, ecx
je 0x440094
call fcn.004c7d50
mov eax, dword [edi]
mov ecx, edi
push 0
push 9
push 0xbc3
call dword [eax + 0x10]
xor eax, eax
mov dword [ebp - 0x2018], 0
mov dword [ebp - 0x2014], 0
mov dword [ebp - 0x2014], 7
mov dword [ebp - 0x2018], 0
mov word [ebp - 0x2028], ax
mov byte [ebp - 4], 1
mov eax, dword [0x5be360]
and eax, 0x400
or eax, 0
jne 0x440166
cmp dword [0x5be3ac], 8
mov eax, 0x5be398
push 0
cmovae eax, dword [0x5be398]
push eax
call fcn.005008a4
add esp, 8
cmp eax, 0xffffffff
je 0x440166
cmp dword [0x5be3ac], 8
lea edx, [ebp - 0x2028]
mov ecx, 0x5be398
cmovae ecx, dword [0x5be398]
call fcn.004c1480
test eax, eax
jne 0x44014c
cmp dword [0x5be3ac], 8
lea ecx, [ebp - 0x2028]
mov eax, 0x5be398
cmovae eax, dword [0x5be398]
push eax
call fcn.00401fc0
cmp dword [ebp - 0x2014], 8
lea eax, [ebp - 0x2028]
cmovae eax, dword [ebp - 0x2028]
push eax
call fcn.0043e480
cmp dword [ebp - 0x2018], 0
jne 0x44023f
push 0x208
lea eax, [ebp - 0x2010]
mov dword [ebp - 0x2060], 0
push 0
push eax
call fcn.005032d0
add esp, 0xc
lea eax, [ebp - 0x2060]
push eax
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [ebp - 0x2060]
test eax, eax
je 0x44023f
lea ecx, [ebp - 0x2010]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x44023f
lea eax, [ebp - 0x2010]
push eax
lea ecx, [ebp - 0x2028]
call fcn.00401fc0
mov edx, dword [ebp - 0x2014]
lea ecx, [ebp - 0x2028]
mov edi, dword [ebp - 0x2028]
cmp edx, 8
mov eax, dword [ebp - 0x2018]
cmovae ecx, edi
cmp word [ecx + eax*2 - 2], 0x5c
je 0x440218
push 0x571f54
lea ecx, [ebp - 0x2028]
call fcn.0040e370
mov edx, dword [ebp - 0x2014]
mov edi, dword [ebp - 0x2028]
cmp edx, 8
lea eax, [ebp - 0x2028]
cmovae eax, edi
push eax
call fcn.0043e480
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x2028]
mov ecx, 0x5be398
push eax
call fcn.00401c40
xor eax, eax
mov dword [ebp - 0x2030], 0
mov dword [ebp - 0x202c], 0
mov dword [ebp - 0x202c], 7
mov dword [ebp - 0x2030], 0
mov word [ebp - 0x2040], ax
mov byte [ebp - 4], 2
mov dword [ebp - method.cafx::tstring_ex_wchar_t__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.virtual_0], vtable.cafx::tstring_ex_wchar_t__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2044]
cmp dword [ebp - 0x2014], 8
lea eax, [ebp - 0x2028]
push ecx
cmovae eax, dword [ebp - 0x2028]
push eax
call fcn.0043ede0
cmp dword [ebp - 0x202c], 8
lea ecx, [ebp - 0x2040]
mov ebx, dword [esi + 0x63c]
cmovae ecx, dword [ebp - 0x2040]
test ebx, ebx
je 0x4402f5
mov edi, dword [esi + 0x6cc]
test edi, edi
je 0x4402ed
mov edx, ecx
lea eax, [edx + 2]
mov dword [ebp - 0x2060], eax
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4402d6
sub edx, dword [ebp - 0x2060]
sar edx, 1
cmp edx, edi
ja 0x4402f5
push ecx
mov ecx, ebx
call fcn.004ecd40
mov ecx, esi
call fcn.0043e990
mov byte [ebp - 4], 1
mov dword [ebp - method.cafx::tstring_ex_wchar_t__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.virtual_0], vtable.cafx::tstring_ex_wchar_t__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x202c], 8
jb 0x440325
push dword [ebp - 0x2040]
call fcn.0051d3d0
add esp, 4
xor eax, eax
mov dword [ebp - 0x202c], 7
mov dword [ebp - 0x2030], 0
mov word [ebp - 0x2040], ax
mov byte [ebp - 4], al
cmp dword [ebp - 0x2014], 8
jb 0x44035c
push dword [ebp - 0x2028]
call fcn.0051d3d0
add esp, 4
xor eax, eax
mov dword [ebp - 0x2014], 7
mov dword [ebp - 0x2018], 0
mov word [ebp - 0x2028], ax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2048], 8
jb 0x440397
push dword [ebp - 0x205c]
call fcn.0051d3d0
add esp, 4
xor eax, eax
mov dword [ebp - 0x2048], 7
mov word [ebp - 0x205c], ax
mov eax, 1
mov dword [ebp - 0x204c], 0
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.004ffcef
mov esp, ebp
pop ebp
ret