Function at 0x103b120
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10596de
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x288
mov eax, dword [0x106406c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x50]
call fcn.01010c62
mov dword [ebp - 4], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.01010c62
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.01010c62
mov byte [ebp - 4], 2
mov dword [ebp - 0x58], 0
mov ecx, dword [ebp + 8]
call fcn.01010a73
movzx eax, al
test eax, eax
jne 0x103b1aa
mov ecx, dword [ebp + 8]
push ecx
call fcn.01025920
movzx edx, al
test edx, edx
jne 0x103b1e6
mov dword [ebp - 0x26c], 0x57
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.01010c92
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.01010c92
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.01010c92
mov eax, dword [ebp - 0x26c]
jmp 0x103b5d0
cmp dword [ebp + 0xc], 0
jne 0x103b228
mov dword [ebp - 0x270], 0x57
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.01010c92
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.01010c92
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.01010c92
mov eax, dword [ebp - 0x270]
jmp 0x103b5d0
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
lea ecx, [ebp - 0x50]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.010416f0
test eax, eax
jne 0x103b293
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
push 0x100a3e0
push 2
call fcn.0102e650
add esp, 0xc
mov dword [ebp - 0x274], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.01010c92
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.01010c92
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.01010c92
mov eax, dword [ebp - 0x274]
jmp 0x103b5d0
push ecx
mov ecx, esp
mov dword [ebp - 0x278], esp
lea edx, [ebp - 0x50]
push edx
call fcn.01010eb5
mov dword [ebp - 0x288], eax
mov eax, dword [ebp - 0x288]
mov dword [ebp - 0x28c], eax
mov byte [ebp - 4], 3
mov byte [ebp - 4], 2
call fcn.010417f0
mov dword [ebp - 0x290], eax
cmp dword [ebp - 0x290], 0
je 0x103b2e8
mov ecx, dword [ebp - 0x50]
push ecx
push 0x100a3ac
push 1
call fcn.0102e650
add esp, 0xc
jmp 0x103b302
mov edx, dword [ebp - 0x50]
push edx
push 0x100a380
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 3
call fcn.0102e720
add esp, 0x10
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x50]
push edx
call fcn.01025540
movzx eax, al
test eax, eax
jne 0x103b35c
mov dword [ebp - 0x44], 0x57
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x27c], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.01010c92
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.01010c92
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.01010c92
mov eax, dword [ebp - 0x27c]
jmp 0x103b5d0
mov dword [ebp - 0x48], 0xffffffff
push 6
push 0
push 0
push 0
call dword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0xffffffff
jne 0x103b3b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x280], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.01010c92
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.01010c92
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.01010c92
mov eax, dword [ebp - 0x280]
jmp 0x103b5d0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x34], 0x1c
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x294], edx
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x294]
push ecx
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov dword [ebp - 0x3c], ecx
test eax, eax
je 0x103b53a
push 0x20019
push 2
push 0
push 1
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.SETUPAPI.dll_SetupDiOpenDevRegKey]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
je 0x103b535
mov dword [ebp - 0x14], 0x208
mov dword [ebp - 0x10], 1
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x264]
push edx
lea eax, [ebp - 0x10]
push eax
push 0
push 0x100a370
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x103b524
push 0xffffffffffffffff
lea ecx, [ebp - 0x5c]
call fcn.010107dc
push eax
push 0xffffffffffffffff
lea edx, [ebp - 0x264]
push edx
push 1
push 0x800
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x103b524
mov dword [ebp - 0x4c], 0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x48]
push edx
call fcn.0103cd90
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x103b4a7
mov eax, dword [ebp - 0x58]
add eax, 1
mov dword [ebp - 0x58], eax
jmp 0x103b515
call fcn.0102e630
test eax, eax
je 0x103b515
lea ecx, [ebp - 0x268]
call fcn.01010c62
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x268]
push ecx
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x48]
push eax
call fcn.0103d570
test eax, eax
jne 0x103b4f3
mov ecx, dword [ebp - 0x268]
push ecx
push 0x100a318
mov edx, dword [ebp - 0x40]
push edx
push 3
call fcn.0102e720
add esp, 0x10
jmp 0x103b506
push 0x100a2e0
mov eax, dword [ebp - 0x40]
push eax
push 3
call fcn.0102e720
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x268]
call fcn.01010c92
cmp dword [ebp - 0x4c], 0
je 0x103b524
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 1
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x38], 0xffffffff
jmp 0x103b3c6
cmp dword [ebp - 0x38], 0xffffffff
je 0x103b54a
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov dword [ebp - 0x48], 0xffffffff
call fcn.0102e630
test eax, eax
je 0x103b59a
cmp dword [ebp - 0x58], 0
je 0x103b585
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
push 0x100a288
push 1
call fcn.0102e650
add esp, 0x10
jmp 0x103b59a
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
push 0x100a240
push 1
call fcn.0102e650
add esp, 0xc
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x284], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.01010c92
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.01010c92
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.01010c92
mov eax, dword [ebp - 0x284]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x18]
call fcn.0101cfec
mov esp, ebp
pop ebp
ret 8