Function at 0x401100
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4052d0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x409034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, 0x4062b8
mov byte [ebp - 4], 1
test eax, 0xffff0000
jne 0x40117a
mov ecx, eax
movzx esi, cx
push esi
call fcn.00401fd0
add esp, 4
cmp eax, ebx
je 0x40118e
push eax
mov eax, esi
lea edi, [ebp - 0x10]
call fcn.00401ef0
jmp 0x40118e
push 0x4062b8
mov edi, 0x15
lea ebx, [ebp - 0x10]
call fcn.00401cf0
xor ebx, ebx
mov byte [ebp - 4], 2
mov edi, dword [ebp - 0x10]
lea edx, [ebp - 0x28]
push edx
mov eax, edi
call fcn.004023a0
cmp eax, ebx
jne 0x401406
lea eax, [ebp - 0x28]
push eax
mov ebx, 0x80000001
call fcn.00402270
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, str.ChromePath
mov edi, eax
call fcn.00401940
mov byte [ebp - 4], 3
test edi, edi
jne 0x40124b
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x214]
add edi, 0x214
cmp dword [eax - 4], 1
jle 0x4011ed
mov edx, dword [eax - 0xc]
push edx
push edi
call fcn.00401c60
mov ebx, dword [edi]
mov esi, dword [ebp - 0x1c]
xor eax, eax
test ebx, ebx
setne al
test eax, eax
je 0x401219
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x28]
lea eax, [eax + eax + 2]
push eax
push ebx
push 1
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x401235
push ecx
push eax
call dword [sym.imp.MSVCR100.dll_wcsnlen]
add esp, 8
test eax, eax
js 0x4012cc
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x4012cc
mov dword [ecx - 0xc], eax
mov edx, dword [edi]
xor ecx, ecx
mov word [edx + eax*2], cx
lea edx, [ebp - 0x18]
push edx
mov ecx, str.360ChromePath
call fcn.00401940
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
mov edi, dword [ebp - 0x10]
push eax
mov ebx, 0x80000001
call fcn.00402270
test eax, eax
jne 0x4012f7
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x21c]
add edi, 0x21c
cmp dword [eax - 4], 1
jle 0x401295
mov ecx, dword [eax - 0xc]
push ecx
push edi
call fcn.00401c60
mov ebx, dword [edi]
mov esi, dword [ebp - 0x18]
xor eax, eax
test ebx, ebx
setne al
test eax, eax
je 0x4012c1
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
mov eax, dword [ebp - 0x28]
push edx
push ebx
push 1
push 0
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test eax, eax
jne 0x4012d6
jmp 0x4012e5
push 0x80070057
call fcn.004021d0
push ecx
push eax
call dword [sym.imp.MSVCR100.dll_wcsnlen]
add esp, 8
test eax, eax
js 0x4012cc
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x4012cc
mov dword [ecx - 0xc], eax
mov ecx, dword [edi]
xor edx, edx
mov word [ecx + eax*2], dx
lea eax, [ebp - 0x14]
push eax
mov ecx, str.360Path
call fcn.00401940
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
mov edi, dword [ebp - 0x10]
push ecx
mov ebx, 0x80000001
call fcn.00402270
test eax, eax
jne 0x40139b
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x218]
add edi, 0x218
cmp dword [eax - 4], 1
jle 0x40133d
mov edx, dword [eax - 0xc]
push edx
push edi
call fcn.00401c60
mov ebx, dword [edi]
mov esi, dword [ebp - 0x14]
xor eax, eax
test ebx, ebx
setne al
test eax, eax
je 0x401369
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x28]
lea eax, [eax + eax + 2]
push eax
push ebx
push 1
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x401385
push ecx
push eax
call dword [sym.imp.MSVCR100.dll_wcsnlen]
add esp, 8
test eax, eax
js 0x4012cc
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x4012cc
mov dword [ecx - 0xc], eax
mov edx, dword [edi]
xor ecx, ecx
mov word [edx + eax*2], cx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4013be
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4013e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401404
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ebx, ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401428
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x401436
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4