Function at 0x486c00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5254ba
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x5ba11c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
push 0x2001f
push str.SOFTWAREAtom_SecurityRemoteInstaller
push connect
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.0044ae50
mov esi, dword [ebp - 0x28]
mov edi, eax
test edi, edi
je 0x486d85
call fcn.004d03a0
mov esi, eax
mov ecx, esi
call fcn.004d0140
cmp byte [0x5c2096], 0
jne 0x486ccc
mov ecx, 0xf0
call fcn.004d0a00
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x486cc5
sub esp, 8
xorps xmm0, xmm0
mov ecx, eax
movsd qword [esp], xmm0
push 0x5c2096
sub esp, 0xc
push 0x84
push str.C:BuildAgentwork4d643bb3f4c71f96RemoteInstallerInstallerUILicenseDlg.cpp
push 0x48
call fcn.004d0210
jmp 0x486cc7
xor eax, eax
mov dword [0x5c4710], eax
mov ecx, esi
call fcn.004d0150
mov ecx, dword [0x5c4710]
lea ecx, [ecx + 0xd0]
call fcn.004d0140
mov eax, dword [0x5c4710]
mov eax, dword [eax]
mov ebx, dword [eax + 0x48]
mov edx, edi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.0044f340
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
push dword [eax]
call fcn.004523d0
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
add edx, 0xfffffff0
mov dword [ebp - 0x10], 1
or esi, 0xffffffff
mov byte [ebp - 4], 4
mov ecx, esi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x486d38
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 2
push dword [eax]
push edi
push str.Cant_open_registry_section:__u__s
push dword [0x5c4710]
call ebx
mov edx, dword [ebp - 0x1c]
add esp, 0x10
add edx, 0xfffffff0
mov byte [ebp - 4], 5
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x486d6b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov ecx, dword [0x5c4710]
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x5c4710]
jmp 0x486ec5
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 8
push eax
push ebx
lea eax, [ebp - 0x18]
push eax
push 0
push str.License
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x486db6
cmp dword [ebp - 0x18], 0xb
je 0x486ed7
lea edi, [eax + 0xd]
call fcn.004d03a0
mov esi, eax
mov ecx, esi
call fcn.004d0140
cmp byte [0x5c209c], 0
jne 0x486e11
mov ecx, 0xf0
call fcn.004d0a00
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x486e0a
sub esp, 8
xorps xmm0, xmm0
mov ecx, eax
movsd qword [esp], xmm0
push 0x5c209c
sub esp, 0xc
push 0x8d
push str.C:BuildAgentwork4d643bb3f4c71f96RemoteInstallerInstallerUILicenseDlg.cpp
push 0x50
call fcn.004d0210
jmp 0x486e0c
xor eax, eax
mov dword [0x5c4704], eax
mov ecx, esi
call fcn.004d0150
mov ecx, dword [0x5c4704]
lea ecx, [ecx + 0xd0]
call fcn.004d0140
mov eax, dword [0x5c4704]
mov eax, dword [eax]
mov ebx, dword [eax + 0x48]
mov edx, edi
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1c]
call fcn.0044f340
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x14]
push dword [eax]
call fcn.004523d0
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
add edx, 0xfffffff0
mov dword [ebp - 0x10], 2
or esi, 0xffffffff
mov byte [ebp - 4], 9
mov ecx, esi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x486e7d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 7
push dword [eax]
push edi
push str.License_query_failed:__u__s
push dword [0x5c4704]
call ebx
mov edx, dword [ebp - 0x14]
add esp, 0x10
add edx, 0xfffffff0
mov byte [ebp - 4], 0xa
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x486eb0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov ecx, dword [0x5c4704]
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x5c4704]
lea ecx, [ecx + 0xd0]
call fcn.004d0150
mov esi, dword [ebp - 0x28]
xor bl, bl
jmp 0x486ed9
mov bl, 1
test esi, esi
je 0x486ee4
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret