Function at 0x4026b0
Capabilities:
Accept command line arguments
Persist via default file association registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x41978d
mov eax, dword fs:[0]
push eax
sub esp, 0x1d0
mov eax, dword [0x4210a0]
xor eax, esp
mov dword [esp + 0x1c8], eax
push ebx
push esi
push edi
mov eax, dword [0x4210a0]
xor eax, esp
push eax
lea eax, [esp + 0x1e0]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x10]
lea eax, [esp + 0x40]
push eax
xor ebx, ebx
push esi
mov dword [esp + 0x48], ebx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp word [esi], bx
jne 0x402739
mov dword [esp + 0x40], ebx
call fcn.00403f60
mov ecx, dword [esp + 0x1e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c8]
xor ecx, esp
call fcn.0040bbb3
mov esp, ebp
pop ebp
ret 0x10
cmp dword [esp + 0x40], ebx
jle 0x40270e
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.00402d60
mov dword [esp + 0x1e8], ebx
mov eax, dword [esp + 0x18]
mov ecx, str._RegFileOpenCmd
jmp 0x402760
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x402786
cmp dx, bx
je 0x402782
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x402786
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x402760
xor eax, eax
jmp 0x40278b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x402cbe
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov byte [esp + 0x1e8], 1
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x1e8], 2
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x1e8], 3
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x1e8], 4
mov ecx, str.SOFTWAREClasses_
test ecx, 0xffff0000
jne 0x40281b
mov edx, ecx
movzx esi, dx
push esi
call fcn.00406770
add esp, 4
cmp eax, ebx
je 0x402831
push eax
mov eax, esi
lea edi, [esp + 0x20]
call fcn.004053c0
jmp 0x402831
push str.SOFTWAREClasses_
lea eax, [esp + 0x20]
push eax
mov ebx, 0x11
call fcn.00404ec0
xor ebx, ebx
mov byte [esp + 0x1e8], 5
push 0xc
lea ecx, [esp + 0x20]
push ecx
call fcn.00405460
mov edi, dword [esp + 0x1c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x14]
push eax
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push edi
push 0x80000001
mov dword [esp + 0x34], ebx
call esi
cmp eax, ebx
jne 0x402c91
mov edi, dword [esp + 0x10]
mov dword [esp + 0x24], ebx
push str.AliFileCheck.File
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax + eax + 2]
push ecx
push str.AliFileCheck.File
push 1
push ebx
push 0x41c7f4
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp edi, ebx
je 0x4028b9
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x20], ebx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x14]
push eax
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push str.SOFTWAREClassesAliFileCheck.File_shellopencommand
push 0x80000001
mov dword [esp + 0x48], ebx
mov dword [esp + 0x34], ebx
call esi
cmp eax, ebx
jne 0x402a45
mov ecx, dword [esp + 0x10]
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ebx
mov ecx, section..data
mov dword [esp + 0x38], ebx
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x30], esi
mov byte [esp + 0x1e8], 8
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x40293d
mov eax, 0x104
lea ecx, [esp + 0x30]
call fcn.00407300
mov esi, dword [esp + 0x30]
push 0x104
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0040c02c
add esp, 8
cmp eax, ebx
jl 0x402c87
cmp eax, dword [esi - 8]
jg 0x402c87
lea edx, [esp + 0x2c]
xor ecx, ecx
mov dword [esi - 0xc], eax
push edx
lea edi, [esp + 0x34]
mov word [esi + eax*2], cx
call fcn.00403260
add esp, 4
mov byte [esp + 0x1e8], 9
push eax
lea eax, [esp + 0x18]
push eax
mov ebx, str.____1_
call fcn.00403180
add esp, 8
mov byte [esp + 0x1e8], 0xb
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4029c5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
xor ecx, ecx
test eax, eax
setne cl
mov edi, eax
test ecx, ecx
je 0x4029f7
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [esp + 0x10]
lea ecx, [eax + eax + 2]
push ecx
push edi
push 1
push 0
push 0x41c7f4
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov byte [esp + 0x1e8], 8
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402a1f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1e8], 5
add esi, 0xfffffff0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402a43
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
xor ebx, ebx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push 0x41c600
push 0x80000001
mov dword [esp + 0x38], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x402b98
mov edx, dword [section..data]
mov esi, dword [esp + 0x14]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x48], ebx
mov ecx, section..data
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], ebx
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x10], edi
mov byte [esp + 0x1e8], 0x10
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x104
or eax, ecx
jge 0x402ac9
mov eax, 0x104
lea ecx, [esp + 0x10]
call fcn.00407300
mov edi, dword [esp + 0x10]
push 0x104
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [edi - 8]
push eax
push edi
call fcn.0040c02c
add esp, 8
cmp eax, ebx
jl 0x402c87
cmp eax, dword [edi - 8]
jg 0x402c87
mov dword [edi - 0xc], eax
xor ecx, ecx
lea edx, [esp + 0x10]
mov word [edi + eax*2], cx
push edx
lea eax, [esp + 0x18]
push eax
mov ebx, 0x41c660
call fcn.00403180
add esp, 8
mov byte [esp + 0x1e8], 0x11
mov eax, dword [esp + 0x14]
xor ecx, ecx
test eax, eax
setne cl
mov ebx, eax
test ecx, ecx
je 0x402b4a
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax + eax + 2]
push ecx
push ebx
push 1
push 0
push 0x41c7f4
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov byte [esp + 0x1e8], 0x10
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x402b72
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1e8], 5
add edi, 0xfffffff0
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402b96
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
xor ebx, ebx
mov byte [esp + 0x1e8], 3
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402bc0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x20], ebx
je 0x402bd5
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x34]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x24], ebx
cmp eax, ebx
je 0x402bee
push eax
call esi
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x44]
mov dword [esp + 0x38], ebx
cmp eax, ebx
je 0x402c01
push eax
call esi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov byte [esp + 0x1e8], 2
mov eax, dword [esp + 0x44]
cmp eax, ebx
je 0x402c1c
push eax
call esi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov byte [esp + 0x1e8], 1
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x402c37
push eax
call esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov byte [esp + 0x1e8], bl
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x402c51
push eax
call esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1e8], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x402c80
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x402713
push 0x80070057
call fcn.004075f0
mov byte [esp + 0x1e8], 3
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402bd5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x402bd5
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x54], ebx
call fcn.00402ee0
push ebx
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x58]
push eax
mov dword [esp + 0x60], 1
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
lea ecx, [esp + 0x64]
push ecx
call fcn.00402250
mov byte [esp + 0x1e8], 0x16
lea eax, [esp + 0x18]
lea ecx, [esp + 0x64]
call fcn.00402400
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea eax, [esp + 0x68]
call fcn.00403960
mov byte [esp + 0x1e8], bl
lea edx, [esp + 0x64]
push edx
call fcn.00402320
mov eax, dword [esp + 0x50]
push eax
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov dword [esp + 0x1e8], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x402c74