Function at 0x469360
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x838
mov eax, dword [0x4c448c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 0x838], eax
test eax, eax
je 0x4695bc
cmp word [eax], 0
je 0x4695bc
xor eax, eax
push 0x40e
push eax
lea ecx, [ebp - 0x412]
push ecx
mov word [ebp - 0x414], ax
call fcn.00479dd0
add esp, 0xc
xor eax, eax
movzx ecx, word [eax + str.Software_]
mov word [ebp + eax - 0x414], cx
add eax, 2
test cx, cx
jne 0x4693b1
push edi
test esi, esi
je 0x469427
cmp word [esi], cx
je 0x469427
mov eax, esi
mov edx, esi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4693d6
lea edi, [ebp - 0x414]
sub eax, edx
add edi, 0xfffffffe
lea esp, [esp]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4693f0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x414]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x469413
mov edx, dword [0x4b2220]
mov dword [edi], edx
xor eax, eax
push 0x40e
push eax
lea ecx, [ebp - 0x822]
push ecx
mov word [ebp - 0x824], ax
call fcn.00479dd0
add esp, 0xc
push 0x206
lea edx, [ebp - 0x824]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x824]
push 0x5c
push eax
call fcn.00475d91
add esp, 8
test eax, eax
jne 0x469476
lea eax, [ebp - 0x824]
jmp 0x469479
add eax, 2
mov edx, eax
jmp 0x469480
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x469480
lea edi, [ebp - 0x414]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x469496
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x414]
add edi, 0xfffffffe
jmp 0x4694c0
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4694c0
mov ecx, dword [0x4b2220]
lea eax, [ebp - 0x414]
mov dword [edi], ecx
add eax, 0xfffffffe
pop edi
mov edi, edi
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4694e0
mov edx, dword [str.XMessageBox]
mov ecx, dword [0x4b8b38]
mov dword [eax], edx
mov edx, dword [0x4b8b3c]
mov dword [eax + 4], ecx
mov ecx, dword [0x4b8b40]
mov dword [eax + 8], edx
mov edx, dword [0x4b8b44]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x4b8b48]
mov dword [eax + 0x10], edx
lea edx, [ebp - 0x828]
push edx
push 0x20019
mov dword [eax + 0x14], ecx
push 0
lea eax, [ebp - 0x414]
push eax
push SysReAllocString
mov dword [ebp - 0x82c], 0
mov dword [ebp - 0x828], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4695bc
lea ecx, [ebp - 0x834]
push ecx
mov ecx, dword [ebp - 0x838]
lea edx, [ebp - 0x82c]
push edx
mov edx, dword [ebp - 0x828]
mov dword [ebp - 0x830], eax
lea eax, [ebp - 0x830]
push eax
push 0
push ecx
push edx
mov dword [ebp - 0x834], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
mov eax, dword [ebp - 0x828]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4695bc
mov eax, dword [ebp - 0x82c]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00474985
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00474985
mov esp, ebp
pop ebp
ret