Function at 0x438b70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x619eb3
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x69cffc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x224], edx
mov dword [ebp - 0x218], ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x220], ebx
mov dword [ebp - 4], 0
or esi, 0xffffffff
mov eax, dword [ebp + 0xc]
mov edi, dword [ebx]
sub edi, 0x10
lea edx, [eax - 0x10]
cmp edx, edi
je 0x438c15
cmp dword [edi + 0xc], 0
jl 0x438c0a
mov ecx, dword [edx]
cmp ecx, dword [edi]
jne 0x438c0a
push edx
call fcn.004027b0
add esp, 4
mov dword [ebp - 0x214], eax
mov ecx, esi
lea edx, [edi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x438c03
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x214]
add eax, 0x10
mov dword [ebx], eax
jmp 0x438c15
push dword [eax - 0xc]
mov ecx, ebx
push eax
call fcn.00402df0
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x200
push eax
lea eax, [ebp - 0x210]
push eax
push 0
push 0
push dword [ebp - 0x224]
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x438d7d
mov eax, dword [ebp - 0x21c]
test al, 1
je 0x438c56
dec eax
add eax, eax
cmp eax, 0x200
jae 0x438dc4
xor ecx, ecx
mov word [ebp + eax - 0x210], cx
call fcn.0044a657
mov ecx, eax
test ecx, ecx
je 0x438dba
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x210]
mov byte [ebp - 4], 1
test eax, 0xffff0000
jne 0x438cac
movzx eax, ax
lea ecx, [ebp - 0x214]
push eax
call fcn.00402c80
jmp 0x438cd7
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x438cb5
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x214]
call fcn.00402df0
mov edx, dword [ebp - 0x220]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x214]
mov edi, dword [edx]
sub edi, 0x10
lea ebx, [eax - 0x10]
cmp ebx, edi
je 0x438d42
cmp dword [edi + 0xc], 0
jl 0x438d37
mov ecx, dword [ebx]
cmp ecx, dword [edi]
jne 0x438d37
push ebx
call fcn.004027b0
add esp, 4
mov dword [ebp - 0x218], eax
mov ecx, esi
lea edx, [edi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x438d2a
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x218]
mov ecx, dword [ebp - 0x220]
add eax, 0x10
mov dword [ecx], eax
jmp 0x438d42
push dword [eax - 0xc]
mov ecx, edx
push eax
call fcn.00402df0
mov byte [ebp - 4], 0
mov eax, esi
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x438d5a
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x438d79
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov al, 1
jmp 0x438d9e
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
lea edx, [eax - 0x10]
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x438d9c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058f0d5
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00403270
call fcn.0058f236
int3