Function at 0x40209a
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x409f7b
mov eax, dword fs:[0]
push eax
sub esp, 0x1d0
mov eax, dword [0x410034]
xor eax, esp
mov dword [esp + 0x1c8], eax
push ebx
push esi
push edi
mov eax, dword [0x410034]
xor eax, esp
push eax
lea eax, [esp + 0x1e0]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x10]
lea eax, [esp + 0x48]
push eax
xor ebx, ebx
push edi
mov dword [esp + 0x50], ebx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp word [edi], bx
jne 0x4020f8
mov dword [esp + 0x48], ebx
cmp dword [esp + 0x48], ebx
jle 0x402475
lea eax, [esp + 0x1c]
push eax
call fcn.004024cf
mov dword [esp + 0x1e8], ebx
push str._RegFileOpenCmd
push dword [esp + 0x20]
call dword [sym.imp.MSVCR100.dll_wcscmp]
pop ecx
pop ecx
cmp eax, ebx
jne 0x4023f2
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov byte [esp + 0x1e8], 1
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov byte [esp + 0x1e8], 2
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov byte [esp + 0x1e8], 3
lea eax, [esp + 0x2c]
push eax
mov edi, str.SOFTWAREClasses_
call fcn.004024cf
mov byte [esp + 0x1e8], 4
push 0x40b5ac
call dword [sym.imp.MSVCR100.dll_wcslen]
pop ecx
push eax
lea eax, [esp + 0x30]
call fcn.0040414e
push dword [esp + 0x2c]
lea eax, [esp + 0x24]
call fcn.00405666
test eax, eax
jne 0x40232e
push str.AliFileCheck.File
lea eax, [esp + 0x24]
push eax
call fcn.004055bc
cmp dword [esp + 0x20], ebx
je 0x4021cd
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x20], ebx
push str.SOFTWAREClassesAliFileCheck.File_shellopencommand
lea eax, [esp + 0x34]
mov dword [esp + 0x28], ebx
call fcn.00405666
mov edi, 0x104
test eax, eax
jne 0x402293
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x1e8], 7
push edi
push edi
lea esi, [esp + 0x1c]
call fcn.00405587
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call fcn.0040544e
lea eax, [esp + 0x50]
push eax
mov ecx, esi
call fcn.00402784
mov byte [esp + 0x1ec], 8
lea ecx, [esp + 0x1c]
mov dword [esp], str.____1_
push ecx
mov esi, eax
call fcn.00402726
pop ecx
pop ecx
mov byte [esp + 0x1e8], 0xa
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
call fcn.00405483
push dword [esp + 0x18]
lea eax, [esp + 0x34]
push eax
call fcn.004055bc
mov byte [esp + 0x1e8], 7
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.00405483
mov byte [esp + 0x1e8], 4
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.00405483
push 0x40b670
lea eax, [esp + 0x40]
call fcn.00405666
test eax, eax
jne 0x40232c
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x1e8], 0xf
push edi
push edi
lea esi, [esp + 0x1c]
call fcn.00405587
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call fcn.0040544e
lea eax, [esp + 0x18]
push 0x40b6d0
push eax
call fcn.00402726
pop ecx
pop ecx
mov byte [esp + 0x1e8], 0x10
push dword [esp + 0x18]
lea eax, [esp + 0x40]
push eax
call fcn.004055bc
mov byte [esp + 0x1e8], 0xf
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.00405483
mov byte [esp + 0x1e8], 4
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.00405483
jmp 0x40232e
mov byte [esp + 0x1e8], 3
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
call fcn.00405483
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x20], ebx
je 0x402358
push dword [esp + 0x20]
call esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
cmp dword [esp + 0x30], ebx
je 0x40236c
push dword [esp + 0x30]
call esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
cmp dword [esp + 0x3c], ebx
je 0x402380
push dword [esp + 0x3c]
call esi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x1e8], 2
cmp dword [esp + 0x3c], ebx
je 0x40239c
push dword [esp + 0x3c]
call esi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x1e8], 1
cmp dword [esp + 0x30], ebx
je 0x4023b8
push dword [esp + 0x30]
call esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov byte [esp + 0x1e8], bl
cmp dword [esp + 0x20], ebx
je 0x4023d3
push dword [esp + 0x20]
call esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
or dword [esp + 0x1e8], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.00405483
xor eax, eax
jmp 0x40247a
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x50], ebx
call fcn.00402593
push ebx
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x54]
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 eax, [esp + 0x64]
push eax
call fcn.00401d74
mov byte [esp + 0x1e8], 0x15
lea eax, [esp + 0x1c]
lea edi, [esp + 0x1c8]
call fcn.00402552
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea esi, [esp + 0x68]
call fcn.00402d0b
mov byte [esp + 0x1e8], bl
mov eax, esi
push eax
call fcn.00401dfc
push dword [esp + 0x4c]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
jmp 0x4023d7
call fcn.00403088
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.004088dc
mov esp, ebp
pop ebp
ret 0x10