Function at 0x4164a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a7009
mov eax, dword fs:[0]
push eax
sub esp, 0x1f8
mov eax, dword [0x632a40]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x11c]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
push 0x104
push 0
push eax
call fcn.0057ff70
add esp, 0xc
mov dword [ebp - 0x1d4], 0xf
lea ecx, [ebp - 0x1e8]
mov dword [ebp - 0x1d8], 0
mov byte [ebp - 0x1e8], 0
push 6
push str.MySoft
call fcn.00408580
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x170]
push 8
push str.KXDSSoft
mov dword [ebp - 0x15c], 0xf
mov dword [ebp - 0x160], 0
mov byte [ebp - 0x170], 0
call fcn.00408580
mov byte [ebp - 4], 1
xor eax, eax
mov dword [ebp - 0x1fc], 0x104
mov dword [ebp - 0x120], 7
mov dword [ebp - 0x124], 0
mov word [ebp - 0x134], ax
cmp word [esi], ax
jne 0x416582
xor ecx, ecx
jmp 0x416596
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x416587
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x134]
call fcn.00404db0
lea edx, [ebp - 0x134]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1d0]
call fcn.004209f0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x120]
cmp eax, 8
jb 0x4165da
inc eax
lea ecx, [ebp - 0x134]
push eax
push dword [ebp - 0x134]
call fcn.00405130
mov edx, dword [ebp - 0x1d8]
lea ecx, [ebp - 0x1e8]
xor eax, eax
mov dword [ebp - 0x120], 7
cmp dword [ebp - 0x1d4], 0x10
mov word [ebp - 0x134], ax
lea eax, [ebp - 0x1fc]
cmovae ecx, dword [ebp - 0x1e8]
push eax
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x124], 0
push eax
call fcn.004017b0
add esp, 8
mov dword [ebp - 0x144], 0xf
cmp byte [ebp - 0x11c], 0
mov dword [ebp - 0x148], 0
mov byte [ebp - 0x158], 0
jne 0x41664f
xor ecx, ecx
jmp 0x416661
lea ecx, [ebp - 0x11c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x416658
sub ecx, edx
push ecx
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x158]
call fcn.00408580
lea edx, [ebp - 0x158]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1b8]
call fcn.00420740
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x144]
cmp eax, 0x10
jb 0x4166ab
inc eax
lea ecx, [ebp - 0x158]
push eax
push dword [ebp - 0x158]
call fcn.00408a70
push 0x104
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x144], 0xf
push 0
push eax
mov dword [ebp - 0x148], 0
mov byte [ebp - 0x158], 0
call fcn.0057ff70
mov edx, dword [ebp - 0x160]
lea eax, [ebp - 0x1fc]
add esp, 0xc
mov dword [ebp - 0x1fc], 0x104
cmp dword [ebp - 0x15c], 0x10
lea ecx, [ebp - 0x170]
cmovae ecx, dword [ebp - 0x170]
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.004017b0
add esp, 8
mov dword [ebp - 0x120], 0xf
cmp byte [ebp - 0x11c], 0
mov dword [ebp - 0x124], 0
mov byte [ebp - 0x134], 0
jne 0x41673e
xor ecx, ecx
jmp 0x416750
lea ecx, [ebp - 0x11c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x416747
sub ecx, edx
push ecx
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x134]
call fcn.00408580
lea edx, [ebp - 0x134]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1a0]
call fcn.00420740
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x120]
cmp eax, 0x10
jb 0x41679a
inc eax
lea ecx, [ebp - 0x134]
push eax
push dword [ebp - 0x134]
call fcn.00408a70
push 0x104
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x120], 0xf
push 0
push eax
mov dword [ebp - 0x124], 0
mov byte [ebp - 0x134], 0
call fcn.0057ff70
mov edx, dword [ebp - 0x1c0]
lea eax, [ebp - 0x1fc]
add esp, 0xc
mov dword [ebp - 0x1fc], 0x104
cmp dword [ebp - 0x1bc], 0x10
lea ecx, [ebp - 0x1d0]
cmovae ecx, dword [ebp - 0x1d0]
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.004017b0
add esp, 8
mov dword [ebp - 0x144], 0xf
cmp byte [ebp - 0x11c], 0
mov dword [ebp - 0x148], 0
mov byte [ebp - 0x158], 0
jne 0x41682d
xor ecx, ecx
jmp 0x41683f
lea ecx, [ebp - 0x11c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x416836
sub ecx, edx
push ecx
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x158]
call fcn.00408580
lea edx, [ebp - 0x158]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x188]
call fcn.00420740
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x144]
cmp eax, 0x10
jb 0x416889
inc eax
lea ecx, [ebp - 0x158]
push eax
push dword [ebp - 0x158]
call fcn.00408a70
lea ecx, [ebp - 0x140]
mov dword [ebp - 0x144], 0xf
mov dword [ebp - 0x148], 0
mov byte [ebp - 0x158], 0
mov dword [ebp - 0x1ec], 0
mov dword [ebp - 0x1f0], 0
mov dword [ebp - 0x1f4], 0
mov dword [ebp - 0x1f8], 0
mov dword [ebp - 0x200], 0x104
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0
call fcn.00406500
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 0xe
call fcn.00406810
test eax, eax
lea eax, [ebp - 0x1ec]
push eax
je 0x416a4e
push 0xf013f
push 0
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x416b78
cmp dword [ebp - 0x1a4], 8
lea ecx, [ebp - 0x1f0]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0x1b8]
cmovae eax, dword [ebp - 0x1b8]
push 0
push ecx
push 0
push 0xf013f
push 0
push 0
push 0
push eax
push dword [ebp - 0x1ec]
call esi
test eax, eax
je 0x4169c6
push dword [ebp - 0x1ec]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x416b78
cmp dword [ebp - 0x18c], 8
lea ecx, [ebp - 0x1f4]
push 0
push ecx
push 0
push 0xf013f
push 0
push 0
lea eax, [ebp - 0x1a0]
cmovae eax, dword [ebp - 0x1a0]
push 0
push eax
push dword [ebp - 0x1f0]
call esi
test eax, eax
je 0x416a08
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x416b68
cmp dword [ebp - 0x174], 8
lea ecx, [ebp - 0x1f8]
push 0
push ecx
push 0
push 0xf013f
push 0
push 0
lea eax, [ebp - 0x188]
cmovae eax, dword [ebp - 0x188]
push 0
push eax
push dword [ebp - 0x1f4]
call esi
test eax, eax
je 0x416b39
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x416b60
push 0xf003f
push 0
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x416b78
cmp dword [ebp - 0x1a4], 8
lea ecx, [ebp - 0x1f0]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0x1b8]
cmovae eax, dword [ebp - 0x1b8]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
push dword [ebp - 0x1ec]
call esi
test eax, eax
je 0x416abb
push dword [ebp - 0x1ec]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x416b78
cmp dword [ebp - 0x18c], 8
lea ecx, [ebp - 0x1f4]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0
lea eax, [ebp - 0x1a0]
cmovae eax, dword [ebp - 0x1a0]
push 0
push eax
push dword [ebp - 0x1f0]
call esi
test eax, eax
je 0x416afa
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x416b68
cmp dword [ebp - 0x174], 8
lea ecx, [ebp - 0x1f8]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0
lea eax, [ebp - 0x188]
cmovae eax, dword [ebp - 0x188]
push 0
push eax
push dword [ebp - 0x1f4]
call esi
test eax, eax
je 0x416b39
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x416b60
lea eax, [ebp - 0x200]
push eax
push ebx
push 0
push 0
push edi
push dword [ebp - 0x1f8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x1f8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x1f4]
call esi
push dword [ebp - 0x1f0]
call esi
push dword [ebp - 0x1ec]
call esi
mov eax, dword [ebp - 0x140]
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
test eax, eax
je 0x416b8b
push eax
call esi
mov eax, dword [ebp - 0x13c]
test eax, eax
je 0x416b98
push eax
call esi
mov eax, dword [ebp - 0x174]
cmp eax, 8
jb 0x416bb6
inc eax
lea ecx, [ebp - 0x188]
push eax
push dword [ebp - 0x188]
call fcn.00405130
xor eax, eax
mov dword [ebp - 0x174], 7
mov word [ebp - 0x188], ax
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x178], 0
cmp eax, 8
jb 0x416bf1
inc eax
lea ecx, [ebp - 0x1a0]
push eax
push dword [ebp - 0x1a0]
call fcn.00405130
xor eax, eax
mov dword [ebp - 0x18c], 7
mov word [ebp - 0x1a0], ax
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x190], 0
cmp eax, 8
jb 0x416c2c
inc eax
lea ecx, [ebp - 0x1b8]
push eax
push dword [ebp - 0x1b8]
call fcn.00405130
xor eax, eax
mov dword [ebp - 0x1a4], 7
mov word [ebp - 0x1b8], ax
mov eax, dword [ebp - 0x1bc]
mov dword [ebp - 0x1a8], 0
cmp eax, 0x10
jb 0x416c67
inc eax
lea ecx, [ebp - 0x1d0]
push eax
push dword [ebp - 0x1d0]
call fcn.00408a70
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x1bc], 0xf
mov dword [ebp - 0x1c0], 0
mov byte [ebp - 0x1d0], 0
cmp eax, 0x10
jb 0x416ca0
inc eax
lea ecx, [ebp - 0x170]
push eax
push dword [ebp - 0x170]
call fcn.00408a70
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x15c], 0xf
mov dword [ebp - 0x160], 0
mov byte [ebp - 0x170], 0
cmp eax, 0x10
jb 0x416cd9
inc eax
lea ecx, [ebp - 0x1e8]
push eax
push dword [ebp - 0x1e8]
call fcn.00408a70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00579ec9
mov esp, ebp
pop ebp
ret 0xc