Function at 0x412368
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x204
mov eax, 0x597a79
call fcn.00410ff3
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x114]
mov ebx, dword [ebp + 0xc]
mov esi, 0x104
push esi
push 0
push eax
call fcn.00431720
add esp, 0xc
lea ecx, [ebp - 0x1bc]
push str.MySoft
call fcn.00401330
and dword [ebp - 4], 0
lea ecx, [ebp - 0x1a4]
push str.KXDSSoft
call fcn.00401330
and dword [ebp - 0x11c], 0
xor eax, eax
mov dword [ebp - 0x1e8], esi
mov esi, 0x59baf0
push esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x118], 7
mov word [ebp - 0x12c], ax
call fcn.00434fd1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x12c]
call fcn.00401f62
lea eax, [ebp - 0x12c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x18c]
push eax
call fcn.0041a9ff
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 4
call fcn.00401bfd
cmp dword [ebp - 0x1a8], 0x10
lea ecx, [ebp - 0x1e8]
push ecx
lea ecx, [ebp - 0x114]
push ecx
push dword [ebp - 0x1ac]
lea eax, [ebp - 0x1bc]
cmovae eax, dword [ebp - 0x1bc]
push eax
call fcn.00423450
add esp, 0x10
lea eax, [ebp - 0x114]
lea ecx, [ebp - 0x1d4]
push eax
call fcn.00401330
lea eax, [ebp - 0x1d4]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x174]
push eax
call fcn.0041a449
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x1d4]
mov byte [ebp - 4], 7
call fcn.00401ba8
mov esi, 0x104
push esi
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.00431720
cmp dword [ebp - 0x190], 0x10
lea ecx, [ebp - 0x1e8]
push ecx
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x1e8], esi
push ecx
push dword [ebp - 0x194]
lea eax, [ebp - 0x1a4]
cmovae eax, dword [ebp - 0x1a4]
push eax
call fcn.00423450
add esp, 0x1c
lea eax, [ebp - 0x114]
lea ecx, [ebp - 0x12c]
push eax
call fcn.00401330
lea eax, [ebp - 0x12c]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.0041a449
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 0xa
call fcn.00401ba8
push esi
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.00431720
cmp dword [ebp - 0x178], 0x10
lea ecx, [ebp - 0x1e8]
push ecx
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x1e8], esi
push ecx
push dword [ebp - 0x17c]
lea eax, [ebp - 0x18c]
cmovae eax, dword [ebp - 0x18c]
push eax
call fcn.00423450
add esp, 0x1c
lea eax, [ebp - 0x114]
lea ecx, [ebp - 0x1d4]
push eax
call fcn.00401330
lea eax, [ebp - 0x1d4]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x144]
push eax
call fcn.0041a449
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x1d4]
mov byte [ebp - 4], 0xd
call fcn.00401ba8
xor eax, eax
mov dword [ebp - 0x1ec], esi
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x1d8], eax
mov dword [ebp - 0x1dc], eax
mov dword [ebp - 0x1e0], eax
mov dword [ebp - 0x1e4], eax
call fcn.00415179
lea ecx, [ebp - 0x210]
mov byte [ebp - 4], 0xe
call fcn.004151ad
test eax, eax
lea eax, [ebp - 0x1d8]
push eax
je 0x4126c5
mov esi, 0xf013f
push esi
push 0
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4127cf
cmp dword [ebp - 0x160], 8
lea ecx, [ebp - 0x1dc]
push 0
push ecx
push 0
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0x174]
cmovae eax, dword [ebp - 0x174]
push 0
push 0
push 0
push eax
push dword [ebp - 0x1d8]
call esi
test eax, eax
jne 0x41271e
cmp dword [ebp - 0x148], 8
lea eax, [ebp - 0x15c]
lea ecx, [ebp - 0x1e0]
cmovae eax, dword [ebp - 0x15c]
xor edx, edx
push edx
push ecx
push edx
push 0xf013f
push edx
push edx
push edx
push eax
push dword [ebp - 0x1dc]
call esi
test eax, eax
je 0x412682
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4127bf
cmp dword [ebp - 0x130], 8
lea eax, [ebp - 0x144]
lea ecx, [ebp - 0x1e4]
cmovae eax, dword [ebp - 0x144]
xor edx, edx
push edx
push ecx
push edx
push 0xf013f
push edx
push edx
push edx
push eax
push dword [ebp - 0x1e0]
call esi
test eax, eax
je 0x412790
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4127b7
mov esi, 0xf003f
push esi
push 0
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4127cf
cmp dword [ebp - 0x160], 8
lea ecx, [ebp - 0x1dc]
push 0
push ecx
push 0
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0x174]
cmovae eax, dword [ebp - 0x174]
push 0
push 0
push 0
push eax
push dword [ebp - 0x1d8]
call esi
test eax, eax
je 0x41272f
push dword [ebp - 0x1d8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4127cf
cmp dword [ebp - 0x148], 8
lea eax, [ebp - 0x15c]
lea ecx, [ebp - 0x1e0]
cmovae eax, dword [ebp - 0x15c]
xor edx, edx
push edx
push ecx
push edx
push 0xf003f
push edx
push edx
push edx
push eax
push dword [ebp - 0x1dc]
call esi
test eax, eax
jne 0x412677
cmp dword [ebp - 0x130], 8
lea eax, [ebp - 0x144]
lea ecx, [ebp - 0x1e4]
cmovae eax, dword [ebp - 0x144]
xor edx, edx
push edx
push ecx
push edx
push 0xf003f
jmp 0x4126a6
lea eax, [ebp - 0x1ec]
push eax
push ebx
push 0
push 0
push edi
push dword [ebp - 0x1e4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x1e4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x1e0]
call esi
push dword [ebp - 0x1dc]
call esi
push dword [ebp - 0x1d8]
call esi
lea ecx, [ebp - 0x210]
call fcn.0041518c
xor ebx, ebx
lea ecx, [ebp - 0x144]
push 0
inc ebx
push ebx
call fcn.00401bfd
push 0
push ebx
lea ecx, [ebp - 0x15c]
call fcn.00401bfd
push 0
push ebx
lea ecx, [ebp - 0x174]
call fcn.00401bfd
push 0
push ebx
lea ecx, [ebp - 0x18c]
call fcn.00401ba8
push 0
push ebx
lea ecx, [ebp - 0x1a4]
call fcn.00401ba8
push 0
push ebx
lea ecx, [ebp - 0x1bc]
call fcn.00401ba8
call fcn.00410fae
ret 8