Function at 0x18003d330
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 [0x1800693c0]
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, [0x180082cf0]
mov rcx, r14
call fcn.1800047e0
mov rsi, qword [0x180082d00]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, rsi
cmp rax, 4
jb 0x18003dcbf
cmp qword [0x180082d08], 0xf
cmova r14, qword [0x180082cf0]
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
lea r15, [rsi + 4]
mov ebx, 0xf
lea rdi, [rbp + 0x60]
cmp r15, rbx
jbe 0x18003d450
mov rbx, r15
or rbx, 0xf
cmp rbx, rcx
jbe 0x18003d412
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.18004e2e8
test rax, rax
je 0x18003d614
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x18003d44c
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x18003d43a
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x18003dcb9
jmp 0x18003d3f3
test rcx, rcx
je 0x18003d449
call fcn.18004e2e8
mov rdi, rax
jmp 0x18003d44c
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 [0x180082d48]
cmp rdx, 0xf
jbe 0x18003d4b2
mov rcx, qword [0x180082d30]
inc rdx
cmp rdx, 0x1000
jb 0x18003d4ad
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18003d614
mov rcx, r8
call fcn.18004e2e0
movups xmm0, xmmword [rbp + 0x60]
movups xmmword [0x180082d30], xmm0
movups xmm1, xmmword [rbp + 0x70]
movups xmmword [0x180082d40], xmm1
mov r8d, 0xe
lea rdx, str.MH_Base_TxName
lea rcx, [0x180082d10]
call fcn.1800047e0
lea rcx, [rbp + 0xc0]
call fcn.180003ce0
mov rbx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x18003d4fa
mov rbx, qword [rax]
lea rax, [0x18005b520]
mov qword [rsp + 0x40], rax
lea rax, [0x18005a7c0]
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 rcx, [rsp + 0x58]
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 + 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 [0x180088aa0]
mov qword [rbp - 0x34], rax
mov qword [rbp - 0x40], r12
mov r8d, 3
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.18003b740
test rax, rax
jne 0x18003d5d5
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, 0xf
jbe 0x18003d620
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003d61b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003d61b
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.18004e2e0
movdqa xmm0, xmmword [0x18005c520]
movdqu xmmword [rbp + 0xd0], xmm0
mov byte [rbp + 0xc0], 0
lea rcx, [rbp + 0xe0]
call fcn.180003ce0
mov rsi, rax
cmp qword [rax + 0x18], 0xf
jbe 0x18003d650
mov rsi, qword [rax]
mov rbx, 0xffffffffffffffff
mov rdi, rbx
nop word [rax + rax]
inc rdi
cmp byte [rsi + rdi], 0
jne 0x18003d660
call fcn.18004dd18
mov qword [rbp + 0x80], rsi
mov qword [rbp + 0x88], rdi
lea r8, [rbp + 0x80]
mov edx, eax
lea rcx, [rbp + 0x60]
call fcn.180038de0
nop
lea rcx, [rbp + 0x60]
call fcn.180039d10
movzx edi, al
mov rdx, qword [rbp + 0x78]
cmp rdx, 7
jbe 0x18003d6de
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003d6d9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003d6d9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004e2e0
movdqa xmm0, xmmword [0x18005c500]
movdqu xmmword [rbp + 0x70], xmm0
mov word [rbp + 0x60], r12w
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0xf
jbe 0x18003d734
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003d72f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003d72f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004e2e0
test dil, dil
jne 0x18003d840
lea rcx, [rbp + 0xe0]
call fcn.180003ce0
mov rdi, rax
cmp qword [rax + 0x18], 0xf
jbe 0x18003d756
mov rdi, qword [rax]
inc rbx
cmp byte [rdi + rbx], 0
jne 0x18003d756
call fcn.18004dd18
mov qword [rbp + 0x80], rdi
mov qword [rbp + 0x88], rbx
lea r8, [rbp + 0x80]
mov edx, eax
lea rcx, [rbp + 0x60]
call fcn.180038de0
nop
lea rcx, [rbp + 0x60]
cmp qword [rbp + 0x78], 7
cmova rcx, qword [rbp + 0x60]
call fcn.18004de54
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x18003dcab
mov rdx, qword [rbp + 0x78]
cmp rdx, 7
jbe 0x18003d7ea
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003d7e5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003d7e5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004e2e0
movdqa xmm0, xmmword [0x18005c500]
movdqu xmmword [rbp + 0x70], xmm0
mov word [rbp + 0x60], r12w
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0xf
jbe 0x18003d840
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003d83b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003d83b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004e2e0
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
movdqa xmm1, xmmword [0x18005c530]
movdqu xmmword [rbp + 0x70], xmm1
mov word [rbp + 0x60], 0x5c
lea rcx, [rbp + 0xe0]
call fcn.180003ce0
nop
lea r9, [rbp + 0x60]
mov r8, rax
lea rcx, [rbp + 0xc0]
call fcn.18003c730
nop
lea rdi, [0x180082d30]
mov rdx, rdi
cmp qword [0x180082d48], 0xf
cmova rdx, qword [0x180082d30]
mov r8, qword [0x180082d40]
lea rcx, [rbp + 0xc0]
call fcn.180001f50
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, 0xf
jbe 0x18003d925
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003d920
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003d920
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004e2e0
movdqa xmm0, xmmword [0x18005c520]
movdqu xmmword [rbp + 0xd0], xmm0
mov byte [rbp + 0xc0], 0
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0xf
jbe 0x18003d980
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003d97b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003d97b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004e2e0
movdqa xmm0, xmmword [0x18005c520]
movdqu xmmword [rbp + 0xf0], xmm0
mov byte [rbp + 0xe0], 0
mov rdx, qword [rbp + 0x78]
cmp rdx, 0xf
jbe 0x18003d9d5
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003d9d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003d9d0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004e2e0
lea r8, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 0xf
cmova r8, qword [rbp + 0xa0]
mov qword [rsp + 0x20], r12
xor r9d, r9d
lea rdx, str.https:__cdn.discordapp.com_attachments_970146645662638080_970146689778343986_MH_BAse_.ytd
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
mov rbx, qword [0x180082db0]
lea rcx, [rbp + 0x80]
call fcn.18004a050
mov rcx, qword [rax]
mov qword [rbx], rcx
mov rbx, qword [0x180082db0]
lea rcx, [rbp + 0x100]
call fcn.180003ce0
nop
mov r8d, 1
lea rdx, [0x180053cb0]
mov rcx, rax
call fcn.180001f50
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 [0x180082d48], 0xf
cmova rdi, qword [0x180082d30]
mov r8, qword [0x180082d40]
mov rdx, rdi
lea rcx, [rbp + 0x80]
call fcn.180001f50
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.18004a230
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 0xf
jbe 0x18003db1c
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003db17
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003db17
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004e2e0
movdqa xmm0, xmmword [0x18005c520]
movdqu xmmword [rbp + 0x70], xmm0
mov byte [rbp + 0x60], 0
mov rdx, qword [rbp + 0x98]
cmp rdx, 0xf
jbe 0x18003db71
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003db6c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003db6c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004e2e0
movdqa xmm0, xmmword [0x18005c520]
movdqu xmmword [rbp + 0x90], xmm0
mov byte [rbp + 0x80], 0
mov rdx, qword [rbp + 0x118]
cmp rdx, 0xf
jbe 0x18003dbcc
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003dbc7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003dbc7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004e2e0
lea rdx, str.gLoaded___nOpen_Menu:_F5
lea rcx, [0x180053ca0]
call fcn.180003a00
nop
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0xf
jbe 0x18003dc24
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003dc1f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003dc1f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004e2e0
movdqa xmm0, xmmword [0x18005c520]
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.18003b300
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.18004e2c0
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
shr rdx, 0x20
lea r8, [rbp + 0x60]
call fcn.180039c40
nop
call fcn.1800017e0
int3
call fcn.180001880
int3