Function at 0x41f550
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4694b8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4832f0]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4832f0]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebx
cmp dword [edi], ebx
je 0x41f59a
lea eax, [ebx + 1]
jmp 0x41f97f
test byte [0x4e0290], 1
jne 0x41f5b0
or dword [0x4e0290], 1
mov dword [0x4e0294], ebx
mov esi, edi
mov dword [edi + 4], 0x4e0294
call fcn.0041fd40
test eax, eax
je 0x41f7c3
push 0x4db040
push 0xc3c
call fcn.0044dca1
add esp, 8
mov dword [edi], eax
cmp eax, ebx
je 0x41f7c3
push 0x104
add eax, 0x618
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x41f962
mov ecx, dword [0x4dced8]
mov ebp, 0x4743d4
cmp ecx, ebx
jne 0x41f60f
mov ebp, str.360bprot.sys
mov eax, dword [edi + 4]
test byte [eax], 2
je 0x41f62f
cmp ecx, ebx
je 0x41f625
mov dword [esp + 0x14], str.360bprot64_win10.sys
jmp 0x41f633
mov dword [esp + 0x14], str.360bprot_win10.sys
jmp 0x41f633
mov dword [esp + 0x14], ebp
mov eax, dword [edi]
add eax, 0xa28
mov esi, ebp
xor ebx, ebx
mov edx, 0x104
sub esi, eax
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x41f665
movzx ecx, word [esi + eax]
test cx, cx
je 0x41f665
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x41f645
jmp 0x41f669
test edx, edx
jne 0x41f671
sub eax, 2
mov ebx, 0x8007007a
xor edx, edx
mov word [eax], dx
test ebx, ebx
jl 0x41f962
mov eax, dword [edi]
add eax, 0x618
mov ecx, 0x104
mov edx, eax
lea esp, [esp]
cmp word [edx], 0
je 0x41f6a3
add edx, 2
sub ecx, 1
jne 0x41f690
jmp 0x41f962
test ecx, ecx
je 0x41f962
mov edx, 0x104
sub edx, ecx
mov ecx, 0x104
sub ecx, edx
lea eax, [eax + edx*2]
mov edi, 0
je 0x41f6f0
mov ebx, str.drivers_
lea esi, [ecx + edx + 0x7ffffefb]
sub ebx, eax
test esi, esi
je 0x41f6ec
movzx edx, word [eax + ebx]
test dx, dx
je 0x41f6ec
mov word [eax], dx
dec ecx
add eax, 2
dec esi
test ecx, ecx
jne 0x41f6d1
jmp 0x41f6f0
test ecx, ecx
jne 0x41f6f8
sub eax, 2
mov edi, 0x8007007a
xor ecx, ecx
mov word [eax], cx
test edi, edi
jl 0x41f962
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
add eax, 0x618
mov ecx, 0x104
mov edx, eax
cmp word [edx], 0
je 0x41f72a
add edx, 2
sub ecx, 1
jne 0x41f717
jmp 0x41f962
test ecx, ecx
je 0x41f962
mov edx, 0x104
sub edx, ecx
mov ecx, 0x104
sub ecx, edx
lea eax, [eax + edx*2]
mov ebx, 0
je 0x41f774
mov edi, ebp
lea esi, [ecx + edx + 0x7ffffefb]
sub edi, eax
test esi, esi
je 0x41f770
movzx edx, word [eax + edi]
test dx, dx
je 0x41f770
mov word [eax], dx
dec ecx
add eax, 2
dec esi
test ecx, ecx
jne 0x41f755
jmp 0x41f774
test ecx, ecx
jne 0x41f77c
sub eax, 2
mov ebx, 0x8007007a
xor ecx, ecx
mov word [eax], cx
test ebx, ebx
jl 0x41f962
xor ebp, ebp
xor edx, edx
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], ebp
mov word [esp + 0x28], dx
lea ecx, [esp + 0x24]
mov dword [esp + 0x4c], ebp
call fcn.004090f0
test eax, eax
jne 0x41f7ca
push ebp
push 0x474a60
lea esi, [esp + 0x2c]
call fcn.004018a0
call fcn.00402290
xor eax, eax
jmp 0x41f97f
push 9
push str.Download
lea eax, [esp + 0x2c]
call fcn.00405090
cmp dword [esp + 0x3c], 8
mov eax, dword [esp + 0x28]
jae 0x41f7e9
lea eax, [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edx, dword [ebx]
push ecx
push eax
add edx, 0x410
push str._s_s
push edx
mov ecx, 0x104
call fcn.00402ee0
add esp, 0x10
test eax, eax
jl 0x41f959
mov eax, dword [ebx]
mov ecx, str..360bprot
mov esi, 0x104
xor edi, edi
lea edx, [esi + 0x7ffffefa]
test edx, edx
je 0x41f846
movzx edx, word [ecx]
cmp dx, bp
je 0x41f846
mov word [eax], dx
add eax, 2
add ecx, 2
sub esi, 1
jne 0x41f824
jmp 0x41f84a
cmp esi, ebp
jne 0x41f852
sub eax, 2
mov edi, 0x8007007a
xor ecx, ecx
cmp edi, ebp
mov word [eax], cx
jl 0x41f959
mov eax, dword [ebx]
add eax, 0x208
mov ecx, str.360bprot
mov esi, 0x104
xor edi, edi
lea edx, [esi + 0x7ffffefa]
test edx, edx
je 0x41f894
movzx edx, word [ecx]
cmp dx, bp
je 0x41f894
mov word [eax], dx
add eax, 2
add ecx, 2
sub esi, 1
jne 0x41f872
jmp 0x41f898
cmp esi, ebp
jne 0x41f8a0
sub eax, 2
mov edi, 0x8007007a
xor ecx, ecx
cmp edi, ebp
mov word [eax], cx
jl 0x41f959
mov eax, dword [ebx]
add eax, 0x820
mov ecx, str.360_browser_driver
mov esi, 0x104
xor edi, edi
lea edx, [esi + 0x7ffffefa]
test edx, edx
je 0x41f8e2
movzx edx, word [ecx]
cmp dx, bp
je 0x41f8e2
mov word [eax], dx
add eax, 2
add ecx, 2
sub esi, 1
jne 0x41f8c0
jmp 0x41f8e6
cmp esi, ebp
jne 0x41f8ee
sub eax, 2
mov edi, 0x8007007a
xor ecx, ecx
cmp edi, ebp
mov word [eax], cx
jl 0x41f959
mov edx, dword [ebx]
mov dword [edx + 0xc30], 3
mov eax, dword [ebx]
mov dword [eax + 0xc34], 1
mov ecx, dword [ebx]
mov dword [ecx + 0xc38], ebp
mov edx, dword [ebx + 4]
test byte [edx], 1
je 0x41f93e
mov edx, dword [ebx]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
push ecx
add edx, 0x410
push edx
call fcn.00421940
add esp, 0xc
test eax, eax
je 0x41f959
cmp dword [esp + 0x3c], 8
mov dword [esp + 0x1c], 1
jb 0x41f97b
mov eax, dword [esp + 0x28]
push eax
call fcn.0044b6e3
jmp 0x41f978
lea esi, [esp + 0x24]
call fcn.00402290
mov esi, dword [esp + 0x18]
mov eax, dword [esi]
test eax, eax
je 0x41f97b
push eax
call fcn.0044b6e3
mov dword [esi], 0
add esp, 4
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0044b6ee
add esp, 0x3c
ret