Function at 0x43b920
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d7260
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x539c80]
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 [0x5396d8]
mov ecx, 0x5396d8
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 0x43b9c1
push 0x51ed2c
lea edx, [ebp + 0x10]
lea ecx, [ebp - 0x28]
call fcn.00417c70
add esp, 4
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x20]
call fcn.00402510
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 0x43b9c1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x5396d8]
mov ecx, 0x5396d8
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.0043b260
mov byte [ebp - 4], 7
push eax
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x2c]
call fcn.0040f0c0
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 0x43ba4f
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x43ba40
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x43ba40
call fcn.00402720
mov dword [ebp - 0x28], eax
mov ecx, edi
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x43ba38
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 0x43ba4c
push dword [edx - 0xc]
lea ecx, [ebp - 0x14]
push edx
call fcn.004025f0
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 0x43ba6f
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 0x43ba8f
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
jne 0x43bb6c
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 0x43bad7
inc eax
mov dword [ebp - 0x10], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004abd49
mov esi, eax
mov eax, dword [ebp - 0x10]
add esp, 4
add eax, eax
push eax
push 0
push esi
call fcn.004b1a50
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 0x43bb4c
mov ecx, dword [ebp - 0x10]
mov word [esi + ecx*2], ax
test esi, esi
jne 0x43bb2e
xor ecx, ecx
jmp 0x43bb42
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43bb33
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x34]
push esi
call fcn.004025f0
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.004acddb
add esp, 4
test ebx, ebx
jne 0x43bb6c
cmp dword [ebp - 0x24], 1
jne 0x43bb6c
mov bl, 1
jmp 0x43bb6e
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 0x43bb8e
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 0x43bbae
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 0x43bbcf
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