Function at 0x403980
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x51f620]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov eax, 0x53
mov edx, eax
mov word [ebp - 0x7c], ax
mov word [ebp - 0x78], dx
mov ecx, 0x59
mov word [ebp - 0x7a], cx
mov eax, 0x54
mov word [ebp - 0x76], ax
mov ecx, 0x45
mov word [ebp - 0x74], cx
mov eax, 0x5c
mov word [ebp - 0x70], ax
mov edx, 0x4d
mov word [ebp - 0x72], dx
mov ecx, 0x43
mov word [ebp - 0x6e], cx
mov eax, 0x72
mov ecx, eax
mov word [ebp - 0x6a], ax
mov word [ebp - 0x68], cx
mov edx, 0x75
mov word [ebp - 0x6c], dx
mov eax, 0x6e
mov word [ebp - 0x64], ax
mov edx, 0x65
mov word [ebp - 0x66], dx
mov eax, 0x6f
mov word [ebp - 0x5e], ax
mov edx, 0x43
mov word [ebp - 0x60], dx
mov ecx, 0x74
mov word [ebp - 0x62], cx
mov eax, 0x72
mov word [ebp - 0x58], ax
mov edx, 0x74
mov word [ebp - 0x5a], dx
mov ecx, 0x6e
mov word [ebp - 0x5c], cx
mov eax, 0x53
mov word [ebp - 0x52], ax
mov edx, 0x6c
mov word [ebp - 0x54], dx
mov ecx, 0x6f
mov word [ebp - 0x56], cx
mov eax, 0x5c
mov word [ebp - 0x4c], ax
mov edx, 0x74
mov word [ebp - 0x4e], dx
mov ecx, 0x65
mov word [ebp - 0x50], cx
mov eax, 0x72
mov word [ebp - 0x46], ax
mov edx, 0x65
mov ecx, 0x53
mov word [ebp - 0x4a], cx
mov word [ebp - 0x48], dx
mov eax, 0x63
mov edx, 0x69
mov word [ebp - 0x40], ax
mov ecx, 0x76
mov word [ebp - 0x44], cx
mov word [ebp - 0x42], dx
mov edx, 0x73
mov eax, 0x5c
mov ecx, 0x65
mov word [ebp - 0x3a], ax
mov eax, edx
mov word [ebp - 0x3e], cx
mov ecx, 0x6d
mov word [ebp - 0x3c], dx
mov word [ebp - 0x36], dx
mov word [ebp - 0x34], ax
mov edx, 0x62
mov eax, 0x69
mov ebx, dword [ebp + 8]
mov word [ebp - 0x38], cx
mov word [ebp - 0x32], cx
mov word [ebp - 0x30], dx
mov word [ebp - 0x2e], ax
mov ecx, 0x6f
mov word [ebp - 0x2c], cx
mov edx, 0x73
mov word [ebp - 0x2a], dx
mov ecx, 0x44
mov word [ebp - 0x26], cx
mov edx, 0x61
mov ecx, edx
mov word [ebp - 0x24], dx
xor edx, edx
mov word [ebp - 0x1e], dx
mov eax, 0x5c
mov word [ebp - 0x28], ax
mov eax, 0x74
mov word [ebp - 0x22], ax
mov word [ebp - 0x20], cx
mov edx, 0x42
mov word [ebp - 0x18], dx
mov eax, 0x53
mov word [ebp - 0x1c], ax
mov edx, 0x73
mov ecx, 0x4d
mov word [ebp - 0x1a], cx
mov word [ebp - 0x12], dx
mov eax, 0x69
mov word [ebp - 0x16], ax
mov edx, 0x74
mov ecx, 0x6f
mov word [ebp - 0x14], cx
mov word [ebp - 0xc], dx
mov eax, 0x44
mov ecx, 0x61
lea edx, [ebp - 0x80]
push edx
mov word [ebp - 0x10], ax
mov eax, ecx
push 0x20019
mov word [ebp - 0xe], cx
xor ecx, ecx
mov word [ebp - 0xa], ax
push ecx
lea eax, [ebp - 0x7c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov word [ebp - 8], cx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x403c40
lea ecx, [ebp - 0x84]
push ecx
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x80]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x403c36
mov eax, dword [ebp - 0x84]
test eax, eax
je 0x403c36
push eax
call fcn.00450241
mov ecx, dword [ebp - 0x80]
add esp, 4
mov dword [ebp - 0x88], eax
test eax, eax
je 0x403c33
lea edx, [ebp - 0x84]
push edx
push eax
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x403c21
mov edx, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x88]
push ebx
push edi
push esi
push edx
call fcn.00403710
add esp, 0x10
mov eax, dword [ebp - 0x88]
push eax
call fcn.0045024c
mov ecx, dword [ebp - 0x80]
add esp, 4
push ecx
jmp 0x403c3a
mov edx, dword [ebp - 0x80]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0046d9d8
mov esp, ebp
pop ebp
ret