Function at 0x4687e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ad7f5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x4c8
mov eax, dword [0x4cfa1c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x488], esi
mov edi, ecx
mov dword [ebp - 0x48c], edi
mov eax, dword [ebx + 8]
lea edx, [ebp - 0x4a0]
mov dword [ebp - 0x474], 0
mov dword [ebp - 0x480], 0xcff786d3
mov dword [ebp - 0x47c], 0xcb07d1bb
mov dword [ebp - 0x484], eax
mov eax, dword [ebp - 0x480]
mov ecx, dword [ebp - 0x47c]
mov dword [ebp - 0x49c], ecx
mov dword [ebp - 0x4a0], eax
mov dword [ebp - 0x480], 0xe5a33660
mov dword [ebp - 0x47c], 0x5cf2ac1
mov eax, dword [ebp - 0x480]
mov ecx, dword [ebp - 0x47c]
mov dword [ebp - 0x494], ecx
mov dword [ebp - 0x498], eax
mov dword [ebp - 0x480], 0xbc84e783
mov dword [ebp - 0x47c], 0xaf75becc
mov eax, dword [ebp - 0x480]
mov ecx, dword [ebp - 0x47c]
mov dword [ebp - 0x480], 0xe5a33660
mov dword [ebp - 0x4d0], eax
mov dword [ebp - 0x4cc], ecx
mov dword [ebp - 0x47c], 0x5cf2ac1
mov eax, dword [ebp - 0x480]
mov ecx, dword [ebp - 0x47c]
movaps xmm1, xmmword [ebp - 0x4a0]
mov dword [ebp - 0x4c4], ecx
lea ecx, [edx + 1]
mov dword [ebp - 0x4c8], eax
pxor xmm1, xmmword [ebp - 0x4d0]
movaps xmmword [ebp - 0x4a0], xmm1
mov al, byte [edx]
inc edx
test al, al
jne 0x468913
sub edx, ecx
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x468926
mov ecx, dword [esi]
push edx
mov edx, dword [esi + 0x10]
lea eax, [ebp - 0x4a0]
push eax
push 0
call fcn.00449fa0
add esp, 0xc
cmp eax, 0xffffffff
je 0x468967
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x46894a
mov ecx, dword [esi]
mov edx, dword [esi + 0x10]
push 1
push 0x4beac4
push 0
call fcn.00449fa0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x468967
mov al, 1
jmp 0x468969
xor al, al
test al, al
je 0x468e0a
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x474], 1
mov eax, edi
cmp dword [edi + 0x14], 0x10
movups xmmword [ebp - 0x430], xmm0
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x46c], 0
mov dword [ebp - 0x470], 0x400
mov dword [ebp - 0x468], 0xf003f
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x41c], 0xf
mov byte [ebp - 0x430], 0
jb 0x4689e3
mov eax, dword [edi]
lea ecx, [ebp - 0x46c]
push ecx
push 0x20019
push 0
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x468ac0
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x468a0f
mov eax, dword [esi]
lea ecx, [ebp - 0x470]
push ecx
lea ecx, [ebp - 0x418]
push ecx
lea ecx, [ebp - 0x468]
push ecx
push 0
push eax
push dword [ebp - 0x46c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x468ac0
push dword [ebp - 0x470]
mov dword [ebp - 0x4a8], eax
lea ecx, [ebp - 0x4b8]
mov dword [ebp - 0x4a4], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x418]
push eax
movups xmmword [ebp - 0x4b8], xmm0
call fcn.00438600
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x430]
call fcn.00446fc0
movups xmm0, xmmword [ebp - 0x4b8]
mov byte [ebp - 0x4b8], 0
movups xmmword [ebp - 0x430], xmm0
movq xmm0, qword [ebp - 0x4a8]
movq qword [ebp - 0x420], xmm0
mov dword [ebp - 0x4a8], 0
mov dword [ebp - 0x4a4], 0xf
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4b8]
call fcn.00446fc0
mov eax, dword [ebp - 0x46c]
test eax, eax
je 0x468ad1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x420], 0
je 0x468dea
mov byte [ebp - 4], 2
xorps xmm0, xmm0
mov eax, dword [ebp - 0x420]
mov dword [ebp - 0x454], 0
mov dword [ebp - 0x450], 0
movups xmmword [ebp - 0x464], xmm0
cmp eax, 1
jb 0x468eeb
dec eax
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x41c], 0x10
lea eax, [ebp - 0x430]
cmovae eax, dword [ebp - 0x430]
push ecx
inc eax
lea ecx, [ebp - 0x464]
push eax
call fcn.00438600
mov dword [ebp - 0x474], 3
mov byte [ebp - 4], 3
lea edx, [ebp - 0x464]
cmp dword [ebp - 0x450], 0x10
mov eax, dword [ebp - 0x454]
cmovae edx, dword [ebp - 0x464]
mov byte [ebp - 4], 4
push ecx
push eax
lea ecx, [ebp - 0x44c]
call fcn.00463a80
mov eax, 0xb
mov dword [ebp - 0x474], 0xb
mov dword [ebp - 0x474], eax
add esp, 8
and eax, 0xfffffff7
mov dword [ebp - 0x474], eax
mov dword [ebp - 4], 3
or eax, 4
mov dword [ebp - 0x474], eax
and eax, 0xfffffffd
mov dword [ebp - 0x474], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x464]
call fcn.00446fc0
cmp byte [ebp - 0x434], 0
jne 0x468c4f
mov ecx, dword [ebp - 0x420]
lea eax, [ebp - 0x430]
dec ecx
cmp dword [ebp - 0x41c], 0x10
mov dword [ebp - 0x420], ecx
cmovae eax, dword [ebp - 0x430]
mov byte [eax + ecx], 0
cmp dword [esi + 0x14], 0x10
mov eax, dword [esi + 0x10]
jb 0x468bfa
mov esi, dword [esi]
mov ecx, dword [ebp - 0x484]
mov edx, esi
push eax
add ecx, 0x10
call fcn.0044c9c0
add esp, 4
mov edx, 0x4bd184
mov ecx, eax
call fcn.00449190
cmp dword [ebp - 0x41c], 0x10
lea edx, [ebp - 0x430]
push dword [ebp - 0x420]
cmovae edx, dword [ebp - 0x430]
mov ecx, eax
call fcn.0044c9c0
add esp, 4
mov edx, 0x4bd2fc
mov ecx, eax
call fcn.00449190
jmp 0x468d94
mov edi, dword [ebp - 0x438]
lea eax, [ebp - 0x44c]
mov edx, dword [ebp - 0x44c]
lea esi, [ebp - 0x44c]
cmp edi, 0x10
push 0
cmovae eax, edx
add eax, dword [ebp - 0x43c]
cmp edi, 0x10
mov dword [ebp - 0x46c], eax
lea eax, [ebp - 0x44c]
cmovae esi, edx
add esi, dword [ebp - 0x43c]
cmp edi, 0x10
push esi
cmovae eax, edx
push eax
call fcn.0049d5c0
mov edi, eax
cmp eax, esi
je 0x468cb3
inc eax
cmp eax, esi
je 0x468cb3
mov cl, byte [eax]
test cl, cl
je 0x468cae
mov byte [edi], cl
inc edi
inc eax
cmp eax, esi
jne 0x468ca5
cmp dword [ebp - 0x438], 0x10
lea eax, [ebp - 0x44c]
mov esi, edi
cmovae eax, dword [ebp - 0x44c]
sub dword [ebp - 0x46c], edi
sub esi, eax
mov edi, dword [ebp - 0x43c]
mov eax, edi
mov edx, dword [ebp - 0x46c]
sub eax, esi
cmp eax, edx
cmovb edx, eax
cmp dword [ebp - 0x438], 0x10
mov dword [ebp - 0x46c], edx
lea edx, [ebp - 0x44c]
cmovae edx, dword [ebp - 0x44c]
mov eax, dword [ebp - 0x46c]
add edx, esi
sub edi, eax
add eax, edx
mov ecx, edi
sub ecx, esi
inc ecx
push ecx
push eax
push edx
call fcn.00499b70
mov edx, dword [ebp - 0x488]
add esp, 0xc
mov dword [ebp - 0x43c], edi
cmp dword [edx + 0x14], 0x10
mov eax, dword [edx + 0x10]
jb 0x468d33
mov edx, dword [edx]
mov ecx, dword [ebp - 0x484]
push eax
add ecx, 0x10
call fcn.0044c9c0
add esp, 4
mov edx, 0x4bd184
mov ecx, eax
call fcn.00449190
cmp byte [ebp - 0x434], 0
je 0x468ef0
cmp dword [ebp - 0x438], 0x10
lea edx, [ebp - 0x44c]
push dword [ebp - 0x43c]
cmovae edx, dword [ebp - 0x44c]
mov ecx, eax
call fcn.0044c9c0
add esp, 4
mov edx, 0x4bd2fc
mov ecx, eax
call fcn.00449190
mov edi, dword [ebp - 0x48c]
cmp dword [edi + 0x14], 0x10
mov ecx, dword [edi + 0x10]
jb 0x468d9f
mov edi, dword [edi]
push ecx
mov edx, edi
mov ecx, eax
call fcn.0044c9c0
add esp, 4
mov edx, 0x4bd2f0
mov ecx, eax
call fcn.00449190
push eax
call fcn.004493d0
mov esi, dword [ebp - 0x474]
add esp, 4
and esi, 0xfffffffb
mov dword [ebp - 0x474], esi
mov byte [ebp - 4], 0
cmp byte [ebp - 0x434], 0
je 0x468def
lea ecx, [ebp - 0x44c]
call fcn.00446fc0
jmp 0x468def
mov esi, 1
and esi, 0xfffffffe
mov dword [ebp - 0x474], esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x430]
jmp 0x468ec8
push esi
push edi
mov edx, closesocket
lea ecx, [ebp - 0x464]
call fcn.004731b0
add esp, 8
mov dword [ebp - 4], 0xc
cmp dword [ebp - 0x454], 0
je 0x468ebb
cmp dword [esi + 0x14], 0x10
mov eax, dword [esi + 0x10]
jb 0x468e3e
mov esi, dword [esi]
mov ecx, dword [ebp - 0x484]
mov edx, esi
push eax
add ecx, 0x10
call fcn.0044c9c0
add esp, 4
mov edx, 0x4bd184
mov ecx, eax
call fcn.00449190
cmp dword [ebp - 0x450], 0x10
lea edx, [ebp - 0x464]
push dword [ebp - 0x454]
cmovae edx, dword [ebp - 0x464]
mov ecx, eax
call fcn.0044c9c0
add esp, 4
mov edx, 0x4bd2fc
mov ecx, eax
call fcn.00449190
cmp dword [edi + 0x14], 0x10
mov ecx, dword [edi + 0x10]
jb 0x468e99
mov edi, dword [edi]
push ecx
mov edx, edi
mov ecx, eax
call fcn.0044c9c0
add esp, 4
mov edx, 0x4bd2f0
mov ecx, eax
call fcn.00449190
push eax
call fcn.004493d0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x464]
call fcn.00446fc0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00497d9d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004472c0
call fcn.00434c60
int3