Function at 0x10003a70
Capabilities:
Query or enumerate registry key
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10020df8
mov eax, dword fs:[0]
push eax
sub esp, 0xa10
mov eax, dword [0x100280f0]
xor eax, esp
mov dword [esp + 0xa08], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100280f0]
xor eax, esp
push eax
lea eax, [esp + 0xa24]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xa34]
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 3
push 0xc0000000
push str.__._6A8DCD5A_CB21_4FFB_BA2D_622381D69E3C
mov dword [esp + 0x38], ebp
mov dword [esp + 0x4c], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10003ece
mov dword [esp + 0x38], ebx
mov dword [esp + 0xa2c], ebx
push 0x39
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
lea esi, [esp + 0xac]
mov dword [esp + 0xc4], 7
mov dword [esp + 0xc0], ebx
mov word [esp + 0xb0], bx
call fcn.10007190
mov dword [esp + 0xa0], 7
mov dword [esp + 0x9c], ebx
mov word [esp + 0x8c], bx
mov byte [esp + 0xa2c], 2
mov eax, dword [esp + 0xa8]
mov esi, 8
cmp dword [esp + 0xbc], esi
jae 0x10003b54
lea eax, [esp + 0xa8]
lea ecx, [esp + 0x20]
push ecx
push 0x2001f
push ebx
push eax
push connect
mov dword [esp + 0x34], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x10003b81
mov edx, dword [esp + 0x20]
mov dword [esp + 0x38], edx
mov dword [esp + 0x24], ebx
jmp 0x10003bff
push ebx
mov dword [ebp + 0x18], 0xf
mov dword [ebp + 0x14], ebx
push 0x10024592
mov ecx, ebp
mov byte [ebp + 4], bl
call fcn.10001780
cmp dword [esp + 0xa0], esi
jb 0x10003bb4
mov eax, dword [esp + 0x8c]
push eax
call fcn.1000dcfa
add esp, 4
cmp dword [esp + 0xbc], esi
mov dword [esp + 0xa0], 7
mov dword [esp + 0x9c], ebx
mov word [esp + 0x8c], bx
jb 0x10003be7
mov ecx, dword [esp + 0xa8]
push ecx
call fcn.1000dcfa
add esp, 4
mov eax, ebp
jmp 0x100040e7
cmp ebp, ebx
je 0x10003bf9
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebp, dword [esp + 0x1c]
xor ebx, ebx
push 0x800
lea edx, [esp + 0x220]
push ebx
push edx
call fcn.1000f430
add esp, 0xc
lea eax, [esp + 0x78]
push eax
mov eax, dword [esp + 0x28]
push ebx
push ebx
push ebx
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x230]
push edx
push eax
push ecx
mov dword [esp + 0x48], 0x800
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x10003e29
add dword [esp + 0x24], 1
xor ebp, ebp
mov dword [esp + 0x34], ebp
lea edx, [esp + 0xa4]
push edx
mov ebx, 0x100247e4
lea esi, [esp + 0x5c]
mov byte [esp + 0xa30], 3
call fcn.100077d0
add esp, 4
push eax
lea ebx, [esp + 0x220]
lea esi, [esp + 0x40]
mov byte [esp + 0xa30], 4
call fcn.100077d0
mov esi, 8
add esp, 4
cmp dword [eax + 0x18], esi
jb 0x10003ca1
mov eax, dword [eax + 4]
jmp 0x10003ca4
add eax, 4
lea ecx, [esp + 0x2c]
push ecx
push 0x2001f
xor ebx, ebx
push ebx
push eax
push connect
mov dword [esp + 0x40], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x10003cd1
mov ebp, dword [esp + 0x2c]
xor eax, eax
mov dword [esp + 0x34], ebp
cmp eax, ebx
setne byte [esp + 0x1b]
cmp dword [esp + 0x54], esi
jb 0x10003ce9
mov edx, dword [esp + 0x40]
push edx
call fcn.1000dcfa
add esp, 4
mov byte [esp + 0xa2c], 3
cmp dword [esp + 0x70], esi
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
jb 0x10003d15
mov eax, dword [esp + 0x5c]
push eax
call fcn.1000dcfa
add esp, 4
cmp byte [esp + 0x1b], bl
jne 0x10003bee
push 0x800
lea ecx, [esp + 0x220]
push ebx
push ecx
mov dword [esp + 0x34], 0x800
call fcn.1000f430
add esp, 0xc
lea edx, [esp + 0x34]
push edx
lea edi, [esp + 0x2c]
lea esi, [esp + 0x220]
call fcn.10008190
push 4
mov edi, 7
push str.__._
lea esi, [esp + 0x44]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], bx
call fcn.10007190
mov eax, esi
push eax
lea ebx, [esp + 0x220]
lea esi, [esp + 0x5c]
mov byte [esp + 0xa30], 5
call fcn.100077d0
add esp, 4
push 0xffffffffffffffff
xor ebx, ebx
push ebx
lea ecx, [esp + 0x90]
mov byte [esp + 0xa34], 6
call fcn.100070e0
mov esi, 8
cmp dword [esp + 0x70], esi
jb 0x10003dc3
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.1000dcfa
add esp, 4
cmp dword [esp + 0x54], esi
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], bx
jb 0x10003de3
mov edx, dword [esp + 0x40]
push edx
call fcn.1000dcfa
add esp, 4
cmp dword [esp + 0xa0], esi
mov eax, dword [esp + 0x8c]
jae 0x10003dfa
lea eax, [esp + 0x8c]
push ebx
push ebx
push 3
push ebx
push 3
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x10003bee
cmp ebp, ebx
je 0x10003e23
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebp, dword [esp + 0x1c]
xor ebx, ebx
cmp dword [esp + 0xa0], 8
jb 0x10003e43
mov eax, dword [esp + 0x8c]
push eax
call fcn.1000dcfa
add esp, 4
cmp dword [esp + 0xbc], 8
mov esi, 7
mov dword [esp + 0xa0], esi
mov dword [esp + 0x9c], ebx
mov word [esp + 0x8c], bx
jb 0x10003e78
mov ecx, dword [esp + 0xa8]
push ecx
call fcn.1000dcfa
add esp, 4
mov dword [esp + 0xa2c], 0xffffffff
mov eax, dword [esp + 0x20]
cmp eax, ebx
mov dword [esp + 0xbc], esi
mov dword [esp + 0xb8], ebx
mov word [esp + 0xa8], bx
je 0x10003ea8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, 0xffffffff
jne 0x10003ece
push ebx
mov dword [ebp + 0x18], 0xf
mov dword [ebp + 0x14], ebx
push 0x10024592
mov ecx, ebp
mov byte [ebp + 4], bl
call fcn.10001780
mov eax, ebp
jmp 0x100040e7
push 0xff
lea edx, [esp + 0x121]
push ebx
push edx
mov byte [esp + 0x128], bl
call fcn.1000f430
add esp, 0xc
push 0x40
lea eax, [esp + 0xe0]
push ebx
push eax
mov dword [esp + 0x3c], 0x1010101
call fcn.1000f430
add esp, 0xc
push ebx
lea ecx, [esp + 0x78]
push ecx
push 0x100
lea edx, [esp + 0x128]
push edx
push 4
lea eax, [esp + 0x44]
push eax
push 0x170002
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x10003f7b
movzx ecx, byte [esp + 0x121]
movzx edx, byte [esp + 0x120]
movzx eax, byte [esp + 0x11f]
push ecx
movzx ecx, byte [esp + 0x122]
push edx
movzx edx, byte [esp + 0x125]
push eax
movzx eax, byte [esp + 0x128]
push ecx
push edx
push eax
lea ecx, [esp + 0xf4]
push str._02X_02X_02X_02X_02X_02X
push ecx
call fcn.1000e35b
add esp, 0x20
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esi, [esp + 0x78]
call fcn.100033b0
mov edx, esi
push edx
lea esi, [esp + 0xc4]
call fcn.100036a0
mov dword [esp + 0xa2c], 7
mov edi, dword [esp + 0xd8]
cmp edi, 0x10
mov edx, dword [esp + 0xc4]
jae 0x10003fbf
lea edx, [esp + 0xc4]
xor eax, eax
mov ecx, 0x10024592
call fcn.10001040
cmp eax, ebx
mov ebp, dword [esp + 0xd4]
jne 0x10003fe5
xor eax, eax
cmp ebp, ebx
setne al
cmp eax, ebx
je 0x1000406e
lea eax, [esp + 0xdc]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x10003ff0
sub eax, edx
mov esi, eax
cmp ebp, esi
mov eax, ebp
jb 0x10004005
mov eax, esi
cmp edi, 0x10
mov edx, dword [esp + 0xc4]
jae 0x10004018
lea edx, [esp + 0xc4]
lea ecx, [esp + 0xdc]
call fcn.10001040
cmp eax, ebx
jne 0x10004037
cmp ebp, esi
jb 0x10004037
xor eax, eax
cmp ebp, esi
setne al
cmp eax, ebx
je 0x1000406e
mov esi, dword [esp + 0x1c]
push 0x20
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push str.77777777777777777777777777777777
mov ecx, esi
mov byte [esi + 4], bl
call fcn.10001780
cmp dword [esp + 0xd8], 0x10
jb 0x100040e5
mov eax, dword [esp + 0xc4]
push eax
jmp 0x100040dd
lea eax, [esp + 0xdc]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x10004078
sub eax, edx
lea ecx, [esp + 0xdc]
lea edi, [esp + 0x78]
call fcn.10003790
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0xdc]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x100040b0
sub eax, edx
push eax
lea ecx, [esp + 0xe0]
push ecx
mov ecx, esi
call fcn.10001780
cmp dword [esp + 0xd8], 0x10
jb 0x100040e5
mov edx, dword [esp + 0xc4]
push edx
call fcn.1000dcfa
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xa24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa08]
xor ecx, esp
call fcn.1000dec6
add esp, 0xa1c
ret