Function at 0x140002530
Capabilities:
Check http status code
Create http request
Decode data using base64 via winapi
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x21e0]
mov eax, 0x22e0
call fcn.14003bc60
sub rsp, rax
mov rax, qword [0x140070040]
xor rax, rsp
mov qword [rbp + 0x21d0], rax
mov r15, rdx
mov rsi, rcx
mov qword [rsp + 0x60], rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
lea edx, [rbx + 1]
lea rcx, str.CarbonLauncher.WINDOWS64
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r12, rax
mov qword [rsp + 0x60], rax
test rax, rax
jne 0x140002603
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rax, str.InternetOpenA_failed_with_error_code:
add rdx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rdx + rbx], 0
jne 0x1400025c5
mov r8, rbx
lea rcx, [rsp + 0x40]
call fcn.1400051f0
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.140026030
mov qword [rsi], 0
mov qword [rsi + 8], 0
mov qword [rsi + 0x10], 0
jmp 0x140003304
mov rdx, r15
cmp qword [r15 + 0x18], 0xf
jbe 0x140002610
mov rdx, qword [r15]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x84000000
xor r9d, r9d
xor r8d, r8d
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r13, rax
test rax, rax
jne 0x14000279b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea r15, [0x140000000]
lea rdx, [r15 + 0x5cef0]
add rdx, rdi
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140002670
lea rcx, [rsp + 0x40]
call fcn.1400051f0
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.140026030
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
cmp edi, 0x2ee7
jne 0x1400026bd
xor r14d, r14d
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
lea r8d, [r14 + 0x26]
lea rdx, str.The_server_name_could_not_be_resolved.
jmp 0x14000276c
cmp edi, 0x2efd
jne 0x1400026e2
xor r14d, r14d
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
lea r8d, [r14 + 0x20]
lea rdx, str.Could_not_connect_to_the_server.
jmp 0x14000276c
cmp edi, 0x2ee2
jne 0x140002704
xor r14d, r14d
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
lea r8d, [r14 + 0x19]
lea rdx, str.The_connection_timed_out.
jmp 0x14000276c
cmp edi, 0x2ee5
jne 0x140002726
xor r14d, r14d
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
lea r8d, [r14 + 0x13]
lea rdx, str.The_URL_is_invalid.
jmp 0x14000276c
cmp edi, 0x2ee6
jne 0x140002748
xor r14d, r14d
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
lea r8d, [r14 + 0x27]
lea rdx, str.The_URL_scheme_could_not_be_recognized.
jmp 0x14000276c
lea rdx, [r15 + 0x5cfd0]
add rdx, rdi
xor r14d, r14d
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
nop
inc rbx
cmp byte [rdx + rbx], r14b
jne 0x140002760
mov r8, rbx
lea rcx, [rsp + 0x40]
call fcn.1400051f0
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.140026030
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov qword [rsi], r14
mov qword [rsi + 8], r14
mov qword [rsi + 0x10], r14
jmp 0x140003304
mov dword [rbp + 0x158], ebx
mov dword [rbp + 0x1a0], 4
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0x1a0]
lea r8, [rbp + 0x158]
mov edx, 0x20000013
mov rcx, r13
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
mov r8d, dword [rbp + 0x158]
mov r9d, 0xc8
cmp r8d, r9d
je 0x140002cec
lea r9, [rbp + 0x1c5]
nop dword [rax]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x1400027f0
lea r8, [rbp + 0x1c5]
mov rdx, r9
lea rcx, [rbp - 0x70]
call fcn.140005730
nop
mov r8, qword [rbp - 0x60]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
sub rax, r8
mov r12d, 0x21
lea r14, str.HTTP_error:_Received_status_code
cmp rax, r12
jb 0x1400028c7
lea rax, [r8 + 0x21]
mov qword [rbp - 0x60], rax
lea rbx, [rbp - 0x70]
cmp rcx, 0xf
cmova rbx, qword [rbp - 0x70]
lea rax, [0x14005cde9]
cmp rax, rbx
jbe 0x140002889
lea rax, [rbx + r8]
cmp r14, rax
ja 0x140002889
cmp rbx, r14
ja 0x140002881
xor edi, edi
jmp 0x14000288c
mov rdi, rbx
sub rdi, r14
jmp 0x14000288c
mov rdi, r12
inc r8
lea rcx, [rbx + 0x21]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, rdi
mov rdx, r14
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
sub r12, rdi
lea rdx, [r14 + 0x21]
add rdx, rdi
lea rcx, [rbx + rdi]
mov r8, r12
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp - 0x70]
xor ebx, ebx
jmp 0x1400028dd
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r14
mov rdx, r12
lea rcx, [rbp - 0x70]
call fcn.140005860
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x60], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x60], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 5
lea rdx, str._for
lea rcx, [rbp + 0x50]
call fcn.140004ab0
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x40], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x40], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8, qword [r15 + 0x10]
cmp qword [r15 + 0x18], 0xf
jbe 0x14000295b
mov r15, qword [r15]
mov rdx, r15
lea rcx, [rbp + 0x30]
call fcn.140004ab0
xorps xmm0, xmm0
movups xmmword [rbp + 0xf8], xmm0
mov qword [rbp + 0x108], rbx
mov qword [rbp + 0x110], rbx
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xf8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x108], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rbp + 0xf8]
call fcn.1400261b0
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x1400029ee
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400029e9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400029e9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003b170
movdqa xmm0, xmmword [0x1400656d0]
movdqu xmmword [rbp + 0x40], xmm0
mov byte [rbp + 0x30], 0
mov rdx, qword [rbp + 0x68]
cmp rdx, 0xf
jbe 0x140002a3d
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002a38
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002a38
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003b170
movdqa xmm0, xmmword [0x1400656d0]
movdqu xmmword [rbp + 0x60], xmm0
mov byte [rbp + 0x50], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x140002a8c
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002a87
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002a87
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003b170
xorps xmm0, xmm0
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
lea rcx, [rsp + 0x40]
movups xmmword [rsp + 0x40], xmm0
cmp dword [rbp + 0x158], 0x194
jne 0x140002abe
mov r8d, 0x34
lea rdx, str.The_requested_URL_was_not_found_on_the_server__404_.
jmp 0x140002b00
mov r8d, 0x1d
lea rdx, str.The_server_returned_an_error.
call fcn.1400051f0
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.140026030
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
mov r8d, 0x47
lea rdx, str.If_the_issue_persists__contact_support_at_https:__discord.gg_78k3GPc9NF
lea rcx, [rsp + 0x40]
call fcn.1400051f0
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.140026030
lea r9, [rbp + 0x1a8]
mov r8d, 0x1000
lea rdx, [rbp + 0x1d0]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140002cc8
mov eax, dword [rbp + 0x1a8]
cmp rax, 0x1000
jae 0x140003945
mov byte [rbp + rax + 0x1d0], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea rax, [rbp + 0x1d0]
mov rbx, 0xffffffffffffffff
nop
inc rbx
cmp byte [rax + rbx], 0
jne 0x140002b70
mov r8, rbx
lea rdx, [rbp + 0x1d0]
lea rcx, [rsp + 0x70]
call fcn.1400051f0
nop
mov r8, qword [rbp - 0x80]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
sub rax, r8
mov ebx, socket
lea r15, str.Recieved_response:
cmp rax, rbx
jb 0x140002c28
lea rax, [r8 + 0x13]
mov qword [rbp - 0x80], rax
lea rdi, [rsp + 0x70]
cmp rcx, 0xf
cmova rdi, qword [rsp + 0x70]
lea rax, [0x14005ceab]
cmp rax, rdi
jbe 0x140002beb
lea rax, [rdi + r8]
cmp r15, rax
ja 0x140002beb
cmp rdi, r15
ja 0x140002be3
xor r14d, r14d
jmp 0x140002bee
mov r14, rdi
sub r14, r15
jmp 0x140002bee
mov r14, rbx
inc r8
lea rcx, [rdi + 0x13]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memmove
mov r8, r14
mov rdx, r15
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
sub rbx, r14
lea rdx, [r15 + 0x13]
add rdx, r14
lea rcx, [rdi + r14]
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x70]
jmp 0x140002c3f
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r15
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.140005860
xorps xmm0, xmm0
movups xmmword [rbp + 0x118], xmm0
xor ebx, ebx
mov qword [rbp + 0x128], rbx
mov qword [rbp + 0x130], rbx
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x118], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x128], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], bl
lea rcx, [rbp + 0x118]
call fcn.1400261b0
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140002cc8
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002cc3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002cc3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003b170
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov qword [rsi], rbx
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], rbx
jmp 0x140003304
lea r10, [rbp + 0x1c5]
nop dword [rax]
nop word [rax + rax]
dec r10
mov eax, 0xcccccccd
mul r9d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r9b, cl
add r9b, 0x30
mov byte [r10], r9b
mov r9d, edx
test edx, edx
jne 0x140002d00
lea r8, [rbp + 0x1c5]
mov rdx, r10
lea rcx, [rbp - 0x50]
call fcn.140005730
nop
mov r8, qword [rbp - 0x40]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
sub rax, r8
mov r12d, socket
lea r14, str.Received_status_code
cmp rax, r12
jb 0x140002dd7
lea rax, [r8 + 0x15]
mov qword [rbp - 0x40], rax
lea rbx, [rbp - 0x50]
cmp rcx, 0xf
cmova rbx, qword [rbp - 0x50]
lea rax, [0x14005cec5]
cmp rax, rbx
jbe 0x140002d99
lea rax, [rbx + r8]
cmp r14, rax
ja 0x140002d99
cmp rbx, r14
ja 0x140002d91
xor edi, edi
jmp 0x140002d9c
mov rdi, rbx
sub rdi, r14
jmp 0x140002d9c
mov rdi, r12
inc r8
lea rcx, [rbx + 0x15]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, rdi
mov rdx, r14
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
sub r12, rdi
lea rdx, [r14 + 0x15]
add rdx, rdi
lea rcx, [rbx + rdi]
mov r8, r12
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp - 0x50]
xor ebx, ebx
jmp 0x140002ded
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r14
mov rdx, r12
lea rcx, [rbp - 0x50]
call fcn.140005860
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], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 5
lea rdx, str._for
lea rcx, [rbp + 0x90]
call fcn.140004ab0
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], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, r15
cmp qword [r15 + 0x18], 0xf
jbe 0x140002e7f
mov rdx, qword [r15]
mov r8, qword [r15 + 0x10]
lea rcx, [rbp + 0x70]
call fcn.140004ab0
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rax + 0x10]
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
psrldq xmm0, 8
movq rdx, xmm0
cmp rdx, 0xf
jbe 0x140002ee8
inc rdx
movq rcx, xmm1
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002ee2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002ee2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003b170
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 0xf
jbe 0x140002f29
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002f24
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002f24
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003b170
movdqa xmm0, xmmword [0x1400656d0]
movdqu xmmword [rbp + 0x80], xmm0
mov byte [rbp + 0x70], 0
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0xf
jbe 0x140002f81
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002f7c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002f7c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003b170
movdqa xmm0, xmmword [0x1400656d0]
movdqu xmmword [rbp + 0xa0], xmm0
mov byte [rbp + 0x90], 0
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x140002fd6
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002fd1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002fd1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003b170
xorps xmm0, xmm0
movups xmmword [rbp + 0x180], xmm0
mov qword [rbp + 0x190], rbx
mov qword [rbp + 0x198], socket
mov byte [rbp + 0x180], 0
lea r9, [rbp + 0x178]
mov r8d, 0x1000
lea rdx, [rbp + 0x11d0]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1400030c4
nop
mov eax, dword [rbp + 0x178]
test eax, eax
je 0x1400030c2
mov edi, eax
mov rcx, qword [rbp + 0x190]
mov rdx, qword [rbp + 0x198]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x140003082
lea rax, [rdi + rcx]
mov qword [rbp + 0x190], rax
lea rbx, [rbp + 0x180]
cmp rdx, 0xf
cmova rbx, qword [rbp + 0x180]
add rbx, rcx
mov r8d, edi
lea rdx, [rbp + 0x11d0]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x14000309d
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x11d0]
mov rdx, rdi
lea rcx, [rbp + 0x180]
call fcn.140005060
lea r9, [rbp + 0x178]
mov r8d, 0x1000
lea rdx, [rbp + 0x11d0]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140003020
xor ebx, ebx
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [rbp + 0x15c], ebx
lea rcx, [rbp + 0x180]
cmp qword [rbp + 0x198], 0xf
cmova rcx, qword [rbp + 0x180]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x15c]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [r9 + 1]
mov edx, dword [rbp + 0x190]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x140003331
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r10, [rbp + 0x1c5]
nop word [rax + rax]
dec r10
mov eax, 0xcccccccd
mul r9d
shr edx, 3
movzx ecx, dl
shl cl, 2
lea r8d, [rcx + rdx]
add r8b, r8b
sub r9b, r8b
add r9b, 0x30
mov byte [r10], r9b
mov r9d, edx
test edx, edx
jne 0x140003140
lea r8, [rbp + 0x1c5]
mov rdx, r10
lea rcx, [rbp - 0x30]
call fcn.140005730
nop
mov r8, qword [rbp - 0x20]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
sub rax, r8
mov r15d, 0x2e
lea r14, str.CryptStringToBinaryA_size_calculation_failed:
cmp rax, r15
jb 0x140003219
lea rax, [r8 + 0x2e]
mov qword [rbp - 0x20], rax
lea rbx, [rbp - 0x30]
cmp rcx, 0xf
cmova rbx, qword [rbp - 0x30]
lea rax, [0x14005d016]
cmp rax, rbx
jbe 0x1400031db
lea rax, [rbx + r8]
cmp r14, rax
ja 0x1400031db
cmp rbx, r14
ja 0x1400031d3
xor edi, edi
jmp 0x1400031de
mov rdi, rbx
sub rdi, r14
jmp 0x1400031de
mov rdi, r15
inc r8
lea rcx, [rbx + 0x2e]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, rdi
mov rdx, r14
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
sub r15, rdi
lea rdx, [r14 + 0x2e]
add rdx, rdi
lea rcx, [rbx + rdi]
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp - 0x30]
xor ebx, ebx
jmp 0x14000322f
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r14
mov rdx, r15
lea rcx, [rbp - 0x30]
call fcn.140005860
xorps xmm0, xmm0
movups xmmword [rbp + 0x138], xmm0
mov qword [rbp + 0x148], rbx
mov qword [rbp + 0x150], rbx
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x138], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x148], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
xor edx, edx
lea rcx, [rbp + 0x138]
call fcn.140026030
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x1400032b8
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400032b3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400032b3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003b170
mov qword [rsi], rbx
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], rbx
mov rdx, qword [rbp + 0x198]
cmp rdx, 0xf
jbe 0x140003304
inc rdx
mov rcx, qword [rbp + 0x180]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400032ff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000393e
call fcn.14003b170
mov rax, rsi
mov rcx, qword [rbp + 0x21d0]
xor rcx, rsp
call fcn.14003ac30
mov rbx, qword [rsp + 0x2330]
add rsp, 0x22e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xorps xmm0, xmm0
mov edi, dword [rbp + 0x15c]
movdqu xmmword [rbp + 0x160], xmm0
mov qword [rbp + 0x170], rbx
test rdi, rdi
je 0x14000337a
mov edx, edi
lea rcx, [rbp + 0x160]
call fcn.1400052f0
mov rcx, qword [rbp + 0x160]
lea rbx, [rcx + rdi]
mov r8d, edi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x168], rbx
xor ebx, ebx
lea rcx, [rbp + 0x180]
cmp qword [rbp + 0x198], 0xf
cmova rcx, qword [rbp + 0x180]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x15c]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x160]
mov r8d, 1
mov edx, dword [rbp + 0x190]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x1400035b5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r10, [rbp + 0x1c5]
nop dword [rax + rax]
dec r10
mov eax, 0xcccccccd
mul r9d
shr edx, 3
movzx ecx, dl
shl cl, 2
lea r8d, [rcx + rdx]
add r8b, r8b
sub r9b, r8b
add r9b, 0x30
mov byte [r10], r9b
mov r9d, edx
test edx, edx
jne 0x1400033e0
lea r8, [rbp + 0x1c5]
mov rdx, r10
lea rcx, [rbp - 0x10]
call fcn.140005730
nop
mov r8, qword [rbp]
mov rcx, qword [rbp + 8]
mov rax, rcx
sub rax, r8
mov edi, 0x26
lea r15, str.CryptStringToBinaryA_decoding_failed:
cmp rax, rdi
jb 0x1400034b9
lea rax, [r8 + 0x26]
mov qword [rbp], rax
lea rbx, [rbp - 0x10]
cmp rcx, 0xf
cmova rbx, qword [rbp - 0x10]
lea rax, [0x14005d03e]
cmp rax, rbx
jbe 0x14000347b
lea rax, [rbx + r8]
cmp r15, rax
ja 0x14000347b
cmp rbx, r15
ja 0x140003473
xor r14d, r14d
jmp 0x14000347e
mov r14, rbx
sub r14, r15
jmp 0x14000347e
mov r14, rdi
inc r8
lea rcx, [rbx + 0x26]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, r14
mov rdx, r15
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
sub rdi, r14
lea rdx, [r15 + 0x26]
add rdx, r14
lea rcx, [rbx + r14]
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp - 0x10]
xor ebx, ebx
jmp 0x1400034cf
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r15
mov rdx, rdi
lea rcx, [rbp - 0x10]
call fcn.140005860
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.140026030
nop
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x14000354c
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003547
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003547
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003b170
mov qword [rsi], rbx
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], rbx
mov rcx, qword [rbp + 0x160]
test rcx, rcx
je 0x1400032c3
mov rdx, qword [rbp + 0x170]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003599
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003599
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003b170
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x160], xmm0
mov qword [rbp + 0x170], rbx
jmp 0x1400032c3
mov r8, qword [rbp + 0x168]
sub r8, qword [rbp + 0x160]
lea r9, [rbp + 0x1c5]
movabs r10, 0xcccccccccccccccd
nop dword [rax]
nop dword [rax + rax]
dec r9
mov rax, r10
mul r8
shr rdx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8, rdx
test rdx, rdx
jne 0x1400035e0
lea r8, [rbp + 0x1c5]
mov rdx, r9
lea rcx, [rbp + 0x10]
call fcn.140005730
nop
mov r8, qword [rbp + 0x20]
mov rcx, qword [rbp + 0x28]
mov rax, rcx
sub rax, r8
mov r12d, reloc.WS2_32.dll_socket
lea r14, str.Downloaded_and_decoded
cmp rax, r12
jb 0x1400036b7
lea rax, [r8 + 0x17]
mov qword [rbp + 0x20], rax
lea rbx, [rbp + 0x10]
cmp rcx, 0xf
cmova rbx, qword [rbp + 0x10]
lea rax, [0x14005d067]
cmp rax, rbx
jbe 0x140003679
lea rax, [rbx + r8]
cmp r14, rax
ja 0x140003679
cmp rbx, r14
ja 0x140003671
xor edi, edi
jmp 0x14000367c
mov rdi, rbx
sub rdi, r14
jmp 0x14000367c
mov rdi, r12
inc r8
lea rcx, [rbx + 0x17]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, rdi
mov rdx, r14
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
sub r12, rdi
lea rdx, [r14 + 0x17]
add rdx, rdi
lea rcx, [rbx + rdi]
mov r8, r12
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp + 0x10]
xor ebx, ebx
jmp 0x1400036cd
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r14
mov rdx, r12
lea rcx, [rbp + 0x10]
call fcn.140005860
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], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 0xc
lea rdx, str._bytes_from
lea rcx, [rbp + 0xd0]
call fcn.140004ab0
xorps xmm0, xmm0
movups xmmword [rbp + 0xb0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xc0], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xb0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xc0], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8, qword [r15 + 0x10]
cmp qword [r15 + 0x18], 0xf
jbe 0x140003766
mov r15, qword [r15]
mov rdx, r15
lea rcx, [rbp + 0xb0]
call fcn.140004ab0
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rax + 0x10]
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
psrldq xmm0, 8
movq rdx, xmm0
cmp rdx, 0xf
jbe 0x1400037d1
inc rdx
movq rcx, xmm1
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400037cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400037cb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003b170
nop
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0xf
jbe 0x140003815
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003810
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003810
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003b170
movdqa xmm0, xmmword [0x1400656d0]
movdqu xmmword [rbp + 0xc0], xmm0
mov byte [rbp + 0xb0], 0
mov rdx, qword [rbp + 0xe8]
cmp rdx, 0xf
jbe 0x140003870
inc rdx
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000386b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000386b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003b170
movdqa xmm0, xmmword [0x1400656d0]
movdqu xmmword [rbp + 0xe0], xmm0
mov byte [rbp + 0xd0], 0
mov rdx, qword [rbp + 0x28]
cmp rdx, 0xf
jbe 0x1400038c5
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400038c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400038c0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003b170
mov rdx, qword [rbp + 0x170]
mov qword [rbp + 0x170], rbx
mov rcx, qword [rbp + 0x168]
mov qword [rbp + 0x168], rbx
mov rax, qword [rbp + 0x160]
mov qword [rbp + 0x160], rbx
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
mov rdx, qword [rbp + 0x198]
cmp rdx, 0xf
jbe 0x140003304
inc rdx
mov rcx, qword [rbp + 0x180]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400032ff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400032ff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003ad58
int3