Function at 0x403873
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.00402655
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 0x4038e1
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 0x40bac0
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 0x403b03
push 0x40bac8
mov edx, dword [ebp + 8]
add edx, 4
push edx
call sub.MSVCRT.dll_wcscpy
add esp, 8
push 0x40badc
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 0x40baf4
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 0x40bb58
mov ecx, dword [ebp + 8]
add ecx, 0x870
push ecx
call sub.MSVCRT.dll_wcscpy
add esp, 8
push 0x40bba4
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 0x40bc40
mov edx, dword [ebp + 8]
add edx, 0xa68
push edx
call sub.MSVCRT.dll_wcscpy
add esp, 8
push 0x40bc44
mov eax, dword [ebp + 8]
add eax, 0xc78
push eax
call sub.MSVCRT.dll_wcscpy
add esp, 8
push 0x40bc48
mov ecx, dword [ebp + 8]
add ecx, 0xb70
push ecx
call sub.MSVCRT.dll_wcscpy
add esp, 8
push 0x40bc4c
mov edx, dword [ebp + 8]
add edx, 0xd80
push edx
call sub.MSVCRT.dll_wcscpy
add esp, 8
push 0x40bc50
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