Function at 0x40bda0
Capabilities:
Create process on windows
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47d9e0
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x49c4b0]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov eax, dword [0x49c4b0]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
mov edx, str.click
mov ecx, dword [ebx]
mov eax, ecx
mov di, word [eax]
cmp di, word [edx]
jne 0x40be0e
test di, di
je 0x40be0a
mov di, word [eax + 2]
cmp di, word [edx + 2]
jne 0x40be0e
add eax, 4
add edx, 4
test di, di
jne 0x40bde8
xor eax, eax
jmp 0x40be13
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40bfc5
mov eax, dword [ebx + 0x108]
cmp eax, dword [esi + 0x564]
jne 0x40be36
lea ecx, [esi - 0x30]
call fcn.0040cbb0
jmp 0x40c022
cmp eax, dword [esi + 0x568]
jne 0x40be4d
push 1
lea ecx, [esi - 0x30]
call fcn.0040e740
jmp 0x40c022
cmp eax, dword [esi + 0x56c]
jne 0x40be64
push 0
lea ecx, [esi - 0x30]
call fcn.0040e740
jmp 0x40c022
cmp eax, dword [esi + 0x574]
jne 0x40be79
lea ecx, [esi - 0x30]
call fcn.0040e890
jmp 0x40c022
cmp eax, dword [esi + 0x560]
jne 0x40be9e
push 1
push 0
push 0
push str.https:__www.feirar.com_home_protocol
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x40c022
cmp eax, dword [esi + 0x598]
jne 0x40c022
lea eax, [esi + 0x358]
push eax
lea edx, [esi + 0x418]
lea ecx, [esp + 0x4c]
call fcn.00411b20
add esp, 4
push 0x487590
mov edx, eax
mov dword [esp + 0x8c], 0
lea ecx, [esp + 0x34]
call fcn.00404130
add esp, 4
push str.FeiRar.exe
mov edx, eax
mov byte [esp + 0x8c], 1
lea ecx, [esp + 0x1c]
call fcn.00404130
add esp, 4
lea ecx, [esp + 0x30]
call fcn.00406bb0
lea ecx, [esp + 0x48]
mov byte [esp + 0x88], 4
call fcn.00406bb0
cmp dword [esp + 0x2c], 0x10
lea eax, [esp + 0x18]
push 5
cmovae eax, dword [esp + 0x1c]
push 0
push 0x487bb4
push eax
push 0x48d798
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [esi + 0x58c]
test eax, eax
je 0x40bfa0
mov al, byte [eax + 0x93c]
test al, al
je 0x40bfa0
lea eax, [esi + 0x478]
mov edx, 0x48d7a8
push eax
lea ecx, [esp + 0x64]
call fcn.00404040
sub esp, 0x14
mov byte [esp + 0xa0], 5
mov ecx, esp
mov edx, eax
push 0x48d7a0
call fcn.00404130
add esp, 4
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov ecx, SysReAllocString
push 0x48d7ac
call fcn.00412ab0
add esp, 0x1c
lea ecx, [esp + 0x60]
call fcn.00406bb0
push 0
push 0
push 0x10
push dword [esi - 0x2c]
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [esp + 0x18]
mov dword [esp + 0x88], 0xffffffff
call fcn.00406bb0
jmp 0x40c022
mov eax, str.selectchanged
lea ebx, [ebx]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x40bff6
test dx, dx
je 0x40bff2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x40bff6
add ecx, 4
add eax, 4
test dx, dx
jne 0x40bfd0
xor eax, eax
jmp 0x40bffb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40c022
mov eax, dword [esi + 0x588]
mov ecx, dword [esi + 0x564]
cmp byte [eax + 0x93c], 0
mov eax, dword [ecx]
je 0x40c01a
push 1
jmp 0x40c01c
push 0
call dword [eax + 0xd8]
push ebx
lea ecx, [esi - 0x10]
call fcn.00423320
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.0045eb02
mov esp, ebp
pop ebp
ret 4