Function at 0x411a00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x838
mov eax, dword [0x6d9120]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x838], eax
push ebx
mov ebx, dword [ebp + 8]
test eax, eax
je 0x411c58
cmp word [eax], 0
je 0x411c58
push 0x410
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.005e24e0
add esp, 0xc
xor ecx, ecx
nop word [eax + eax]
movzx eax, word [ecx + str.Software_]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x416], ax
test ax, ax
jne 0x411a50
push esi
push edi
test ebx, ebx
je 0x411ac6
cmp word [ebx], ax
je 0x411ac6
mov esi, ebx
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x411a74
lea edi, [ebp - 0x414]
sub ebx, esi
add edi, 0xfffffffe
nop word [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x411a90
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x414]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x411ab3
mov eax, dword [0x656500]
mov dword [edi], eax
push 0x410
lea eax, [ebp - 0x824]
push 0
push eax
call fcn.005e24e0
add esp, 0xc
lea eax, [ebp - 0x824]
push 0x206
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x824]
push 0x5c
push eax
call fcn.005e1bc4
mov edx, eax
add esp, 8
test edx, edx
jne 0x411b0f
lea edx, [ebp - 0x824]
jmp 0x411b12
add edx, 2
mov esi, edx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x411b14
lea edi, [ebp - 0x414]
sub edx, esi
add edi, 0xfffffffe
nop word [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x411b30
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x414]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x411b53
mov eax, dword [0x656500]
lea ecx, [ebp - 0x414]
mov dword [edi], eax
add ecx, 0xfffffffe
nop
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x411b70
mov eax, dword [str.XMessageBox]
mov dword [ecx], eax
mov eax, dword [0x6584fc]
mov dword [ecx + 4], eax
mov eax, dword [0x658500]
mov dword [ecx + 8], eax
mov eax, dword [0x658504]
mov dword [ecx + 0xc], eax
mov eax, dword [0x658508]
mov dword [ecx + 0x10], eax
mov eax, dword [0x65850c]
mov dword [ecx + 0x14], eax
lea eax, [ebp - 0x828]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x414]
mov dword [ebp - 0x82c], 0
push eax
push SysReAllocStringLen
mov dword [ebp - 0x828], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x411c45
mov dword [ebp - 0x834], eax
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x82c]
mov dword [ebp - 0x830], 4
push eax
lea eax, [ebp - 0x834]
push eax
push 0
push dword [ebp - 0x838]
push dword [ebp - 0x828]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x828]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x411c45
mov eax, dword [ebp - 0x82c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005dddbe
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005dddbe
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop ebx
call fcn.005dddbe
mov esp, ebp
pop ebp
ret