Function at 0x433b60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x467fd8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x49806c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 0
call fcn.00401640
mov ecx, eax
test ecx, ecx
jne 0x433bbc
push 0x80004005
call fcn.004012a0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0x4895dc
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00407350
test al, al
jne 0x433beb
push 0
push 0x4895dc
lea ecx, [ebp - 0x14]
call fcn.00407a80
push ecx
mov edx, 0x4895e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.0040fa80
add esp, 4
lea ecx, [ebp - 0x38]
push 0x20019
push dword [eax]
push SysReAllocString
call fcn.0040e910
mov edx, dword [ebp - 0x24]
test eax, eax
sete byte [ebp - 0xd]
or ebx, 0xffffffff
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x433c37
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
mov edi, dword [ebp - 0x38]
je 0x433da5
push ecx
mov edx, 0x4896c8
lea ecx, [ebp - 0x28]
call fcn.0040fa80
add esp, 4
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push ecx
push 0
lea ecx, [ebp - 0x24]
push ecx
push 0
push dword [eax]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x433c9c
mov eax, dword [ebp - 0x24]
cmp eax, 1
je 0x433c92
cmp eax, 2
je 0x433c92
mov esi, 0xd
jmp 0x433c9c
mov eax, dword [ebp - 0x1c]
shr eax, 1
xor esi, esi
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x28]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x433cb6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
jne 0x433da5
mov eax, dword [ebp - 0x20]
add eax, eax
mov dword [ebp - 0x24], eax
add eax, 2
push eax
mov dword [ebp - 0x28], eax
call fcn.00448d70
mov esi, eax
add esp, 4
test esi, esi
je 0x433da5
push dword [ebp - 0x28]
push 0
push esi
call fcn.00441bb0
add esp, 8
lea ecx, [ebp - 0x1c]
mov edx, 0x4896b4
call fcn.0040fa80
mov ecx, dword [ebp - 0x24]
add esp, 4
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x20]
push ecx
push esi
lea ecx, [ebp - 0x28]
push ecx
push 0
push dword [eax]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test ebx, ebx
jne 0x433d54
mov eax, dword [ebp - 0x28]
cmp eax, 1
je 0x433d31
cmp eax, 2
je 0x433d31
mov ebx, 0xd
jmp 0x433d54
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x433d4d
test al, 1
jne 0x433d46
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x433d52
mov ebx, 0xd
jmp 0x433d54
xor eax, eax
mov word [esi], ax
xor ebx, ebx
mov edx, dword [ebp - 0x1c]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x433d6f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
jne 0x433d99
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x433d80
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x14]
call fcn.00407a80
push esi
call fcn.00448d6b
add esp, 4
or ebx, 0xffffffff
test edi, edi
je 0x433db5
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
mov dword [ebp - 0x38], edi
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x34], 0
mov eax, dword [esi - 0xc]
test eax, eax
jne 0x433f51
push ecx
mov edx, str.GycuPD8pOi0UBSErOic7Jy48FB8hJiwnPzsUGyAtJCQUCTs7JyshKTwhJyY7FB06JAk7OycrISk8IScmOxQgPDw4FB07LToLICchKy0
lea ecx, [ebp - 0x28]
call fcn.0040fa80
add esp, 4
lea ecx, [ebp - 0x38]
push 0x20119
push dword [eax]
push SysReAllocString
call fcn.0040e910
mov edx, dword [ebp - 0x28]
test eax, eax
mov eax, ebx
sete byte [ebp - 0xd]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x433e0f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
je 0x433f49
push ecx
mov edx, 0x4896dc
lea ecx, [ebp - 0x2c]
call fcn.0040fa80
mov edi, dword [ebp - 0x38]
lea ecx, [ebp - 0x20]
add esp, 4
mov dword [ebp - 0x20], 0
xor ebx, ebx
mov dword [ebp - 0x24], ebx
push ecx
push ebx
lea ecx, [ebp - 0x28]
push ecx
push ebx
push dword [eax]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, eax
mov dword [ebp - 0x1c], ecx
test ecx, ecx
jne 0x433e7a
mov eax, dword [ebp - 0x28]
cmp eax, 1
je 0x433e6b
cmp eax, 2
je 0x433e6b
mov dword [ebp - 0x1c], 0xd
jmp 0x433e7a
mov ebx, dword [ebp - 0x20]
shr ebx, 1
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x2c]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x433e95
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x1c], 0
jne 0x433f4e
lea eax, [ebx*2 + 2]
push eax
mov dword [ebp - 0x2c], eax
call fcn.00448d70
mov ebx, eax
add esp, 4
mov dword [ebp - 0x20], ebx
test ebx, ebx
je 0x433f4e
push dword [ebp - 0x2c]
push 0
push ebx
call fcn.00441bb0
add esp, 8
lea ecx, [ebp - 0x2c]
mov edx, str.GDonLwEs
call fcn.0040fa80
add esp, 4
lea ecx, [ebp - 0x24]
push ecx
push ebx
push dword [eax]
lea ecx, [ebp - 0x38]
call fcn.0040e9c0
mov edx, dword [ebp - 0x2c]
test eax, eax
sete byte [ebp - 0xd]
or ebx, 0xffffffff
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x433f0f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
je 0x433f3c
mov edx, dword [ebp - 0x20]
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x433f20
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x14]
call fcn.00407a80
mov esi, dword [ebp - 0x14]
push dword [ebp - 0x20]
call fcn.00448d6b
add esp, 4
jmp 0x433f51
mov edi, dword [ebp - 0x38]
jmp 0x433f51
or ebx, 0xffffffff
add esi, 0xfffffff0
mov ecx, esi
call fcn.004079c0
mov ecx, dword [ebp - 0x18]
add eax, 0x10
mov byte [ebp - 4], 0
mov dword [ecx], eax
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x433f79
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x433f85
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret