Function at 0x439fe0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1814
call fcn.004beaf0
mov eax, dword [0x54c384]
xor eax, esp
mov dword [esp + 0x1810], eax
push ebx
push esi
mov ebx, ecx
mov dword [esp + 0xc], ebx
push edi
mov edi, edx
mov dword [esp + 0xc], edi
test ebx, ebx
je 0x43a58e
push 0x400
lea eax, [esp + 0x214]
mov dword [esp + 0x1c], 1
push 0
push eax
mov dword [esp + 0x28], 0x400
call fcn.004c05c0
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x214]
push eax
lea eax, [esp + 0x20]
push eax
push 0x5097dc
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x43a13f
lea ecx, [esp + 0x210]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43a075
sub ecx, edx
cmp ecx, 0x40
jne 0x43a13f
push 0x20
lea eax, [esp + 0x214]
push eax
push ecx
lea edx, [ecx + 0x40]
lea ecx, [esp + 0x134]
call fcn.00439200
lea ecx, [esp + 0x28]
mov edx, 0x80
lea esi, [esp + 0x230]
mov eax, ecx
sub esi, eax
lea eax, [edx + 0x7fffff7e]
test eax, eax
je 0x43a0d0
mov al, byte [esi + ecx]
test al, al
je 0x43a0d0
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x43a0b5
jmp 0x43a0d4
test edx, edx
jne 0x43a0d5
dec ecx
push 0x400
lea eax, [esp + 0x214]
mov byte [ecx], 0
push 0
push eax
call fcn.004c05c0
add esp, 0xc
lea edx, [esp + 0x210]
lea ecx, [esp + 0x128]
push 0x400
call fcn.00439250
add esp, 4
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x43a13f
lea eax, [esp + 0x128]
mov edx, edi
push eax
mov ecx, ebx
call fcn.004390b0
neg eax
sbb eax, eax
add eax, 1
jne 0x43a58e
push 0x1000
lea eax, [esp + 0x81c]
push 0
push eax
call fcn.004c05c0
add esp, 0xc
lea ecx, [esp + 0x818]
call fcn.00439f10
lea ecx, [esp + 0x1a8]
call fcn.004393e0
test eax, eax
jne 0x43a1a2
lea ecx, [esp + 0x1a8]
call fcn.00439620
test eax, eax
jne 0x43a1a2
lea ecx, [esp + 0x1a8]
call fcn.00439880
test eax, eax
jne 0x43a1a2
lea ecx, [esp + 0x1a8]
call fcn.00439b70
test eax, eax
je 0x43a1eb
lea ecx, [esp + 0x1a8]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43a1b0
sub ecx, edx
je 0x43a1d7
nop dword [eax + eax]
dec ecx
cmp byte [esp + ecx + 0x1a8], 0x20
jne 0x43a1d7
mov byte [esp + ecx + 0x1a8], 0
test ecx, ecx
jne 0x43a1c0
lea eax, [esp + 0x1a8]
push eax
lea ecx, [esp + 0x81c]
call fcn.004390e0
push 0x64
lea eax, [esp + 0x12c]
push 0
push eax
call fcn.004c05c0
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [esp + 0x20]
add esp, 0xc
push eax
push 8
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x43a376
xor edi, edi
mov dword [esp + 0x18], 0x104
push edi
push edi
push edi
push edi
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x624]
push eax
push edi
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x43a370
lea eax, [esp + 0x1c]
push eax
push 1
push 0
lea eax, [esp + 0x61c]
push eax
push dword [esp + 0x24]
call esi
test eax, eax
jne 0x43a33f
lea eax, [esp + 0x20]
mov dword [esp + 0x24], 1
push eax
lea eax, [esp + 0x214]
mov dword [esp + 0x24], 0x208
push eax
lea eax, [esp + 0x2c]
push eax
push 0
push str.ServiceName
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43a339
push 0x64
push eax
lea eax, [esp + 0x30]
push eax
call fcn.004c05c0
add esp, 8
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x214]
call fcn.00439da0
add esp, 4
test eax, eax
je 0x43a339
cmp byte [esp + 0x128], 0
je 0x43a2f8
lea eax, [esp + 0x128]
push eax
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jns 0x43a339
lea ecx, [esp + 0x128]
mov edx, 0x64
lea esi, [esp + 0x28]
mov eax, ecx
sub esi, eax
nop dword [eax]
lea eax, [edx + 0x7fffff9a]
test eax, eax
je 0x43a32b
mov al, byte [esi + ecx]
test al, al
je 0x43a32b
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x43a310
jmp 0x43a32f
test edx, edx
jne 0x43a330
dec ecx
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov byte [ecx], 0
push dword [esp + 0x1c]
call ebx
push 0
push 0
push 0
push 0
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0x104
push eax
lea eax, [esp + 0x624]
inc edi
push eax
push edi
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x43a256
push dword [esp + 0x14]
call ebx
cmp byte [esp + 0x128], 0
je 0x43a3d0
lea ecx, [esp + 0x1a8]
xor edi, edi
lea esi, [esp + 0x128]
mov eax, ecx
mov edx, 0x64
sub esi, eax
nop dword [eax]
lea eax, [edx + 0x7fffff9a]
test eax, eax
je 0x43a3bb
mov al, byte [esi + ecx]
test al, al
je 0x43a3bb
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x43a3a0
jmp 0x43a3bf
test edx, edx
jne 0x43a3c5
dec ecx
mov edi, 0x8007007a
mov byte [ecx], 0
test edi, edi
jns 0x43a521
push 0x40
lea eax, [esp + 0x12c]
push 0
push eax
call fcn.004c05c0
mov edi, dword [sym.imp.NETAPI32.dll_Netbios]
lea eax, [esp + 0x34]
mov dword [esp + 0x138], eax
add esp, 0xc
mov eax, 0x100
mov byte [esp + 0x128], 0x37
mov word [esp + 0x130], ax
lea eax, [esp + 0x128]
push eax
call edi
test al, al
jne 0x43a535
movzx ebx, byte [esp + 0x29]
lea eax, [esp + 0x128]
push 0x40
push 0
push eax
call fcn.004c05c0
add esp, 0xc
mov byte [esp + 0x128], 0x32
lea eax, [esp + 0x128]
mov byte [esp + 0x158], bl
push eax
call edi
push 0x40
lea eax, [esp + 0x12c]
push 0
push eax
call fcn.004c05c0
lea ecx, [esp + 0x13e]
mov byte [esp + 0x134], 0x33
mov esi, 0x509650
mov byte [esp + 0x164], bl
mov eax, ecx
add esp, 0xc
mov edx, 0x10
sub esi, eax
lea eax, [edx + 0x7fffffee]
test eax, eax
je 0x43a4a1
mov al, byte [ecx + esi]
test al, al
je 0x43a4a1
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x43a486
jmp 0x43a4a5
test edx, edx
jne 0x43a4a6
dec ecx
mov byte [ecx], 0
mov eax, 0x258
mov word [esp + 0x130], ax
lea eax, [esp + 0x128]
push eax
mov dword [esp + 0x130], 0x558370
call edi
test al, al
jne 0x43a535
movzx eax, byte [0x558375]
push eax
movzx eax, byte [0x558374]
push eax
movzx eax, byte [0x558373]
push eax
movzx eax, byte [0x558372]
push eax
movzx eax, byte [0x558371]
push eax
movzx eax, byte [0x558370]
push eax
push str._02X_02X_02X_02X_02X_02X
lea eax, [esp + 0x1c4]
push 0x64
push eax
call fcn.00439140
xor ecx, ecx
add esp, 0x24
test eax, eax
setns cl
test ecx, ecx
je 0x43a535
lea eax, [esp + 0x1a8]
push eax
lea ecx, [esp + 0x81c]
call fcn.004390e0
cmp byte [esp + 0x818], 0
jne 0x43a577
lea ecx, [esp + 0x818]
mov esi, str.Mid2Failed
mov eax, ecx
mov edx, 0x1000
sub esi, eax
lea eax, [edx + 0x7fffeffe]
test eax, eax
je 0x43a56f
mov al, byte [ecx + esi]
test al, al
je 0x43a56f
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x43a554
jmp 0x43a573
test edx, edx
jne 0x43a574
dec ecx
mov byte [ecx], 0
push dword [esp + 0xc]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x81c]
call fcn.00439250
add esp, 4
mov ecx, dword [esp + 0x181c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret