Function at 0x408736
Capabilities:
Schedule task via itaskservice

Disassembly:
push 0x2c4
mov eax, 0x4196d4
call fcn.00417a7d
xor ebx, ebx
push str.USERNAME
mov dword [ebp - 0x220], ebx
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__wgetenv]
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
pop ecx
push eax
call esi
mov dword [ebp - 0x258], eax
lea eax, [ebp - 0x218]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call esi
mov esi, dword [sym.imp.ole32.dll_CoInitialize]
push ebx
mov dword [ebp - 0x25c], eax
call esi
test eax, eax
js 0x4087c2
push ebx
call esi
test eax, eax
js 0x4087c2
lea eax, [ebp - 0x220]
push eax
push 0x41ddc8
push 1
push ebx
push 0x41ddd8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x4087cb
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
inc eax
call fcn.00417a2c
ret
lea eax, [ebp - 0x290]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov dword [ebp - 4], ebx
lea esi, [ebp - 0x290]
lea edi, [ebp - 0x2a0]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x280]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea esi, [ebp - 0x280]
lea edi, [ebp - 0x2b0]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x2d0]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea esi, [ebp - 0x2d0]
lea edi, [ebp - 0x2c0]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x270]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [ebp - 4], 3
lea esi, [ebp - 0x2a0]
sub esp, 0x10
mov eax, dword [ebp - 0x220]
mov edi, esp
sub esp, 0x10
mov ecx, dword [eax]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0x2b0]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0x2c0]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0x270]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x28]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov esi, eax
lea eax, [ebp - 0x270]
push eax
call edi
lea eax, [ebp - 0x2d0]
push eax
call edi
lea eax, [ebp - 0x280]
push eax
call edi
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x290]
push eax
call edi
test esi, esi
jns 0x4088c3
mov eax, dword [ebp - 0x220]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4087bc
push 0x4997c4
lea ecx, [ebp - 0x254]
mov dword [ebp - 0x22c], ebx
call fcn.00408634
mov dword [ebp - 4], 4
mov eax, dword [eax]
test eax, eax
je 0x4088ea
mov edx, dword [eax]
jmp 0x4088ec
mov edx, ebx
mov eax, dword [ebp - 0x220]
lea esi, [ebp - 0x22c]
push esi
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
or edi, 0xffffffff
lea ecx, [ebp - 0x254]
mov esi, eax
mov dword [ebp - 4], edi
call fcn.004086a0
test esi, esi
js 0x4088b2
push str.DownloadStudio_Standalone_Updater
lea ecx, [ebp - 0x254]
call fcn.00408634
mov dword [ebp - 4], 5
mov eax, dword [eax]
test eax, eax
je 0x408938
mov edx, dword [eax]
jmp 0x40893a
mov edx, ebx
mov eax, dword [ebp - 0x22c]
push ebx
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
lea ecx, [ebp - 0x254]
mov dword [ebp - 4], edi
call fcn.004086a0
mov eax, dword [ebp - 0x220]
lea edx, [ebp - 0x21c]
push edx
mov dword [ebp - 0x21c], ebx
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov ecx, dword [ebp - 0x220]
mov esi, eax
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
test esi, esi
jns 0x40898d
mov eax, dword [ebp - 0x22c]
jmp 0x4088b8
mov eax, dword [ebp - 0x21c]
lea edx, [ebp - 0x234]
mov dword [ebp - 0x234], ebx
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
push str.Check_for_Updates_for_Download_Studio_Software
lea ecx, [ebp - 0x254]
call fcn.00408634
mov dword [ebp - 4], 6
mov eax, dword [eax]
test eax, eax
je 0x4089c7
mov edx, dword [eax]
jmp 0x4089c9
mov edx, ebx
mov eax, dword [ebp - 0x234]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
lea ecx, [ebp - 0x254]
mov dword [ebp - 4], edi
call fcn.004086a0
mov eax, dword [ebp - 0x234]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x21c]
lea edx, [ebp - 0x228]
mov dword [ebp - 0x228], ebx
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x228]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov eax, dword [ebp - 0x228]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebp - 0x228]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x228]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x21c]
lea edx, [ebp - 0x238]
mov dword [ebp - 0x238], ebx
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x238]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebp - 0x238]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x21c]
lea edx, [ebp - 0x23c]
mov dword [ebp - 0x23c], ebx
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x23c]
lea edx, [ebp - 0x240]
push edx
mov dword [ebp - 0x240], ebx
push 9
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
mov eax, dword [ebp - 0x23c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x240]
lea edx, [ebp - 0x224]
push edx
mov dword [ebp - 0x224], ebx
push 0x41dde8
mov ecx, dword [eax]
push eax
call dword [ecx]
mov eax, dword [ebp - 0x240]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 0x4997c8
lea ecx, [ebp - 0x254]
call fcn.00408634
mov dword [ebp - 4], 7
mov edx, dword [eax]
test edx, edx
je 0x408af9
mov edx, dword [edx]
jmp 0x408afb
mov edx, ebx
mov eax, dword [ebp - 0x224]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
lea ecx, [ebp - 0x254]
mov dword [ebp - 4], edi
call fcn.004086a0
mov eax, dword [ebp - 0x224]
push dword [ebp - 0x258]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x5c]
push str.PT15M
lea ecx, [ebp - 0x254]
call fcn.00408634
push 8
pop esi
mov dword [ebp - 4], esi
mov edx, dword [eax]
test edx, edx
je 0x408b48
mov edx, dword [edx]
jmp 0x408b4a
mov edx, ebx
mov eax, dword [ebp - 0x224]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x54]
lea ecx, [ebp - 0x254]
mov dword [ebp - 4], edi
call fcn.004086a0
mov eax, dword [ebp - 0x224]
lea edx, [ebp - 0x24c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
push str.PT30H
lea ecx, [ebp - 0x254]
call fcn.00408634
mov dword [ebp - 4], 9
mov eax, dword [eax]
test eax, eax
je 0x408b99
mov edx, dword [eax]
jmp 0x408b9b
mov edx, ebx
mov eax, dword [ebp - 0x24c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
lea ecx, [ebp - 0x254]
mov dword [ebp - 4], edi
call fcn.004086a0
mov eax, dword [ebp - 0x24c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x224]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x21c]
lea edx, [ebp - 0x244]
mov dword [ebp - 0x244], ebx
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x244]
lea edx, [ebp - 0x248]
push edx
mov dword [ebp - 0x248], ebx
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
mov eax, dword [ebp - 0x244]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x248]
lea edx, [ebp - 0x230]
push edx
mov dword [ebp - 0x230], ebx
push str.MbLk
mov ecx, dword [eax]
push eax
call dword [ecx]
mov eax, dword [ebp - 0x248]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x230]
push dword [ebp - 0x25c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
push 0x4997f4
lea ecx, [ebp - 0x254]
call fcn.00408634
mov dword [ebp - 4], 0xa
mov edx, dword [eax]
test edx, edx
je 0x408c69
mov edx, dword [edx]
jmp 0x408c6b
mov edx, ebx
mov eax, dword [ebp - 0x230]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
lea ecx, [ebp - 0x254]
mov dword [ebp - 4], edi
call fcn.004086a0
mov eax, dword [ebp - 0x230]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 0x499810
mov dword [ebp - 0x250], ebx
mov word [ebp - 0x270], si
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x268], eax
test eax, eax
je 0x408deb
mov dword [ebp - 4], 0xb
lea esi, [ebp - 0x270]
lea edi, [ebp - 0x2c0]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x280]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea esi, [ebp - 0x280]
lea edi, [ebp - 0x2b0]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x290]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [ebp - 4], 0xd
lea esi, [ebp - 0x290]
lea edi, [ebp - 0x2a0]
movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x260]
push str.DownloadStudio_Standalone_Updater
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00408634
mov byte [ebp - 4], 0xe
mov eax, dword [eax]
test eax, eax
je 0x408d29
mov ebx, dword [eax]
lea edx, [ebp - 0x250]
mov eax, dword [ebp - 0x22c]
push edx
sub esp, 0x10
lea esi, [ebp - 0x2c0]
mov edi, esp
mov ecx, dword [eax]
push 3
movsd dword es:[edi], dword [esi]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0x2b0]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0x2a0]
push 6
push dword [ebp - 0x21c]
movsd dword es:[edi], dword [esi]
push ebx
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x44]
lea ecx, [ebp - 0x260]
call fcn.004086a0
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x290]
push eax
call esi
lea eax, [ebp - 0x280]
push eax
call esi
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x270]
push eax
call esi
mov eax, dword [ebp - 0x22c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x21c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x250]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
push dword [ebp - 0x258]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push dword [ebp - 0x25c]
call esi
xor eax, eax
jmp 0x4087c5
push 0x8007000e
call fcn.00417760
int3