Function at 0x433b80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x596618
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x61ce74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea eax, [ebp - 0x10]
push eax
push dword [0x61b3e4]
mov dword [ebp - 4], 0
push 0x80000001
mov dword [ebp - 0x10], 0
call edi
mov eax, dword [ebp - 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], 0
test eax, eax
je 0x433cac
lea ecx, [ebp - 0x14]
push ecx
push 0
lea ecx, [ebp - 0x18]
push ecx
push 0
push str.infoGUID
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x18]
cmp eax, 1
je 0x433c10
cmp eax, 2
jne 0x433ca2
mov ecx, esi
call fcn.00426010
mov edx, dword [ebp - 0x14]
shr edx, 1
add edx, 1
js 0x433fcf
mov edi, dword [esi]
mov ecx, 1
mov eax, dword [edi - 8]
sub ecx, dword [edi - 4]
sub eax, edx
or ecx, eax
jge 0x433c42
push edx
mov ecx, esi
call fcn.00426250
mov edi, dword [esi]
lea eax, [ebp - 0x14]
push eax
push edi
lea eax, [ebp - 0x18]
push eax
push 0
push str.infoGUID
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x433c9c
mov eax, dword [ebp - 0x14]
xor ecx, ecx
shr eax, 1
mov word [edi + eax*2], cx
mov eax, dword [esi]
test eax, eax
je 0x433c86
push dword [eax - 8]
push eax
call fcn.0054b2c2
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x433fcf
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x433fcf
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi]
mov word [eax + ecx*2], dx
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x433cac
push eax
call ebx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push dword [0x61b3e8]
push 0x80000001
call edi
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
test eax, eax
je 0x433da2
lea ecx, [ebp - 0x14]
push ecx
push 0
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0x5b4380
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x18]
cmp eax, 1
je 0x433cff
cmp eax, 2
jne 0x433d98
lea ecx, [esi + 4]
call fcn.00426010
mov edx, dword [ebp - 0x14]
shr edx, 1
add edx, 1
js 0x433fcf
mov ebx, dword [esi + 4]
mov ecx, 1
mov eax, dword [ebx - 8]
sub ecx, dword [ebx - 4]
sub eax, edx
or ecx, eax
jge 0x433d35
push edx
lea ecx, [esi + 4]
call fcn.00426250
mov ebx, dword [esi + 4]
lea eax, [ebp - 0x14]
push eax
push ebx
lea eax, [ebp - 0x18]
push eax
push 0
push 0x5b4380
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x433d92
mov eax, dword [ebp - 0x14]
xor ecx, ecx
shr eax, 1
mov word [ebx + eax*2], cx
mov eax, dword [esi + 4]
test eax, eax
je 0x433d7a
push dword [eax - 8]
push eax
call fcn.0054b2c2
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x433fcf
mov eax, dword [esi + 4]
cmp ecx, dword [eax - 8]
jg 0x433fcf
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi + 4]
mov word [eax + ecx*2], dx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x433da2
push eax
call ebx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push dword [0x61b3e8]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
test eax, eax
je 0x433e9e
lea ecx, [ebp - 0x14]
push ecx
push 0
lea ecx, [ebp - 0x18]
push ecx
push 0
push str.fldLength
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x18]
cmp eax, 1
je 0x433df9
cmp eax, 2
jne 0x433e8c
lea ecx, [esi + 8]
call fcn.00426010
mov edx, dword [ebp - 0x14]
shr edx, 1
add edx, 1
js 0x433fcf
mov ebx, dword [esi + 8]
mov ecx, 1
mov eax, dword [ebx - 8]
sub ecx, dword [ebx - 4]
sub eax, edx
or ecx, eax
jge 0x433e2f
push edx
lea ecx, [esi + 8]
call fcn.00426250
mov ebx, dword [esi + 8]
lea eax, [ebp - 0x14]
push eax
push ebx
lea eax, [ebp - 0x18]
push eax
push 0
push str.fldLength
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x433e8c
mov eax, dword [ebp - 0x14]
xor ecx, ecx
shr eax, 1
mov word [ebx + eax*2], cx
mov eax, dword [esi + 8]
test eax, eax
je 0x433e74
push dword [eax - 8]
push eax
call fcn.0054b2c2
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x433fcf
mov eax, dword [esi + 8]
cmp ecx, dword [eax - 8]
jg 0x433fcf
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi + 8]
mov word [eax + ecx*2], dx
mov eax, dword [ebp - 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x433ea4
push eax
call ebx
jmp 0x433ea4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push dword [0x61b414]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov eax, dword [ebp - 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x18], 4
test eax, eax
je 0x433f04
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push 0
push str.wps_t
push eax
call edi
test eax, eax
jne 0x433efa
cmp dword [ebp - 0x14], 4
jne 0x433efa
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x433f04
push eax
call ebx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push dword [0x61b400]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], 4
test eax, eax
je 0x433f5e
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push 0
push str.et_t
push eax
call edi
test eax, eax
jne 0x433f54
cmp dword [ebp - 0x18], 4
jne 0x433f54
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x433f5e
push eax
call ebx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push dword [0x61b40c]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], 4
test eax, eax
je 0x433fb8
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push 0
push str.wpp_t
push eax
call edi
test eax, eax
jne 0x433fae
cmp dword [ebp - 0x18], 4
jne 0x433fae
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x14], eax
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x433fb8
push ecx
call ebx
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00425f50
int3