Function at 0x40d6b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc657
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x4fb068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x28c], esi
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x28c], esi
call fcn.00419810
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 7
mov word [ebp - 0x264], ax
lea edx, [ebp - 0x264]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x27c]
call fcn.0041a500
push 0xa
xor eax, eax
mov dword [ebp - 0x224], 0
push 0x4ded70
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
call fcn.00401ed0
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x264]
lea ecx, [ebp - 0x24c]
call fcn.004185e0
add esp, 4
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 4
call fcn.00401e60
lea ecx, [ebp - 0x24c]
call fcn.0041a250
test al, al
je 0x40d7e1
movups xmm0, xmmword [ebp - 0x24c]
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
mov word [ebp - 0x24c], ax
movq xmm0, qword [ebp - 0x23c]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 7
jmp 0x40d963
lea eax, [ebp - 0x280]
push eax
push 0x20019
push 0
push str.SOFTWAREHaoZip
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40d864
push 0x20a
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.00499e80
add esp, 0xc
mov dword [ebp - 0x284], 0x208
lea eax, [ebp - 0x284]
mov dword [ebp - 0x288], 1
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x288]
push eax
push 0
push str.Path
push dword [ebp - 0x280]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x280]
test eax, eax
je 0x40d87c
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 7
mov word [esi], ax
jmp 0x40d963
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x284]
cmp eax, 0x104
ja 0x40d8a8
add eax, eax
cmp eax, 0x20a
jae 0x40d9a0
xor ecx, ecx
mov word [ebp + eax - 0x21c], cx
jmp 0x40d8ae
xor eax, eax
mov word [ebp - 0x14], ax
xor eax, eax
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 5
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40d8e0
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.00401ed0
push 1
push 0x4ded6c
lea ecx, [ebp - 0x234]
call fcn.00407e80
push 0xa
push 0x4ded70
lea ecx, [ebp - 0x234]
call fcn.00407e80
lea ecx, [ebp - 0x234]
call fcn.0041a250
test al, al
je 0x40d945
lea eax, [ebp - 0x234]
mov ecx, esi
push eax
call fcn.004077b0
jmp 0x40d958
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x234]
call fcn.00401e60
lea ecx, [ebp - 0x24c]
call fcn.00401e60
lea ecx, [ebp - 0x264]
call fcn.00401e60
lea ecx, [ebp - 0x27c]
call fcn.00401e60
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00496c8f
mov esp, ebp
pop ebp
ret
call fcn.004971c8
int3