Function at 0x403d23
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
push eax
push 1
call fcn.00402b05
add esp, 8
lea ecx, [ebp - 0xc]
push ecx
push 0x20019
push 0
mov edx, dword [ebp + 0xc]
add edx, 0x618
push edx
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x403d91
mov dword [ebp - 4], 0xf90
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 8]
push edx
push 0
push 0x40be2c
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x10], 0
je 0x403fb3
push str.Microsoft
mov edx, dword [ebp + 8]
add edx, 4
push edx
call sub.MSVCRT.dll_wcscpy
add esp, 8
push 0x40be48
mov eax, dword [ebp + 8]
add eax, 0x10c
push eax
call sub.MSVCRT.dll_wcscpy
add esp, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x214], 8
mov edx, dword [ebp + 8]
mov dword [edx + 0x218], 0
mov eax, dword [ebp + 0xc]
add eax, 0x820
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x21c
push ecx
call sub.MSVCRT.dll_wcscpy
add esp, 8
push 0x40be60
mov edx, dword [ebp + 8]
add edx, 0x324
push edx
call sub.MSVCRT.dll_wcscpy
add esp, 8
push str.Contact
mov eax, dword [ebp + 8]
add eax, 0x42c
push eax
call sub.MSVCRT.dll_wcscpy
add esp, 8
push str.Location
mov ecx, dword [ebp + 8]
add ecx, 0x534
push ecx
call sub.MSVCRT.dll_wcscpy
add esp, 8
mov edx, dword [ebp + 8]
mov dword [edx + 0x63c], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x640], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x644], 0
push str.Service_Account
mov edx, dword [ebp + 8]
add edx, 0x648
push edx
call sub.MSVCRT.dll_wcscpy
add esp, 8
mov eax, dword [ebp + 8]
mov dword [eax + 0x750], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x754], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x758], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x75c], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x760], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x764], 0
push str.Unknown
mov eax, dword [ebp + 8]
add eax, 0x768
push eax
call sub.MSVCRT.dll_wcscpy
add esp, 8
push 0x40bec4
mov ecx, dword [ebp + 8]
add ecx, 0x870
push ecx
call sub.MSVCRT.dll_wcscpy
add esp, 8
push 0x40bf10
mov edx, dword [ebp + 8]
add edx, 0x8c0
push edx
call sub.MSVCRT.dll_wcscpy
add esp, 8
push str.1442946E_0A40_11d3_9DE2_00C04F688887
mov eax, dword [ebp + 8]
add eax, 0x910
push eax
call sub.MSVCRT.dll_wcscpy
add esp, 8
push str.
mov ecx, dword [ebp + 8]
add ecx, 0x960
push ecx
call sub.MSVCRT.dll_wcscpy
add esp, 8
push 0x40bfac
mov edx, dword [ebp + 8]
add edx, 0xa68
push edx
call sub.MSVCRT.dll_wcscpy
add esp, 8
push 0x40bfb0
mov eax, dword [ebp + 8]
add eax, 0xc78
push eax
call sub.MSVCRT.dll_wcscpy
add esp, 8
push 0x40bfb4
mov ecx, dword [ebp + 8]
add ecx, 0xb70
push ecx
call sub.MSVCRT.dll_wcscpy
add esp, 8
push 0x40bfb8
mov edx, dword [ebp + 8]
add edx, 0xd80
push edx
call sub.MSVCRT.dll_wcscpy
add esp, 8
push 0x40bfbc
mov eax, dword [ebp + 8]
add eax, 0xe88
push eax
call sub.MSVCRT.dll_wcscpy
add esp, 8
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret