Function at 0x10006e67
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1002f9f0
push 0x10014080
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x10032014]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x248], edx
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x258], esi
mov dword [ebp - 0x250], 1
mov dword [ebp - 0x264], connect
xor edi, edi
mov dword [ebp - 0x24c], edi
xorps xmm0, xmm0
movups xmmword [ebp - 0x3c], xmm0
movups xmmword [ebp - 0x2c], xmm0
push 0x104
push edi
lea eax, [ebp - 0x140]
push eax
call fcn.10014920
push 0x104
push edi
lea eax, [ebp - 0x244]
push eax
call fcn.10014920
add esp, 0x18
mov dword [ebp - 4], edi
lea eax, [ebp - 0x254]
push eax
push 0x20019
push edi
push dword [ebp - 0x248]
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x10006e50
or edi, 0xffffffff
jmp 0x1000701f
mov eax, dword [ebp - 0x250]
dec eax
cmp eax, 6
ja case.0x10006e60.5
jmp dword [eax*4 + 0x10007078]
mov dword [ebp - 0x248], 0x104
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x250]
push eax
push 0
push str.Host
push dword [ebp - 0x254]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne case.0x10006e60.5
xor edi, edi
mov dword [ebp - 0x25c], edi
lea esi, [ebp - 0x140]
add esi, edi
push 1
push 0x1002e3f0
push esi
call fcn.10019304
add esp, 0xc
test eax, eax
je 0x10006ee6
mov ecx, dword [ebp - 0x258]
sub ecx, esi
nop dword [eax]
mov al, byte [esi]
mov byte [ecx + esi], al
lea esi, [esi + 1]
test al, al
jne 0x10006ed0
mov edi, 1
jmp 0x1000701f
inc edi
jmp 0x10006ea3
mov dword [ebp - 0x248], 0x104
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x250]
push eax
push 0
push str.Host
push dword [ebp - 0x254]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne case.0x10006e60.5
lea esi, [ebp - 0x140]
nop dword [eax]
lea eax, [ebp - 0x244]
cmp byte [esi], 0
je 0x10006f70
push 0x104
push esi
push eax
call fcn.10016930
push 0x104
push 0x1002e3f0
lea eax, [ebp - 0x244]
push eax
call fcn.10016930
add esp, 0x18
push 0
push esi
call fcn.10013f10
add esp, 8
lea esi, [eax + 1]
jmp 0x10006f30
lea ecx, [ebp - 0x244]
mov edx, dword [ebp - 0x258]
sub edx, eax
nop
mov al, byte [ecx]
mov byte [edx + ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x10006f80
mov edi, 1
jmp 0x1000701f
mov dword [ebp - 0x248], 4
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x250]
push eax
push 0
push str.Host
push dword [ebp - 0x254]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne case.0x10006e60.5
push dword [ebp - 0x260]
push 0x1002e634
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov edi, 1
jmp 0x1000701f
mov dword [ebp - 0x248], 0x100
lea eax, [ebp - 0x248]
push eax
push 0
lea eax, [ebp - 0x250]
push eax
push 0
push str.Host
push dword [ebp - 0x254]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, 1
test eax, eax
cmove edi, ecx
mov dword [ebp - 0x24c], edi
nop word [eax + eax]
mov dword [ebp - 4], 0xfffffffe
call fcn.10007060
mov eax, edi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.100126e5
mov esp, ebp
pop ebp
ret