Function at 0x4036a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x424ce5
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x435054]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x436fb8]
cmp eax, dword [ecx + 4]
jle 0x403739
push 0x436fb8
call fcn.0040e05f
add esp, 4
cmp dword [0x436fb8], 0xffffffff
jne 0x403739
push 0x425610
mov dword [0x436ff0], 0
mov dword [0x437000], 0
mov dword [0x437004], 7
call fcn.0040e371
push 0x436fb8
call fcn.0040e015
add esp, 8
cmp dword [0x437000], 0
jne 0x403908
lea eax, [ebp + 8]
mov edx, str.SOFTWARE_
push eax
lea ecx, [ebp - 0x5c]
call fcn.00405dc0
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
push 2
xor eax, eax
mov dword [ebp - 0x2c], 0
push 0x430ad8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.00405960
cmp dword [ebp - 0x18], 8
lea edx, [ebp - 0x14]
push edx
push 0
push 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], 0
cmovae ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 8
push 2
cmovae eax, dword [ebp - 0x5c]
push ecx
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x40387d
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
push eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
mov eax, dword [ebp - 0x14]
shr eax, 1
sub eax, 2
push eax
call fcn.004052e0
cmp dword [ebp - 0x30], 8
lea edx, [ebp - 0x44]
lea ebx, [ebp - 0x14]
cmovae edx, dword [ebp - 0x44]
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x5c]
push ebx
cmovae ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x48], 8
push edx
cmovae eax, dword [ebp - 0x5c]
push 0
push 2
push ecx
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x40383f
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
push dword [ebp - 0x34]
cmovae eax, dword [ebp - 0x44]
mov ecx, 0x436ff0
push eax
call fcn.00405960
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x40387d
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403873
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403971
push edx
push ecx
call fcn.0040df1e
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x4038bb
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4038b1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403976
push edx
push ecx
call fcn.0040df1e
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], al
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp edx, 8
jb 0x403908
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4038fe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403976
push edx
push ecx
call fcn.0040df1e
add esp, 8
mov ecx, 0x436ff0
call fcn.004034a0
push 0x436ff0
mov ecx, esi
call fcn.00405410
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x403954
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40394a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40397b
push edx
push ecx
call fcn.0040df1e
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040dee0
mov esp, ebp
pop ebp
ret
call fcn.0041226f
call fcn.0041226f
call fcn.0041226f
int3