Function at 0x100567f0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x45c
mov eax, dword [0x100f7084]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x45c], ecx
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x454], 0
lea eax, [ebp - 0x450]
push eax
push 0x20019
push 0
push 0x100d2470
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x42c], eax
mov ecx, 1
test ecx, ecx
je 0x10056a97
mov edx, dword [str.ComponentId]
mov dword [ebp - 0x24], edx
mov eax, dword [0x100d2510]
mov dword [ebp - 0x20], eax
mov ecx, dword [0x100d2514]
mov dword [ebp - 0x1c], ecx
mov edx, dword [str.NetCfgInstanceId]
mov dword [ebp - 0x18], edx
mov eax, dword [0x100d251c]
mov dword [ebp - 0x14], eax
mov ecx, dword [0x100d2520]
mov dword [ebp - 0x10], ecx
mov edx, dword [0x100d2524]
mov dword [ebp - 0xc], edx
mov al, byte [0x100d2528]
mov byte [ebp - 8], al
mov dword [ebp - 0x434], 0x100
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x434]
push ecx
lea edx, [ebp - 0x124]
push edx
mov eax, dword [ebp - 0x448]
push eax
mov ecx, dword [ebp - 0x450]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [ebp - 0x42c], eax
cmp dword [ebp - 0x42c], 0x103
jne 0x100568de
jmp 0x10056a97
lea edx, [ebp - 0x124]
push edx
push str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002BE10318
push str._s_s
push 0x100
lea eax, [ebp - 0x224]
push eax
call fcn.10056f80
add esp, 0x14
lea ecx, [ebp - 0x444]
push ecx
push 0x20019
push 0
lea edx, [ebp - 0x224]
push edx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x42c], eax
cmp dword [ebp - 0x42c], 0
je 0x10056937
jmp 0x10056a83
mov dword [ebp - 0x434], 0x100
lea eax, [ebp - 0x434]
push eax
lea ecx, [ebp - 0x324]
push ecx
lea edx, [ebp - 0x440]
push edx
push 0
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x444]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x42c], eax
cmp dword [ebp - 0x42c], 0
jne 0x10056981
cmp dword [ebp - 0x440], 1
je 0x10056986
jmp 0x10056a76
mov dword [ebp - 0x434], 0x100
lea edx, [ebp - 0x434]
push edx
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x440]
push ecx
push 0
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x444]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x42c], eax
cmp dword [ebp - 0x42c], 0
jne 0x10056a76
cmp dword [ebp - 0x440], 1
jne 0x10056a76
mov dword [ebp - 0x43c], str.tap0901
lea ecx, [ebp - 0x324]
mov dword [ebp - 0x438], ecx
mov edx, dword [ebp - 0x438]
mov al, byte [edx]
mov byte [ebp - 0x42d], al
mov ecx, dword [ebp - 0x43c]
cmp al, byte [ecx]
jne 0x10056a4c
cmp byte [ebp - 0x42d], 0
je 0x10056a40
mov edx, dword [ebp - 0x438]
mov al, byte [edx + 1]
mov byte [ebp - 0x42e], al
mov ecx, dword [ebp - 0x43c]
cmp al, byte [ecx + 1]
jne 0x10056a4c
add dword [ebp - 0x438], 2
add dword [ebp - 0x43c], 2
cmp byte [ebp - 0x42e], 0
jne 0x100569ee
mov dword [ebp - 0x44c], 0
jmp 0x10056a57
sbb edx, edx
or edx, 1
mov dword [ebp - 0x44c], edx
mov eax, dword [ebp - 0x44c]
mov dword [ebp - 0x458], eax
cmp dword [ebp - 0x458], 0
jne 0x10056a76
mov dword [ebp - 0x454], 1
mov ecx, dword [ebp - 0x444]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x448]
add edx, 1
mov dword [ebp - 0x448], edx
jmp 0x10056841
mov eax, dword [ebp - 0x450]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x454], 0
je 0x10056ab6
mov byte [ebp - 0x425], 1
jmp 0x10056abd
mov byte [ebp - 0x425], 0
mov al, byte [ebp - 0x425]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10086b0f
mov esp, ebp
pop ebp
ret