Function at 0x408550
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ee28f
mov eax, dword fs:[0]
push eax
sub esp, 0xa64
mov eax, dword [0x675f64]
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 - 0xa1c], esi
mov dword [ebp - 0xa70], esi
xor eax, eax
mov dword [ebp - 0xa3c], 0
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 0xa34], eax
mov dword [ebp - 0xa3c], 1
mov dword [ebp - 0xa24], eax
mov dword [ebp - 0xa20], 7
mov word [ebp - 0xa34], ax
push 0x208
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 1
push eax
call fcn.005aecd0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x23
push eax
push 0
call dword [0x67cfe4]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408610
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xa34]
call fcn.00405af0
push 0x16
push 0x6436f4
mov ecx, eax
call fcn.00405af0
sub esp, 0x18
mov ecx, esp
push 3
push 0x643724
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.004059e0
cmp dword [ebp - 0xa20], 8
lea edx, [ebp - 0xa34]
lea ecx, [ebp - 0xa54]
cmovae edx, dword [ebp - 0xa34]
call fcn.00407c60
add esp, 0x18
mov ecx, esi
push eax
call fcn.00405900
mov edx, dword [ebp - 0xa40]
cmp edx, 8
jb 0x4086cf
mov ecx, dword [ebp - 0xa54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4086c5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4089c1
push edx
push ecx
call fcn.0058acab
add esp, 8
cmp dword [esi + 0x10], 0
jne 0x408969
sub esp, 0x18
mov ecx, esp
push 3
push 0x641d80
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.004059e0
cmp dword [ebp - 0xa20], 8
lea edx, [ebp - 0xa34]
lea ecx, [ebp - 0xa54]
cmovae edx, dword [ebp - 0xa34]
call fcn.00407c60
add esp, 0x18
mov ecx, esi
push eax
call fcn.00405900
mov edx, dword [ebp - 0xa40]
cmp edx, 8
jb 0x408768
mov ecx, dword [ebp - 0xa54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40875e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4089c6
push edx
push ecx
call fcn.0058acab
add esp, 8
cmp dword [esi + 0x10], 0
jne 0x408969
push 4
xor eax, eax
mov dword [ebp - 0xa6c], 0
push str.x_at
lea ecx, [ebp - 0xa6c]
mov dword [ebp - 0xa5c], 0
mov dword [ebp - 0xa58], 7
mov word [ebp - 0xa6c], ax
call fcn.004059e0
mov byte [ebp - 4], 3
xor eax, eax
mov dword [ebp - 0xa54], 0
mov word [ebp - 0xa54], ax
lea eax, [ebp - 0xa38]
push eax
push 0x20219
push 0
push str.SOFTWARENico_Mak_ComputingWinZip
push 0x80000002
mov dword [ebp - 0xa38], 0
mov dword [ebp - 0xa44], 0
mov dword [ebp - 0xa40], 7
mov dword [ebp - 0xa3c], 3
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x408832
lea eax, [ebp - 0xa38]
push eax
push 0x20119
push 0
push str.SOFTWARENico_Mak_ComputingWinZip
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4088c2
push 0x800
lea eax, [ebp - 0xa18]
push 0
push eax
call fcn.005aecd0
add esp, 0xc
mov dword [ebp - 0xa1c], 0x800
cmp dword [ebp - 0xa58], 8
lea ecx, [ebp - 0xa1c]
lea eax, [ebp - 0xa6c]
cmovae eax, dword [ebp - 0xa6c]
push ecx
lea ecx, [ebp - 0xa18]
push ecx
push 0
push 2
push eax
push 0
push dword [ebp - 0xa38]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x4088b6
lea ecx, [ebp - 0xa18]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408894
sub ecx, edx
lea eax, [ebp - 0xa18]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xa54]
call fcn.004059e0
push dword [ebp - 0xa38]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0xa58]
cmp edx, 8
jb 0x408902
mov ecx, dword [ebp - 0xa6c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4088f8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4089cb
push edx
push ecx
call fcn.0058acab
add esp, 8
xor eax, eax
mov dword [ebp - 0xa5c], 0
mov word [ebp - 0xa6c], ax
mov ecx, esi
lea eax, [ebp - 0xa54]
mov dword [ebp - 0xa58], 7
push eax
call fcn.00405900
mov edx, dword [ebp - 0xa40]
cmp edx, 8
jb 0x408969
mov ecx, dword [ebp - 0xa54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40895f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4089d0
push edx
push ecx
call fcn.0058acab
add esp, 8
mov edx, dword [ebp - 0xa20]
cmp edx, 8
jb 0x4089a5
mov ecx, dword [ebp - 0xa34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40899b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4089d5
push edx
push ecx
call fcn.0058acab
add esp, 8
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.0058ac9d
mov esp, ebp
pop ebp
ret
call fcn.005b1fdf
call fcn.005b1fdf
call fcn.005b1fdf
call fcn.005b1fdf
call fcn.005b1fdf
int3