Function at 0x411230
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ea618
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x5383c4]
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.SoftwareAiZipInstall
push reloc.WS2_32.dll_accept
mov dword [ebp - 0x240], esi
push esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x224], 0
call fcn.00402ba0
add esp, 0x18
cmp dword [esi + 0x10], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x224], 1
jne 0x4115c4
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004c0a60
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41142c
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 0x411420
mov eax, dword [ebp - 0x220]
inc eax
push eax
mov dword [ebp - 0x220], eax
call fcn.004beca1
mov edi, eax
add esp, 4
test edi, edi
je 0x411420
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 0x411368
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call fcn.004bec9c
add esp, 4
jmp 0x41142c
push edi
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004c45df
add esp, 0xc
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call fcn.004bec9c
lea eax, [ebp - 0x23c]
push str.AiZip
push eax
call fcn.00401ed0
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x4113ab
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x23c]
call fcn.00404340
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.00401d00
mov edi, eax
add esp, 8
cmp esi, edi
je 0x411415
mov ecx, esi
call fcn.004043a0
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 - 0x23c]
jmp 0x4115bf
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x29c]
push 0x26
push eax
call fcn.00401490
add esp, 8
push 1
push 0x5126bc
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.00403390
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
movups xmm0, xmmword [eax]
mov dword [ebp - 0x224], 3
movups xmmword [ebp - 0x23c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x22c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push 5
push str.AiZip
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 2
call fcn.00403390
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x260], 0
movups xmm0, xmmword [eax]
mov dword [ebp - 0x224], 7
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 1
push 0x5126bc
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 3
call fcn.00403390
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x284], xmm0
movups xmmword [ebp - 0x25c], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x25c]
movq qword [ebp - 0x244], xmm0
movq qword [ebp - 0x24c], xmm0
cmp esi, eax
je 0x411598
mov ecx, esi
call fcn.004043a0
movups xmm0, xmmword [ebp - 0x284]
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 0xf
movups xmmword [esi], xmm0
mov byte [ebp - 0x25c], 0
movq xmm0, qword [ebp - 0x244]
movq qword [esi + 0x10], xmm0
lea ecx, [ebp - 0x25c]
call fcn.004043a0
lea ecx, [ebp - 0x274]
call fcn.004043a0
lea ecx, [ebp - 0x23c]
call fcn.004043a0
lea ecx, [ebp - 0x29c]
call fcn.004043a0
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.004bebdd
mov esp, ebp
pop ebp
ret 4