Function at 0x4c45d0
Capabilities:
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x8a8
mov eax, dword [0x5f3418]
xor eax, ebp
mov dword [esp + 0x8a0], eax
xor eax, eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x78], eax
lea edi, [esp + 0x6c]
mov dword [edi], 1
mov ecx, 0x800
lea ebx, [esp + 0x68]
mov dword [ebx], ecx
lea esi, [esp + 0xa0]
push ecx
push eax
push esi
call fcn.005191b0
add esp, 0xc
push ebx
push esi
push edi
push 0x5d7d84
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360se6.exe
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4c467c
push esi
call fcn.00510eb5
add esp, 4
lea ecx, [esp + 0x70]
push eax
push esi
call fcn.00547750
movzx eax, byte [esp + 0x7b]
test al, al
jns 0x4c468b
mov ebx, dword [esp + 0x74]
jmp 0x4c4690
mov ebx, eax
and ebx, 0x7f
xor ecx, ecx
test ebx, ebx
je 0x4c4966
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x60], ecx
mov eax, 0x800
mov dword [esp + 0x68], eax
push eax
push ecx
push esi
call fcn.005191b0
add esp, 0xc
lea eax, [esp + 0x68]
push eax
push esi
push edi
push 0x5d7d84
push str.360seURL_shellopencommand
push 0x80000000
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4c46ee
push esi
call fcn.00510eb5
add esp, 4
lea ecx, [esp + 0x58]
push eax
push esi
call fcn.00547750
xor esi, esi
dec esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
movzx eax, byte [esp + 0x63]
test al, al
jns 0x4c4710
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
jmp 0x4c4717
and eax, 0x7f
lea ecx, [esp + 0x58]
lea edx, [esp + 0x4c]
push eax
push ecx
mov dword [esp + 0x10], edx
push edx
call fcn.00508960
add esp, 0xc
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
movzx eax, byte [esp + 0x7b]
test al, al
jns 0x4c4749
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
jmp 0x4c4750
and eax, 0x7f
lea ecx, [esp + 0x70]
lea esi, [esp + 0x40]
push eax
push ecx
push esi
call fcn.00508960
add esp, 0xc
mov dword [esp + 0x14], esi
movzx eax, byte [esi + 0xb]
test al, al
jns 0x4c4779
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x14], ecx
jmp 0x4c477c
and eax, 0x7f
movzx ecx, byte [esp + 0x57]
test cl, cl
jns 0x4c478d
mov edx, dword [esp + 0x4c]
mov dword [esp + 8], edx
test eax, eax
je 0x4c4872
test cl, cl
jns 0x4c479f
mov ecx, dword [esp + 0x50]
jmp 0x4c47a2
and ecx, 0x7f
cmp ecx, eax
jl 0x4c491f
mov edi, dword [esp + 8]
lea edx, [edi + ecx*2]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x14]
movzx edx, word [edx]
lea esi, [edi + ecx*2]
add esi, 0xfffffffe
mov dword [esp + 0xc], esi
mov dword [esp + 4], ebx
mov esi, ecx
sub esi, eax
xor ebx, ebx
inc esi
je 0x4c483e
inc ecx
cmp word [edi + ebx], dx
je 0x4c47e4
add ebx, 2
dec ecx
cmp eax, ecx
jne 0x4c47d4
jmp 0x4c483e
mov dword [esp], 0
mov ecx, edi
add ecx, ebx
je 0x4c4845
mov dword [esp + 0x18], edi
mov word [esp + 0x10], dx
xor edx, edx
movzx esi, word [ecx + edx*2]
mov edi, dword [esp + 0x14]
cmp si, word [edi + edx*2]
jne 0x4c4811
inc edx
cmp eax, edx
jne 0x4c47fc
jmp 0x4c484e
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x18]
sub ecx, edx
lea edi, [edx + ebx]
add edi, 2
sub ecx, ebx
sar ecx, 1
mov dword [esp], 0
cmp ecx, eax
mov ebx, dword [esp + 4]
movzx edx, word [esp + 0x10]
jge 0x4c47ca
jmp 0x4c4926
mov dword [esp], 0
mov ebx, dword [esp + 4]
jmp 0x4c4926
mov dword [esp], 0
cmp ecx, dword [esp + 0x1c]
je 0x4c4845
mov eax, dword [esp + 8]
sub eax, dword [esp + 0x18]
add eax, 0xfffffffe
cmp eax, ebx
mov ebx, dword [esp + 4]
je 0x4c4926
call fcn.004f9f70
mov eax, dword [0x6bfaf4]
mov esi, dword [eax]
mov eax, 0x800
mov dword [esp + 0x68], eax
push eax
push 0
lea edi, [esp + 0xa8]
push edi
call fcn.005191b0
add esp, 0xc
lea eax, [esp + 0x68]
cmp esi, 3
jl 0x4c48fb
push eax
push edi
lea eax, [esp + 0x74]
push eax
push str.Progid
push str.SoftwareMicrosoftWindows_shellAssociationsUrlAssociationshttpUserChoice
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4c491f
push edi
call fcn.00510eb5
add esp, 4
lea esi, [esp + 0x80]
mov ecx, esi
push eax
push edi
call fcn.00547750
movzx eax, byte [esi + 0xb]
test al, al
jns 0x4c4a1c
mov esi, dword [esp + 0x80]
mov eax, dword [esp + 0x84]
jmp 0x4c4a1f
push eax
push edi
lea eax, [esp + 0x74]
push eax
push 0x5d7d84
push str.SoftwareClasseshttp_shellopencommand
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x4c49d3
mov dword [esp], 0
cmp byte [esp + 0x4b], 0
jns 0x4c4939
push dword [esp + 0x40]
call fcn.0050fc7c
add esp, 4
cmp byte [esp + 0x57], 0
jns 0x4c494c
push dword [esp + 0x4c]
call fcn.0050fc7c
add esp, 4
cmp byte [esp + 0x63], 0
jns 0x4c495f
push dword [esp + 0x58]
call fcn.0050fc7c
add esp, 4
mov al, byte [esp + 0x7b]
mov ecx, dword [esp]
test al, al
jns 0x4c497a
push dword [esp + 0x70]
mov esi, ecx
call fcn.0050fc7c
mov ecx, esi
add esp, 4
cmp byte [esp + 0x8b], 0
jns 0x4c4997
push dword [esp + 0x80]
mov esi, ecx
call fcn.0050fc7c
mov ecx, esi
add esp, 4
cmp byte [esp + 0x9b], 0
jns 0x4c49b4
push dword [esp + 0x90]
mov esi, ecx
call fcn.0050fc7c
mov ecx, esi
add esp, 4
test ebx, ebx
setne bl
and bl, cl
mov ecx, dword [esp + 0x8a0]
xor ecx, ebp
call fcn.00512ee3
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push edi
call fcn.00510eb5
add esp, 4
mov edx, edi
lea edi, [esp + 0x90]
mov ecx, edi
push eax
push edx
call fcn.00547750
xor esi, esi
dec esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
movzx eax, byte [edi + 0xb]
test al, al
jns 0x4c4ab2
mov edi, dword [esp + 0x90]
mov eax, dword [esp + 0x94]
jmp 0x4c4ab5
and eax, 0x7f
lea ecx, [esi + eax*2]
mov edx, ecx
cmp eax, 8
jl 0x4c4a9e
mov dword [esp + 4], ebx
lea edi, [esi + eax*2]
add edi, 0xfffffffe
add eax, eax
mov edx, esi
shr eax, 1
mov ebx, eax
add ebx, 0xfffffff9
mov eax, edi
sub eax, edx
cmp word [edx], 0x33
je 0x4c4a53
add edx, 2
add eax, 0xfffffffe
dec ebx
jne 0x4c4a42
jmp 0x4c4a98
test edx, edx
mov ebx, dword [esp + 4]
je 0x4c4c62
cmp word [edx + 2], 0x36
jne 0x4c4a90
cmp word [edx + 4], 0x30
jne 0x4c4a90
cmp word [edx + 6], 0x73
jne 0x4c4a90
cmp word [edx + 8], 0x65
jne 0x4c4a90
cmp word [edx + 0xa], 0x55
jne 0x4c4a90
cmp word [edx + 0xc], 0x52
jne 0x4c4a90
cmp word [edx + 0xe], 0x4c
je 0x4c4a9a
add edx, 2
cmp eax, 0xf
jg 0x4c4a37
mov edx, ecx
mov ebx, dword [esp + 4]
cmp edx, ecx
setne al
cmp edx, esi
sete cl
and cl, al
mov dword [esp], ecx
jmp 0x4c4926
and eax, 0x7f
lea ecx, [esp + 0x34]
push eax
push edi
push ecx
call fcn.00508960
add esp, 0xc
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
movzx eax, byte [esp + 0x7b]
test al, al
jns 0x4c4ae3
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
jmp 0x4c4aea
and eax, 0x7f
lea ecx, [esp + 0x70]
lea esi, [esp + 0x28]
push eax
push ecx
push esi
call fcn.00508960
add esp, 0xc
movzx edx, byte [esi + 0xb]
mov edi, edx
and edi, 0x7f
test dl, dl
cmovs edi, dword [esi + 4]
mov ecx, dword [esi]
cmovs esi, ecx
mov dword [esp + 0x14], esi
mov ah, byte [esp + 0x3f]
test ah, ah
lea esi, [esp + 0x34]
jns 0x4c4b21
mov esi, dword [esp + 0x34]
test edi, edi
je 0x4c4b37
mov dword [esp + 4], ebx
test ah, ah
mov dword [esp + 8], edx
jns 0x4c4b49
mov ebx, dword [esp + 0x38]
jmp 0x4c4b4f
mov byte [esp + 0xc], ah
mov al, 1
mov dword [esp], eax
mov ah, byte [esp + 0xc]
jmp 0x4c4c38
movzx ebx, ah
and ebx, 0x7f
lea edx, [esi + ebx*2]
cmp ebx, edi
mov dword [esp + 0x1c], ecx
jge 0x4c4b69
mov edi, esi
mov ebx, edx
mov esi, edx
mov edx, dword [esp + 8]
jmp 0x4c4c1e
mov dword [esp + 0x10], edx
mov byte [esp + 0xc], ah
mov eax, dword [esp + 0x14]
movzx eax, word [eax]
mov word [esp + 0x18], ax
lea eax, [esi + ebx*2 - 2]
mov dword [esp + 0x24], eax
mov dword [esp], esi
mov eax, esi
mov edx, dword [esp + 8]
mov ecx, ebx
sub ecx, edi
inc ecx
je 0x4c4bf2
inc ebx
xor edx, edx
movzx ecx, word [esp + 0x18]
mov esi, dword [esp]
cmp word [esi + edx], cx
je 0x4c4bb0
add edx, 2
dec ebx
cmp edi, ebx
jne 0x4c4ba0
jmp 0x4c4bfc
mov ebx, esi
add ebx, edx
je 0x4c4bfc
mov dword [esp + 0x20], eax
xor ecx, ecx
movzx esi, word [ebx + ecx*2]
mov eax, dword [esp + 0x14]
cmp si, word [eax + ecx*2]
jne 0x4c4bd1
inc ecx
cmp edi, ecx
jne 0x4c4bbc
jmp 0x4c4c0e
mov ebx, dword [esp + 0x24]
mov eax, dword [esp]
sub ebx, eax
add eax, edx
add eax, 2
sub ebx, edx
sar ebx, 1
mov dword [esp], eax
cmp ebx, edi
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 8]
jge 0x4c4b8e
mov edi, eax
mov esi, dword [esp + 0x10]
mov ebx, esi
jmp 0x4c4c08
mov edi, eax
mov esi, dword [esp + 0x10]
mov ebx, esi
mov edx, dword [esp + 8]
mov ah, byte [esp + 0xc]
jmp 0x4c4c1e
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 8]
mov ah, byte [esp + 0xc]
mov esi, dword [esp + 0x10]
cmp ebx, esi
setne al
sub ebx, edi
cmp ebx, 0xfffffffe
setne cl
and cl, al
mov dword [esp], ecx
mov ebx, dword [esp + 4]
mov ecx, dword [esp + 0x1c]
test dl, dl
jns 0x4c4c49
push ecx
call fcn.0050fc7c
add esp, 4
mov ah, byte [esp + 0x3f]
test ah, ah
jns 0x4c4926
push dword [esp + 0x34]
call fcn.0050fc7c
add esp, 4
jmp 0x4c4926
mov edx, ecx
jmp 0x4c4a9e