Function at 0x415a10
Capabilities:
Set registry value
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x516403
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x5467a4]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
push edi
mov eax, dword [0x5467a4]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
push esi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], esi
call edx
test al, al
jne 0x416129
xor ebx, ebx
mov dword [esp + 0x10], ebx
lea eax, [esp + 0x10]
push eax
push 2
push ebx
push str.Software360360se5_se6
mov dword [esp + 0xc0], ebx
push Ordinal_4
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x415b07
cmp dword [esi + 0x268], 8
jb 0x415aa9
mov edx, dword [esi + 0x254]
jmp 0x415aaf
lea edx, [esi + 0x254]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x415ab4
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sub eax, esi
sar eax, 1
lea ecx, [eax + eax]
push ecx
push edx
mov edx, dword [esp + 0x18]
push 1
push ebx
push 0x51b4bc
push edx
call edi
cmp eax, ebx
je 0x415b0e
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x415afc
push eax
call esi
xor eax, eax
mov dword [esp + 0x10], eax
cmp eax, ebx
mov dword [esp + 0x14], ebx
je 0x415b07
push eax
call esi
xor al, al
jmp 0x41612b
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x415b23
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [esp + 0x10], eax
cmp eax, ebx
mov dword [esp + 0x14], ebx
je 0x415b36
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], ebx
lea eax, [esp + 0x10]
push eax
push 2
push ebx
push str.Software360360se6Chrome
push Ordinal_4
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
je 0x415b60
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebx
jmp 0x415bc2
mov edx, dword [esp + 0x3c]
cmp dword [edx + 0x268], 8
jb 0x415b75
mov edx, dword [edx + 0x254]
jmp 0x415b7b
add edx, 0x254
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x415b80
sub eax, esi
sar eax, 1
lea ecx, [eax + eax]
push ecx
push edx
mov edx, dword [esp + 0x18]
push 1
push ebx
push 0x51b4bc
push edx
call edi
cmp eax, ebx
je 0x415bab
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x415bbe
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
lea eax, [esp + 0x28]
push eax
call fcn.004522b0
lea ecx, [esp + 0x44]
push ecx
mov byte [esp + 0xb4], 1
call fcn.00452ce0
lea edx, [esp + 0x50]
push edx
mov byte [esp + 0xb4], 2
call fcn.00453110
mov esi, dword [esp + 0x38]
mov byte [esp + 0xb0], 3
mov edx, dword [esp + 0x2c]
mov ecx, dword [esi + 0x70]
mov eax, dword [esi + 0x74]
mov edx, dword [edx + 0xc]
push 1
push edx
add eax, ecx
push eax
mov eax, dword [esp + 0x54]
push ecx
push eax
call fcn.004659e0
test al, al
jne 0x415c58
lea esi, [esp + 0x50]
call fcn.00453190
lea ecx, [esp + 0x44]
call fcn.00452dd0
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0xb4], 0
call fcn.00452520
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x415c51
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x41612b
cmp dword [esi + 0x3c], 8
jb 0x415c63
mov eax, dword [esi + 0x28]
jmp 0x415c66
lea eax, [esi + 0x28]
call fcn.0042bbb0
push eax
lea edx, [esp + 0x24]
push edx
call fcn.00452470
mov esi, eax
push str.session
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0xbc], 4
call fcn.00452810
push str.restore_on_startup
lea edx, [esp + 0x34]
push edx
mov bl, 5
push eax
mov byte [esp + 0xbc], bl
call fcn.00452810
mov byte [esp + 0xb0], 6
mov ecx, dword [esi + 4]
mov edx, dword [eax + 4]
mov eax, dword [ecx + 0xc]
mov esi, dword [edx + 0xc]
call fcn.00462fb0
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0xb4], bl
call fcn.00452520
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0xb4], 4
call fcn.00452520
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0xb4], 3
call fcn.00452520
push str.session
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.00452810
push str.urls_to_restore_on_startup
lea edx, [esp + 0x24]
push edx
mov bl, 7
push eax
mov byte [esp + 0xbc], bl
call fcn.00452810
mov byte [esp + 0xb0], 8
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x38]
call eax
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0xb4], bl
call fcn.00452520
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0xb4], 3
call fcn.00452520
mov ebx, dword [esp + 0x3c]
add ebx, 0x154
mov ecx, ebx
lea esi, [esp + 0x68]
call fcn.004495e0
mov byte [esp + 0xb0], 9
cmp dword [eax + 0x18], 0x10
jb 0x415d84
mov eax, dword [eax + 4]
jmp 0x415d87
add eax, 4
lea ecx, [esp + 0x3c]
push ecx
mov edi, eax
call fcn.004523f0
mov esi, eax
push str.session
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0xbc], 0xa
call fcn.00452810
push str.urls_to_restore_on_startup
lea ecx, [esp + 0x1c]
push ecx
push eax
mov byte [esp + 0xbc], 0xb
call fcn.00452810
push esi
lea edx, [esp + 0x24]
push edx
push eax
mov byte [esp + 0xbc], 0xc
call fcn.00452910
lea eax, [esp + 0x20]
push eax
call fcn.00452520
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0xb4], 0xb
call fcn.00452520
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0xb4], 0xa
call fcn.00452520
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0xb4], 9
call fcn.00452520
lea ecx, [esp + 0x68]
mov byte [esp + 0xb0], 3
call fcn.00406a90
mov eax, dword [esp + 0x38]
cmp dword [eax + 0x3c], 8
jb 0x415e3d
mov eax, dword [eax + 0x28]
jmp 0x415e40
add eax, 0x28
call fcn.0042bbb0
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.00452470
mov esi, eax
push str.backup
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0xbc], 0xd
call fcn.00452810
push str.session
lea ecx, [esp + 0x1c]
push ecx
push eax
mov byte [esp + 0xbc], 0xe
call fcn.00452810
push str.restore_on_startup
lea edx, [esp + 0x24]
push edx
push eax
mov byte [esp + 0xbc], 0xf
call fcn.00452810
mov byte [esp + 0xb0], 0x10
mov ecx, dword [esi + 4]
mov edx, dword [eax + 4]
mov eax, dword [ecx + 0xc]
mov esi, dword [edx + 0xc]
call fcn.00462fb0
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0xb4], 0xf
call fcn.00452520
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0xb4], 0xe
call fcn.00452520
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0xb4], 0xd
call fcn.00452520
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0xb4], 3
call fcn.00452520
push str.backup
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.00452810
push str.session
lea ecx, [esp + 0x1c]
push ecx
push eax
mov byte [esp + 0xbc], 0x11
call fcn.00452810
push str.urls_to_restore_on_startup
lea edx, [esp + 0x24]
push edx
push eax
mov byte [esp + 0xbc], 0x12
call fcn.00452810
mov byte [esp + 0xb0], 0x13
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x38]
call eax
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0xb4], 0x12
call fcn.00452520
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0xb4], 0x11
call fcn.00452520
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0xb4], 3
call fcn.00452520
mov ecx, ebx
lea esi, [esp + 0x68]
call fcn.004495e0
mov bl, 0x14
mov byte [esp + 0xb0], bl
cmp dword [eax + 0x18], 0x10
jb 0x415fa9
mov eax, dword [eax + 4]
jmp 0x415fac
add eax, 4
lea ecx, [esp + 0x60]
push ecx
mov edi, eax
call fcn.004523f0
mov esi, eax
push str.backup
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0xbc], 0x15
call fcn.00452810
push str.session
lea ecx, [esp + 0x34]
push ecx
push eax
mov byte [esp + 0xbc], 0x16
call fcn.00452810
push str.urls_to_restore_on_startup
lea edx, [esp + 0x1c]
push edx
push eax
mov byte [esp + 0xbc], 0x17
call fcn.00452810
push esi
lea ecx, [esp + 0x24]
push ecx
push eax
mov byte [esp + 0xbc], 0x18
call fcn.00452910
lea edx, [esp + 0x20]
push edx
call fcn.00452520
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0xb4], 0x17
call fcn.00452520
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0xb4], 0x16
call fcn.00452520
lea edx, [esp + 0x58]
push edx
mov byte [esp + 0xb4], 0x15
call fcn.00452520
lea eax, [esp + 0x60]
push eax
mov byte [esp + 0xb4], bl
call fcn.00452520
lea ecx, [esp + 0x68]
mov byte [esp + 0xb0], 3
call fcn.00406a90
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x88]
push edx
lea ecx, [esp + 0x58]
call fcn.004531e0
mov esi, dword [esp + 0x38]
mov eax, dword [esi + 0x6c]
push 0
push 0
push 0
push eax
mov dword [esp + 0x5c], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [esp + 0x9c], 0x10
mov eax, dword [esp + 0x88]
jae 0x4160c6
lea eax, [esp + 0x88]
mov edx, dword [esp + 0x98]
push 0
lea ecx, [esp + 0x50]
push ecx
push edx
push eax
mov eax, dword [esi + 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esi + 0x6c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
lea ecx, [esp + 0x84]
call fcn.00406a90
lea esi, [esp + 0x50]
call fcn.00453190
lea ecx, [esp + 0x44]
call fcn.00452dd0
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0xb4], 0
call fcn.00452520
mov eax, dword [esp + 0x10]
test eax, eax
je 0x416129
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.004e7d6f
mov esp, ebp
pop ebp
ret 4