Function at 0x420aa0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47e71a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4b9070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], 0
mov edi, 0x650
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
sub esp, 0xc
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0041bfd0
mov ebx, eax
test ebx, ebx
je 0x420c2b
call fcn.004520f0
mov esi, eax
mov ecx, esi
call fcn.00451e90
cmp byte [0x4bd547], 0
jne 0x420b62
mov ecx, 0xf0
call fcn.00452760
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x420b5b
sub esp, 8
xorps xmm0, xmm0
mov ecx, eax
movsd qword [esp], xmm0
push 0x4bd547
sub esp, 0xc
push 0x113
push str.C:BuildAgentwork4d643bb3f4c71f96RemoteInstallerAuxiliaryServiceAuxiliaryService.cpp
push 0x20
call fcn.00451f60
jmp 0x420b5d
xor eax, eax
mov dword [0x4be184], eax
mov ecx, esi
call fcn.00451ea0
mov ecx, dword [0x4be184]
lea ecx, [ecx + 0xd0]
call fcn.00451e90
mov eax, dword [0x4be184]
mov eax, dword [eax]
mov edi, dword [eax + 0x48]
mov edx, ebx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00418a80
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
push dword [eax]
call fcn.0041ab30
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 eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x420bcb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
push dword [eax]
push ebx
push str.Cant_open_ThreatIDDefaultAction_section:__u__s
push dword [0x4be184]
call edi
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 0x420c01
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov ecx, dword [0x4be184]
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x4be184]
lea ecx, [ecx + 0xd0]
call fcn.00451ea0
mov edi, 0x646
jmp 0x420d80
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 4
push eax
push esi
lea eax, [ebp - 0x18]
push eax
push 0
push str.252013
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test ebx, ebx
jne 0x420c5e
cmp dword [ebp - 0x18], 4
je 0x420d7e
lea ebx, [eax + 0xd]
call fcn.004520f0
mov esi, eax
mov ecx, esi
call fcn.00451e90
cmp byte [0x4bd4e7], 0
jne 0x420cb9
mov ecx, 0xf0
call fcn.00452760
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x420cb2
sub esp, 8
xorps xmm0, xmm0
mov ecx, eax
movsd qword [esp], xmm0
push 0x4bd4e7
sub esp, 0xc
push 0x120
push str.C:BuildAgentwork4d643bb3f4c71f96RemoteInstallerAuxiliaryServiceAuxiliaryService.cpp
push 0x20
call fcn.00451f60
jmp 0x420cb4
xor eax, eax
mov dword [0x4be110], eax
mov ecx, esi
call fcn.00451ea0
mov ecx, dword [0x4be110]
lea ecx, [ecx + 0xd0]
call fcn.00451e90
mov eax, dword [0x4be110]
mov eax, dword [eax]
mov eax, dword [eax + 0x48]
mov dword [ebp - 0x14], eax
mov edx, ebx
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1c]
call fcn.00418a80
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x20]
push dword [eax]
call fcn.0041ab30
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 eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x420d25
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x18]
push dword [eax]
push ebx
push str.ThreatID_query_failed:__u__s
push dword [0x4be110]
call dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
add esp, 0x10
add edx, 0xfffffff0
mov byte [ebp - 4], 0xa
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x420d5c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov ecx, dword [0x4be110]
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x4be110]
lea ecx, [ecx + 0xd0]
call fcn.00451ea0
jmp 0x420d80
xor edi, edi
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x420d8e
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret