Function at 0x4299a0
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x4471b5
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x4551a0]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4551a0]
xor eax, esp
push eax
lea eax, [esp + 0x11c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x12c]
lea ecx, [esp + 0x18]
push ecx
push 0x20019
xor esi, esi
push esi
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x60], eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x429ec3
mov ecx, dword [esp + 0x18]
push esi
push esi
push esi
push esi
push esi
push esi
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x40]
push eax
push esi
push esi
push esi
push ecx
mov dword [esp + 0x54], esi
mov dword [esp + 0x4c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x429eb8
cmp dword [esp + 0x1c], 0x400
ja 0x429eb8
mov eax, dword [esp + 0x24]
cmp eax, 0x400
ja 0x429eb8
xor ebx, ebx
cmp eax, esi
mov dword [esp + 0x28], ebx
jbe 0x429ea9
lea ebp, [esi + 8]
mov eax, dword [esp + 0x1c]
xor ecx, ecx
add eax, 2
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042fd8e
mov ecx, dword [esp + 0x1c]
mov edi, eax
mov eax, dword [esp + 0x20]
add esp, 4
add eax, 1
push eax
push edi
push ebx
push ecx
mov dword [esp + 0x3c], edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x429e8f
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x20]
push eax
push 0x20019
push esi
mov word [edi + edx*2 + 2], si
mov ecx, dword [esp + 0x24]
push edi
push ecx
mov dword [esp + 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x429e8f
mov eax, 7
mov dword [esp + 0xd8], eax
mov dword [esp + 0xd4], esi
mov word [esp + 0xc4], si
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf0], esi
mov word [esp + 0xe0], si
mov dword [esp + 0x110], eax
mov dword [esp + 0x10c], esi
mov word [esp + 0xfc], si
mov dword [esp + 0x124], esi
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], esi
mov word [esp + 0x34], si
mov eax, str.ServiceName
lea esi, [esp + 0x30]
call fcn.00401625
mov byte [esp + 0x124], 1
mov edx, dword [esp + 0x20]
push edx
mov edx, esi
lea ecx, [esp + 0x54]
call fcn.00429890
push 0xffffffffffffffff
lea ecx, [esp + 0xc4]
push ecx
xor ebx, ebx
mov byte [esp + 0x12c], 2
call fcn.00401709
cmp dword [esp + 0x68], ebp
jb 0x429b87
mov edx, dword [esp + 0x54]
push edx
call fcn.0043004e
add esp, 4
xor ebx, ebx
mov esi, 7
mov byte [esp + 0x124], bl
cmp dword [esp + 0x48], ebp
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], bx
jb 0x429bb5
mov eax, dword [esp + 0x34]
push eax
call fcn.0043004e
add esp, 4
mov dword [esp + 0x48], esi
mov eax, str.Description
lea esi, [esp + 0x30]
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], bx
call fcn.00401625
mov byte [esp + 0x124], 3
mov ecx, dword [esp + 0x20]
push ecx
mov edx, esi
lea ecx, [esp + 0x54]
call fcn.00429890
push 0xffffffffffffffff
lea edx, [esp + 0xe0]
push edx
xor ebx, ebx
mov byte [esp + 0x12c], 4
call fcn.00401709
cmp dword [esp + 0x68], ebp
jb 0x429c14
mov eax, dword [esp + 0x54]
push eax
call fcn.0043004e
add esp, 4
xor ebx, ebx
mov esi, 7
mov byte [esp + 0x124], bl
cmp dword [esp + 0x48], ebp
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], bx
jb 0x429c42
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0043004e
add esp, 4
cmp dword [esp + 0xd4], ebx
je 0x429e4a
mov dword [esp + 0xbc], esi
mov eax, str.SYSTEMCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318_
lea esi, [esp + 0xa4]
mov dword [esp + 0xb8], ebx
mov word [esp + 0xa8], bx
call fcn.00401625
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xc8]
mov byte [esp + 0x12c], 5
call fcn.00403cbf
push str.Connection
mov edx, esi
push edx
call fcn.00403637
cmp dword [esp + 0xbc], ebp
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x14], ebx
jae 0x429cb5
lea eax, [esp + 0xa8]
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x429d94
mov eax, str.Name
lea ecx, [esp + 0x6c]
call fcn.004015ff
mov byte [esp + 0x124], 6
mov edx, dword [esp + 0x14]
push edx
lea edx, [esp + 0x70]
lea ecx, [esp + 0x8c]
call fcn.00429890
push 0xffffffffffffffff
lea ecx, [esp + 0xfc]
push ecx
xor ebx, ebx
mov byte [esp + 0x12c], 7
call fcn.00401709
cmp dword [esp + 0xa0], ebp
jb 0x429d31
mov edx, dword [esp + 0x8c]
push edx
call fcn.0043004e
add esp, 4
xor esi, esi
mov edi, 7
mov byte [esp + 0x124], 5
cmp dword [esp + 0x84], ebp
mov dword [esp + 0xa0], edi
mov dword [esp + 0x9c], esi
mov word [esp + 0x8c], si
jb 0x429d6c
mov eax, dword [esp + 0x70]
push eax
call fcn.0043004e
add esp, 4
mov ecx, dword [esp + 0x14]
push ecx
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], esi
mov word [esp + 0x74], si
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x14], esi
xor ebx, ebx
cmp dword [esp + 0x10c], ebx
je 0x429e10
mov eax, str.SYSTEMCurrentControlSetServicesTcpipParametersInterfaces_
lea esi, [esp + 0xa4]
call fcn.00401625
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xc8]
call fcn.00403cbf
cmp dword [esp + 0xbc], ebp
mov eax, dword [esp + 0xa8]
jae 0x429dd4
lea eax, [esp + 0xa8]
lea edx, [esp + 0x14]
push edx
push 0x20019
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x429e00
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebx
jmp 0x429e10
lea edi, [esp + 0xf8]
call fcn.004057b0
mov edi, dword [esp + 0x2c]
mov byte [esp + 0x124], bl
cmp dword [esp + 0xbc], ebp
jb 0x429e30
mov ecx, dword [esp + 0xa8]
push ecx
call fcn.0043004e
add esp, 4
mov dword [esp + 0xbc], 7
mov dword [esp + 0xb8], ebx
mov word [esp + 0xa8], bx
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x10c], ebx
je 0x429e72
mov esi, dword [esp + 0x4c]
lea eax, [esp + 0xc0]
push eax
add esi, 0x20
call fcn.0042a2e0
lea esi, [esp + 0xc0]
mov dword [esp + 0x124], 0xffffffff
call fcn.00429ef0
mov ebx, dword [esp + 0x28]
xor esi, esi
push edi
call fcn.00430975
add ebx, 1
add esp, 4
cmp ebx, dword [esp + 0x24]
mov dword [esp + 0x28], ebx
jb 0x429a6b
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x429ec5
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov ecx, dword [esp + 0x11c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0042fe0e
add esp, 0x114
ret 4