Function at 0x41e630
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x318]
sub esp, 0x318
push 0xffffffffffffffff
push 0x480f80
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4a60f8]
xor eax, ebp
mov dword [ebp + 0x314], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 8]
add eax, 0xf4
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
mov dword [ebp - 0x14], esi
jl 0x41e68d
mov dword [ebp - 0x10], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x41e69f
mov ecx, dword [0x4a4014]
mov dword [ebp - 0x10], ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.0041be90
mov ecx, dword [esi + 8]
mov dword [ebp - 4], 0
call fcn.0043e9d0
mov edx, dword [ebp - 0x10]
cmp dword [edx - 8], 0
jne 0x41e6d6
test eax, eax
je 0x41e6c9
jle 0x41e6d6
cmp eax, 4
jg 0x41e6d6
push 0x48a21c
jmp 0x41e6ce
push 0x48a364
lea ecx, [ebp - 0x10]
call fcn.0041be90
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], 0
je 0x41ea5d
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp + 0x10e]
push edx
mov word [ebp + 0x10c], cx
call fcn.00461950
mov eax, dword [0x4a4014]
add esp, 0xc
mov dword [ebp - 0x1c], eax
push 1
push 0x1a
lea ecx, [ebp + 0x10c]
push ecx
push 0
mov byte [ebp - 4], 1
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [ebp + 0x10c]
push edx
lea ecx, [ebp - 0x1c]
call fcn.0041be90
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push str.360Desktopimport.fg
push str.360Desktopimport.fg
call edi
push eax
lea ecx, [ebp - 0x1c]
call fcn.0041b440
lea ecx, [ebp]
call fcn.0042a750
mov ebx, dword [ebp - 0x1c]
mov byte [ebp - 4], 2
test ebx, ebx
jne 0x41e761
xor eax, eax
jmp 0x41e789
push ebx
call edi
inc eax
cmp eax, 0x3fffffff
jle 0x41e770
xor eax, eax
jmp 0x41e789
lea esi, [eax + eax]
mov eax, esi
call fcn.00463730
mov eax, esp
push 3
push esi
push ebx
push eax
call fcn.0041aaf0
mov esi, dword [ebp - 0x14]
push eax
lea ecx, [ebp]
call fcn.0042ab80
test eax, eax
je 0x41e810
mov eax, dword [ebp - 0x10]
push eax
call edi
inc eax
cmp eax, 0x3fffffff
jle 0x41e7a8
xor eax, eax
jmp 0x41e7c4
lea esi, [eax + eax]
mov eax, esi
call fcn.00463730
mov ecx, dword [ebp - 0x10]
mov eax, esp
push 3
push esi
push ecx
push eax
call fcn.0041aaf0
mov esi, dword [ebp - 0x14]
push eax
push str.version_opr
push str.import
lea ecx, [ebp]
call fcn.0042afe0
test ebx, ebx
jne 0x41e7df
xor eax, eax
jmp 0x41e807
push ebx
call edi
inc eax
cmp eax, 0x3fffffff
jle 0x41e7ee
xor eax, eax
jmp 0x41e807
lea esi, [eax + eax]
mov eax, esi
call fcn.00463730
mov eax, esp
push 3
push esi
push ebx
push eax
call fcn.0041aaf0
mov esi, dword [ebp - 0x14]
push eax
lea ecx, [ebp]
call fcn.0042ad30
lea ecx, [ebp]
call fcn.0042afb0
mov edx, dword [0x4a4014]
push 0x2711
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], edx
call fcn.0041c340
mov ecx, dword [esi + 8]
mov byte [ebp - 4], 3
call fcn.00423f00
mov ecx, eax
call fcn.00423f30
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
jl 0x41e85a
mov edi, eax
lea eax, [edi - 0xc]
push eax
mov dword [ebp - 0x18], edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x41e86f
mov ecx, dword [0x4a4014]
mov dword [ebp - 0x18], ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.0041be90
mov edi, dword [ebp - 0x18]
cmp dword [edi - 8], 0
mov byte [ebp - 4], 4
jne 0x41e885
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x18]
call fcn.0041be30
mov eax, dword [esi + 8]
add eax, 0x104
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
jl 0x41e8a6
mov ebx, eax
lea eax, [ebx - 0xc]
push eax
mov dword [ebp - 0x20], ebx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x41e8bb
mov ecx, dword [0x4a4014]
mov dword [ebp - 0x20], ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.0041be90
mov ebx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 8]
add eax, 0x100
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
mov byte [ebp - 4], 5
jl 0x41e8e3
mov edi, eax
lea eax, [edi - 0xc]
push eax
mov dword [ebp - 0x24], edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x41e8f8
mov ecx, dword [0x4a4014]
mov dword [ebp - 0x24], ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.0041be90
mov edi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 8]
mov byte [ebp - 4], 6
xor esi, esi
call fcn.0043e9d0
test eax, eax
jne 0x41e912
lea esi, [eax + 1]
jmp 0x41e947
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
call fcn.0043e9d0
cmp eax, 1
je 0x41e942
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 8]
call fcn.0043e9d0
cmp eax, 2
je 0x41e942
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 8]
call fcn.0043e9d0
cmp eax, 3
jne 0x41e947
mov esi, 2
mov eax, dword [0x4a4014]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x18]
push edi
push ecx
push ebx
push ebx
push esi
lea edx, [ebp - 0x2c]
push 0x48a220
push edx
mov byte [ebp - 4], 7
call fcn.0041d3c0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
add esp, 0x1c
call fcn.0043ec20
mov esi, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x30]
push 0xbb8
push esi
push eax
call edx
lea eax, [esi - 0xc]
cmp eax, dword [0x4a4010]
je 0x41e9aa
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41e9aa
push esi
call fcn.00462471
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [edi - 0xc]
cmp ecx, dword [0x4a4010]
je 0x41e9ce
add edi, 0xfffffff4
push edi
call esi
test eax, eax
jg 0x41e9ce
push edi
call fcn.00462471
add esp, 4
lea edx, [ebx - 0xc]
cmp edx, dword [0x4a4010]
je 0x41e9ec
add ebx, 0xfffffff4
push ebx
call esi
test eax, eax
jg 0x41e9ec
push ebx
call fcn.00462471
add esp, 4
mov edi, dword [ebp - 0x18]
lea eax, [edi - 0xc]
cmp eax, dword [0x4a4010]
je 0x41ea0d
add edi, 0xfffffff4
push edi
call esi
test eax, eax
jg 0x41ea0d
push edi
call fcn.00462471
add esp, 4
mov eax, dword [ebp - 0x28]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4a4010]
je 0x41ea2e
lea edi, [eax - 0xc]
push edi
call esi
test eax, eax
jg 0x41ea2e
push edi
call fcn.00462471
add esp, 4
lea ecx, [ebp]
mov byte [ebp - 4], 1
call fcn.0042afb0
mov edi, dword [ebp - 0x1c]
lea edx, [edi - 0xc]
cmp edx, dword [0x4a4010]
je 0x41ea63
add edi, 0xfffffff4
push edi
call esi
test eax, eax
jg 0x41ea63
push edi
call fcn.00462471
add esp, 4
jmp 0x41ea63
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov edi, dword [ebp - 0x10]
lea eax, [edi - 0xc]
cmp eax, dword [0x4a4010]
je 0x41ea84
add edi, 0xfffffff4
push edi
call esi
test eax, eax
jg 0x41ea84
push edi
call fcn.00462471
add esp, 4
mov eax, 1
lea esp, [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x314]
xor ecx, ebp
call fcn.00461932
add ebp, 0x318
mov esp, ebp
pop ebp
ret