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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4e49f3
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x515854]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
push edi
mov eax, dword [0x515854]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
push ebx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ebx
call edx
test al, al
jne 0x4181a8
xor edi, edi
mov dword [esp + 0x10], edi
lea eax, [esp + 0x10]
push eax
push 2
push edi
push str.Software360360se5_se6
mov dword [esp + 0xc0], edi
push Ordinal_4
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x417b89
cmp dword [ebx + 0x268], 8
jb 0x417b39
mov esi, dword [ebx + 0x254]
jmp 0x417b3f
lea esi, [ebx + 0x254]
push esi
call fcn.004b98fb
mov ecx, dword [esp + 0x14]
add esp, 4
add eax, eax
push eax
push esi
push 1
push edi
push 0x4ed84c
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, edi
je 0x417b90
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x417b7e
push eax
call esi
xor eax, eax
mov dword [esp + 0x10], eax
cmp eax, edi
mov dword [esp + 0x14], edi
je 0x417b89
push eax
call esi
xor al, al
jmp 0x4181aa
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x417ba5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [esp + 0x10], eax
cmp eax, edi
mov dword [esp + 0x14], edi
je 0x417bb8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], edi
lea edx, [esp + 0x10]
push edx
push 2
push edi
push str.Software360360se6Chrome
push Ordinal_4
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x417be2
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edi
jmp 0x417c38
cmp dword [ebx + 0x268], 8
jb 0x417bf3
mov esi, dword [ebx + 0x254]
jmp 0x417bf9
lea esi, [ebx + 0x254]
push esi
call fcn.004b98fb
add esp, 4
add eax, eax
push eax
mov eax, dword [esp + 0x14]
push esi
push 1
push edi
push 0x4ed84c
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, edi
je 0x417c21
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x417c34
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
lea ecx, [esp + 0x28]
push ecx
call fcn.0044873e
lea edx, [esp + 0x44]
push edx
mov byte [esp + 0xb4], 1
call fcn.00448d4e
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0xb4], 2
call fcn.00448f56
mov eax, dword [esp + 0x38]
mov bl, 3
mov byte [esp + 0xb0], bl
mov ecx, dword [eax + 0x70]
mov edx, dword [esp + 0x2c]
mov eax, dword [eax + 0x74]
mov edx, dword [edx + 0xc]
mov esi, dword [esp + 0x48]
push 1
push edx
add eax, ecx
push eax
push ecx
call fcn.00454933
test al, al
jne 0x417cce
lea esi, [esp + 0x50]
call fcn.00448f9d
lea ecx, [esp + 0x44]
call fcn.00448da9
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0xb4], 0
call fcn.00448908
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x417cc7
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x4181aa
mov eax, dword [esp + 0x38]
cmp dword [eax + 0x3c], 8
jb 0x417cdd
mov eax, dword [eax + 0x28]
jmp 0x417ce0
add eax, 0x28
call fcn.0042f2c8
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.00448892
mov esi, eax
push str.session
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0xbc], 4
call fcn.00448a59
push str.restore_on_startup
lea ecx, [esp + 0x34]
push ecx
push eax
mov byte [esp + 0xbc], 5
call fcn.00448a59
mov byte [esp + 0xb0], 6
mov edx, dword [esi + 4]
mov ecx, dword [edx + 0xc]
mov edx, dword [eax + 4]
mov esi, dword [edx + 0xc]
push ecx
call fcn.00452e0b
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0xb4], 5
call fcn.00448908
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0xb4], 4
call fcn.00448908
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0xb4], bl
call fcn.00448908
push str.session
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.00448a59
push str.urls_to_restore_on_startup
lea edx, [esp + 0x24]
push edx
push eax
mov byte [esp + 0xbc], 7
call fcn.00448a59
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], 7
call fcn.00448908
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0xb4], bl
call fcn.00448908
mov edi, dword [esp + 0x3c]
lea eax, [esp + 0x68]
add edi, 0x154
push eax
mov eax, edi
call fcn.00442c8d
add esp, 4
mov byte [esp + 0xb0], 9
cmp dword [eax + 0x18], 0x10
jb 0x417e01
mov eax, dword [eax + 4]
jmp 0x417e04
add eax, 4
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.0044883f
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.00448a59
push str.urls_to_restore_on_startup
lea ecx, [esp + 0x1c]
push ecx
push eax
mov byte [esp + 0xbc], 0xb
call fcn.00448a59
push esi
lea edx, [esp + 0x24]
push edx
push eax
mov byte [esp + 0xbc], 0xc
call fcn.00448aed
lea eax, [esp + 0x20]
push eax
call fcn.00448908
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0xb4], 0xb
call fcn.00448908
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0xb4], 0xa
call fcn.00448908
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0xb4], 9
call fcn.00448908
lea ecx, [esp + 0x68]
mov byte [esp + 0xb0], bl
call fcn.00407480
mov eax, dword [esp + 0x38]
cmp dword [eax + 0x3c], 8
jb 0x417eb8
mov eax, dword [eax + 0x28]
jmp 0x417ebb
add eax, 0x28
call fcn.0042f2c8
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.00448892
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.00448a59
push str.session
lea ecx, [esp + 0x1c]
push ecx
push eax
mov byte [esp + 0xbc], 0xe
call fcn.00448a59
push str.restore_on_startup
lea edx, [esp + 0x24]
push edx
push eax
mov byte [esp + 0xbc], 0xf
call fcn.00448a59
mov byte [esp + 0xb0], 0x10
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 0xc]
mov eax, dword [eax + 4]
mov esi, dword [eax + 0xc]
push edx
call fcn.00452e0b
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0xb4], 0xf
call fcn.00448908
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0xb4], 0xe
call fcn.00448908
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0xb4], 0xd
call fcn.00448908
lea ecx, [esp + 0x3c]
push ecx
mov byte [esp + 0xb4], bl
call fcn.00448908
push str.backup
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x30]
push eax
call fcn.00448a59
push str.session
lea ecx, [esp + 0x1c]
push ecx
push eax
mov byte [esp + 0xbc], 0x11
call fcn.00448a59
push str.urls_to_restore_on_startup
lea edx, [esp + 0x24]
push edx
push eax
mov byte [esp + 0xbc], 0x12
call fcn.00448a59
mov byte [esp + 0xb0], 0x13
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x38]
call eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xb0], 0x12
push ecx
call fcn.00448908
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0xb4], 0x11
call fcn.00448908
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0xb4], bl
call fcn.00448908
lea ecx, [esp + 0x68]
push ecx
mov eax, edi
call fcn.00442c8d
add esp, 4
mov edi, 0x10
mov byte [esp + 0xb0], 0x14
cmp dword [eax + 0x18], edi
jb 0x41802a
mov eax, dword [eax + 4]
jmp 0x41802d
add eax, 4
push eax
lea edx, [esp + 0x64]
push edx
call fcn.0044883f
mov esi, eax
push str.backup
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0xbc], 0x15
call fcn.00448a59
push str.session
lea edx, [esp + 0x34]
push edx
push eax
mov byte [esp + 0xbc], 0x16
call fcn.00448a59
push str.urls_to_restore_on_startup
lea ecx, [esp + 0x1c]
push ecx
push eax
mov byte [esp + 0xbc], 0x17
call fcn.00448a59
push esi
lea edx, [esp + 0x24]
push edx
push eax
mov byte [esp + 0xbc], 0x18
call fcn.00448aed
lea eax, [esp + 0x20]
push eax
call fcn.00448908
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0xb4], 0x17
call fcn.00448908
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0xb4], 0x16
call fcn.00448908
lea eax, [esp + 0x58]
push eax
mov byte [esp + 0xb4], 0x15
call fcn.00448908
lea ecx, [esp + 0x60]
push ecx
mov byte [esp + 0xb4], 0x14
call fcn.00448908
lea ecx, [esp + 0x68]
mov byte [esp + 0xb0], bl
call fcn.00407480
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x58]
call fcn.00448fe0
mov esi, dword [esp + 0x38]
mov ecx, dword [esi + 0x6c]
push 0
push 0
push 0
push ecx
mov dword [esp + 0x5c], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [esp + 0x9c], edi
mov eax, dword [esp + 0x88]
jae 0x418145
lea eax, [esp + 0x88]
mov ecx, dword [esp + 0x98]
push 0
lea edx, [esp + 0x50]
push edx
mov edx, dword [esi + 0x6c]
push ecx
push eax
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esi + 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
lea ecx, [esp + 0x84]
call fcn.00407480
lea esi, [esp + 0x50]
call fcn.00448f9d
lea ecx, [esp + 0x44]
call fcn.00448da9
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0xb4], 0
call fcn.00448908
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4181a8
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.004b6e9f
mov esp, ebp
pop ebp
ret 4