Function at 0x4049c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
push eax
push 1
call fcn.00403650
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 - 8], eax
cmp dword [ebp - 8], 0
jne 0x404a3c
mov dword [ebp - 0x10], 0xf90
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 4]
push edx
push 0
push 0x40ad0c
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
mov word [ecx + 0xf8e], 0
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], 0
je 0x404d58
push 0x40ad14
push 0x84
mov eax, dword [ebp + 8]
add eax, 4
push eax
call fcn.00402b80
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x404d56
push 0x40ad28
push 0x84
mov ecx, dword [ebp + 8]
add ecx, 0x10c
push ecx
call fcn.00402b80
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x404d56
mov edx, dword [ebp + 0xc]
add edx, 0x820
push edx
push 0x84
mov eax, dword [ebp + 8]
add eax, 0x21c
push eax
call fcn.00402b80
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x404d56
push 0x40ad40
push 0x84
mov ecx, dword [ebp + 8]
add ecx, 0x324
push ecx
call fcn.00402b80
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x404d56
push str.Contact
push 0x84
mov edx, dword [ebp + 8]
add edx, 0x42c
push edx
call fcn.00402b80
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x404d56
push str.Location
push 0x84
mov eax, dword [ebp + 8]
add eax, 0x534
push eax
call fcn.00402b80
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x404d56
push 0x40ad74
push 0x84
mov ecx, dword [ebp + 8]
add ecx, 0x648
push ecx
call fcn.00402b80
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x404d56
push str.Unknown
push 0x84
mov edx, dword [ebp + 8]
add edx, 0x768
push edx
call fcn.00402b80
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x404d56
push str.83C29870_1DFC_11d3_A193_0000F87A9099
push 0x28
mov eax, dword [ebp + 8]
add eax, 0x870
push eax
call fcn.00402b80
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x404d56
push 0x40adf8
push 0x28
mov ecx, dword [ebp + 8]
add ecx, 0x8c0
push ecx
call fcn.00402b80
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x404d56
push str.1442946E_0A40_11d3_9DE2_00C04F688887
push 0x28
mov edx, dword [ebp + 8]
add edx, 0x910
push edx
call fcn.00402b80
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x404d56
push str.
push 0x84
mov eax, dword [ebp + 8]
add eax, 0x960
push eax
call fcn.00402b80
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x404d56
push 0x40ae98
push 0x84
mov ecx, dword [ebp + 8]
add ecx, 0xa68
push ecx
call fcn.00402b80
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x404d56
push 0x40ae9c
push 0x84
mov edx, dword [ebp + 8]
add edx, 0xc78
push edx
call fcn.00402b80
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x404d56
push 0x40aea0
push 0x84
mov eax, dword [ebp + 8]
add eax, 0xb70
push eax
call fcn.00402b80
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x404d56
push 0x40aea4
push 0x84
mov ecx, dword [ebp + 8]
add ecx, 0xd80
push ecx
call fcn.00402b80
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x404d56
push 0x40aea8
push 0x84
mov edx, dword [ebp + 8]
add edx, 0xe88
push edx
call fcn.00402b80
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x404d56
mov eax, dword [ebp + 8]
mov dword [eax + 0x214], 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x218], 0
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
mov edx, dword [ebp + 8]
mov dword [edx + 0x750], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x754], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x758], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x75c], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x760], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x764], 0
mov dword [ebp - 8], 0
jmp 0x404d82
mov edx, dword [ebp + 8]
movzx eax, word [edx + 0x324]
test eax, eax
jne 0x404d82
push 0x40aeac
push 0x84
mov ecx, dword [ebp + 8]
add ecx, 0x324
push ecx
call fcn.00402b80
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret