Function at 0x180042ee0
Capabilities:
Download url
Receive data

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x158]
sub rsp, 0x240
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x180085140]
xor rax, rsp
mov qword [rbp + 0x120], rax
xor r12d, r12d
mov r8d, 8
lea rdx, str.MH_BAse_
lea rsi, [0x180085048]
mov rcx, rsi
call fcn.180009ab0
mov r14, qword [0x180085058]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r14
cmp rax, 4
jb 0x180043866
cmp qword [0x180085060], 0xf
cmova rsi, qword [0x180085048]
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
lea r15, [r14 + 4]
mov ebx, 0xf
lea rdi, [rbp + 0x60]
cmp r15, rbx
jbe 0x180042ffe
mov rbx, r15
or rbx, 0xf
cmp rbx, rcx
jbe 0x180042fc0
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.180046340
test rax, rax
je 0x180043065
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x180042ffa
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x180042fda
mov rdi, r12
jmp 0x180042ffa
cmp rcx, 0x1000
jb 0x180042ff2
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180043848
jmp 0x180042fa1
call fcn.180046340
mov rdi, rax
mov qword [rbp + 0x60], rdi
mov qword [rbp + 0x70], r15
mov qword [rbp + 0x78], rbx
mov r8, r14
mov rdx, rsi
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov dword [rdi + r14], 0x6474792e
mov byte [rdi + r15], r12b
lea rdx, [rbp + 0x60]
lea rsi, [0x180085028]
mov rcx, rsi
call fcn.180018420
mov rdx, qword [rbp + 0x78]
cmp rdx, 0xf
jbe 0x180043071
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004306c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004306c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004637c
mov r8d, 0xe
lea rdx, str.MH_Base_TxName
lea rcx, [0x180085068]
call fcn.180009ab0
mov r8d, 6
lea rdx, str.footer
lea rcx, [0x180085088]
call fcn.180009ab0
mov edi, 0xa
mov r8d, edi
lea rdx, str.submenubar
lea rcx, [0x1800850a8]
call fcn.180009ab0
mov r8d, 8
lea rdx, str.selected
lea rcx, [0x1800850c8]
call fcn.180009ab0
lea rcx, [rbp + 0xc0]
call fcn.180005790
nop
cmp qword [rax + 0x18], 0xf
jbe 0x1800430ee
mov rax, qword [rax]
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 3
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.180021eb0
nop
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0xf
jbe 0x180043154
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004314f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004314f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004637c
movdqa xmm6, xmmword [0x18004e310]
movdqu xmmword [rbp + 0xd0], xmm6
mov byte [rbp + 0xc0], 0
lea rcx, [rbp + 0xe0]
call fcn.180005790
mov rcx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x180043184
mov rcx, qword [rax]
mov qword [rbp + 0x80], rcx
mov rbx, 0xffffffffffffffff
mov rax, rbx
inc rax
cmp byte [rcx + rax], 0
jne 0x180043195
mov qword [rbp + 0x88], rax
call fcn.180045d70
movaps xmm0, xmmword [rbp + 0x80]
movdqa xmmword [rbp + 0x80], xmm0
lea r8, [rbp + 0x80]
mov edx, eax
lea rcx, [rbp + 0x60]
call fcn.180013f50
nop
lea rcx, [rbp + 0x60]
cmp qword [rbp + 0x78], 7
cmova rcx, qword [rbp + 0x60]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp + 0x100]
call fcn.180045f24
mov r8d, eax
test eax, eax
jne 0x180043247
mov edx, dword [rbp + 0x110]
test dl, 1
mov ecx, 0x1ff
mov eax, 0x16d
cmovne ecx, eax
mov dword [rbp + 0x84], ecx
mov ecx, edx
shr ecx, 0xa
test cl, 1
je 0x18004323a
mov eax, dword [rbp + 0x114]
cmp eax, 0xa000000c
jne 0x180043233
mov edi, 4
jmp 0x18004326d
cmp eax, 0xa0000003
je 0x18004326d
shr edx, 4
and edx, 1
or edx, 2
mov edi, edx
jmp 0x18004326d
mov dword [rbp + 0x84], 0xffff
sub eax, 2
je 0x180043268
sub eax, 1
je 0x180043268
sub eax, 0x32
je 0x180043268
cmp eax, 0x46
mov edi, r12d
jne 0x18004326d
mov edi, 1
mov dword [rbp + 0x80], r8d
lea rax, [0x180083808]
mov qword [rbp + 0x88], rax
movaps xmm0, xmmword [rbp + 0x80]
movdqa xmmword [rbp + 0x80], xmm0
test edi, edi
je 0x1800432e5
cmp edi, 1
sete dil
lea rcx, [rbp + 0x60]
call fcn.180011360
nop
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0xf
jbe 0x1800432f8
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800432f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800432f3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov dil, 1
test r8d, r8d
jne 0x18004384e
jmp 0x18004329c
call fcn.18004637c
test dil, dil
je 0x1800433c7
lea rcx, [rbp + 0xe0]
call fcn.180005790
nop
cmp qword [rax + 0x18], 0xf
jbe 0x180043318
mov rax, qword [rax]
mov qword [rbp + 0x80], rax
nop
inc rbx
cmp byte [rax + rbx], 0
jne 0x180043320
mov qword [rbp + 0x88], rbx
call fcn.180045d70
movaps xmm0, xmmword [rbp + 0x80]
movdqa xmmword [rbp + 0x80], xmm0
lea r8, [rbp + 0x80]
mov edx, eax
lea rcx, [rbp + 0x60]
call fcn.180013f50
nop
lea rcx, [rbp + 0x60]
cmp qword [rbp + 0x78], 7
cmova rcx, qword [rbp + 0x60]
call fcn.180045eac
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x180043833
lea rcx, [rbp + 0x60]
call fcn.180011360
nop
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0xf
jbe 0x1800433c7
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800433c2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800433c2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004637c
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
movdqa xmm1, xmmword [0x180057ec0]
movdqu xmmword [rbp + 0x70], xmm1
mov word [rbp + 0x60], 0x5c
lea rcx, [rbp + 0x100]
call fcn.180005790
nop
lea r9, [rbp + 0x60]
mov r8, rax
movzx edx, byte [rsp + 0x30]
lea rcx, [rbp + 0xc0]
call fcn.180010850
nop
mov rdx, rsi
cmp qword [0x180085040], 0xf
cmova rdx, qword [0x180085028]
mov r8, qword [0x180085038]
lea rcx, [rbp + 0xc0]
call fcn.1800144d0
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 0x1800434aa
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800434a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800434a5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004637c
movdqu xmmword [rbp + 0xd0], xmm6
mov byte [rbp + 0xc0], 0
mov rdx, qword [rbp + 0x118]
cmp rdx, 0xf
jbe 0x1800434fd
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800434f8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800434f8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004637c
movdqu xmmword [rbp + 0x110], xmm6
mov byte [rbp + 0x100], 0
mov rdx, qword [rbp + 0x78]
cmp rdx, 0xf
jbe 0x18004354a
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180043545
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180043545
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004637c
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_1181246120186363934_1256232576461312060_MH_BAse_.ytd_ex66800541is667eb3c1hm11a8e7316a864d12596623c3ca004b530b60e77c18b932fc349eea4a77dbcff6
xor ecx, ecx
call sub.urlmon.dll_URLDownloadToFileA
mov rcx, qword [0x1800835f0]
call fcn.1800459e0
mov rbx, qword [0x1800835f0]
lea rcx, [rbp + 0xe0]
call fcn.180005790
mov rcx, rax
mov rdx, qword [rax + 0x10]
mov r8, qword [rax + 0x18]
mov rax, r8
sub rax, rdx
cmp rax, 1
jb 0x1800435c9
lea rax, [rdx + 1]
mov qword [rcx + 0x10], rax
mov rax, rcx
cmp r8, 0xf
jbe 0x1800435c1
mov rax, qword [rcx]
mov word [rax + rdx], 0x5c
jmp 0x1800435e9
mov qword [rsp + 0x20], 1
lea r9, [0x18004f230]
xor r8d, r8d
mov edx, 1
call fcn.18000fd50
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x70], xmm1
movups xmm0, xmmword [rcx]
movups xmmword [rbp + 0x60], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rbp + 0x70], xmm1
mov qword [rcx + 0x10], r12
mov qword [rcx + 0x18], 0xf
mov byte [rcx], 0
mov rdx, rsi
cmp qword [0x180085040], 0xf
cmova rdx, qword [0x180085028]
mov r8, qword [0x180085038]
lea rcx, [rbp + 0x60]
call fcn.1800144d0
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
mov r8, rsi
lea rdx, [rbp + 0x80]
mov rcx, rbx
call fcn.180045a10
nop
mov rdx, qword [rbp + 0x98]
cmp rdx, 0xf
jbe 0x1800436c9
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800436c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800436c4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004637c
movdqu xmmword [rbp + 0x90], xmm6
mov byte [rbp + 0x80], 0
mov rdx, qword [rbp + 0x78]
cmp rdx, 0xf
jbe 0x180043716
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180043711
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180043711
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004637c
movdqu xmmword [rbp + 0x70], xmm6
mov byte [rbp + 0x60], 0
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0xf
jbe 0x180043764
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004375e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004375e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004637c
nop
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0xf
jbe 0x1800437a8
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800437a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800437a3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004637c
movdqu xmmword [rbp + 0xb0], xmm6
mov byte [rbp + 0xa0], 0
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_fstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x40], rax
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.180016df0
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.1800467b0
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
shr rdx, 0x20
lea r8, [rbp + 0x60]
lea rcx, str.create_directory
call fcn.180017e90
nop
call fcn.180003ec0
nop
lea r8, [rbp + 0x60]
lea rdx, [rbp + 0x80]
lea rcx, str.exists
call fcn.1800143d0
nop
call fcn.1800095e0
int3