Function at 0x4501d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58f330
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x78
mov eax, dword [0x67706c]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebx + 0x10]
mov eax, dword [ebx + 0xc]
mov edi, dword [ebx + 8]
mov dword [ebp - 0x78], eax
mov eax, esi
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x88], esi
mov dword [esi + 0x10], 0
jb 0x45023b
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
xor eax, eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
push 0x663cf4
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], eax
call fcn.00452f40
mov byte [ebp - 4], 1
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 8
mov ecx, edi
cmovae eax, dword [ebp - 0x34]
cmp dword [edi + 0x14], 8
jb 0x450279
mov ecx, dword [edi]
push dword [ebp - 0x24]
mov edx, dword [edi + 0x10]
push eax
push 0
call fcn.00450de0
add esp, 0xc
cmp eax, 0xffffffff
je 0x45031f
xor eax, eax
mov dword [ebp - 0x74], closesocket
mov word [ebp - 0x64], ax
lea ecx, [ebp - 0x64]
mov eax, dword [ebp - 0x24]
push 0xffffffffffffffff
inc eax
mov dword [ebp - 0x54], 0
push eax
push edi
mov dword [ebp - 0x50], 7
call fcn.004508c0
lea ecx, [ebp - 0x4c]
call fcn.0044e0e0
movups xmm0, xmmword [ebp - 0x64]
movups xmmword [ebp - 0x4c], xmm0
movq xmm0, qword [ebp - 0x54]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x20]
movq qword [ebp - 0x3c], xmm0
cmp edx, 8
jb 0x450512
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x450310
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45075d
push edx
push ecx
call fcn.00487ad0
add esp, 8
jmp 0x450512
push str.HKEY_CLASSES_ROOT
call fcn.004a0636
mov ecx, dword [ebp - 0x20]
add esp, 4
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x80], ecx
cmp eax, ecx
ja 0x450366
lea esi, [eax + eax]
mov dword [ebp - 0x24], eax
cmp ecx, 8
lea edi, [ebp - 0x34]
push esi
cmovae edi, dword [ebp - 0x34]
push str.HKEY_CLASSES_ROOT
push edi
call fcn.004970d0
add esp, 0xc
xor eax, eax
mov word [esi + edi], ax
mov edi, dword [ebp - 0x34]
jmp 0x450455
cmp eax, 0x7ffffffe
ja 0x450762
mov esi, eax
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x450385
mov esi, 0x7ffffffe
jmp 0x4503a3
mov edx, ecx
mov eax, 0x7ffffffe
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x45039b
mov esi, 0x7ffffffe
jmp 0x4503a3
lea eax, [edx + ecx]
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x4503b5
or ecx, 0xffffffff
jmp 0x4503bd
cmp ecx, 0x1000
jb 0x4503e4
lea eax, [ecx + 0x23]
or edx, 0xffffffff
cmp eax, ecx
cmovbe eax, edx
push eax
call fcn.00487725
add esp, 4
test eax, eax
je 0x45075d
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x4503f7
test ecx, ecx
je 0x4503f5
push ecx
call fcn.00487725
add esp, 4
mov edi, eax
jmp 0x4503f7
xor edi, edi
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], eax
lea esi, [eax + eax]
push esi
push str.HKEY_CLASSES_ROOT
push edi
call fcn.00497650
xor eax, eax
add esp, 0xc
mov word [esi + edi], ax
mov eax, dword [ebp - 0x80]
cmp eax, 8
jb 0x450452
mov ecx, dword [ebp - 0x34]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x450448
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450767
push edx
push ecx
call fcn.00487ad0
add esp, 8
mov dword [ebp - 0x34], edi
mov esi, dword [ebp - 0x84]
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 8
mov ecx, esi
cmovae eax, edi
cmp dword [esi + 0x14], 8
jb 0x45046f
mov ecx, dword [esi]
push dword [ebp - 0x24]
mov edx, dword [esi + 0x10]
push eax
push 0
call fcn.00450de0
add esp, 0xc
cmp eax, 0xffffffff
je 0x4506e5
xor eax, eax
mov dword [ebp - 0x74], closesocket
mov word [ebp - 0x64], ax
lea ecx, [ebp - 0x64]
mov eax, dword [ebp - 0x24]
push 0xffffffffffffffff
inc eax
mov dword [ebp - 0x54], 0
push eax
push esi
mov dword [ebp - 0x50], 7
call fcn.004508c0
lea ecx, [ebp - 0x4c]
call fcn.0044e0e0
movups xmm0, xmmword [ebp - 0x64]
movups xmmword [ebp - 0x4c], xmm0
movq xmm0, qword [ebp - 0x54]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x20]
movq qword [ebp - 0x3c], xmm0
cmp edx, 8
jb 0x45050c
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x450502
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45076c
push edx
push ecx
call fcn.00487ad0
add esp, 8
mov esi, dword [ebp - 0x88]
xor eax, eax
mov dword [ebp - 0x20], 7
cmp dword [ebp - 0x38], 8
lea ecx, [ebp - 0x70]
push ecx
mov word [ebp - 0x34], ax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x4c]
cmovae eax, dword [ebp - 0x4c]
push 1
push 0
push eax
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x450583
mov edx, dword [ebp - 0x38]
cmp edx, 8
jb 0x45073b
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x450731
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450771
jmp 0x450731
mov eax, dword [ebp - 0x78]
mov ecx, eax
mov byte [ebp - 0x65], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x7c], 0
cmp dword [eax + 0x14], 8
jb 0x4505a2
mov ecx, dword [eax]
lea eax, [ebp - 0x6c]
push eax
push 0
lea eax, [ebp - 0x7c]
push eax
push 0
push ecx
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x45068c
mov byte [ebp - 4], 2
push dword [ebp - 0x6c]
call fcn.00487d51
mov edi, eax
mov dword [ebp - 4], 0
add esp, 4
test edi, edi
je 0x450683
mov eax, dword [ebp - 0x78]
cmp dword [eax + 0x14], 8
jb 0x4505eb
mov eax, dword [eax]
lea ecx, [ebp - 0x6c]
push ecx
push edi
lea ecx, [ebp - 0x7c]
push ecx
push 0
push eax
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x450683
mov eax, dword [ebp - 0x6c]
cmp eax, 2
jbe 0x45067f
shr eax, 1
mov ecx, esi
push eax
push edi
call fcn.0044dde3
cmp dword [esi + 0x14], 8
mov eax, esi
mov edx, dword [esi + 0x10]
jb 0x450624
mov eax, dword [esi]
cmp word [eax + edx*2 - 2], 0
jne 0x45067f
lea eax, [edx - 1]
mov ecx, esi
push eax
push 0
lea eax, [ebp - 0x64]
push eax
call fcn.00450810
push eax
mov ecx, esi
call fcn.00452ae0
mov edx, dword [ebp - 0x50]
cmp edx, 8
jb 0x45067f
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x450675
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450776
push edx
push ecx
call fcn.00487ad0
add esp, 8
mov byte [ebp - 0x65], 1
push edi
call fcn.00487b01
add esp, 4
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x38]
cmp edx, 8
jb 0x4506cf
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4506c5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450771
push edx
push ecx
call fcn.00487ad0
add esp, 8
mov al, byte [ebp - 0x65]
jmp 0x45073d
mov eax, dword [ebp - 0x20]
cmp eax, 8
jb 0x450718
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x45070e
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450771
push ecx
push edi
call fcn.00487ad0
add esp, 8
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
jmp 0x450546
push edx
push ecx
call fcn.00487ad0
add esp, 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00487463
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
call fcn.004a0555
call fcn.00448a47
call fcn.004a0555
call fcn.004a0555
call fcn.004a0555
call fcn.004a0555
int3