Function at 0x43f208
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x474dc6
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x48a3c0]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48a3c0]
xor eax, esp
push eax
lea eax, [esp + 0x244]
mov dword fs:[0], eax
mov eax, dword [esp + 0x254]
xor esi, esi
push 0x206
lea edx, [esp + 0x3a]
xor ecx, ecx
push esi
push edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], esi
mov word [esp + 0x40], cx
call fcn.00462160
add esp, 0xc
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x38]
push edx
push str.path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push SysReAllocStringLen
mov dword [esp + 0x48], 1
mov dword [esp + 0x44], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x43efc4
cmp dword [esp + 0x2c], esi
jbe 0x43efc4
push str.pdown.dll
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43f393
lea edx, [esp + 0x34]
push edx
call fcn.0045eb50
add esp, 4
test eax, eax
je 0x43f393
mov eax, dword [0x48e57c]
mov edx, dword [eax + 0xc]
mov ecx, 0x48e57c
call edx
add eax, 0x10
mov dword [esp + 0x24], eax
mov dword [esp + 0x24c], esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [esp + 0x20], esi
cmp dword [0x49186c], esi
jne 0x43f039
push str.IsWow64Process
push str.kernel32
call ebp
push eax
call ebx
mov dword [0x49186c], eax
cmp eax, esi
je 0x43f04b
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x49186c]
lea edi, [esp + 0x24]
cmp dword [esp + 0x20], esi
je 0x43f05c
push str.http:__update.leak.360.cn_leakdat_getincdat_64.dat
jmp 0x43f061
push str.http:__update.leak.360.cn_leakdat_getincdat_32.dat
call fcn.004543e0
mov edx, dword [0x48e57c]
mov eax, dword [edx + 0xc]
add esp, 4
mov ecx, 0x48e57c
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x24c], 1
mov dword [esp + 0x1c], esi
cmp dword [0x49186c], esi
jne 0x43f0ac
push str.IsWow64Process
push str.kernel32
call ebp
push eax
call ebx
mov dword [0x49186c], eax
cmp eax, esi
je 0x43f0be
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x49186c]
lea edi, [esp + 0x20]
cmp dword [esp + 0x1c], esi
je 0x43f0cf
push str.http:__update2.leak.360.cn_leakdat_getincdat_64.dat
jmp 0x43f0d4
push str.http:__update2.leak.360.cn_leakdat_getincdat_32.dat
call fcn.004543e0
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 4
mov ebx, 0x7530
mov dword [esp + 0x1c], esi
jmp 0x43f0f0
call ebp
mov edx, dword [esp + 0x24]
mov esi, eax
mov eax, dword [esp + 0x28]
push edx
push eax
call fcn.00438010
mov edi, eax
call ebp
sub esi, eax
add ebx, esi
cmp edi, 4
ja case.0x43f110.2
jmp dword [edi*4 + 0x43f39c]
test ebx, ebx
jle 0x43f133
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, 0x258
mov dword [esp + 0x1c], eax
jl 0x43f0f0
mov ebp, dword [sym.imp.WININET.dll_InternetGetConnectedState]
xor esi, esi
mov bl, 7
lea ecx, [ecx]
push 0
lea ecx, [esp + 0x20]
push ecx
call ebp
test eax, eax
je 0x43f157
test byte [esp + 0x1c], bl
jne 0x43f267
call fcn.0045c600
test eax, eax
jne 0x43f267
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x620]
push 0x1f4
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x43f187
inc esi
cmp esi, 0x4b0
jl 0x43f140
mov byte [esp + 0x24c], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43f1af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x24c], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43f1da
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x244]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.00460259
add esp, 0x23c
ret 4
mov dword [esp + 0x18], 1
push 0
call fcn.00461565
add esp, 4
push 4
lea ecx, [esp + 0x20]
push ecx
push 4
push str.Networking
push str.SOFTWARE360Safe_safemon
push SysReAllocStringLen
mov dword [esp + 0x34], eax
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov edi, dword [esp + 0x20]
lea eax, [edi - 0x10]
mov byte [esp + 0x24c], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x43f1a3
mov dword [esp + 0x18], 2
jmp 0x43f210
mov ecx, dword [esp + 0x24]
mov esi, dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
push ecx
call esi
mov edi, dword [esp + 0x20]
push edi
call esi
xor ebp, ebp
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
push edx
mov ecx, ebx
call fcn.0043eca0
mov esi, eax
test esi, esi
je 0x43f320
cmp esi, 1
je 0x43f320
mov eax, dword [ebx + 0x620]
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x43f2bc
inc ebp
cmp ebp, 3
jl 0x43f27d
test esi, esi
je 0x43f320
cmp esi, 1
je 0x43f320
cmp esi, 3
je 0x43f2cf
cmp esi, 4
jne 0x43f32d
xor ebp, ebp
push edi
mov ecx, ebx
call fcn.0043eca0
mov esi, eax
test esi, esi
je 0x43f320
cmp esi, 1
je 0x43f320
mov ecx, dword [ebx + 0x620]
push 0x3e8
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x43f300
inc ebp
cmp ebp, 3
jl 0x43f2d1
test esi, esi
je 0x43f320
cmp esi, 1
je 0x43f320
cmp esi, 3
je 0x43f313
cmp esi, 4
jne 0x43f32d
mov dword [esp + 0x18], 2
jmp 0x43f240
mov dword [esp + 0x18], 1
jmp 0x43f240
xor esi, esi
nop
push edi
mov ecx, ebx
call fcn.0043eca0
test eax, eax
je 0x43f320
cmp eax, 1
je 0x43f320
mov edx, dword [ebx + 0x620]
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x3e8
push edx
call ebp
test eax, eax
je 0x43f35f
inc esi
cmp esi, 0x14
jl 0x43f330
xor esi, esi
push edi
mov ecx, ebx
call fcn.0043eca0
test eax, eax
je 0x43f320
cmp eax, 1
je 0x43f320
mov eax, dword [ebx + 0x620]
push 0x2710
push eax
call ebp
test eax, eax
je 0x43f240
inc esi
cmp esi, 0x1e
jl 0x43f361
jmp 0x43f240
mov eax, esi
jmp 0x43f1de