Function at 0x180046490
Capabilities:
Download url
Receive data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x140]
sub rsp, 0x240
mov rax, qword [0x1800a63c0]
xor rax, rsp
mov qword [rbp + 0x130], rax
xor r14d, r14d
mov dword [rsp + 0x40], r14d
lea r8d, [r14 + 8]
lea rdx, str.MH_BAse_
lea rbx, [0x1800c11f8]
mov rcx, rbx
call fcn.18000e5f0
mov rcx, qword [0x1800c1208]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 4
jb 0x180046d97
cmp qword [0x1800c1210], 0xf
cmova rbx, qword [0x1800c11f8]
mov qword [rsp + 0x30], 4
lea rax, str..ytd
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov r9, rbx
lea rcx, [rbp + 0xb0]
call fcn.18000eb60
mov rdx, qword [0x1800c1250]
cmp rdx, 0xf
jbe 0x18004657e
mov rcx, qword [0x1800c1238]
inc rdx
cmp rdx, 0x1000
jb 0x180046579
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800466e6
mov rcx, r8
call fcn.1800730f0
movups xmm0, xmmword [rbp + 0xb0]
movups xmmword [0x1800c1238], xmm0
movups xmm1, xmmword [rbp + 0xc0]
movups xmmword [0x1800c1248], xmm1
mov r8d, 0xe
lea rdx, str.MH_Base_TxName
lea rcx, [0x1800c1218]
call fcn.18000e5f0
lea rcx, [rbp + 0xf0]
call fcn.18000daf0
mov rbx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x1800465cc
mov rbx, qword [rax]
lea rax, [0x18008a898]
mov qword [rsp + 0x50], rax
lea rax, [0x180087640]
mov qword [rsp + 0x60], rax
lea rcx, [rbp + 8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x40], 3
xor r8d, r8d
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea r15, vtable.std::basic_fstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x50], r15
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb8]
mov dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x68]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rsp + 0x68], rax
mov byte [rbp - 0x1c], 0
mov byte [rbp - 0x27], 0
lea rcx, [rsp + 0x68]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp - 0x18], r14
mov rax, qword [0x1800d8168]
mov qword [rbp - 0x24], rax
mov qword [rbp - 0x30], r14
mov r8d, 3
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.1800446b0
test rax, rax
jne 0x1800466a7
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x50]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rdx, qword [rbp + 0x108]
cmp rdx, 0xf
jbe 0x1800466f2
inc rdx
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800466ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800466ed
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1800730f0
movdqa xmm0, xmmword [0x1800905c0]
movdqu xmmword [rbp + 0x100], xmm0
mov byte [rbp + 0xf0], 0
lea rcx, [rbp + 0xb0]
call fcn.18000daf0
mov rsi, rax
cmp qword [rax + 0x18], 0xf
jbe 0x180046722
mov rsi, qword [rax]
mov rbx, 0xffffffffffffffff
mov rdi, rbx
nop dword [rax]
inc rdi
cmp byte [rsi + rdi], 0
jne 0x180046730
call fcn.180072b28
mov qword [rbp + 0x90], rsi
mov qword [rbp + 0x98], rdi
lea r8, [rbp + 0x90]
mov edx, eax
lea rcx, [rbp + 0x70]
call fcn.180041d50
nop
lea rcx, [rbp + 0x70]
call fcn.180042c80
movzx edi, al
mov rdx, qword [rbp + 0x88]
cmp rdx, 7
jbe 0x1800467b1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800467ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800467ac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800730f0
movdqa xmm0, xmmword [0x1800905a0]
movdqu xmmword [rbp + 0x80], xmm0
mov word [rbp + 0x70], r14w
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0xf
jbe 0x18004680a
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180046805
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180046805
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800730f0
test dil, dil
jne 0x180046923
lea rcx, [rbp + 0xb0]
call fcn.18000daf0
mov rdi, rax
cmp qword [rax + 0x18], 0xf
jbe 0x180046830
mov rdi, qword [rax]
nop dword [rax]
inc rbx
cmp byte [rdi + rbx], 0
jne 0x180046830
call fcn.180072b28
mov qword [rbp + 0x90], rdi
mov qword [rbp + 0x98], rbx
lea r8, [rbp + 0x90]
mov edx, eax
lea rcx, [rbp + 0x70]
call fcn.180041d50
nop
lea rcx, [rbp + 0x70]
cmp qword [rbp + 0x88], 7
cmova rcx, qword [rbp + 0x70]
call fcn.180072c64
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x180046d89
mov rdx, qword [rbp + 0x88]
cmp rdx, 7
jbe 0x1800468ca
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800468c5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800468c5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800730f0
movdqa xmm0, xmmword [0x1800905a0]
movdqu xmmword [rbp + 0x80], xmm0
mov word [rbp + 0x70], r14w
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0xf
jbe 0x180046923
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004691e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004691e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800730f0
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
movdqa xmm1, xmmword [0x1800905d0]
movdqu xmmword [rbp + 0x80], xmm1
mov word [rbp + 0x70], 0x5c
lea rcx, [rbp + 0xb0]
call fcn.18000daf0
nop
lea r9, [rbp + 0x70]
mov r8, rax
lea rcx, [rbp + 0xf0]
call fcn.1800456a0
nop
lea rdi, [0x1800c1238]
mov rdx, rdi
cmp qword [0x1800c1250], 0xf
cmova rdx, qword [0x1800c1238]
mov r8, qword [0x1800c1248]
lea rcx, [rbp + 0xf0]
call fcn.180001f50
xorps xmm0, xmm0
movups xmmword [rbp + 0xd0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xe0], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xd0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xe0], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp + 0x108]
cmp rdx, 0xf
jbe 0x180046a0b
inc rdx
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180046a06
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180046a06
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800730f0
movdqa xmm0, xmmword [0x1800905c0]
movdqu xmmword [rbp + 0x100], xmm0
mov byte [rbp + 0xf0], 0
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0xf
jbe 0x180046a66
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180046a61
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180046a61
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800730f0
movdqa xmm0, xmmword [0x1800905c0]
movdqu xmmword [rbp + 0xc0], xmm0
mov byte [rbp + 0xb0], 0
mov rdx, qword [rbp + 0x88]
cmp rdx, 0xf
jbe 0x180046abe
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180046ab9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180046ab9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800730f0
lea r8, [rbp + 0xd0]
cmp qword [rbp + 0xe8], 0xf
cmova r8, qword [rbp + 0xd0]
mov qword [rsp + 0x20], r14
xor r9d, r9d
lea rdx, str.https:__cdn.discordapp.com_attachments_1173360112765767831_1248330433695973477_MH_BAse_.ytd_ex666345d0is6661f450hm6d9cc9caf8ad08e73180248bc3dd6e74b36c61faa5b35de517d312bbf1677a58
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
mov rbx, qword [0x1800c1290]
lea rcx, [rbp + 0x90]
call fcn.18006ee70
mov rcx, qword [rax]
mov qword [rbx], rcx
mov rbx, qword [0x1800c1290]
lea rcx, [rbp + 0x110]
call fcn.18000daf0
nop
mov r8d, 1
lea rdx, [0x180078cc4]
mov rcx, rax
call fcn.180001f50
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xa0], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x90], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xa0], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
cmp qword [0x1800c1250], 0xf
cmova rdi, qword [0x1800c1238]
mov r8, qword [0x1800c1248]
mov rdx, rdi
lea rcx, [rbp + 0x90]
call fcn.180001f50
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x80], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x80], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rbp + 0x70]
mov rcx, rbx
call fcn.18006f050
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 0xf
jbe 0x180046c0e
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180046c09
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180046c09
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800730f0
movdqa xmm0, xmmword [0x1800905c0]
movdqu xmmword [rbp + 0x80], xmm0
mov byte [rbp + 0x70], 0
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0xf
jbe 0x180046c66
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180046c61
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180046c61
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800730f0
movdqa xmm0, xmmword [0x1800905c0]
movdqu xmmword [rbp + 0xa0], xmm0
mov byte [rbp + 0x90], 0
mov rdx, qword [rbp + 0x128]
cmp rdx, 0xf
jbe 0x180046cc2
inc rdx
mov rcx, qword [rbp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180046cbc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180046cbc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800730f0
nop
mov rdx, qword [rbp + 0xe8]
cmp rdx, 0xf
jbe 0x180046d06
inc rdx
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180046d01
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180046d01
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800730f0
movdqa xmm0, xmmword [0x1800905c0]
movdqu xmmword [rbp + 0xe0], xmm0
mov byte [rbp + 0xd0], 0
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x50], r15
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb8]
mov dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x68]
call fcn.180044270
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.1800730d0
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
shr rdx, 0x20
lea r8, [rbp + 0x70]
call fcn.180042bb0
nop
call fcn.180001880
int3