Function at 0x404440
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x429276
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x431570]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x431570]
xor eax, esp
push eax
lea eax, [esp + 0x26c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x27c]
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], 0x4250
cmp byte [0x437cf4], bl
je 0x4044cc
lea edi, [esp + 0x20]
call fcn.004040c0
jmp 0x4045c0
push 0x1000
push ebx
mov esi, 0x435938
push esi
call fcn.004158e0
add esp, 0xc
mov ecx, str.jBridgerOriginDir
lea edi, [esp + 0x40]
call fcn.00404c80
push 0xffffffffffffffff
push ebx
mov ecx, 0x4325fc
mov dword [esp + 0x27c], 1
call fcn.00409fc0
mov edi, 8
mov dword [esp + 0x274], 0xffffffff
cmp dword [esp + 0x58], edi
jb 0x404529
mov eax, dword [esp + 0x44]
push eax
call fcn.00410308
add esp, 4
cmp dword [0x432610], ebx
je 0x40455c
mov eax, dword [0x432600]
cmp dword [0x432614], edi
jae 0x404543
mov eax, 0x432600
push eax
push 0x800
push esi
call fcn.00412180
add esp, 0xc
mov dword [esp + 0x28], esi
mov dword [esp + 0x38], esi
jmp 0x4045c0
lea edx, [esp + 0x1c]
push edx
push str.SoftwareVST
xor ecx, ecx
push 0x80000002
mov word [esp + 0x68], cx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4045ab
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x60]
push ecx
push ebx
push ebx
push str.VSTPluginsPath
push edx
mov dword [esp + 0x30], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp word [esp + 0x5c], bx
je 0x4045c0
lea ecx, [esp + 0x5c]
mov edx, ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x38], edx
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x38], 0x404090
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
cmp eax, ebx
je 0x40465a
push 0x433938
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov edi, 7
xor ecx, ecx
mov eax, 0x433938
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x404603
sub eax, edx
sar eax, 1
push eax
mov eax, 0x433938
lea esi, [esp + 0x44]
call fcn.0040c040
mov dword [esp + 0x274], 2
push 0xffffffffffffffff
xor edx, edx
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x14], ebx
push ebx
mov eax, esi
mov ecx, ebp
mov word [ebp + 4], dx
call fcn.00409fc0
cmp dword [esp + 0x58], 8
jb 0x404678
mov eax, dword [esp + 0x44]
push eax
call fcn.00410308
add esp, 4
jmp 0x404678
xor ecx, ecx
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], ebx
push 6
mov eax, str.NULL
mov esi, ebp
mov word [ebp + 4], cx
call fcn.0040c040
mov eax, ebp
mov ecx, dword [esp + 0x26c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.004102f9
add esp, 0x264
ret