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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x624
mov eax, dword [0x5552b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x206
lea ecx, [ebp - 0x20a]
xor eax, eax
push ebx
push ecx
mov dword [ebp - 0x620], ebx
mov dword [ebp - 0x624], ebx
mov word [ebp - 0x20c], ax
call fcn.004e8ba0
push ebx
lea esi, [ebp - 0x20c]
call fcn.004b79a0
mov edi, esi
add esp, 0x10
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x4b8143
lea edx, [ebp - 0x624]
push edx
lea eax, [ebp - 0x620]
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]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4b82a7
mov ecx, dword [ebp - 0x620]
push 0x32
push str.WinMaster_Encryption_File
push 1
push 0
push 0x51c514
push ecx
call ebx
mov edx, dword [ebp - 0x620]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0x624]
push eax
lea ecx, [ebp - 0x620]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str..wme_shell
push bind
call edi
test eax, eax
jne 0x4b82b3
mov edx, dword [ebp - 0x620]
push edx
call esi
lea eax, [ebp - 0x624]
push eax
lea ecx, [ebp - 0x620]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str..wmeShellopen
push bind
call edi
test eax, eax
jne 0x4b82b3
mov edx, dword [ebp - 0x620]
push edx
call esi
lea eax, [ebp - 0x624]
push eax
lea ecx, [ebp - 0x620]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str..wmeShellopencommand
push bind
call edi
test eax, eax
jne 0x4b82b3
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
jmp 0x4b8270
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b8270
mov ecx, dword [ebp - 0x620]
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 ebx
mov edx, dword [ebp - 0x620]
push edx
call esi
jmp 0x4b82b3
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0x624]
push eax
lea ecx, [ebp - 0x620]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str..smr
push bind
call edi
test eax, eax
jne 0x4b83d7
mov edx, dword [ebp - 0x620]
push 0x32
push str.WinMaster_Encryption_File
push 1
push eax
push 0x51c514
push edx
call ebx
mov eax, dword [ebp - 0x620]
push eax
call esi
lea ecx, [ebp - 0x624]
push ecx
lea edx, [ebp - 0x620]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str..smr_shell
push bind
call edi
test eax, eax
jne 0x4b83d7
mov eax, dword [ebp - 0x620]
push eax
call esi
lea ecx, [ebp - 0x624]
push ecx
lea edx, [ebp - 0x620]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str..smrShellopen
push bind
call edi
test eax, eax
jne 0x4b83d7
mov eax, dword [ebp - 0x620]
push eax
call esi
lea ecx, [ebp - 0x624]
push ecx
lea edx, [ebp - 0x620]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str..smrShellopencommand
push bind
call edi
test eax, eax
jne 0x4b83d7
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b83a3
sub eax, edx
mov edx, dword [ebp - 0x620]
sar eax, 1
add eax, eax
push eax
lea ecx, [ebp - 0x20c]
push ecx
push 1
push 0
push 0x51c514
push edx
call ebx
mov eax, dword [ebp - 0x620]
push eax
call esi
lea ecx, [ebp - 0x624]
push ecx
lea edx, [ebp - 0x620]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str..sef
push bind
call edi
test eax, eax
jne 0x4b8577
push 0x32
push str.WinMaster_Encryption_File
push 1
push eax
mov eax, dword [ebp - 0x620]
push 0x51c514
push eax
call ebx
mov ecx, dword [ebp - 0x620]
push ecx
call esi
lea edx, [ebp - 0x624]
push edx
lea eax, [ebp - 0x620]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str..sef_shell
push bind
call edi
test eax, eax
jne 0x4b8577
mov ecx, dword [ebp - 0x620]
push ecx
call esi
lea edx, [ebp - 0x624]
push edx
lea eax, [ebp - 0x620]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str..sefShellopen
push bind
call edi
test eax, eax
jne 0x4b8577
mov ecx, dword [ebp - 0x620]
push ecx
call esi
lea edx, [ebp - 0x624]
push edx
lea eax, [ebp - 0x620]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str..sefShellopencommand
push bind
call edi
test eax, eax
jne 0x4b8577
cmp dword [ebp + 8], eax
je 0x4b8539
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b84d4
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 0x4b84f6
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 cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b8542
mov ecx, dword [ebp - 0x620]
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 ebx
mov edx, dword [ebp - 0x620]
push edx
call esi
push 0
lea esi, [ebp - 0x20c]
call fcn.004b79a0
mov edi, esi
add esp, 4
add edi, 0xfffffffe
lea esp, [esp]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4b8590
xor eax, eax
mov ecx, 7
mov esi, str.wmcSystem.exe
push 0x206
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [ebp - 0x61a]
push ecx
mov word [ebp - 0x61c], ax
call fcn.004e8ba0
add esp, 0xc
xor eax, eax
jmp 0x4b85d0
movzx ecx, word [eax + 0x526fd4]
mov word [ebp + eax - 0x61c], cx
add eax, 2
test cx, cx
jne 0x4b85d0
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea edx, [ebp - 0x624]
push edx
lea eax, [ebp - 0x620]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea ecx, [ebp - 0x61c]
push ecx
push bind
call esi
test eax, eax
jne 0x4b868e
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b8623
mov ecx, dword [ebp - 0x620]
sub eax, edx
sar eax, 1
lea edx, [eax + eax]
push edx
lea eax, [ebp - 0x20c]
push eax
push 1
push 0
push str.icon
push ecx
call ebx
mov edx, dword [ebp - 0x620]
push 8
push 0x527004
push 1
push 0
push str.MUIVerb
push edx
call ebx
mov eax, dword [ebp - 0x620]
push 0xe
push str.SMR_SEF
push 1
push 0
push str.SubCommands
push eax
call ebx
mov ecx, dword [ebp - 0x620]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
movzx ecx, word [eax + 0x527048]
mov word [ebp + eax - 0x61c], cx
add eax, 2
test cx, cx
jne 0x4b8690
lea eax, [ebp - 0x61c]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4b86b0
mov edx, dword [0x52142c]
mov ecx, dword [0x521430]
mov dword [eax], edx
mov edx, dword [0x521434]
mov dword [eax + 4], ecx
mov ecx, dword [0x521438]
mov dword [eax + 8], edx
mov dx, word [0x52143c]
mov dword [eax + 0xc], ecx
mov word [eax + 0x10], dx
lea eax, [ebp - 0x624]
push eax
lea ecx, [ebp - 0x620]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
lea edx, [ebp - 0x61c]
push edx
push bind
call esi
test eax, eax
jne 0x4b878a
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b8720
sub eax, edx
mov edx, dword [ebp - 0x620]
sar eax, 1
add eax, eax
push eax
lea ecx, [ebp - 0x20c]
push ecx
push 1
push 0
push str.icon
push edx
call ebx
mov eax, dword [ebp - 0x620]
push 8
push 0x527004
push 1
push 0
push str.MUIVerb
push eax
call ebx
mov ecx, dword [ebp - 0x620]
push 0xe
push str.SMR_SEF
push 1
push 0
push str.SubCommands
push ecx
call ebx
mov edx, dword [ebp - 0x620]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x412]
push ecx
mov word [ebp - 0x414], ax
call fcn.004e8ba0
push 0
lea esi, [ebp - 0x414]
call fcn.004b79a0
mov edi, esi
add esp, 0x10
add edi, 0xfffffffe
lea ebx, [ebx]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4b87c0
mov ecx, 0xd
mov esi, str.wmcEncryption.exe__1_path
rep movsd dword es:[edi], dword [esi]
xor esi, esi
call fcn.004bc0d0
test eax, eax
je 0x4b87e8
mov esi, 0x100
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea edx, [ebp - 0x624]
push edx
lea eax, [ebp - 0x620]
push eax
push 0
or esi, 0xf003f
push esi
push 0
push 0
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStore_shellSMR
push reloc.WS2_32.dll_bind
call edi
test eax, eax
jne 0x4b88e9
mov ecx, dword [ebp - 0x620]
push 8
push 0x52712c
push 1
push eax
push 0x51c514
push ecx
call ebx
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b8840
mov ecx, dword [ebp - 0x620]
sub eax, edx
sar eax, 1
lea edx, [eax + eax]
push edx
lea eax, [ebp - 0x20c]
push eax
push 1
push 0
push str.icon
push ecx
call ebx
mov edx, dword [ebp - 0x620]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x624]
push eax
lea ecx, [ebp - 0x620]
push ecx
push 0
push esi
push 0
push 0
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStore_shellSMRcommand
push reloc.WS2_32.dll_bind
call edi
test eax, eax
jne 0x4b88dc
lea eax, [ebp - 0x414]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b88b0
mov ecx, dword [ebp - 0x620]
sub eax, edx
sar eax, 1
lea edx, [eax + eax]
push edx
lea eax, [ebp - 0x414]
push eax
push 1
push 0
push 0x51c514
push ecx
call ebx
mov edx, dword [ebp - 0x620]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 8], 0
je 0x4b8a59
lea eax, [ebp - 0x624]
push eax
lea ecx, [ebp - 0x620]
push ecx
push 0
push esi
push 0
push 0
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStore_shellSEF
push reloc.WS2_32.dll_bind
call edi
test eax, eax
jne 0x4b8a59
mov edx, dword [ebp - 0x620]
push 8
push 0x52727c
push 1
push eax
push 0x51c514
push edx
call ebx
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b8940
sub eax, edx
mov edx, dword [ebp - 0x620]
sar eax, 1
add eax, eax
push eax
lea ecx, [ebp - 0x20c]
push ecx
push 1
push 0
push str.icon
push edx
call ebx
mov eax, dword [ebp - 0x620]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x624]
push ecx
lea edx, [ebp - 0x620]
push edx
push 0
push esi
push 0
push 0
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStore_shellSEFcommand
push reloc.WS2_32.dll_bind
call edi
test eax, eax
jne 0x4b8a4c
lea eax, [ebp - 0x414]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b89b0
sub eax, edx
sar eax, 1
xor ecx, ecx
mov word [ebp + eax*2 - 0x41c], cx
lea eax, [ebp - 0x414]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4b89d2
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
lea eax, [ebp - 0x414]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b8a20
mov ecx, dword [ebp - 0x620]
sub eax, edx
sar eax, 1
lea edx, [eax + eax]
push edx
lea eax, [ebp - 0x414]
push eax
push 1
push 0
push 0x51c514
push ecx
call ebx
mov edx, dword [ebp - 0x620]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e4746
mov esp, ebp
pop ebp
ret