Function at 0x180044a00
Capabilities:
Download url
Receive data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov rax, qword [0x18009f3c0]
xor rax, rsp
mov qword [rbp + 0x120], rax
xor r12d, r12d
mov dword [rsp + 0x30], r12d
lea r8d, [r12 + 8]
lea rdx, str.MH_BAse_
lea r14, [0x1800ba1b8]
mov rcx, r14
call fcn.18000cd10
mov rsi, qword [0x1800ba1c8]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, rsi
cmp rax, 4
jb 0x180045382
cmp qword [0x1800ba1d0], 0x10
cmovae r14, qword [0x1800ba1b8]
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
lea r15, [rsi + 4]
mov ebx, 0xf
lea rdi, [rbp + 0x60]
cmp r15, rbx
jbe 0x180044b20
mov rbx, r15
or rbx, 0xf
cmp rbx, rcx
jbe 0x180044ae2
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1800687b8
test rax, rax
je 0x180044cf1
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x180044b1c
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x180044b0a
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x18004537c
jmp 0x180044ac3
test rcx, rcx
je 0x180044b19
call fcn.1800687b8
mov rdi, rax
jmp 0x180044b1c
mov rdi, r12
mov qword [rbp + 0x60], rdi
mov qword [rbp + 0x70], r15
mov qword [rbp + 0x78], rbx
mov r8, rsi
mov rdx, r14
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov dword [rdi + rsi], 0x6474792e
mov byte [rdi + r15], r12b
mov rdx, qword [0x1800ba210]
cmp rdx, 0x10
jb 0x180044b82
mov rcx, qword [0x1800ba1f8]
inc rdx
cmp rdx, 0x1000
jb 0x180044b7d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180044cf1
mov rcx, r8
call fcn.1800687b0
movups xmm0, xmmword [rbp + 0x60]
movups xmmword [0x1800ba1f8], xmm0
movups xmm1, xmmword [rbp + 0x70]
movups xmmword [0x1800ba208], xmm1
mov r8d, 0xe
lea rdx, str.MH_Base_TxName
lea rcx, [0x1800ba1d8]
call fcn.18000cd10
lea rcx, [rbp + 0xc0]
call fcn.18000c3b0
mov rbx, rax
cmp qword [rax + 0x18], 0x10
jb 0x180044bca
mov rbx, qword [rax]
lea rax, [0x18008a208]
mov qword [rsp + 0x40], rax
lea rax, [0x180083f90]
mov qword [rsp + 0x50], 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 + 0x30], 3
xor r8d, r8d
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x40]
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 + 0x40]
movsxd rcx, dword [rax + 4]
lea r14, vtable.std::basic_fstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x40], r14
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb8]
mov dword [rsp + rcx + 0x3c], edx
lea rax, [rsp + 0x58]
mov qword [rbp + 0x80], rax
lea rcx, [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rsp + 0x58], rax
mov byte [rbp - 0x2c], 0
mov byte [rbp - 0x37], 0
lea rcx, [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp - 0x28], r12
mov rax, qword [0x1800c9418]
mov qword [rbp - 0x34], rax
mov qword [rbp - 0x40], r12
mov r8d, 3
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.180042c20
test rax, rax
jne 0x180044cb2
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x40]
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 + 0xd8]
cmp rdx, 0x10
jb 0x180044cfd
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180044cf8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180044cf8
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.1800687b0
movdqa xmm0, xmmword [0x18008b0a0]
movdqu xmmword [rbp + 0xd0], xmm0
mov byte [rbp + 0xc0], 0
lea rcx, [rbp + 0xe0]
call fcn.18000c3b0
mov rsi, rax
cmp qword [rax + 0x18], 0x10
jb 0x180044d2d
mov rsi, qword [rax]
mov rbx, 0xffffffffffffffff
mov rdi, rbx
inc rdi
cmp byte [rsi + rdi], 0
jne 0x180044d37
call fcn.1800681e0
mov qword [rbp + 0x80], rsi
mov qword [rbp + 0x88], rdi
lea r8, [rbp + 0x80]
mov edx, eax
lea rcx, [rbp + 0x60]
call fcn.180040320
nop
lea rcx, [rbp + 0x60]
call fcn.180041230
test al, al
sete dil
mov rdx, qword [rbp + 0x78]
cmp rdx, 8
jb 0x180044db8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180044db3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180044db3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800687b0
movdqa xmm0, xmmword [0x18008b080]
movdqu xmmword [rbp + 0x70], xmm0
mov word [rbp + 0x60], r12w
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0x10
jb 0x180044e0e
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180044e09
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180044e09
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800687b0
test dil, dil
je 0x180044f17
lea rcx, [rbp + 0xe0]
call fcn.18000c3b0
mov rdi, rax
cmp qword [rax + 0x18], 0x10
jb 0x180044e30
mov rdi, qword [rax]
inc rbx
cmp byte [rdi + rbx], 0
jne 0x180044e30
call fcn.1800681e0
mov qword [rbp + 0x80], rdi
mov qword [rbp + 0x88], rbx
lea r8, [rbp + 0x80]
mov edx, eax
lea rcx, [rbp + 0x60]
call fcn.180040320
nop
lea rcx, [rbp + 0x60]
cmp qword [rbp + 0x78], 8
cmovae rcx, qword [rbp + 0x60]
call fcn.18006831c
shr rax, 0x20
test eax, eax
jne 0x180045370
mov rdx, qword [rbp + 0x78]
cmp rdx, 8
jb 0x180044ec1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180044ebc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180044ebc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800687b0
movdqa xmm0, xmmword [0x18008b080]
movdqu xmmword [rbp + 0x70], xmm0
mov word [rbp + 0x60], r12w
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0x10
jb 0x180044f17
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180044f12
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180044f12
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800687b0
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], 1
mov qword [rbp + 0x78], 0xf
mov byte [rbp + 0x60], 0x5c
lea rcx, [rbp + 0xe0]
call fcn.18000c3b0
nop
lea r9, [rbp + 0x60]
mov r8, rax
lea rcx, [rbp + 0xc0]
call fcn.180043c00
nop
lea rdi, [0x1800ba1f8]
mov rdx, rdi
cmp qword [0x1800ba210], 0x10
cmovae rdx, qword [0x1800ba1f8]
mov r8, qword [0x1800ba208]
lea rcx, [rbp + 0xc0]
call fcn.180007750
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xb0], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xa0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xb0], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0x10
jb 0x180044ffd
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180044ff8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180044ff8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800687b0
movdqa xmm0, xmmword [0x18008b0a0]
movdqu xmmword [rbp + 0xd0], xmm0
mov byte [rbp + 0xc0], 0
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0x10
jb 0x180045058
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180045053
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180045053
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800687b0
movdqa xmm0, xmmword [0x18008b0a0]
movdqu xmmword [rbp + 0xf0], xmm0
mov byte [rbp + 0xe0], 0
mov rdx, qword [rbp + 0x78]
cmp rdx, 0x10
jb 0x1800450ad
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800450a8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800450a8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800687b0
lea r8, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 0x10
cmovae r8, qword [rbp + 0xa0]
mov qword [rsp + 0x20], r12
xor r9d, r9d
lea rdx, str.https:__cdn.discordapp.com_attachments_1140535434603151380_1165167175846350909_MH_BAse_.ytd
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
mov rbx, qword [0x1800ba250]
lea rcx, [rbp + 0x80]
call fcn.180064540
mov rcx, qword [rax]
mov qword [rbx], rcx
mov rbx, qword [0x1800ba250]
lea rcx, [rbp + 0x100]
call fcn.18000c3b0
nop
mov r8d, 1
lea rdx, [0x180070db0]
mov rcx, rax
call fcn.180007750
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x90], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x90], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
cmp qword [0x1800ba210], 0x10
cmovae rdi, qword [0x1800ba1f8]
mov r8, qword [0x1800ba208]
mov rdx, rdi
lea rcx, [rbp + 0x80]
call fcn.180007750
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x70], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x70], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rbp + 0x60]
mov rcx, rbx
call fcn.180064720
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 0x10
jb 0x1800451f4
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800451ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800451ef
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800687b0
movdqa xmm0, xmmword [0x18008b0a0]
movdqu xmmword [rbp + 0x70], xmm0
mov byte [rbp + 0x60], 0
mov rdx, qword [rbp + 0x98]
cmp rdx, 0x10
jb 0x180045249
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180045244
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180045244
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800687b0
movdqa xmm0, xmmword [0x18008b0a0]
movdqu xmmword [rbp + 0x90], xmm0
mov byte [rbp + 0x80], 0
mov rdx, qword [rbp + 0x118]
cmp rdx, 0x10
jb 0x1800452a5
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004529f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004529f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800687b0
nop
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0x10
jb 0x1800452e9
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800452e4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800452e4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800687b0
movdqa xmm0, xmmword [0x18008b0a0]
movdqu xmmword [rbp + 0xb0], xmm0
mov byte [rbp + 0xa0], 0
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x40], r14
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb8]
mov dword [rsp + rcx + 0x3c], edx
lea rcx, [rsp + 0x58]
call fcn.1800427e0
lea rcx, [rsp + 0x60]
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 + 0x120]
xor rcx, rsp
call fcn.180068790
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
lea r8, [rbp + 0x60]
mov edx, eax
call fcn.180041160
nop
call fcn.180006d10
int3
call fcn.180006db0
int3