Function at 0x10008010
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x828
mov eax, dword [0x10033048]
xor eax, esp
mov dword [esp + 0x824], eax
mov eax, dword [esp + 0x82c]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x2c], ecx
mov ecx, 0xb
mov esi, str.SYSTEMCurrentControlSet_services_vwifimpEnum
lea edi, [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x1d1
xor ebp, ebp
lea edx, [esp + 0x63]
push ebp
push edx
mov dword [esp + 0x2c], eax
movsb byte es:[edi], byte [esi]
call fcn.10011170
add esp, 0xc
lea eax, [esp + 0x14]
push eax
push 1
push ebp
lea ecx, [esp + 0x3c]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
neg eax
sbb eax, eax
neg eax
je 0x10008097
lea edx, [esp + 0x30]
push edx
push eax
push str.RegOpenKeyExA___Failed__ErrorCode___d__SubKey___s_n
call fcn.1000e250
add esp, 0xc
jmp 0x1000831c
mov edx, dword [esp + 0x14]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x20]
push ecx
push ebp
push ebp
push str.Count
push edx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x3c], 4
call ebx
test eax, eax
jne 0x1000831c
push 0x1ff
mov byte [esp + 0x434], al
lea eax, [esp + 0x435]
push ebp
push eax
call fcn.10011170
add esp, 0xc
mov edi, 0x200
mov dword [esp + 0x18], edi
cmp ebp, dword [esp + 0x1c]
jae 0x1000814f
push ebp
push 0x1002e2ac
lea ecx, [esp + 0x30]
push 4
push ecx
call fcn.1000ef18
add esp, 0x10
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x434]
push eax
push 0
push 0
lea ecx, [esp + 0x38]
push ecx
push edx
call ebx
test eax, eax
jne 0x10008161
mov edi, dword [esp + 0x20]
lea esi, [esp + 0x430]
call fcn.10008340
test eax, eax
je 0x10008146
inc ebp
cmp ebp, dword [esp + 0x1c]
jb 0x100080f5
cmp ebp, dword [esp + 0x1c]
mov edi, 0x200
jne 0x10008171
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1000831c
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1000831c
mov edx, dword [esp + 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call esi
push edi
lea eax, [esp + 0x34]
push 0
push eax
call fcn.10011170
add esp, 0xc
lea ecx, [esp + 0x430]
push ecx
push str.SYSTEMCurrentControlSetEnum_s
lea edx, [esp + 0x38]
push edi
push edx
call fcn.1000ef18
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
add esp, 0x10
lea eax, [esp + 0x14]
push eax
push 1
push 0
lea ecx, [esp + 0x3c]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], edi
call ebp
neg eax
sbb eax, eax
neg eax
je 0x100081ed
lea edx, [esp + 0x30]
push edx
push eax
push str.CWjraSapWin7Win8::GetVirtualCardGuid
push str._s_RegOpenKeyExA___Failed__ErrorCode___d__SubKey___s_n
call fcn.1000e250
add esp, 0x10
jmp 0x1000831c
push 0x1ff
lea eax, [esp + 0x635]
push 0
push eax
mov byte [esp + 0x63c], 0
call fcn.10011170
mov eax, dword [esp + 0x20]
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x634]
push edx
push 0
push 0
push str.Driver
push eax
mov dword [esp + 0x30], edi
call ebx
test eax, eax
je 0x10008250
push eax
push str.CWjraSapWin7Win8::GetVirtualCardGuid
push str._s_RegQueryValueExA___Failed__ErrorCode___d__ValueName__Driver_n
call fcn.1000e250
mov ecx, dword [esp + 0x20]
add esp, 0xc
push ecx
call esi
jmp 0x1000831c
mov edx, dword [esp + 0x14]
push edx
call esi
push edi
lea eax, [esp + 0x34]
push 0
push eax
call fcn.10011170
add esp, 0xc
lea ecx, [esp + 0x630]
push ecx
push str.SYSTEMCurrentControlSetControlClass_s
lea edx, [esp + 0x38]
push edi
push edx
call fcn.1000ef18
add esp, 0x10
lea eax, [esp + 0x14]
push eax
push 1
push 0
lea ecx, [esp + 0x3c]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], edi
call ebp
neg eax
sbb eax, eax
neg eax
jne 0x100081d0
push 0x1ff
lea eax, [esp + 0x235]
push 0
push eax
mov byte [esp + 0x23c], 0
call fcn.10011170
mov eax, dword [esp + 0x20]
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x234]
push edx
push 0
push 0
push str.NetCfgInstanceId
push eax
mov dword [esp + 0x30], edi
call ebx
test eax, eax
jne 0x10008231
mov edx, dword [esp + 0x14]
push edx
call esi
lea eax, [esp + 0x230]
test eax, eax
je 0x1000830f
mov ecx, dword [esp + 0x2c]
push ecx
mov ebx, eax
call fcn.10008440
jmp 0x10008321
push 0x1002e3dc
call fcn.1000e250
add esp, 4
mov eax, 0xc
mov ecx, dword [esp + 0x834]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1000eab6
add esp, 0x828
ret 4