Function at 0x420e00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47eaea
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4ba070]
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.0041c330
mov ebx, eax
test ebx, ebx
je 0x420f8b
call fcn.00452480
mov esi, eax
mov ecx, esi
call fcn.00452220
cmp byte [0x4be547], 0
jne 0x420ec2
mov ecx, 0xf0
call fcn.00452af0
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x420ebb
sub esp, 8
xorps xmm0, xmm0
mov ecx, eax
movsd qword [esp], xmm0
push 0x4be547
sub esp, 0xc
push 0x113
push str.C:BuildAgentwork4d643bb3f4c71f96RemoteInstallerAuxiliaryServiceAuxiliaryService.cpp
push 0x20
call fcn.004522f0
jmp 0x420ebd
xor eax, eax
mov dword [0x4bf1a0], eax
mov ecx, esi
call fcn.00452230
mov ecx, dword [0x4bf1a0]
lea ecx, [ecx + 0xd0]
call fcn.00452220
mov eax, dword [0x4bf1a0]
mov eax, dword [eax]
mov edi, dword [eax + 0x48]
mov edx, ebx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00418df0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
push dword [eax]
call fcn.0041ae90
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 0x420f2b
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 [0x4bf1a0]
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 0x420f61
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov ecx, dword [0x4bf1a0]
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x4bf1a0]
lea ecx, [ecx + 0xd0]
call fcn.00452230
mov edi, 0x646
jmp 0x4210e0
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 0x420fbe
cmp dword [ebp - 0x18], 4
je 0x4210de
lea ebx, [eax + 0xd]
call fcn.00452480
mov esi, eax
mov ecx, esi
call fcn.00452220
cmp byte [0x4be4e7], 0
jne 0x421019
mov ecx, 0xf0
call fcn.00452af0
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x421012
sub esp, 8
xorps xmm0, xmm0
mov ecx, eax
movsd qword [esp], xmm0
push 0x4be4e7
sub esp, 0xc
push 0x120
push str.C:BuildAgentwork4d643bb3f4c71f96RemoteInstallerAuxiliaryServiceAuxiliaryService.cpp
push 0x20
call fcn.004522f0
jmp 0x421014
xor eax, eax
mov dword [0x4bf12c], eax
mov ecx, esi
call fcn.00452230
mov ecx, dword [0x4bf12c]
lea ecx, [ecx + 0xd0]
call fcn.00452220
mov eax, dword [0x4bf12c]
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.00418df0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x20]
push dword [eax]
call fcn.0041ae90
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 0x421085
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 [0x4bf12c]
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 0x4210bc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov ecx, dword [0x4bf12c]
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x4bf12c]
lea ecx, [ecx + 0xd0]
call fcn.00452230
jmp 0x4210e0
xor edi, edi
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x4210ee
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