Function at 0x41f200
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x318]
sub esp, 0x318
push 0xffffffffffffffff
push 0x47e5d8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4a30f8]
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 edi, ecx
mov eax, dword [edi + 8]
add eax, 0xf4
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
jl 0x41f25a
mov dword [ebp - 0x10], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x41f26c
mov ecx, dword [0x4a1014]
mov dword [ebp - 0x10], ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.0041ca80
mov ecx, dword [edi + 8]
mov dword [ebp - 4], 0
call fcn.0043f460
mov edx, dword [ebp - 0x10]
cmp dword [edx - 8], 0
jne 0x41f2a3
test eax, eax
je 0x41f296
jle 0x41f2a3
cmp eax, 4
jg 0x41f2a3
push 0x4871e4
jmp 0x41f29b
push 0x487360
lea ecx, [ebp - 0x10]
call fcn.0041ca80
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], 0
je 0x41f6cc
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp + 0x10e]
push edx
mov word [ebp + 0x10c], cx
call fcn.00461880
mov eax, dword [0x4a1014]
add esp, 0xc
mov dword [ebp - 0x20], 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 - 0x20]
call fcn.0041ca80
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push str.360Desktopimport.fg
push str.360Desktopimport.fg
call esi
push eax
lea ecx, [ebp - 0x20]
call fcn.0041bff0
lea ecx, [ebp]
call fcn.0042b0c0
mov ebx, dword [ebp - 0x20]
mov byte [ebp - 4], 2
test ebx, ebx
jne 0x41f32e
xor eax, eax
jmp 0x41f359
push ebx
call esi
inc eax
cmp eax, 0x3fffffff
jle 0x41f33d
xor eax, eax
jmp 0x41f359
lea esi, [eax + eax]
mov eax, esi
call fcn.00462690
mov eax, esp
push 3
push esi
push ebx
push eax
call fcn.0041b7b0
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea ecx, [ebp]
call fcn.0042b4f0
test eax, eax
je 0x41f3e0
mov eax, dword [ebp - 0x10]
push eax
call esi
inc eax
cmp eax, 0x3fffffff
jle 0x41f378
xor eax, eax
jmp 0x41f397
lea esi, [eax + eax]
mov eax, esi
call fcn.00462690
mov ecx, dword [ebp - 0x10]
mov eax, esp
push 3
push esi
push ecx
push eax
call fcn.0041b7b0
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push str.version_opr
push str.import
lea ecx, [ebp]
call fcn.0042b950
test ebx, ebx
jne 0x41f3b2
xor eax, eax
jmp 0x41f3d7
push ebx
call esi
inc eax
cmp eax, 0x3fffffff
jle 0x41f3c1
xor eax, eax
jmp 0x41f3d7
lea esi, [eax + eax]
mov eax, esi
call fcn.00462690
mov eax, esp
push 3
push esi
push ebx
push eax
call fcn.0041b7b0
push eax
lea ecx, [ebp]
call fcn.0042b6a0
lea ecx, [ebp]
call fcn.0042b920
mov edx, dword [0x4a1014]
push 0x2711
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], edx
call fcn.0041cf30
mov ecx, dword [edi + 8]
mov byte [ebp - 4], 3
call fcn.00424940
mov ecx, eax
call fcn.00424970
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
jl 0x41f42a
mov esi, eax
lea eax, [esi - 0xc]
push eax
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x41f43f
mov ecx, dword [0x4a1014]
mov dword [ebp - 0x14], ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.0041ca80
mov esi, dword [ebp - 0x14]
cmp dword [esi - 8], 0
mov byte [ebp - 4], 4
jne 0x41f455
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x14]
call fcn.0041ca20
mov eax, dword [edi + 8]
add eax, 0x104
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
jl 0x41f474
mov dword [ebp - 0x1c], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x41f486
mov ecx, dword [0x4a1014]
mov dword [ebp - 0x1c], ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.0041ca80
mov eax, dword [edi + 8]
add eax, 0x100
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
mov byte [ebp - 4], 5
jl 0x41f4ab
mov ebx, eax
lea edx, [ebx - 0xc]
push edx
mov dword [ebp - 0x24], ebx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x41f4c0
mov ecx, dword [0x4a1014]
mov dword [ebp - 0x24], ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.0041ca80
mov ebx, dword [ebp - 0x24]
mov ecx, dword [edi + 8]
mov byte [ebp - 4], 6
xor esi, esi
call fcn.0043f460
test eax, eax
jne 0x41f58a
mov edx, dword [0x4a1014]
lea esi, [eax + 1]
mov dword [ebp - 0x18], edx
mov ecx, dword [edi + 8]
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 7
call fcn.00440930
push str.modules360TopbarASS.exe
push str.modules360TopbarASS.exe
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041bff0
mov ecx, dword [edi + 8]
mov dword [ebp - 0x30], 0
call fcn.0043f6b0
test eax, eax
je 0x41f55d
mov ecx, dword [edi + 8]
call fcn.0043f6b0
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push eax
call edx
test eax, eax
je 0x41f55d
mov ecx, dword [edi + 8]
call fcn.0043f6b0
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push eax
call edx
mov ecx, dword [eax]
lea edx, [ebp - 0x30]
push edx
mov edx, dword [ebp - 0x18]
push 0
push 0
push 0
push 0x491898
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
mov eax, dword [ebp - 0x18]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4a1010]
je 0x41f5b6
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41f5b6
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff4
push eax
call fcn.00461ef0
add esp, 4
jmp 0x41f5b6
mov ecx, dword [edi + 8]
call fcn.0043f460
cmp eax, 1
je 0x41f5b1
mov ecx, dword [edi + 8]
call fcn.0043f460
cmp eax, 2
je 0x41f5b1
mov ecx, dword [edi + 8]
call fcn.0043f460
cmp eax, 3
jne 0x41f5b6
mov esi, 2
mov edx, dword [0x4a1014]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x14]
push ebx
push eax
mov eax, dword [ebp - 0x1c]
push eax
push eax
push esi
lea ecx, [ebp - 0x2c]
push 0x4871e8
push ecx
mov byte [ebp - 4], 8
call fcn.0041dfb0
mov ecx, dword [edi + 8]
add esp, 0x1c
call fcn.0043f6b0
mov esi, dword [ebp - 0x2c]
mov edx, dword [eax]
push 0xbb8
push esi
push eax
mov eax, dword [edx + 0x30]
call eax
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [esi - 0xc]
cmp ecx, dword [0x4a1010]
je 0x41f61c
add esi, 0xfffffff4
push esi
call edi
test eax, eax
jg 0x41f61c
push esi
call fcn.00461ef0
add esp, 4
lea edx, [ebx - 0xc]
cmp edx, dword [0x4a1010]
je 0x41f63a
lea esi, [ebx - 0xc]
push esi
call edi
test eax, eax
jg 0x41f63a
push esi
call fcn.00461ef0
add esp, 4
mov esi, dword [ebp - 0x1c]
lea eax, [esi - 0xc]
cmp eax, dword [0x4a1010]
je 0x41f65b
add esi, 0xfffffff4
push esi
call edi
test eax, eax
jg 0x41f65b
push esi
call fcn.00461ef0
add esp, 4
mov esi, dword [ebp - 0x14]
lea ecx, [esi - 0xc]
cmp ecx, dword [0x4a1010]
je 0x41f67c
add esi, 0xfffffff4
push esi
call edi
test eax, eax
jg 0x41f67c
push esi
call fcn.00461ef0
add esp, 4
mov eax, dword [ebp - 0x28]
lea edx, [eax - 0xc]
cmp edx, dword [0x4a1010]
je 0x41f69d
lea esi, [eax - 0xc]
push esi
call edi
test eax, eax
jg 0x41f69d
push esi
call fcn.00461ef0
add esp, 4
lea ecx, [ebp]
mov byte [ebp - 4], 1
call fcn.0042b920
mov esi, dword [ebp - 0x20]
lea eax, [esi - 0xc]
cmp eax, dword [0x4a1010]
je 0x41f6d2
add esi, 0xfffffff4
push esi
call edi
test eax, eax
jg 0x41f6d2
push esi
call fcn.00461ef0
add esp, 4
jmp 0x41f6d2
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov esi, dword [ebp - 0x10]
lea ecx, [esi - 0xc]
cmp ecx, dword [0x4a1010]
je 0x41f6f3
add esi, 0xfffffff4
push esi
call edi
test eax, eax
jg 0x41f6f3
push esi
call fcn.00461ef0
add esp, 4
mov eax, 1
lea esp, [ebp - 0x40]
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.00461862
add ebp, 0x318
mov esp, ebp
pop ebp
ret