Function at 0x10002750
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10010155
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x1003a004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
push 1
push 0
push str.SystemCurrentControlSetServicesTcpipParameters
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10002aff
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
push 0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 1
push eax
push 2
push str.Domain
push 0
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x10002aff
mov ebx, dword [ebp - 0x3c]
cmp ebx, 2
jbe 0x10002aff
shr ebx, 1
xorps xmm0, xmm0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
je 0x1000288c
lea esi, [ebx + ebx]
cmp esi, 0x1000
jb 0x10002834
lea eax, [esi + 0x23]
cmp eax, esi
jbe 0x10002b2d
push eax
call fcn.1000456f
add esp, 4
test eax, eax
je 0x10002b37
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x10002847
test esi, esi
je 0x10002845
push esi
call fcn.1000456f
add esp, 4
mov edi, eax
jmp 0x10002847
xor edi, edi
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x44], 0
mov ax, word [eax]
lea edx, [esi + edi]
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x18], edx
cmp ax, word [ecx]
jne 0x10002879
push esi
push 0
push edi
call fcn.10005b30
mov edx, dword [ebp - 0x48]
add esp, 0xc
jmp 0x10002886
xor eax, eax
mov ecx, ebx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], edx
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
push ecx
push eax
lea eax, [ebp - 0x40]
push eax
push 2
push str.Domain
push 0
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x100028b6
xor bl, bl
jmp 0x10002a41
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x48], eax
cmp eax, esi
jne 0x100028db
xor edx, edx
mov dword [ebp - 0x24], 7
mov dword [ebp - 0x28], edx
jmp 0x100029b3
sub esi, eax
sar esi, 1
cmp esi, 0x7ffffffe
ja 0x10002b32
cmp esi, 8
jae 0x10002916
mov dword [ebp - 0x28], esi
add esi, esi
push esi
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x24], 7
push eax
call fcn.10005cf0
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x38], ax
jmp 0x100029b0
mov edi, esi
or edi, 7
cmp edi, 0x7ffffffe
jbe 0x1000292a
mov edi, SysReAllocString
jmp 0x10002934
mov eax, 0xa
cmp edi, eax
cmovb edi, eax
xor ecx, ecx
mov eax, edi
add eax, 1
setb cl
neg ecx
or ecx, eax
cmp ecx, 0x7fffffff
ja 0x10002b2d
add ecx, ecx
cmp ecx, 0x1000
jb 0x1000297f
lea eax, [ecx + 0x23]
cmp eax, ecx
jbe 0x10002b2d
push eax
call fcn.1000456f
add esp, 4
test eax, eax
je 0x10002b37
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
jmp 0x10002992
test ecx, ecx
je 0x10002990
push ecx
call fcn.1000456f
add esp, 4
mov ebx, eax
jmp 0x10002992
xor ebx, ebx
mov dword [ebp - 0x28], esi
add esi, esi
push esi
push dword [ebp - 0x48]
mov dword [ebp - 0x38], ebx
push ebx
mov dword [ebp - 0x24], edi
call fcn.10005cf0
add esp, 0xc
xor eax, eax
mov word [esi + ebx], ax
mov edx, dword [ebp - 0x28]
cmp dword [0x100890f8], edx
lea ecx, [ebp - 0x38]
mov eax, 0x100890e8
cmova edx, dword [0x100890f8]
cmp dword [ebp - 0x24], 8
push edx
cmovae ecx, dword [ebp - 0x38]
cmp dword [0x100890fc], 8
push ecx
cmovae eax, dword [0x100890e8]
push eax
call fcn.100079d2
mov ecx, dword [ebp - 0x24]
add esp, 0xc
test eax, eax
jne 0x10002a81
mov bl, 1
cmp ecx, 8
jb 0x10002a2d
mov edx, dword [ebp - 0x38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10002a23
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002b37
push ecx
push edx
call fcn.100045a4
add esp, 8
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
mov edx, dword [ebp - 0x20]
test edx, edx
je 0x10002b01
mov ecx, dword [ebp - 0x18]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x10002a72
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002b37
push ecx
push edx
call fcn.100045a4
add esp, 8
jmp 0x10002b01
cmp ecx, 8
jb 0x10002ab8
mov edx, dword [ebp - 0x38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10002aae
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002b37
push ecx
push edx
call fcn.100045a4
add esp, 8
mov edx, dword [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
test edx, edx
je 0x10002aff
mov ecx, dword [ebp - 0x18]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x10002af5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002b37
push ecx
push edx
call fcn.100045a4
add esp, 8
xor bl, bl
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x10002b0f
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000443f
mov esp, ebp
pop ebp
ret
call fcn.100017d0
call fcn.10001870
call fcn.1000779c
int3