Function at 0x4031a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47d089
mov eax, dword fs:[0]
push eax
sub esp, 0x3c8
mov eax, dword [0x49f00c]
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
call fcn.004013f0
add eax, 0x68
lea ecx, [ebp - 0x344]
push eax
call fcn.004036f0
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x314]
cmp dword [ebp - 0x300], 8
cmovae eax, dword [ebp - 0x314]
push eax
lea eax, [ebp - 0x238]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_s
push eax
call fcn.0040cd90
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.00465030
add esp, 0x18
mov dword [ebp - 0x21c], 0x104
lea ecx, [ebp - 0x348]
xor bl, bl
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
cmovae eax, dword [ebp - 0x238]
push ecx
push 0x20019
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x403300
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x220], 1
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x220]
push eax
push 0
push str.InstallLocation
push dword [ebp - 0x348]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4032f4
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4032d0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x250]
call fcn.00404890
mov bl, 1
push dword [ebp - 0x348]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x224]
cmp edx, 8
jb 0x403344
mov ecx, dword [ebp - 0x238]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40333a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4036ca
push edx
push ecx
call fcn.00463043
add esp, 8
xor eax, eax
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 7
lea ecx, [ebp - 0x238]
mov word [ebp - 0x238], ax
test bl, bl
jne 0x40363b
push 4
push 0x489740
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x3b4], 0x403090
mov dword [ebp - 0x3b0], eax
call fcn.00404890
xor eax, eax
mov byte [ebp - 4], 3
push eax
push 0x489870
lea ecx, [ebp - 0x3a8]
mov dword [ebp - 0x398], 0
mov dword [ebp - 0x394], 7
mov word [ebp - 0x3a8], ax
call fcn.00404890
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x390]
push 2
xor eax, eax
mov dword [ebp - 0x380], 0
push 0x48974c
mov dword [ebp - 0x37c], 7
mov word [ebp - 0x390], ax
call fcn.00404890
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x378]
push 0x25
xor eax, eax
mov dword [ebp - 0x368], 0
push 0x489758
mov dword [ebp - 0x364], 7
mov word [ebp - 0x378], ax
call fcn.00404890
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x360]
push 2
xor eax, eax
mov dword [ebp - 0x350], 0
push 0x4896ec
mov dword [ebp - 0x34c], 7
mov word [ebp - 0x360], ax
call fcn.00404890
sub esp, 0x28
mov byte [ebp - 4], 7
movq xmm0, qword [ebp - 0x3b4]
lea edx, [ebp - 0x220]
mov esi, esp
lea ecx, [ebp - 0x3d4]
sub esp, 0x10
mov dword [ebp - 0x21c], esi
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], 0
call fcn.00403c90
add esp, 0x10
mov dword [esi + 0x24], 0
lea ecx, [ebp - 0x3d4]
mov byte [ebp - 4], 9
call fcn.004043b0
mov dword [esi + 0x24], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x3d0]
test ecx, ecx
je 0x4034cd
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x4034cd
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x280]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x3a8]
push eax
lea eax, [ebp - 0x390]
push eax
push 5
lea edx, [ebp - 0x378]
lea ecx, [ebp - 0x360]
call fcn.00409c80
mov edx, dword [ebp - 0x34c]
add esp, 0x3c
cmp edx, 8
jb 0x403543
mov ecx, dword [ebp - 0x360]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403539
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4036cf
push edx
push ecx
call fcn.00463043
add esp, 8
mov edx, dword [ebp - 0x364]
cmp edx, 8
jb 0x403583
mov ecx, dword [ebp - 0x378]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403579
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4036d4
push edx
push ecx
call fcn.00463043
add esp, 8
mov edx, dword [ebp - 0x37c]
cmp edx, 8
jb 0x4035c3
mov ecx, dword [ebp - 0x390]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4035b9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4036d9
push edx
push ecx
call fcn.00463043
add esp, 8
mov edx, dword [ebp - 0x394]
cmp edx, 8
jb 0x403603
mov ecx, dword [ebp - 0x3a8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4035f9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4036de
push edx
push ecx
call fcn.00463043
add esp, 8
mov edx, dword [ebp - 0x224]
cmp edx, 8
jb 0x403668
mov ecx, dword [ebp - 0x238]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40365e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4036e3
jmp 0x40365e
push 0x16
push str.install_main_window_id
call fcn.00404890
lea edx, [ebp - 0x250]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x238]
call fcn.00403e70
jmp 0x403603
push edx
push ecx
call fcn.00463043
add esp, 8
mov edx, dword [ebp - 0x23c]
cmp edx, 8
jb 0x4036a4
mov ecx, dword [ebp - 0x250]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40369a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4036e3
push edx
push ecx
call fcn.00463043
add esp, 8
lea ecx, [ebp - 0x344]
call fcn.004016a0
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.00462ae1
mov esp, ebp
pop ebp
ret
call fcn.00466e0f
call fcn.00466e0f
call fcn.00466e0f
call fcn.00466e0f
call fcn.00466e0f
call fcn.00466e0f
int3