Function at 0x140001f30
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 - 0x21f0]
mov eax, 0x22f0
call fcn.140030830
sub rsp, rax
mov rax, qword [0x140062040]
xor rax, rsp
mov qword [rbp + 0x21e0], 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 r14, rax
mov qword [rsp + 0x60], rax
test rax, rax
jne 0x140002001
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 0x140001fc5
mov r8, rbx
lea rcx, [rsp + 0x40]
call fcn.140004e10
lea rcx, [rsp + 0x40]
call fcn.140020b80
mov qword [rsi], 0
mov qword [rsi + 8], 0
mov qword [rsi + 0x10], 0
jmp 0x140002d82
mov rdx, r15
cmp qword [r15 + 0x18], 0xf
jbe 0x14000200e
mov rdx, qword [r15]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x84000000
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r13, rax
test rax, rax
jne 0x14000219b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea r15, [0x140000000]
lea rdx, [r15 + 0x50ca8]
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 + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140002070
lea rcx, [rsp + 0x40]
call fcn.140004e10
lea rcx, [rsp + 0x40]
call fcn.140020b80
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
cmp edi, 0x2ee7
jne 0x1400020bb
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 0x14000216c
cmp edi, 0x2efd
jne 0x1400020e0
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 0x14000216c
cmp edi, 0x2ee2
jne 0x140002102
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 0x14000216c
cmp edi, 0x2ee5
jne 0x140002124
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 0x14000216c
cmp edi, 0x2ee6
jne 0x140002146
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 0x14000216c
lea rdx, [r15 + 0x50d88]
add rdx, rdi
xor r14d, r14d
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
nop dword [rax]
inc rbx
cmp byte [rdx + rbx], r14b
jne 0x140002160
mov r8, rbx
lea rcx, [rsp + 0x40]
call fcn.140004e10
lea rcx, [rsp + 0x40]
call fcn.140020b80
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov qword [rsi], r14
mov qword [rsi + 8], r14
mov qword [rsi + 0x10], r14
jmp 0x140002d82
mov dword [rbp + 0x160], ebx
mov dword [rbp + 0x1b8], 4
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0x1b8]
lea r8, [rbp + 0x160]
mov edx, 0x20000013
mov rcx, r13
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
mov r8d, dword [rbp + 0x160]
mov r9d, 0xc8
cmp r8d, r9d
je 0x14000274e
lea r9, [rbp + 0x1d5]
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 0x1400021f0
lea r8, [rbp + 0x1d5]
mov rdx, r9
lea rcx, [rbp - 0x48]
call fcn.140005230
nop
mov r8, qword [rbp - 0x38]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
sub rax, r8
mov r12d, 0x21
lea rdi, str.HTTP_error:_Received_status_code
cmp rax, r12
jb 0x1400022c8
lea rax, [r8 + 0x21]
mov qword [rbp - 0x38], rax
lea rbx, [rbp - 0x48]
cmp rcx, 0xf
cmova rbx, qword [rbp - 0x48]
lea rax, [0x140050dc9]
cmp rax, rbx
jbe 0x14000228a
lea rax, [rbx + r8]
cmp rdi, rax
ja 0x14000228a
cmp rbx, rdi
ja 0x140002282
xor r14d, r14d
jmp 0x14000228d
mov r14, rbx
sub r14, rdi
jmp 0x14000228d
mov r14, r12
inc r8
lea rcx, [rbx + 0x21]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, r14
mov rdx, rdi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
sub r12, r14
lea rdx, [rdi + 0x21]
add rdx, r14
lea rcx, [rbx + r14]
mov r8, r12
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp - 0x48]
xor ebx, ebx
jmp 0x1400022de
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rdi
mov rdx, r12
lea rcx, [rbp - 0x48]
call fcn.140005360
xorps xmm0, xmm0
movups xmmword [rbp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x88], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x88], 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 + 0x78]
call fcn.1400046d0
xorps xmm0, xmm0
movups xmmword [rbp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x68], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x68], 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 0x140002362
mov r15, qword [r15]
mov rdx, r15
lea rcx, [rbp + 0x58]
call fcn.1400046d0
xorps xmm0, xmm0
movups xmmword [rbp + 0x120], xmm0
mov qword [rbp + 0x130], rbx
mov qword [rbp + 0x138], rbx
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x120], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x130], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rbp + 0x120]
call fcn.140020b80
nop
mov rdx, qword [rbp + 0x70]
cmp rdx, 0xf
jbe 0x1400023f5
inc rdx
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400023f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400023f0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002fd40
movdqa xmm0, xmmword [0x1400586f0]
movdqu xmmword [rbp + 0x68], xmm0
mov byte [rbp + 0x58], 0
mov rdx, qword [rbp + 0x90]
cmp rdx, 0xf
jbe 0x140002447
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002442
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002442
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002fd40
movdqa xmm0, xmmword [0x1400586f0]
movdqu xmmword [rbp + 0x88], xmm0
mov byte [rbp + 0x78], 0
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x140002499
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002494
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002494
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002fd40
cmp dword [rbp + 0x160], 0x194
jne 0x1400024d8
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
mov r8d, 0x34
lea rdx, str.The_requested_URL_was_not_found_on_the_server__404_.
lea rcx, [rsp + 0x40]
call fcn.140004e10
lea rcx, [rsp + 0x40]
call fcn.140020b80
lea r9, [rbp + 0x168]
mov r8d, 0x1000
lea rdx, [rbp + 0x1e0]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14000272a
mov eax, dword [rbp + 0x168]
cmp rax, 0x1000
jae 0x1400033c5
mov byte [rbp + rax + 0x1e0], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x58], xmm1
lea rax, [rbp + 0x1e0]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x140002534
mov r8, rbx
lea rdx, [rbp + 0x1e0]
lea rcx, [rbp - 0x68]
call fcn.140004e10
nop
mov r8, qword [rbp - 0x58]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
sub rax, r8
mov ebx, 0x13
lea r14, str.Recieved_response:
cmp rax, rbx
jb 0x1400025e8
lea rax, [r8 + 0x13]
mov qword [rbp - 0x58], rax
lea rdi, [rbp - 0x68]
cmp rcx, 0xf
cmova rdi, qword [rbp - 0x68]
lea rax, [0x140050e1b]
cmp rax, rdi
jbe 0x1400025ac
lea rax, [rdi + r8]
cmp r14, rax
ja 0x1400025ac
cmp rdi, r14
ja 0x1400025a4
xor r15d, r15d
jmp 0x1400025af
mov r15, rdi
sub r15, r14
jmp 0x1400025af
mov r15, rbx
inc r8
lea rcx, [rdi + 0x13]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memmove
mov r8, r15
mov rdx, r14
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
sub rbx, r15
lea rdx, [r14 + 0x13]
add rdx, r15
lea rcx, [rdi + r15]
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp - 0x68]
jmp 0x1400025fe
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r14
mov rdx, rbx
lea rcx, [rbp - 0x68]
call fcn.140005360
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xor ebx, ebx
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], rbx
movups xmm0, xmmword [rax]
movups xmmword [rsp + 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], bl
lea rax, [rsp + 0x70]
mov qword [rbp - 0x70], rax
lea rdi, [0x1400634a0]
mov qword [rsp + 0x68], rdi
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x14000265a
lea ecx, [rbx + 5]
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
cmp dword [0x1400634ec], 0x7fffffff
jne 0x14000267c
mov dword [0x1400634ec], 0x7ffffffe
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rcx, qword [rsp + 0x70]
call fcn.14001f880
nop
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x1400026db
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400026d6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400026d6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002fd40
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x14000272a
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002725
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002725
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002fd40
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 0x140002d82
lea r10, [rbp + 0x1d5]
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 0x140002760
lea r8, [rbp + 0x1d5]
mov rdx, r10
lea rcx, [rbp - 0x28]
call fcn.140005230
nop
mov r8, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
sub rax, r8
mov r12d, 0x15
lea rdi, str.Received_status_code
cmp rax, r12
jb 0x14000283d
lea rax, [r8 + 0x15]
mov qword [rbp - 0x18], rax
lea rbx, [rbp - 0x28]
cmp rcx, 0xf
cmova rbx, qword [rbp - 0x28]
lea rax, [0x140050e35]
cmp rax, rbx
jbe 0x1400027fa
lea rax, [rbx + r8]
cmp rdi, rax
ja 0x1400027fa
cmp rbx, rdi
ja 0x1400027f2
xor r14d, r14d
jmp 0x1400027fd
mov r14, rbx
sub r14, rdi
jmp 0x1400027fd
mov r14, r12
inc r8
lea rcx, [rbx + 0x15]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, r14
mov rdx, rdi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
sub r12, r14
lea rdx, [rdi + 0x15]
add rdx, r14
lea rcx, [rbx + r14]
mov r8, r12
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp - 0x28]
mov r14, qword [rsp + 0x60]
xor ebx, ebx
jmp 0x140002853
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rdi
mov rdx, r12
lea rcx, [rbp - 0x28]
call fcn.140005360
xorps xmm0, xmm0
movups xmmword [rbp + 0xb8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xc8], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xb8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xc8], 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 + 0xb8]
call fcn.1400046d0
xorps xmm0, xmm0
movups xmmword [rbp + 0x98], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xa8], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x98], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xa8], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, r15
cmp qword [r15 + 0x18], 0xf
jbe 0x1400028eb
mov rdx, qword [r15]
mov r8, qword [r15 + 0x10]
lea rcx, [rbp + 0x98]
call fcn.1400046d0
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 0x140002957
inc rdx
movq rcx, xmm1
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002951
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002951
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002fd40
nop
mov rdx, qword [rbp + 0xb0]
cmp rdx, 0xf
jbe 0x14000299b
inc rdx
mov rcx, qword [rbp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002996
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002996
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002fd40
movdqa xmm0, xmmword [0x1400586f0]
movdqu xmmword [rbp + 0xa8], xmm0
mov byte [rbp + 0x98], 0
mov rdx, qword [rbp + 0xd0]
cmp rdx, 0xf
jbe 0x1400029f6
inc rdx
mov rcx, qword [rbp + 0xb8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400029f1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400029f1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002fd40
movdqa xmm0, xmmword [0x1400586f0]
movdqu xmmword [rbp + 0xc8], xmm0
mov byte [rbp + 0xb8], 0
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x140002a4b
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002a46
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002a46
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002fd40
xorps xmm0, xmm0
movups xmmword [rbp + 0x198], xmm0
mov qword [rbp + 0x1a8], rbx
mov qword [rbp + 0x1b0], 0xf
mov byte [rbp + 0x198], 0
lea r9, [rbp + 0x190]
mov r8d, 0x1000
lea rdx, [rbp + 0x11e0]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140002b44
nop dword [rax]
nop word [rax + rax]
mov eax, dword [rbp + 0x190]
test eax, eax
je 0x140002b42
mov edi, eax
mov rcx, qword [rbp + 0x1a8]
mov rdx, qword [rbp + 0x1b0]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x140002b02
lea rax, [rdi + rcx]
mov qword [rbp + 0x1a8], rax
lea rbx, [rbp + 0x198]
cmp rdx, 0xf
cmova rbx, qword [rbp + 0x198]
add rbx, rcx
mov r8d, edi
lea rdx, [rbp + 0x11e0]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x140002b1d
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x11e0]
mov rdx, rdi
lea rcx, [rbp + 0x198]
call fcn.140004c80
lea r9, [rbp + 0x190]
mov r8d, 0x1000
lea rdx, [rbp + 0x11e0]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140002aa0
xor ebx, ebx
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [rbp + 0x170], ebx
lea rcx, [rbp + 0x198]
cmp qword [rbp + 0x1b0], 0xf
cmova rcx, qword [rbp + 0x198]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x170]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [r9 + 1]
mov edx, dword [rbp + 0x1a8]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x140002daf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r10, [rbp + 0x1d5]
nop dword [rax]
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 0x140002bc0
lea r8, [rbp + 0x1d5]
mov rdx, r10
lea rcx, [rbp - 8]
call fcn.140005230
nop
mov r8, qword [rbp + 8]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
sub rax, r8
mov r15d, 0x2e
lea r14, str.CryptStringToBinaryA_size_calculation_failed:
cmp rax, r15
jb 0x140002c99
lea rax, [r8 + 0x2e]
mov qword [rbp + 8], rax
lea rbx, [rbp - 8]
cmp rcx, 0xf
cmova rbx, qword [rbp - 8]
lea rax, [0x140050e66]
cmp rax, rbx
jbe 0x140002c5b
lea rax, [rbx + r8]
cmp r14, rax
ja 0x140002c5b
cmp rbx, r14
ja 0x140002c53
xor edi, edi
jmp 0x140002c5e
mov rdi, rbx
sub rdi, r14
jmp 0x140002c5e
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 - 8]
xor ebx, ebx
jmp 0x140002caf
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r14
mov rdx, r15
lea rcx, [rbp - 8]
call fcn.140005360
xorps xmm0, xmm0
movups xmmword [rbp + 0x140], xmm0
mov qword [rbp + 0x150], rbx
mov qword [rbp + 0x158], rbx
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x140], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x150], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rbp + 0x140]
call fcn.140020b80
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 0xf
jbe 0x140002d36
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002d31
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002d31
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002fd40
mov qword [rsi], rbx
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], rbx
mov rdx, qword [rbp + 0x1b0]
cmp rdx, 0xf
jbe 0x140002d82
inc rdx
mov rcx, qword [rbp + 0x198]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002d7d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400033be
call fcn.14002fd40
mov rax, rsi
mov rcx, qword [rbp + 0x21e0]
xor rcx, rsp
call fcn.14002f800
mov rbx, qword [rsp + 0x2340]
add rsp, 0x22f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xorps xmm0, xmm0
mov edi, dword [rbp + 0x170]
movdqu xmmword [rbp + 0x178], xmm0
mov qword [rbp + 0x188], rbx
test rdi, rdi
je 0x140002df8
mov edx, edi
lea rcx, [rbp + 0x178]
call fcn.140004f10
mov rcx, qword [rbp + 0x178]
lea rbx, [rcx + rdi]
mov r8d, edi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x180], rbx
xor ebx, ebx
lea rcx, [rbp + 0x198]
cmp qword [rbp + 0x1b0], 0xf
cmova rcx, qword [rbp + 0x198]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x170]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x178]
mov r8d, 1
mov edx, dword [rbp + 0x1a8]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x140003036
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r10, [rbp + 0x1d5]
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 0x140002e60
lea r8, [rbp + 0x1d5]
mov rdx, r10
lea rcx, [rbp + 0x18]
call fcn.140005230
nop
mov r8, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, r8
mov edi, 0x26
lea r15, str.CryptStringToBinaryA_decoding_failed:
cmp rax, rdi
jb 0x140002f3c
lea rax, [r8 + 0x26]
mov qword [rbp + 0x28], rax
lea rbx, [rbp + 0x18]
cmp rcx, 0xf
cmova rbx, qword [rbp + 0x18]
lea rax, [0x140050e8e]
cmp rax, rbx
jbe 0x140002efb
lea rax, [rbx + r8]
cmp r15, rax
ja 0x140002efb
cmp rbx, r15
ja 0x140002ef3
xor r14d, r14d
jmp 0x140002efe
mov r14, rbx
sub r14, r15
jmp 0x140002efe
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, [0x140050e8e]
add rdx, r14
lea rcx, [rbx + r14]
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp + 0x18]
xor ebx, ebx
jmp 0x140002f52
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r15
mov rdx, rdi
lea rcx, [rbp + 0x18]
call fcn.140005360
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
lea rcx, [rsp + 0x40]
call fcn.140020b80
nop
mov rdx, qword [rbp + 0x30]
cmp rdx, 0xf
jbe 0x140002fcd
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002fc8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002fc8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002fd40
mov qword [rsi], rbx
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], rbx
mov rcx, qword [rbp + 0x178]
test rcx, rcx
je 0x140002d41
mov rdx, qword [rbp + 0x188]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000301a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000301a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002fd40
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x178], xmm0
mov qword [rbp + 0x188], rbx
jmp 0x140002d41
mov r8, qword [rbp + 0x180]
sub r8, qword [rbp + 0x178]
lea r9, [rbp + 0x1d5]
movabs r10, 0xcccccccccccccccd
nop word [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 0x140003060
lea r8, [rbp + 0x1d5]
mov rdx, r9
lea rcx, [rbp + 0x38]
call fcn.140005230
nop
mov r8, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
sub rax, r8
mov r12d, 0x17
lea r14, str.Downloaded_and_decoded
cmp rax, r12
jb 0x140003137
lea rax, [r8 + 0x17]
mov qword [rbp + 0x48], rax
lea rbx, [rbp + 0x38]
cmp rcx, 0xf
cmova rbx, qword [rbp + 0x38]
lea rax, [0x140050eb7]
cmp rax, rbx
jbe 0x1400030f9
lea rax, [rbx + r8]
cmp r14, rax
ja 0x1400030f9
cmp rbx, r14
ja 0x1400030f1
xor edi, edi
jmp 0x1400030fc
mov rdi, rbx
sub rdi, r14
jmp 0x1400030fc
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 + 0x38]
xor ebx, ebx
jmp 0x14000314d
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r14
mov rdx, r12
lea rcx, [rbp + 0x38]
call fcn.140005360
xorps xmm0, xmm0
movups xmmword [rbp + 0xf8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x108], xmm1
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
mov r8d, 0xc
lea rdx, str._bytes_from
lea rcx, [rbp + 0xf8]
call fcn.1400046d0
xorps xmm0, xmm0
movups xmmword [rbp + 0xd8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xe8], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xd8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xe8], 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 0x1400031e6
mov r15, qword [r15]
mov rdx, r15
lea rcx, [rbp + 0xd8]
call fcn.1400046d0
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 0x140003251
inc rdx
movq rcx, xmm1
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000324b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000324b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002fd40
nop
mov rdx, qword [rbp + 0xf0]
cmp rdx, 0xf
jbe 0x140003295
inc rdx
mov rcx, qword [rbp + 0xd8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003290
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003290
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002fd40
movdqa xmm0, xmmword [0x1400586f0]
movdqu xmmword [rbp + 0xe8], xmm0
mov byte [rbp + 0xd8], 0
mov rdx, qword [rbp + 0x110]
cmp rdx, 0xf
jbe 0x1400032f0
inc rdx
mov rcx, qword [rbp + 0xf8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400032eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400032eb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002fd40
movdqa xmm0, xmmword [0x1400586f0]
movdqu xmmword [rbp + 0x108], xmm0
mov byte [rbp + 0xf8], 0
mov rdx, qword [rbp + 0x50]
cmp rdx, 0xf
jbe 0x140003345
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003340
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003340
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002fd40
mov rdx, qword [rbp + 0x188]
mov qword [rbp + 0x188], rbx
mov rcx, qword [rbp + 0x180]
mov qword [rbp + 0x180], rbx
mov rax, qword [rbp + 0x178]
mov qword [rbp + 0x178], rbx
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
mov rdx, qword [rbp + 0x1b0]
cmp rdx, 0xf
jbe 0x140002d82
inc rdx
mov rcx, qword [rbp + 0x198]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002d7d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002d7d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002f928
int3