Function at 0x4b8a70
Capabilities:
Persist via default file association registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x5552b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x41c], 0
mov word [ebp - 0x20c], ax
call fcn.004e8ba0
push 0
lea esi, [ebp - 0x20c]
call fcn.004b79a0
mov edi, esi
add esp, 0x10
add edi, 0xfffffffe
lea esp, [esp]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4b8ad0
lea edx, [ebp - 0x41c]
push edx
lea eax, [ebp - 0x418]
push eax
push 0
mov ecx, 0xe
mov esi, str.wmcEncryption.exe__1_decrypt
push 0xf003f
rep movsd dword es:[edi], dword [esi]
push 0
push 0
push 0
push str..wme
push bind
movsw word es:[edi], word [esi]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4b8c2d
mov ecx, dword [ebp - 0x418]
push 0x32
push str.WinMaster_Encryption_File
push 1
push eax
push 0x51c514
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x418]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0x41c]
push eax
lea ecx, [ebp - 0x418]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str..wme_shell
push bind
call esi
test eax, eax
jne 0x4b8c39
mov edx, dword [ebp - 0x418]
push edx
call edi
lea eax, [ebp - 0x41c]
push eax
lea ecx, [ebp - 0x418]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str..wmeShellopen
push bind
call esi
test eax, eax
jne 0x4b8c39
mov edx, dword [ebp - 0x418]
push edx
call edi
lea eax, [ebp - 0x41c]
push eax
lea ecx, [ebp - 0x418]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str..wmeShellopencommand
push bind
call esi
test eax, eax
jne 0x4b8c39
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b8bf2
mov ecx, dword [ebp - 0x418]
sub eax, edx
sar eax, 1
lea edx, [eax + eax]
push edx
lea eax, [ebp - 0x20c]
push eax
push 1
push 0
push 0x51c514
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x418]
push edx
call edi
jmp 0x4b8c39
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0x41c]
push eax
lea ecx, [ebp - 0x418]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str..smr
push bind
call esi
test eax, eax
jne 0x4b8d68
mov edx, dword [ebp - 0x418]
push 0x32
push str.WinMaster_Encryption_File
push 1
push eax
push 0x51c514
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x418]
push eax
call edi
lea ecx, [ebp - 0x41c]
push ecx
lea edx, [ebp - 0x418]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str..smr_shell
push bind
call esi
test eax, eax
jne 0x4b8d68
mov eax, dword [ebp - 0x418]
push eax
call edi
lea ecx, [ebp - 0x41c]
push ecx
lea edx, [ebp - 0x418]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str..smrShellopen
push bind
call esi
test eax, eax
jne 0x4b8d68
mov eax, dword [ebp - 0x418]
push eax
call edi
lea ecx, [ebp - 0x41c]
push ecx
lea edx, [ebp - 0x418]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str..smrShellopencommand
push bind
call esi
test eax, eax
jne 0x4b8d68
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b8d30
sub eax, edx
mov edx, dword [ebp - 0x418]
sar eax, 1
add eax, eax
push eax
lea ecx, [ebp - 0x20c]
push ecx
push 1
push 0
push 0x51c514
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x418]
push eax
call edi
lea ecx, [ebp - 0x41c]
push ecx
lea edx, [ebp - 0x418]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str..sef
push bind
call esi
test eax, eax
jne 0x4b8f19
push 0x32
push str.WinMaster_Encryption_File
push 1
push eax
mov eax, dword [ebp - 0x418]
push 0x51c514
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0x418]
push ecx
call edi
lea edx, [ebp - 0x41c]
push edx
lea eax, [ebp - 0x418]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str..sef_shell
push bind
call esi
test eax, eax
jne 0x4b8f19
mov ecx, dword [ebp - 0x418]
push ecx
call edi
lea edx, [ebp - 0x41c]
push edx
lea eax, [ebp - 0x418]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str..sefShellopen
push bind
call esi
test eax, eax
jne 0x4b8f19
mov ecx, dword [ebp - 0x418]
push ecx
call edi
lea edx, [ebp - 0x41c]
push edx
lea eax, [ebp - 0x418]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str..sefShellopencommand
push bind
call esi
test eax, eax
jne 0x4b8f19
cmp dword [ebp + 8], eax
je 0x4b8ed5
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b8e70
sub eax, edx
sar eax, 1
xor ecx, ecx
mov word [ebp + eax*2 - 0x21a], cx
lea eax, [ebp - 0x20c]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4b8e92
mov edx, dword [str.decryptsef]
mov ecx, dword [0x526fc0]
mov dword [eax], edx
mov edx, dword [0x526fc4]
mov dword [eax + 4], ecx
mov ecx, dword [0x526fc8]
mov dword [eax + 8], edx
mov edx, dword [0x526fcc]
mov dword [eax + 0xc], ecx
mov cx, word [0x526fd0]
mov dword [eax + 0x10], edx
mov word [eax + 0x14], cx
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b8ee0
mov ecx, dword [ebp - 0x418]
sub eax, edx
sar eax, 1
lea edx, [eax + eax]
push edx
lea eax, [ebp - 0x20c]
push eax
push 1
push 0
push 0x51c514
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x418]
push edx
call edi
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x412]
push ecx
mov word [ebp - 0x414], ax
call fcn.004e8ba0
add esp, 0xc
xor eax, eax
lea esp, [esp]
movzx ecx, word [eax + 0x526fd4]
mov word [ebp + eax - 0x414], cx
add eax, 2
test cx, cx
jne 0x4b8f40
lea edx, [ebp - 0x41c]
push edx
lea eax, [ebp - 0x418]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea ecx, [ebp - 0x414]
push ecx
push bind
call esi
test eax, eax
jne 0x4b90b7
cmp dword [ebp + 8], eax
je 0x4b8fa9
mov edx, dword [ebp - 0x418]
push 0xc
push 0x52712c
push 1
push eax
push str.MUIVerb
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x418]
push eax
call edi
lea eax, [ebp - 0x414]
add eax, 0xfffffffe
jmp 0x4b8fc0
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4b8fc0
mov ecx, dword [str.Command]
mov edx, dword [0x527350]
mov dword [eax], ecx
mov ecx, dword [0x527354]
mov dword [eax + 4], edx
mov edx, dword [0x527358]
mov dword [eax + 8], ecx
mov cx, word [0x52735c]
mov dword [eax + 0xc], edx
mov word [eax + 0x10], cx
lea edx, [ebp - 0x41c]
push edx
lea eax, [ebp - 0x418]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea ecx, [ebp - 0x414]
push ecx
push bind
call esi
test eax, eax
jne 0x4b90ae
push 0x208
push eax
lea edx, [ebp - 0x20c]
push edx
call fcn.004e8ba0
push 0
lea esi, [ebp - 0x20c]
call fcn.004b79a0
mov edi, esi
add esp, 0x10
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4b9052
mov ecx, 0xd
mov esi, str.wmcEncryption.exe__1_path
lea eax, [ebp - 0x20c]
rep movsd dword es:[edi], dword [esi]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b9073
sub eax, edx
mov edx, dword [ebp - 0x418]
sar eax, 1
add eax, eax
push eax
lea ecx, [ebp - 0x20c]
push ecx
push 1
push 0
push 0x51c514
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov eax, dword [ebp - 0x418]
push eax
call edi
xor eax, eax
lea esp, [esp]
movzx ecx, word [eax + 0x527360]
mov word [ebp + eax - 0x414], cx
add eax, 2
test cx, cx
jne 0x4b90c0
lea ecx, [ebp - 0x41c]
push ecx
lea edx, [ebp - 0x418]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [ebp - 0x414]
push eax
push bind
call esi
test eax, eax
jne 0x4b9237
cmp dword [ebp + 8], eax
je 0x4b9129
mov ecx, dword [ebp - 0x418]
push 0xc
push 0x52712c
push 1
push eax
push str.MUIVerb
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x418]
push edx
call edi
lea eax, [ebp - 0x414]
add eax, 0xfffffffe
jmp 0x4b9140
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4b9140
mov ecx, dword [str.Command]
mov edx, dword [0x527350]
mov dword [eax], ecx
mov ecx, dword [0x527354]
mov dword [eax + 4], edx
mov edx, dword [0x527358]
mov dword [eax + 8], ecx
mov cx, word [0x52735c]
mov dword [eax + 0xc], edx
mov word [eax + 0x10], cx
lea edx, [ebp - 0x41c]
push edx
lea eax, [ebp - 0x418]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea ecx, [ebp - 0x414]
push ecx
push bind
call esi
test eax, eax
jne 0x4b922e
push 0x208
push eax
lea edx, [ebp - 0x20c]
push edx
call fcn.004e8ba0
push 0
lea esi, [ebp - 0x20c]
call fcn.004b79a0
mov edi, esi
add esp, 0x10
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4b91d2
mov ecx, 0xd
mov esi, str.wmcEncryption.exe__1_path
lea eax, [ebp - 0x20c]
rep movsd dword es:[edi], dword [esi]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b91f3
sub eax, edx
mov edx, dword [ebp - 0x418]
sar eax, 1
add eax, eax
push eax
lea ecx, [ebp - 0x20c]
push ecx
push 1
push 0
push 0x51c514
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov eax, dword [ebp - 0x418]
push eax
call edi
cmp dword [ebp + 8], 0
je 0x4b9508
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b9250
sub eax, edx
sar eax, 1
xor ecx, ecx
mov word [ebp + eax*2 - 0x21a], cx
lea eax, [ebp - 0x20c]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4b9272
mov edx, dword [str.encryptsef]
mov ecx, dword [0x527338]
mov dword [eax], edx
mov edx, dword [0x52733c]
mov dword [eax + 4], ecx
mov ecx, dword [0x527340]
mov dword [eax + 8], edx
mov edx, dword [0x527344]
mov dword [eax + 0xc], ecx
mov cx, word [0x527348]
mov dword [eax + 0x10], edx
mov word [eax + 0x14], cx
xor eax, eax
jmp 0x4b92c0
movzx ecx, word [eax + 0x52738c]
mov word [ebp + eax - 0x414], cx
add eax, 2
test cx, cx
jne 0x4b92c0
lea edx, [ebp - 0x41c]
push edx
lea eax, [ebp - 0x418]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea ecx, [ebp - 0x414]
push ecx
push bind
call esi
test eax, eax
jne 0x4b93df
mov edx, dword [ebp - 0x418]
push 0xc
push 0x52727c
push 1
push eax
push str.MUIVerb
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x418]
push eax
call edi
lea eax, [ebp - 0x414]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4b9336
mov ecx, dword [str.Command]
mov edx, dword [0x527350]
mov dword [eax], ecx
mov ecx, dword [0x527354]
mov dword [eax + 4], edx
mov edx, dword [0x527358]
mov dword [eax + 8], ecx
mov cx, word [0x52735c]
mov dword [eax + 0xc], edx
mov word [eax + 0x10], cx
lea edx, [ebp - 0x41c]
push edx
lea eax, [ebp - 0x418]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea ecx, [ebp - 0x414]
push ecx
push bind
call esi
test eax, eax
jne 0x4b93d6
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b93a6
mov ecx, dword [ebp - 0x418]
sub eax, edx
sar eax, 1
lea edx, [eax + eax]
push edx
lea eax, [ebp - 0x20c]
push eax
push 1
push 0
push 0x51c514
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x418]
push edx
call edi
xor eax, eax
movzx ecx, word [eax + str.Folder_shell_]
mov word [ebp + eax - 0x414], cx
add eax, 2
test cx, cx
jne 0x4b93e1
lea eax, [ebp - 0x41c]
push eax
lea ecx, [ebp - 0x418]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
lea edx, [ebp - 0x414]
push edx
push bind
call esi
test eax, eax
jne 0x4b9508
push 0xc
push 0x52727c
push 1
push eax
mov eax, dword [ebp - 0x418]
push str.MUIVerb
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0x418]
push ecx
call edi
lea eax, [ebp - 0x414]
add eax, 0xfffffffe
jmp 0x4b9460
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4b9460
mov edx, dword [str.Command]
mov ecx, dword [0x527350]
mov dword [eax], edx
mov edx, dword [0x527354]
mov dword [eax + 4], ecx
mov ecx, dword [0x527358]
mov dword [eax + 8], edx
mov dx, word [0x52735c]
mov dword [eax + 0xc], ecx
mov word [eax + 0x10], dx
lea eax, [ebp - 0x41c]
push eax
lea ecx, [ebp - 0x418]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
lea edx, [ebp - 0x414]
push edx
push bind
call esi
test eax, eax
jne 0x4b94ff
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b94d0
sub eax, edx
mov edx, dword [ebp - 0x418]
sar eax, 1
add eax, eax
push eax
lea ecx, [ebp - 0x20c]
push ecx
push 1
push 0
push 0x51c514
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x418]
push eax
call edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004e4746
mov esp, ebp
pop ebp
ret