Function at 0x4c04d0
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x470
mov esi, esp
mov ecx, dword [ebp + 8]
mov eax, dword [0x5f3418]
xor eax, ebp
mov dword [esi + 0x468], eax
xor edi, edi
dec edi
lea ebx, [esi + 0x34]
mov dword [ebx], edi
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
push 4
push str.type
push ebx
call fcn.00500040
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x4c0519
mov eax, dword [esi + 0x38]
jmp 0x4c051c
and eax, 0x7f
test eax, eax
je 0x4c054a
xor ebx, ebx
cmp byte [esi + 0x3f], 0
jns 0x4c0533
push dword [esi + 0x34]
call fcn.0050fc7c
add esp, 4
mov ecx, dword [esi + 0x468]
xor ecx, ebp
call fcn.00512ee3
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [ebp + 8]
push str.secorepending
call fcn.004fd6b0
xor ebx, ebx
test al, al
jne 0x4c0522
lea eax, [esi + 0x58]
push 0x208
push ebx
push eax
call fcn.005191b0
add esp, 0xc
push 0x104
lea eax, [esi + 0x58]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5d7c38
lea eax, [esi + 0x58]
push eax
call fcn.005196eb
add esp, 8
test eax, eax
je 0x4c0520
push eax
call fcn.00510eb5
add esp, 4
cmp eax, 0xd
jne 0x4c0520
push 1
push 0x5d7c54
push 0x5d7c6a
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 1
je 0x4c05c6
mov bl, 1
jmp 0x4c0522
mov dword [esi + 0xc], esp
lea eax, [esi + 0x28]
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
push eax
sub esp, 0xc
mov ebx, esp
lea ecx, [ebx + 4]
mov dword [esi + 8], ecx
push str.installer_setup.exe
call fcn.005477d0
mov dword [esi + 4], ebx
lea eax, [esi + 0x28]
mov dword [ebx], eax
lea ecx, [esi + 0x10]
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
mov ebx, 0x5d7d84
push ebx
call fcn.005477d0
lea ecx, [esi + 0x40]
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
push ebx
call fcn.005477d0
lea eax, [esi + 0x260]
mov dword [eax], 1
lea ecx, [esi + 0x50]
mov dword [ecx], 4
push ecx
push 0
push eax
push str.UninstallString
push str.Software360360se6UpdateClientState02E720BD_2B50_4404_947C_65DBE64F6970
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4c08fb
mov ebx, dword [esi + 0x50]
test ebx, ebx
je 0x4c08fb
lea eax, [ebx + ebx]
lea ecx, [ebx + ebx]
inc ecx
add eax, eax
add eax, 2
test ecx, ecx
cmovns edi, eax
push edi
call fcn.00510d94
add esp, 4
test eax, eax
je 0x4c08fb
mov edi, eax
lea eax, [ebx*4 + 2]
push eax
push 0
push edi
call fcn.005191b0
add esp, 0xc
lea eax, [esi + 0x50]
push eax
push edi
lea eax, [esi + 0x260]
push eax
push str.UninstallString
push str.Software360360se6UpdateClientState02E720BD_2B50_4404_947C_65DBE64F6970
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4c08f2
push edi
call fcn.00510eb5
add esp, 4
lea ebx, [esi + 0x40]
mov ecx, ebx
push eax
push edi
call fcn.00547750
push edi
call fcn.0050fc7c
add esp, 4
xor eax, eax
push 0x208
push eax
lea eax, [esi + 0x260]
push eax
call fcn.005191b0
add esp, 0xc
cmp byte [esi + 0x4b], 0
jns 0x4c06f8
mov ebx, dword [esi + 0x40]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push ebx
lea ebx, [esi + 0x260]
push ebx
call edi
push str.....
push ebx
call edi
mov eax, dword [esi + 4]
cmp byte [eax + 0xf], 0
mov eax, dword [esi + 8]
jns 0x4c0722
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
push eax
lea ebx, [esi + 0x260]
push ebx
call edi
push ebx
call fcn.00510eb5
add esp, 4
lea edi, [esi + 0x10]
mov ecx, edi
push eax
push ebx
call fcn.00547750
movsd xmm0, qword [edi]
movsd qword [esi + 0x28], xmm0
mov eax, dword [edi + 8]
mov dword [esi + 0x30], eax
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
cmp byte [esi + 0x4b], 0
jns 0x4c076b
push dword [esi + 0x40]
call fcn.0050fc7c
add esp, 4
cmp byte [esi + 0x1b], 0
jns 0x4c077c
push dword [esi + 0x10]
call fcn.0050fc7c
add esp, 4
mov eax, dword [esi + 4]
cmp byte [eax + 0xf], 0
jns 0x4c0792
mov eax, dword [esi + 8]
push dword [eax]
call fcn.0050fc7c
add esp, 4
mov esp, dword [esi + 0xc]
lea eax, [esi + 0x44]
xor ebx, ebx
mov dword [eax], ebx
mov dword [eax - 4], ebx
mov dword [eax + 4], ebx
lea eax, [esi + 0x28]
push eax
push 0x5d7d64
lea edi, [esi + 0x10]
push edi
call fcn.004106c0
add esp, 0xc
mov ecx, edi
push 2
push 0x5d7d5e
call fcn.00410600
mov edx, dword [eax + 8]
lea ecx, [esi + 0x260]
mov dword [ecx + 8], edx
movsd xmm0, qword [eax]
movsd qword [ecx], xmm0
mov dword [eax], ebx
mov dword [eax + 8], ebx
mov dword [eax + 4], ebx
push 0x3e
push str.__secore_restore___360se_pid360secore2___silent_install2_1_1
call fcn.00410600
mov edi, dword [eax]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 7]
mov dword [esi + 0x53], edx
mov dword [esi + 0x50], ecx
mov cl, byte [eax + 0xb]
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov dword [eax + 8], ebx
lea ebx, [esi + 0x44]
cmp byte [ebx + 7], 0
jns 0x4c0820
push dword [esi + 0x40]
mov byte [esi + 4], cl
call fcn.0050fc7c
mov cl, byte [esi + 4]
add esp, 4
mov dword [esi + 0x40], edi
mov eax, dword [esi + 0x53]
mov dword [ebx + 3], eax
mov eax, dword [esi + 0x50]
mov dword [ebx], eax
mov byte [esi + 0x4b], cl
cmp byte [esi + 0x26b], 0
mov ebx, ecx
jns 0x4c084a
push dword [esi + 0x260]
call fcn.0050fc7c
add esp, 4
cmp byte [esi + 0x1b], 0
jns 0x4c085b
push dword [esi + 0x10]
call fcn.0050fc7c
add esp, 4
xorps xmm0, xmm0
movups xmmword [esi + 0x294], xmm0
movups xmmword [esi + 0x284], xmm0
movups xmmword [esi + 0x274], xmm0
movups xmmword [esi + 0x264], xmm0
mov dword [esi + 0x260], 0x44
movaps xmmword [esi + 0x10], xmm0
test bl, bl
lea ecx, [esi + 0x40]
cmovs ecx, edi
sub esp, 0x28
lea eax, [esi + 0x10]
mov dword [esp + 0x24], eax
lea eax, [esi + 0x260]
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
movaps xmm0, xmmword [0x5d7ad0]
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp byte [esi + 0x4b], 0
jns 0x4c08d8
push dword [esi + 0x40]
call fcn.0050fc7c
add esp, 4
cmp byte [esi + 0x33], 0
jns 0x4c05bf
push dword [esi + 0x28]
call fcn.0050fc7c
add esp, 4
jmp 0x4c05bf
push edi
call fcn.0050fc7c
add esp, 4
lea ecx, [esi + 0x28]
push 0x5d7d84
call fcn.005477d0
jmp 0x4c075a