Function at 0x425430
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x440881
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x220
push ebx
mov eax, 0x46cbcc
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
push edi
test eax, eax
mov dword [esp + 0x1c], ecx
jne 0x425466
xor eax, eax
jmp 0x42546d
push 0x46cbcc
call ebp
mov ebx, dword [esp + 0x240]
push 0x46cbcc
push eax
mov ecx, ebx
call fcn.00406aa0
lea ecx, [esp + 0x18]
lea edx, [esp + 0x24]
push ecx
lea eax, [esp + 0x18]
push edx
push eax
push 0x46cbc0
mov esi, 4
push 0x46cb84
push connect
mov dword [esp + 0x30], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x425530
cmp dword [esp + 0x14], esi
jne 0x425530
mov ecx, dword [0x449b4c]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x10]
push edx
push 0x46cb70
push eax
mov dword [esp + 0x244], 0
call fcn.0041bb10
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [eax - 8]
push eax
push ecx
mov ecx, ebx
call fcn.00406b60
mov eax, dword [esp + 0x10]
mov ecx, dword [0x449b50]
mov dword [esp + 0x238], 0xffffffff
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x425551
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x425551
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.0043fa08
add esp, 4
jmp 0x425551
mov ecx, 0x46cb5c
test ecx, ecx
jne 0x42553d
xor eax, eax
jmp 0x425544
push 0x46cb5c
call ebp
push 0x46cb5c
push eax
mov ecx, ebx
call fcn.00406b60
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x28]
lea edx, [esp + 0x18]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x28]
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
push 0x46cb50
push 0x46cb84
push connect
mov dword [esp + 0x30], 0x104
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x4255ec
cmp dword [esp + 0x14], 1
jne 0x4255ec
mov edx, 0x46cb40
test edx, edx
jne 0x4255a2
xor eax, eax
jmp 0x4255a9
push 0x46cb40
call ebp
push 0x46cb40
push eax
mov ecx, ebx
call fcn.00406b60
lea eax, [esp + 0x28]
test eax, eax
je 0x4255c5
lea ecx, [esp + 0x28]
push ecx
call ebp
lea edx, [esp + 0x28]
mov ecx, ebx
push edx
push eax
call fcn.00406b60
mov eax, 0x46cb3c
test eax, eax
jne 0x4255de
push eax
jmp 0x425605
push 0x46cb3c
call ebp
push 0x46cb3c
jmp 0x425605
mov ecx, 0x46cb28
test ecx, ecx
jne 0x4255f9
xor eax, eax
jmp 0x425600
push 0x46cb28
call ebp
push 0x46cb28
push eax
mov ecx, ebx
call fcn.00406b60
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x28]
lea edx, [esp + 0x18]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x28]
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
push 0x46cb18
mov esi, 0x208
push 0x46cb84
push connect
mov dword [esp + 0x30], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x425720
mov ecx, dword [esp + 0x14]
mov eax, 1
cmp ecx, eax
jne 0x425720
mov edx, dword [0x449b4c]
mov dword [esp + 0x10], edx
mov dword [esp + 0x238], eax
lea eax, [esp + 0x28]
test eax, eax
je 0x425680
lea ecx, [esp + 0x28]
push ecx
call ebp
lea edx, [esp + 0x28]
lea ecx, [esp + 0x10]
push edx
push eax
call fcn.00406aa0
mov eax, 0x46cb08
test eax, eax
je 0x42569f
push 0x46cb08
call ebp
push 0x46cb08
push eax
mov ecx, ebx
call fcn.00406b60
push ebx
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00427500
mov ecx, dword [esp + 0x24]
call fcn.00425930
mov eax, 0x46cb3c
test eax, eax
je 0x4256d7
push 0x46cb3c
call ebp
push 0x46cb3c
push eax
mov ecx, ebx
call fcn.00406b60
mov eax, dword [esp + 0x10]
mov edx, dword [0x449b50]
mov dword [esp + 0x238], 0xffffffff
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42573d
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42573d
mov edx, dword [esp + 0x10]
lea eax, [edx - 0xc]
push eax
call fcn.0043fa08
add esp, 4
jmp 0x42573d
mov eax, 0x46caf0
test eax, eax
je 0x425730
push 0x46caf0
call ebp
push 0x46caf0
push eax
mov ecx, ebx
call fcn.00406b60
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x28]
lea edx, [esp + 0x28]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
lea eax, [esp + 0x14]
push ecx
push edx
push eax
push 0x46cae4
push 0x46cb84
push connect
mov dword [esp + 0x30], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x425855
cmp dword [esp + 0x14], 1
jne 0x425855
mov ecx, dword [0x449b4c]
mov dword [esp + 0x10], ecx
lea edx, [esp + 0x28]
mov dword [esp + 0x238], 2
test edx, edx
jne 0x4257a6
xor eax, eax
jmp 0x4257ad
lea eax, [esp + 0x28]
push eax
call ebp
lea ecx, [esp + 0x28]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00406aa0
mov edx, 0x46cad4
test edx, edx
jne 0x4257c9
xor eax, eax
jmp 0x4257d0
push 0x46cad4
call ebp
push 0x46cad4
push eax
mov ecx, ebx
call fcn.00406b60
push ebx
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00427500
mov ecx, dword [esp + 0x24]
call fcn.00425930
mov ecx, 0x46cb3c
test ecx, ecx
jne 0x425805
xor eax, eax
jmp 0x42580c
push 0x46cb3c
call ebp
push 0x46cb3c
push eax
mov ecx, ebx
call fcn.00406b60
mov eax, dword [esp + 0x10]
mov ecx, dword [0x449b50]
mov dword [esp + 0x238], 0xffffffff
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x425876
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x425876
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.0043fa08
add esp, 4
jmp 0x425876
mov ecx, 0x46cac0
test ecx, ecx
jne 0x425862
xor eax, eax
jmp 0x425869
push 0x46cac0
call ebp
push 0x46cac0
push eax
mov ecx, ebx
call fcn.00406b60
mov edx, 0x46ca08
test edx, edx
je 0x425907
push edx
call ebp
test eax, eax
je 0x425907
mov edx, dword [ebx]
mov ecx, dword [edx - 0xc]
lea esi, [edx - 0xc]
cmp ecx, 1
jg 0x4258d5
mov edi, dword [edx - 8]
mov ecx, dword [edx - 4]
lea ebp, [edi + eax]
cmp ebp, ecx
jg 0x4258d5
inc ecx
cmp ecx, eax
jb 0x4258c0
mov ecx, eax
add edi, edx
mov edx, ecx
mov esi, 0x46ca08
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx]
mov edx, dword [ecx - 8]
add edx, eax
mov dword [ecx - 8], edx
mov ebx, dword [ebx]
mov eax, dword [ebx - 8]
mov byte [eax + ebx], 0
jmp 0x425907
mov ecx, dword [edx - 8]
push 0x46ca08
push eax
push edx
push ecx
mov ecx, ebx
call fcn.0040f760
test eax, eax
je 0x425907
cmp esi, dword [0x449b50]
je 0x425907
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x425907
push esi
call fcn.0043fa08
add esp, 4
mov ecx, dword [esp + 0x230]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x22c
ret 4