Function at 0x411ce0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0c
mov eax, dword [0x440440]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
mov edx, ebx
push esi
push edi
mov dword [ebp - 0xd0c], ecx
xor edi, edi
lea esi, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x411d10
movzx eax, word [ebx]
sub edx, esi
mov ecx, eax
sar edx, 1
xor esi, esi
mov dword [ebp - 0xd00], ecx
mov ecx, dword [ebp - 0xd0c]
test ax, ax
je 0x411d5d
movzx eax, ax
nop word [eax + eax]
movzx ecx, al
lea eax, [esi + edx]
imul ecx, eax
lea esi, [esi + 1]
movzx eax, word [ebx + esi*2]
add edi, ecx
test ax, ax
jne 0x411d40
mov ecx, dword [ebp - 0xd0c]
mov eax, dword [ecx + 0x84c]
lea ebx, [ecx + 0x644]
mov dword [ecx + 0x850], edi
test ebx, ebx
je 0x412016
test eax, eax
je 0x412016
push 0x1ea
push eax
lea eax, [ebp - 0x8ec]
push eax
call fcn.00423fcb
xor eax, eax
mov word [ebp - 0x518], ax
lea eax, [ebp - 0x8ec]
push eax
call fcn.00412030
xor eax, eax
mov word [ebp - 0xcc], ax
lea eax, [ebp - 0xcc]
push 0xa
push eax
push edi
call fcn.004240c7
mov edx, eax
add esp, 0x1c
mov esi, edx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x411dc5
lea edi, [ebp - 0x8ec]
sub edx, esi
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x411de0
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]
cmp word [ebp - 0x8ec], ax
je 0x412016
push 0x410
lea eax, [ebp - 0x4dc]
push 0
push eax
call fcn.0041e7e0
add esp, 0xc
xor ecx, ecx
nop
movzx eax, word [ecx + str.Software_]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x4de], ax
test ax, ax
jne 0x411e20
cmp word [ebx], ax
je 0x411e93
mov esi, ebx
nop
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x411e40
lea edi, [ebp - 0x4dc]
sub ebx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x411e56
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 - 0x4dc]
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x411e80
mov eax, dword [0x43b7ec]
mov dword [edi], eax
push 0x410
lea eax, [ebp - 0xcfc]
push 0
push eax
call fcn.0041e7e0
add esp, 0xc
lea eax, [ebp - 0xcfc]
push 0x206
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0xcfc]
push 0x5c
push eax
call fcn.0041e93a
mov edx, eax
add esp, 8
test edx, edx
jne 0x411edc
lea edx, [ebp - 0xcfc]
jmp 0x411edf
add edx, 2
mov esi, edx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x411ee1
lea edi, [ebp - 0x4dc]
sub edx, esi
add edi, 0xfffffffe
nop word [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x411f00
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 - 0x4dc]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x411f23
mov eax, dword [0x43b7ec]
lea ecx, [ebp - 0x4dc]
mov dword [edi], eax
add ecx, 0xfffffffe
nop
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x411f40
mov eax, dword [str.XMessageBox]
mov dword [ecx], eax
mov eax, dword [0x432940]
mov dword [ecx + 4], eax
mov eax, dword [0x432944]
mov dword [ecx + 8], eax
mov eax, dword [0x432948]
mov dword [ecx + 0xc], eax
mov eax, dword [0x43294c]
mov dword [ecx + 0x10], eax
mov eax, dword [0x432950]
mov dword [ecx + 0x14], eax
lea eax, [ebp - 0xd0c]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x4dc]
mov dword [ebp - 0xd00], 0
push eax
push 0x80000001
mov dword [ebp - 0xd0c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x411fff
mov dword [ebp - 0xd08], eax
lea eax, [ebp - 0xd04]
push eax
lea eax, [ebp - 0xd00]
mov dword [ebp - 0xd04], 4
push eax
lea eax, [ebp - 0xd08]
push eax
push 0
lea eax, [ebp - 0x8ec]
push eax
push dword [ebp - 0xd0c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0xd0c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x412016
mov eax, dword [ebp - 0xd00]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041cd0c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041cd0c
mov esp, ebp
pop ebp
ret