Function at 0x43a330
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d44f0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x52cc80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 4], 0
mov eax, dword [0x52c6d8]
mov ecx, 0x52c6d8
mov dword [ebp - 0x10], 0x1fffff
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0x10]
or edi, 0xffffffff
cmp dword [eax - 0xc], 0
je 0x43a3d1
push 0x5113f8
lea edx, [ebp + 0x10]
lea ecx, [ebp - 0x28]
call fcn.00417410
add esp, 4
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x20]
call fcn.004025b0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43a3d1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x52c6d8]
mov ecx, 0x52c6d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 6
mov edx, dword [ebp + 8]
push 0
lea ecx, [ebp - 0x30]
call fcn.00439bf0
mov byte [ebp - 4], 7
push eax
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x2c]
call fcn.0040e9b0
add esp, 8
mov byte [ebp - 4], 8
mov edx, dword [eax]
mov esi, dword [ebp - 0x14]
lea ecx, [edx - 0x10]
add esi, 0xfffffff0
cmp ecx, esi
je 0x43a45f
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x43a450
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x43a450
call fcn.004027c0
mov dword [ebp - 0x28], eax
mov ecx, edi
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x43a448
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x28]
add eax, 0x10
mov dword [ebp - 0x14], eax
jmp 0x43a45c
push dword [edx - 0xc]
lea ecx, [ebp - 0x14]
push edx
call fcn.00402690
mov ebx, dword [ebp - 0x18]
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43a47f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43a49f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push 0
push dword [ebp - 0x14]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x43a560
mov eax, dword [0x531d90]
imul eax, eax
and eax, 0x8000000f
jns 0x43a4d2
dec eax
or eax, 0xfffffff0
inc eax
cmp eax, 0xb
jne 0x43a4e9
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
xor bl, bl
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43a50b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43a52b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp + 0x10]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x43a54c
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
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
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0x24]
push eax
push 0
push dword [ebx]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x1c]
call ebx
xor ecx, ecx
test eax, eax
mov eax, dword [ebp - 0x10]
lea edx, [ecx + 2]
jne 0x43a589
inc eax
mov dword [ebp - 0x10], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a90f9
mov esi, eax
mov eax, dword [ebp - 0x10]
add esp, 4
add eax, eax
push eax
push 0
push esi
call fcn.004aee10
mov eax, dword [ebp - 0x10]
add esp, 0xc
add eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x18]
push 0
push dword [eax]
push dword [ebp - 0x1c]
call ebx
mov ebx, eax
test ebx, ebx
jne 0x43a5fe
mov ecx, dword [ebp - 0x10]
mov word [esi + ecx*2], ax
test esi, esi
jne 0x43a5e0
xor ecx, ecx
jmp 0x43a5f4
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43a5e5
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x34]
push esi
call fcn.00402690
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.004aa18b
add esp, 4
test ebx, ebx
jne 0x43a4e9
cmp dword [ebp - 0x24], 1
jne 0x43a4e9
mov bl, 1
jmp 0x43a4eb