Function at 0x180058060
Capabilities:
Download url
Query environment variable
Receive data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0xe0
mov rax, qword [0x1801be118]
xor rax, rsp
mov qword [rsp + 0xd8], rax
mov r15, rcx
mov qword [rsp + 0x70], rcx
xor r12d, r12d
mov qword [rsp + 0x40], rcx
mov dword [rcx], r12d
mov qword [rcx + 8], r12
mov qword [rcx + 0x10], r12
lea ecx, [r12 + 0x38]
call fcn.180132468
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [r15 + 8], rax
lea rcx, [r15 + 0x18]
mov qword [rcx], r12
mov qword [rcx + 8], r12
mov qword [rcx + 0x10], r12
mov qword [r15 + 0x30], 7
mov qword [r15 + 0x38], 8
mov dword [r15], 0x3f800000
mov r8, qword [r15 + 8]
lea edx, [r12 + 0x10]
call fcn.18001b440
nop
lea r14, [r15 + 0x40]
xor edx, edx
mov r8d, 0x400
mov rcx, r14
call sub.VCRUNTIME140.dll_memset
lea rcx, [0x18015afe0]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov r9, rax
lea r8, str._sUnisonTranslations_
mov edx, 0x3ff
mov rcx, r14
call fcn.18000c060
nop
mov rsi, 0xffffffffffffffff
mov rbx, rsi
inc rbx
cmp byte [r14 + rbx], 0
jne 0x180058136
call fcn.1800f18d0
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], rbx
lea r8, [rsp + 0x40]
mov edx, eax
lea rcx, [rsp + 0x50]
call fcn.180056460
nop
lea rcx, [rsp + 0x50]
call fcn.180057be0
movzx ebx, al
lea rcx, [rsp + 0x50]
call fcn.180057d00
test bl, bl
jne 0x1800581da
mov rbx, rsi
nop
inc rbx
cmp byte [r14 + rbx], 0
jne 0x180058180
call fcn.1800f18d0
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], rbx
lea r8, [rsp + 0x40]
mov edx, eax
lea rcx, [rsp + 0x50]
call fcn.180056460
nop
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
call fcn.1800f1b30
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x180058566
lea rcx, [rsp + 0x50]
call fcn.180057d00
lea rcx, [0x18015afe0]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rsp + 0x88], r12
mov qword [rsp + 0x90], r12
mov r8, rsi
inc r8
cmp byte [rax + r8], 0
jne 0x180058202
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.18000f8c0
nop
mov r8d, reloc.WS2_32.dll_sendto
lea rdx, str.UnisonGTATextures_
lea rcx, [rsp + 0x78]
call fcn.18000fcf0
mov rdi, qword [rsp + 0x88]
lea rbx, [rsp + 0x78]
cmp qword [rsp + 0x90], 0x10
cmovae rbx, qword [rsp + 0x78]
call fcn.1800f18d0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rdi
lea r8, [rsp + 0x40]
mov edx, eax
lea rcx, [rsp + 0x50]
call fcn.180056460
nop
lea rcx, [rsp + 0x50]
call fcn.180057be0
movzx ebx, al
lea rcx, [rsp + 0x50]
call fcn.180057d00
test bl, bl
jne 0x1800582f5
mov rdi, qword [rsp + 0x88]
lea rbx, [rsp + 0x78]
cmp qword [rsp + 0x90], 0x10
cmovae rbx, qword [rsp + 0x78]
call fcn.1800f18d0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rdi
lea r8, [rsp + 0x40]
mov edx, eax
lea rcx, [rsp + 0x50]
call fcn.180056460
nop
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
call fcn.1800f1b30
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x18005857c
lea rcx, [rsp + 0x50]
call fcn.180057d00
mov r8d, 6
lea rdx, str.VX.ytd
lea rcx, [rsp + 0x78]
call fcn.18000fcf0
lea r8, [rsp + 0x78]
cmp qword [rsp + 0x90], 0x10
cmovae r8, qword [rsp + 0x78]
mov qword [rsp + 0x20], r12
xor r9d, r9d
lea rdx, str.https:__cdn.discordapp.com_attachments_1153369121770176703_1160327203893039254_VX.ytd_ex653441ebis6521ccebhm3df5891d6e3c1680ffb24edd85883b9053cb66b00328f8c4b8ee68dce69d093d
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x98], xmm0
mov qword [rsp + 0xa8], r12
mov qword [rsp + 0xb0], r12
inc rsi
cmp byte [r14 + rsi], 0
jne 0x180058352
mov r8, rsi
mov rdx, r14
lea rcx, [rsp + 0x98]
call fcn.18000f8c0
nop
movabs rbx, 0x7fffffffffffffff
mov rax, rbx
mov rcx, qword [rsp + 0xa8]
sub rax, rcx
cmp rax, 0xd
jb 0x180058592
lea r9, [rsp + 0x98]
cmp qword [rsp + 0xb0], 0x10
cmovae r9, qword [rsp + 0x98]
mov qword [rsp + 0x30], reloc.WS2_32.dll_listen
lea rax, str.Chinese2.json
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0xb8]
call fcn.18000d570
nop
lea r8, [rsp + 0xb8]
cmp qword [rsp + 0xd0], 0x10
cmovae r8, qword [rsp + 0xb8]
mov qword [rsp + 0x20], r12
xor r9d, r9d
lea rdx, str.https:__papayahosting.com_downloads_thunder_Chinese2.json
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
mov rax, qword [rsp + 0xa8]
sub rbx, rax
cmp rbx, 0xc
jb 0x180058598
lea r9, [rsp + 0x98]
cmp qword [rsp + 0xb0], 0x10
cmovae r9, qword [rsp + 0x98]
mov qword [rsp + 0x30], ntohl
lea rcx, str.English.json
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x50]
call fcn.18000d570
mov rdx, qword [rsp + 0xd0]
cmp rdx, 0x10
jb 0x18005849e
inc rdx
mov rcx, qword [rsp + 0xb8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180058499
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180058499
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180132460
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rsp + 0xb8], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rsp + 0xc8], xmm1
movdqa xmm0, xmmword [0x180185130]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
lea rcx, [rsp + 0x50]
call fcn.18000fd70
lea r8, [rsp + 0xb8]
cmp qword [rsp + 0xd0], 0x10
cmovae r8, qword [rsp + 0xb8]
mov qword [rsp + 0x20], r12
xor r9d, r9d
lea rdx, str.https:__papayahosting.com_downloads_thunder_English.json
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
nop
lea rcx, [rsp + 0xb8]
call fcn.18000fd70
nop
lea rcx, [rsp + 0x98]
call fcn.18000fd70
nop
lea rcx, [rsp + 0x78]
call fcn.18000fd70
nop
jmp 0x180058535
mov rax, r15
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.1801320c0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
shr rdx, 0x20
lea r8, [rsp + 0x50]
lea rcx, str.create_directory
call fcn.180056cd0
nop
shr rdx, 0x20
lea r8, [rsp + 0x50]
lea rcx, str.create_directory
call fcn.180056cd0
nop
call fcn.18000fa10
nop
call fcn.18000fa10
int3