Function at 0x45ddc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4af24d
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x82b540]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp + 0xc]
mov ecx, eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
cmp dword [eax + 0x14], 7
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x2c], 0
jbe 0x45de0f
mov ecx, dword [eax]
lea eax, [ebp - 0x2c]
push eax
push 0
push 0
push 2
push ecx
push 0
push dword [edx]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x45de33
mov dword [esi], eax
mov byte [esi + 0x18], 0
jmp 0x45df5b
mov esi, dword [ebp - 0x2c]
xorps xmm0, xmm0
shr esi, 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
cmp esi, 0x7ffffffe
ja 0x45dff6
cmp esi, 7
ja 0x45de88
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 7
test esi, esi
je 0x45de7f
mov ecx, esi
lea edi, [ebp - 0x28]
shr ecx, 1
mov eax, 0x200020
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
xor eax, eax
mov word [ebp + esi*2 - 0x28], ax
jmp 0x45dee0
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x45de9d
mov dword [ebp - 0x30], closesocket
jmp 0x45deaa
mov ecx, 0xa
cmp eax, ecx
cmovb eax, ecx
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0044fef0
mov edx, eax
mov ecx, esi
mov eax, dword [ebp - 0x30]
mov edi, edx
mov dword [ebp - 0x18], ecx
add esp, 8
mov dword [ebp - 0x14], eax
mov eax, 0x200020
shr ecx, 1
mov dword [ebp - 0x28], edi
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
xor eax, eax
mov word [edx + esi*2], ax
cmp dword [ebp - 0x14], 7
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x38]
cmova ecx, dword [ebp - 0x28]
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 7
jbe 0x45defd
mov eax, dword [eax]
lea edx, [ebp - 0x2c]
push edx
push ecx
push 0
push 2
push eax
mov eax, dword [ebp - 0x3c]
push 0
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x45df7a
mov esi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x14]
mov dword [esi], eax
mov byte [esi + 0x18], 0
cmp ecx, 7
jbe 0x45df5b
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45df51
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45dff0
push ecx
push edx
call fcn.00461e86
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00461b92
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x18]
shr ecx, 1
dec ecx
cmp ecx, eax
ja 0x45df9d
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ecx
cmova eax, dword [ebp - 0x28]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x45dfaa
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x28]
call fcn.00456a50
mov esi, dword [ebp - 0x34]
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
call fcn.0045c1e0
mov ecx, dword [ebp - 0x14]
mov byte [esi + 0x18], 1
cmp ecx, 7
jbe 0x45df5b
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45df51
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x45df51
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call fcn.00401730
int3