Function at 0x493b60
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 0x555181
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0xb8
push esi
push edi
push 0xff
mov dword [ebp - 0x1c], 0
call fcn.004423ec
add esp, 4
mov edi, eax
push 0xff
push 0
push edi
call fcn.004359b0
add esp, 0xc
push 0xff
call fcn.004423ec
add esp, 4
mov dword [ebp - 0x24], eax
push 0xff
push 0
push eax
call fcn.004359b0
mov dword [ebp - 0x18], 0x8bddacc6
add esp, 0xc
mov dword [ebp - 0x14], 0xbc12bb8c
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x18], 0x1cd7d1ba
mov dword [ebp - 0x14], 0x67bd358d
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x18], 0xa1202ffb
mov dword [ebp - 0x14], 0xaca6a774
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x18], 0xcb1135b4
mov dword [ebp - 0x14], 0xe69d3710
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x18], 0xb9437299
mov dword [ebp - 0x14], 0x13c0bdd4
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x18], 0xd5bd54eb
mov dword [ebp - 0x14], 0x19127bfa
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x18], 0xdf9be395
mov dword [ebp - 0x14], 0xf940fadb
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], 0x7dbb92e6
mov dword [ebp - 0x14], 0x14d846fe
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xbc], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], 0xd94f69a7
mov dword [ebp - 0x14], 0xc0cfc619
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xb4], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], 0xae7946e8
mov dword [ebp - 0x14], 0x89c15b7c
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xac], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0x18], 0xe52d17e9
mov dword [ebp - 0x14], 0x7eadd2b7
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x18], 0xd5d93a8a
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x14], 0x19127bfa
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
movaps xmm1, xmmword [ebp - 0x90]
xorps xmm1, xmmword [ebp - 0xc0]
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x20]
movaps xmmword [ebp - 0x90], xmm1
movaps xmm1, xmmword [ebp - 0x80]
xorps xmm1, xmmword [ebp - 0xb0]
push eax
push 1
movaps xmmword [ebp - 0x80], xmm1
lea eax, [ebp - 0x90]
movaps xmm1, xmmword [ebp - 0x70]
push 0
mov dword [ebp - 0x94], ecx
xorps xmm1, xmmword [ebp - 0xa0]
push eax
push closesocket
movaps xmmword [ebp - 0x70], xmm1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x493f1b
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0xff
push eax
push edi
push 0
push 0
push 0
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x20]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x493f1b
mov eax, edi
mov dword [ebp - 0x2c], esi
xorps xmm0, xmm0
mov dword [ebp - 0x28], esi
movups xmmword [ebp - 0x3c], xmm0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x493dd7
sub eax, edx
lea ecx, [ebp - 0x3c]
push eax
push edi
call fcn.00403040
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
lea ecx, [eax - 5]
mov byte [ebp - 4], 1
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
movups xmmword [ebp - 0x54], xmm0
cmp eax, 1
jb 0x493f30
dec eax
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x28], 0xf
lea eax, [ebp - 0x3c]
cmova eax, dword [ebp - 0x3c]
push ecx
inc eax
lea ecx, [ebp - 0x54]
push eax
call fcn.00403040
cmp dword [ebp - 0x40], 0xf
lea ecx, [ebp - 0x54]
mov esi, dword [ebp - 0x54]
mov eax, dword [ebp - 0x2c]
cmova ecx, esi
add eax, 0xffffffef
mov dword [ebp - 0x1c], 1
push eax
push ecx
push dword [ebp - 0x24]
call fcn.00435270
mov eax, 1
add esp, 0xc
mov dword [ebp - 0x1c], eax
and eax, 0xfffffffe
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x40]
cmp eax, 0xf
jbe 0x493ea1
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x493e97
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x493f35
push ecx
push esi
call fcn.004338f3
add esp, 8
push edi
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
call fcn.00441c96
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x28]
cmp ecx, 0xf
jbe 0x493ef3
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x493ee9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x493f3a
push ecx
push edx
call fcn.004338f3
add esp, 8
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00419e60
call fcn.00438c70
call fcn.00438c70
int3