Function at 0x443710
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0e0e
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4e96d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
xor esi, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x10]
mov dword [ebp - 4], esi
push eax
push 0x2001f
push esi
push str.SOFTWAREAtom_SecurityRemoteInstaller
push connect
mov dword [ebp - 0x10], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x44388b
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x10]
push eax
push ebx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x20], esi
push eax
push edi
push str.License
push esi
mov dword [ebp - 0x10], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x4437a8
cmp dword [ebp - 0x14], 0xb
je 0x443884
lea edi, [eax + 0xd]
call fcn.0046c0e0
mov ebx, eax
mov ecx, ebx
call fcn.0046e8e0
cmp byte [0x4f3b4d], 0
jne 0x443810
push 0xf0
call fcn.0046e4f0
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x443805
push 0x4f3b4d
sub esp, 8
xorps xmm0, xmm0
mov ecx, eax
movsd qword [esp], xmm0
push 0x4cea7a
push 0
push 0
push 0x8d
push str.C:BuildAgentwork6ef1b807bd9726a1RemoteInstallerInstallerUILicenseDlg.cpp
push 0x50
call fcn.0046bf00
jmp 0x443807
xor eax, eax
mov byte [ebp - 4], 0
mov dword [0x4f3ee8], eax
mov ecx, ebx
call fcn.0046e8f0
mov ecx, dword [0x4f3ee8]
lea ecx, [ecx + 0xd0]
call fcn.0046e8e0
mov edx, edi
lea ecx, [ebp - 0x14]
call fcn.00410e50
mov byte [ebp - 4], 4
mov ecx, dword [0x4f3ee8]
push dword [eax]
push edi
mov edx, dword [ecx]
push str.License_query_failed:__u__s
push ecx
call dword [edx + 0x48]
mov byte [ebp - 4], 0
add esp, 0x10
mov edx, dword [ebp - 0x14]
or ecx, 0xffffffff
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44386e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [0x4f3ee8]
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x4f3ee8]
jmp 0x443962
mov bl, 1
jmp 0x44396f
call fcn.0046c0e0
mov ebx, eax
mov ecx, ebx
call fcn.0046e8e0
cmp byte [0x4f3b52], 0
jne 0x4438f3
push 0xf0
call fcn.0046e4f0
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x4438e8
push 0x4f3b52
sub esp, 8
xorps xmm0, xmm0
mov ecx, eax
movsd qword [esp], xmm0
push 0x4cea7a
push 0
push 0
push 0x84
push str.C:BuildAgentwork6ef1b807bd9726a1RemoteInstallerInstallerUILicenseDlg.cpp
push 0x48
call fcn.0046bf00
jmp 0x4438ea
xor eax, eax
mov byte [ebp - 4], 0
mov dword [0x4f3ee0], eax
mov ecx, ebx
call fcn.0046e8f0
mov ecx, dword [0x4f3ee0]
lea ecx, [ecx + 0xd0]
call fcn.0046e8e0
mov edx, edi
lea ecx, [ebp - 0x14]
call fcn.00410e50
mov byte [ebp - 4], 2
mov ecx, dword [0x4f3ee0]
push dword [eax]
push edi
mov edx, dword [ecx]
push str.Cant_open_registry_section:__u__s
push ecx
call dword [edx + 0x48]
mov byte [ebp - 4], 0
add esp, 0x10
mov edx, dword [ebp - 0x14]
or ecx, 0xffffffff
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x443951
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [0x4f3ee0]
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x4f3ee0]
lea ecx, [ecx + 0xd0]
call fcn.0046e8f0
xor bl, bl
test esi, esi
je 0x44397a
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