Function at 0x40a4c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c5668
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x50c380]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push 1
push 0x64
push str.Path
push str.SoftwareZipSoftInstall
push reloc.WS2_32.dll_accept
mov dword [ebp - 0x228], esi
push esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x224], 0
call fcn.00401ac0
add esp, 0x18
cmp dword [esi + 0x10], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x224], 1
jne 0x40a855
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004a0950
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40a62b
lea eax, [ebp - 0x220]
push eax
push 0
push 0
push 0
push str.ProgramW6432Dir
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40a61f
mov eax, dword [ebp - 0x220]
inc eax
push eax
mov dword [ebp - 0x220], eax
call fcn.0049ecc1
mov edi, eax
add esp, 4
test edi, edi
je 0x40a61f
lea eax, [ebp - 0x220]
push eax
push edi
push 0
push 0
push str.ProgramW6432Dir
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x40a5f1
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call fcn.0049ecbc
add esp, 4
jmp 0x40a62b
push edi
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004a2e33
add esp, 0xc
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call fcn.0049ecbc
add esp, 4
xor eax, eax
jmp 0x40a630
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
test eax, eax
lea eax, [ebp - 0x28c]
je 0x40a7ca
push 0x26
push eax
call fcn.004013b0
add esp, 8
push 1
push 0x4e8f50
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.00402140
mov dword [ebp - 0x264], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x274], xmm0
mov dword [ebp - 0x260], 0
movups xmm0, xmmword [eax]
mov dword [ebp - 0x224], 3
movups xmmword [ebp - 0x274], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x264], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push 7
push str.ZipSoft
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 2
call fcn.00402140
mov dword [ebp - 0x24c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x25c], xmm0
mov dword [ebp - 0x248], 0
movups xmm0, xmmword [eax]
mov dword [ebp - 0x224], 7
movups xmmword [ebp - 0x25c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x24c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push 1
push 0x4e8f50
lea ecx, [ebp - 0x25c]
mov byte [ebp - 4], 3
call fcn.00402140
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x29c], xmm0
movups xmmword [ebp - 0x244], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x244]
movq qword [ebp - 0x22c], xmm0
movq qword [ebp - 0x234], xmm0
cmp esi, eax
je 0x40a7a4
mov ecx, esi
call fcn.00402fa0
movups xmm0, xmmword [ebp - 0x29c]
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0xf
movups xmmword [esi], xmm0
mov byte [ebp - 0x244], 0
movq xmm0, qword [ebp - 0x22c]
movq qword [esi + 0x10], xmm0
lea ecx, [ebp - 0x244]
call fcn.00402fa0
lea ecx, [ebp - 0x25c]
call fcn.00402fa0
lea ecx, [ebp - 0x274]
call fcn.00402fa0
jmp 0x40a84a
push str.ZipSoft
push eax
call fcn.00401680
add esp, 8
cmp dword [eax + 0x14], 7
jbe 0x40a7e0
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x28c]
call fcn.00402f40
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x28c]
push eax
call fcn.004014c0
mov edi, eax
add esp, 8
cmp esi, edi
je 0x40a84a
mov ecx, esi
call fcn.00402fa0
movups xmm0, xmmword [edi]
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
lea ecx, [ebp - 0x28c]
call fcn.00402fa0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049ec00
mov esp, ebp
pop ebp
ret 4