Function at 0x5deb40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x637b35
mov eax, dword fs:[0]
push eax
sub esp, 0x36c
mov eax, dword [0x6ce488]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x368], esi
mov eax, dword [0x6d86d4]
test al, 1
jne 0x5debce
or eax, 1
mov dword [0x6d86d4], eax
push 0
push 0x6a2f3c
mov ecx, 0x6d86bc
mov dword [ebp - 4], 0
mov dword [0x6d86cc], 0
mov dword [0x6d86d0], 0xf
mov byte [0x6d86bc], 0
call fcn.00417150
push 0x639ab0
call fcn.005c3824
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [0x6d86cc], 0
je 0x5debe8
push 0x6d86bc
mov ecx, esi
call fcn.00417290
jmp 0x5deeb0
mov dword [ebp - 0x378], 0
mov dword [ebp - 0x374], 0
mov dword [ebp - 0x370], 0
push 9
xor eax, eax
mov dword [ebp - 4], 1
push 0x6a0b0c
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.00416b00
push 0x691df4
lea ecx, [ebp - 0x364]
mov byte [ebp - 4], 2
call fcn.004123a0
mov edx, dword [eax]
mov ecx, edx
mov byte [ebp - 4], 3
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5dec60
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x230]
call fcn.0048abb0
mov eax, dword [ebp - 0x364]
lea ecx, [ebp - 0x360]
mov byte [ebp - 4], 2
cmp eax, ecx
je 0x5dec99
push eax
call fcn.006140b6
add esp, 4
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push 0x20019
cmovae eax, dword [ebp - 0x230]
lea ecx, [ebp - 0x378]
push eax
push reloc.WS2_32.dll_bind
call fcn.00416a30
mov edi, dword [ebp - 0x378]
test eax, eax
jne 0x5dedc8
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005feb40
add esp, 0xc
mov dword [ebp - 0x36c], 0x208
lea eax, [ebp - 0x36c]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x368]
push eax
push 0
push 0x6a0b30
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x5dedc8
mov eax, dword [ebp - 0x368]
cmp eax, 1
je 0x5ded30
cmp eax, 2
jne 0x5dedc8
mov eax, dword [ebp - 0x36c]
test eax, eax
je 0x5ded51
test al, 1
jne 0x5dedc8
shr eax, 1
cmp word [ebp + eax*2 - 0x21a], 0
je 0x5ded5a
jmp 0x5dedc8
xor eax, eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x2e0]
mov dword [ebp - 0x2e4], eax
lea ecx, [ebp - 0x2e4]
push 0xfde9
lea eax, [ebp - 0x218]
push eax
call fcn.004126e0
mov edx, dword [ebp - 0x2e4]
mov ecx, edx
mov byte [ebp - 4], 4
lea eax, [ecx + 1]
mov dword [ebp - 0x368], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5ded92
sub ecx, dword [ebp - 0x368]
push ecx
push edx
mov ecx, 0x6d86bc
call fcn.00417150
mov eax, dword [ebp - 0x2e4]
lea ecx, [ebp - 0x2e0]
mov byte [ebp - 4], 2
cmp eax, ecx
je 0x5dedc8
push eax
call fcn.006140b6
add esp, 4
cmp dword [0x6d86cc], 0
jne 0x5dee8e
lea eax, [ebp - 0x260]
push eax
call fcn.0047e1b0
add esp, 4
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 5
push ecx
push eax
lea ecx, [ebp - 0x2cc]
call fcn.005e4450
mov ecx, eax
call fcn.005e4570
mov edx, dword [ebp - 0x24c]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x5dee40
mov ecx, dword [ebp - 0x260]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5dee36
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5deecd
push edx
push ecx
call fcn.005c385c
add esp, 8
mov ecx, 0x6d86bc
call fcn.00417a20
movups xmm0, xmmword [ebp - 0x248]
lea ecx, [ebp - 0x248]
mov byte [ebp - 0x248], 0
movups xmmword [0x6d86bc], xmm0
movq xmm0, qword [ebp - 0x238]
movq qword [0x6d86cc], xmm0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
call fcn.00417a20
push 0x6d86bc
mov ecx, esi
call fcn.00417290
lea ecx, [ebp - 0x230]
call fcn.00402f80
test edi, edi
je 0x5deeb0
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.005c358e
mov esp, ebp
pop ebp
ret
call fcn.00606fc9
int3