Function at 0x4223a0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x58a418
mov eax, dword fs:[0]
push eax
sub esp, 0x468
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0x460], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x47c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x48c]
xor eax, eax
mov ebx, dword [esp + 0x490]
mov edi, dword [esp + 0x494]
mov dword [esp + 0x18], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x1c], esi
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], ax
mov dword [esp + 0x484], 1
lea ecx, [esp + 0x24]
push 9
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
push str.Software_
mov dword [esp + 0x28], eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], eax
mov word [esp + 0x2c], ax
call fcn.00404a80
mov byte [esp + 0x484], 2
lea ecx, [esp + 0x24]
push 0xffffffffffffffff
push 0
push ebx
call fcn.004047c0
cmp dword [esp + 0x38], 8
lea ecx, [esp + 0x20]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [esp + 0x24]
cmovae eax, dword [esp + 0x24]
push ecx
push 0x20019
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call ebp
test eax, eax
je 0x4224e5
push 0x15
push str.SoftwareWow6432Node_
lea ecx, [esp + 0x2c]
call fcn.00404a80
push 0xffffffffffffffff
push 0
push ebx
lea ecx, [esp + 0x30]
call fcn.004047c0
cmp dword [esp + 0x38], 8
lea ecx, [esp + 0x20]
push ecx
push 0x20019
lea eax, [esp + 0x2c]
cmovae eax, dword [esp + 0x2c]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call ebp
test eax, eax
jne 0x4225e7
mov ebp, dword [esp + 0x20]
test ebp, ebp
je 0x4225e7
xor eax, eax
mov dword [esp + 0x58], 1
push 0x410
push eax
mov word [esp + 0x64], ax
xor bl, bl
lea eax, [esp + 0x66]
mov dword [esp + 0x5c], 0
push eax
call fcn.0056cbb0
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x422527
mov eax, dword [edi]
jmp 0x422529
mov eax, edi
lea ecx, [esp + 0x54]
push ecx
push 0
lea ecx, [esp + 0x60]
push ecx
push 0
push eax
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
call ebp
test eax, eax
jne 0x42257c
cmp dword [esp + 0x54], 0x208
jae 0x42257c
cmp dword [edi + 0x14], 8
jb 0x422557
mov edi, dword [edi]
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x60]
push eax
push 0
push edi
push dword [esp + 0x34]
call ebp
test eax, eax
movzx ebx, bl
mov ecx, 1
cmove ebx, ecx
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
jne 0x4225ab
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
mov word [esi], ax
lea eax, [esp + 0x3c]
push eax
call fcn.00404150
jmp 0x422606
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x40]
call fcn.0040bc40
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x42258a
cmp dword [esp + 0x50], 8
lea eax, [esp + 0x3c]
cmovae eax, dword [esp + 0x3c]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x42258a
push 0x5a87e8
lea ecx, [esp + 0x40]
call fcn.00403b70
jmp 0x42258a
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
mov word [esi], ax
lea eax, [esp + 0x3c]
push eax
call fcn.00404150
mov dword [esp + 0x18], 1
mov byte [esp + 0x484], 1
cmp dword [esp + 0x38], 8
jb 0x422629
push dword [esp + 0x24]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], eax
mov word [esp + 0x24], ax
mov byte [esp + 0x484], al
cmp dword [esp + 0x50], 8
jb 0x422656
push dword [esp + 0x3c]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], eax
mov word [esp + 0x3c], ax
mov eax, esi
mov ecx, dword [esp + 0x47c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x460]
xor ecx, esp
call fcn.00564de8
add esp, 0x474
ret 0xc