Function at 0x429bd0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x45a051
push eax
mov eax, 0x102c
mov dword fs:[0], esp
call fcn.00457870
mov eax, dword [esp + 0x103c]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1050]
xor ebp, ebp
mov dword [esp + 0x14], ecx
mov dword [eax + 0xc], ebp
mov dword [eax + 8], ebp
mov ecx, dword [edi]
cmp dword [ecx - 8], ebp
je 0x42a008
mov ebx, dword [esp + 0x1054]
mov edx, dword [ebx]
cmp dword [edx - 8], ebp
je 0x42a008
mov ecx, dword [esp + 0x105c]
mov edx, dword [ecx]
cmp dword [edx - 8], ebp
je 0x42a008
mov ecx, dword [esp + 0x1060]
mov edx, dword [ecx]
cmp dword [edx - 8], ebp
je 0x42a008
mov edx, dword [esp + 0x1058]
mov dword [eax + 0xc], 1
mov eax, dword [esp + 0x1064]
mov dword [esp + 0x20], 0x1000
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.0040c550
push ecx
mov dword [esp + 0x1050], ebp
mov ecx, esp
mov dword [esp + 0x44], esp
push ebx
call fcn.0040c550
mov ecx, edi
mov dword [esp + 0x1050], 0xffffffff
call fcn.00405940
push eax
lea ecx, [esp + 0x38]
call fcn.00429a00
mov esi, eax
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x14], ebp
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 4]
or edx, 1
push edx
push ebp
push eax
mov eax, dword [esi]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x429d00
mov esi, dword [esi + 8]
lea ecx, [esp + 0x20]
lea edx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push edx
push eax
push ebp
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 0x10]
mov esi, eax
neg esi
sbb esi, esi
push edx
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x429d02
xor esi, esi
mov eax, dword [esp + 0x30]
mov edx, dword [0x4631a4]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x429d31
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x429d31
mov edx, dword [esp + 0x30]
lea eax, [edx - 0xc]
push eax
call fcn.0044bf22
add esp, 4
lea ecx, [esp + 0x2c]
call fcn.00401c80
cmp esi, ebp
je 0x429ffc
mov eax, dword [esp + 0x1c]
cmp eax, 1
je 0x429e25
cmp eax, 2
je 0x429e25
cmp eax, 4
jne 0x429ffc
mov eax, dword [ebx]
mov ecx, dword [edi]
mov edx, dword [esp + 0x3c]
push eax
push ecx
push edx
lea eax, [esp + 0x1c]
push str._t_tRegValue:__d__s_s_n
push eax
call fcn.00421b40
add esp, 0x14
mov eax, dword [eax]
mov dword [esp + 0x1044], 2
push eax
mov ecx, dword [eax - 8]
push ecx
mov ecx, dword [esp + 0x1070]
call fcn.00408e60
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4631a4]
mov dword [esp + 0x1044], 0xffffffff
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x429dd6
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x429dd6
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.0044bf22
add esp, 4
mov ecx, dword [esp + 0x1060]
lea edx, [esp + 0x18]
push edx
mov eax, dword [ecx]
mov ecx, dword [esp + 0x1060]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll__wtoi]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x20]
add esp, 4
push eax
push edx
call fcn.0042dd40
test eax, eax
je 0x429ffc
mov ecx, dword [esp + 0x104c]
mov eax, dword [esp + 0x18]
mov edx, ecx
mov dword [ecx + 8], eax
mov eax, dword [edx + 0xc]
jmp 0x42a00a
mov edx, dword [ebx]
mov eax, dword [edi]
push edx
lea ecx, [esp + 0x40]
push eax
push ecx
lea edx, [esp + 0x20]
push 0x466fc8
push edx
call fcn.00421b40
add esp, 0x14
mov eax, dword [eax]
mov ecx, dword [esp + 0x1068]
push eax
mov dword [esp + 0x1048], 1
mov eax, dword [eax - 8]
push eax
call fcn.00408e60
mov eax, dword [esp + 0x14]
mov edx, dword [0x4631a4]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x429e8f
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x429e8f
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.0044bf22
add esp, 4
mov eax, dword [esp + 0x1060]
mov ebx, dword [esp + 0x105c]
mov esi, dword [sym.imp.MSVCRT.dll_wcscmp]
push 0x466fc4
mov edi, dword [eax]
mov eax, dword [ebx]
push eax
call esi
add esp, 8
test eax, eax
jne 0x429ee2
lea ecx, [esp + 0x3c]
push edi
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
mov ecx, dword [esp + 0x1054]
add esp, 8
xor edx, edx
test eax, eax
setl dl
mov eax, edx
mov edx, ecx
mov dword [ecx + 8], eax
mov eax, dword [edx + 0xc]
jmp 0x42a00a
mov eax, dword [ebx]
push 0x466fbc
push eax
call esi
add esp, 8
test eax, eax
jne 0x429f1f
lea eax, [esp + 0x3c]
push edi
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
xor ecx, ecx
test eax, eax
setle cl
mov eax, ecx
mov ecx, dword [esp + 0x104c]
mov edx, ecx
mov dword [ecx + 8], eax
mov eax, dword [edx + 0xc]
jmp 0x42a00a
mov eax, dword [ebx]
push 0x466fb8
push eax
call esi
add esp, 8
test eax, eax
jne 0x429f5c
lea edx, [esp + 0x3c]
push edi
push edx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
xor ecx, ecx
test eax, eax
setg cl
mov eax, ecx
mov ecx, dword [esp + 0x104c]
mov edx, ecx
mov dword [ecx + 8], eax
mov eax, dword [edx + 0xc]
jmp 0x42a00a
mov eax, dword [ebx]
push 0x466fb0
push eax
call esi
add esp, 8
test eax, eax
jne 0x429f96
lea edx, [esp + 0x3c]
push edi
push edx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
xor ecx, ecx
test eax, eax
setge cl
mov eax, ecx
mov ecx, dword [esp + 0x104c]
mov edx, ecx
mov dword [ecx + 8], eax
mov eax, dword [edx + 0xc]
jmp 0x42a00a
mov eax, dword [ebx]
push 0x463cc8
push eax
call esi
add esp, 8
test eax, eax
jne 0x429fcc
lea edx, [esp + 0x3c]
push edi
push edx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
mov ecx, dword [esp + 0x1054]
add esp, 8
neg eax
sbb eax, eax
mov edx, ecx
inc eax
mov dword [ecx + 8], eax
mov eax, dword [edx + 0xc]
jmp 0x42a00a
mov ebx, dword [ebx]
push 0x466fa8
push ebx
call esi
add esp, 8
test eax, eax
jne 0x429ffc
lea eax, [esp + 0x3c]
push edi
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
mov ecx, dword [esp + 0x1054]
add esp, 8
neg eax
sbb eax, eax
neg eax
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x104c]
mov eax, dword [edx + 0xc]
jmp 0x42a00a
xor eax, eax
mov ecx, dword [esp + 0x103c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1038
ret 0x20