Function at 0x4389a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e246c
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x513200]
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, edx
mov ebx, ecx
mov dword [ebp - 0x44c], ebx
push 0x3c
xor eax, eax
mov dword [ebp - 0x430], 0
push str.SoftwareMicrosoftWindowsCurrentversionExplorerFileExts_
lea ecx, [ebp - 0x440]
mov dword [ebp - 0x42c], 7
mov word [ebp - 0x440], ax
call fcn.0043a210
mov ecx, esi
mov dword [ebp - 4], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x438a12
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x440]
call fcn.0043a4e0
call fcn.004380d0
cmp eax, 2
jne 0x438a4a
push 0xb
push str.UserChoice
lea ecx, [ebp - 0x440]
call fcn.0043a4e0
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 0
mov dword [ebp - 0x450], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x440]
cmp dword [ebp - 0x42c], 8
push ecx
cmovae eax, dword [ebp - 0x440]
lea ecx, [ebp - 0x458]
push eax
push SysReAllocString
call fcn.00437e90
mov esi, dword [ebp - 0x458]
test eax, eax
jne 0x438d17
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.0048bb90
add esp, 0xc
mov dword [ebp - 0x444], 0x400
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x448]
push eax
push 0
push str.Progid
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x438b4b
mov eax, dword [ebp - 0x448]
cmp eax, 1
je 0x438af7
cmp eax, 2
jne 0x438b4b
mov eax, dword [ebp - 0x444]
test eax, eax
je 0x438b31
test al, 1
jne 0x438b4b
shr eax, 1
cmp word [ebp + eax*2 - 0x412], 0
jne 0x438b4b
xor eax, eax
cmp ax, word [ebp - 0x410]
je 0x438b3a
lea edx, [ebp - 0x410]
mov ecx, ebx
call fcn.00439030
mov bl, al
jmp 0x438d19
xor eax, eax
mov word [ebp - 0x410], ax
call fcn.004380d0
cmp eax, 1
jne 0x438b4b
mov bl, al
jmp 0x438d19
lea eax, [ebp - 0x444]
mov dword [ebp - 0x444], 0x400
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x448]
push eax
push 0
push str.Application
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x438d17
mov eax, dword [ebp - 0x448]
cmp eax, 1
je 0x438b94
cmp eax, 2
jne 0x438d17
mov eax, dword [ebp - 0x444]
test eax, eax
je 0x438d17
test al, 1
jne 0x438d17
shr eax, 1
cmp word [ebp + eax*2 - 0x412], 0
jne 0x438d17
xor eax, eax
cmp ax, word [ebp - 0x410]
je 0x438d17
push 0x1e
push str.SoftwareClassesApplications_
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x418], eax
mov dword [ebp - 0x414], 7
mov word [ebp - 0x428], ax
call fcn.0043a210
lea ecx, [ebp - 0x410]
mov byte [ebp - 4], 2
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x438c00
sub ecx, edx
lea eax, [ebp - 0x410]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x428]
call fcn.0043a4e0
push 6
push str.Shell
lea ecx, [ebp - 0x428]
call fcn.0043a4e0
sub esp, 0x18
lea eax, [ebp - 0x428]
mov ecx, esp
push eax
call fcn.0043a090
mov edx, SysReAllocString
mov ecx, ebx
call fcn.00439a70
add esp, 0x18
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x428]
mov bl, al
call fcn.0041c300
test bl, bl
jne 0x438d17
push 0xd
xor eax, eax
mov dword [ebp - 0x418], 0
push str.Applications_
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x414], 7
mov word [ebp - 0x428], ax
call fcn.0043a210
lea ecx, [ebp - 0x410]
mov byte [ebp - 4], 3
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x438cb0
sub ecx, edx
lea eax, [ebp - 0x410]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x428]
call fcn.0043a4e0
push 6
push str.Shell
lea ecx, [ebp - 0x428]
call fcn.0043a4e0
sub esp, 0x18
lea eax, [ebp - 0x428]
mov ecx, esp
push eax
call fcn.0043a090
mov ecx, dword [ebp - 0x44c]
mov edx, SysReAllocString
call fcn.00439a70
add esp, 0x18
lea ecx, [ebp - 0x428]
mov bl, al
call fcn.0041c300
jmp 0x438d19
xor bl, bl
test esi, esi
je 0x438d24
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x440]
call fcn.0041c300
mov al, bl
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.00489940
mov esp, ebp
pop ebp
ret