Function at 0x1800322b0
Capabilities:
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x428]
sub rsp, 0x528
mov rax, qword [0x18008c020]
xor rax, rsp
mov qword [rbp + 0x410], rax
mov r15, r9
mov r12, r8
mov qword [rsp + 0x48], rdx
mov rbx, rcx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x68], r8
mov qword [rsp + 0x70], r9
mov rsi, qword [rbp + 0x490]
mov qword [rsp + 0x78], rsi
xor r14d, r14d
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], r14
mov edi, 0xf
mov qword [rbp - 0x40], rdi
mov byte [rbp - 0x58], r14b
mov rcx, qword [r9 + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 0x2f
jb 0x180032a50
mov rax, r9
cmp qword [r9 + 0x18], 0x10
jb 0x180032349
mov rax, qword [r9]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x2f
lea r9, [0x18007a518]
lea rcx, [rbp - 0x38]
call fcn.18002eab0
nop
mov dword [rsp + 0x40], r14d
mov rcx, qword [rsi + 0x10]
inc rcx
call fcn.18006f29c
mov r13, rax
mov edx, r14d
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x1800323b2
mov rcx, r14
mov rax, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x18003239d
mov rax, qword [rsi]
movzx eax, byte [rcx + rax]
mov byte [rcx + r13], al
inc edx
mov ecx, edx
mov rax, qword [rsi + 0x10]
cmp rcx, rax
jb 0x180032390
mov byte [rax + r13], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x60], r14
mov r8d, 4
lea rdx, [0x18007a548]
lea rcx, [rbp - 0x78]
call fcn.180002d00
nop
cmp qword [rsi + 0x10], 0
jne 0x1800323fa
mov r8d, 3
lea rdx, [0x18007a550]
lea rcx, [rbp - 0x78]
call fcn.18002ba80
mov r8, r12
cmp qword [r12 + 0x18], 0x10
jb 0x180032409
mov r8, qword [r12]
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0x10
cmovae rdx, qword [rbp - 0x78]
mov qword [rsp + 0x38], 1
mov dword [rsp + 0x30], 0x80800100
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov rcx, qword [rbx + 8]
call qword [sym.imp.wininet.dll_HttpOpenRequestA]
mov r14, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x180032673
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 0x10
cmovae rdx, qword [rbp - 0x38]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rax + r13], 0
jne 0x180032465
mov dword [rsp + 0x20], eax
mov r9, r13
mov r8d, dword [rbp - 0x28]
mov rcx, r14
call qword [sym.imp.wininet.dll_HttpSendRequestA]
test eax, eax
je 0x180032668
mov dword [rsp + 0x40], 0
mov dword [rbp - 0x80], 0
mov qword [rsp + 0x20], 0
lea r9, [rbp - 0x80]
xor r8d, r8d
lea edx, [r8 + 5]
mov rcx, r14
call qword [sym.imp.wininet.dll_HttpQueryInfoA]
test eax, eax
jne 0x1800325b2
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1800325b2
mov edx, dword [rbp - 0x80]
lea rcx, [rbp - 0x18]
call fcn.18002a230
nop
lea r8, [rbp - 0x18]
cmp qword [rbp], 0x10
cmovae r8, qword [rbp - 0x18]
mov qword [rsp + 0x20], 0
lea r9, [rbp - 0x80]
mov edx, 5
mov rcx, r14
call qword [sym.imp.wininet.dll_HttpQueryInfoA]
test eax, eax
je 0x18003256d
call qword [sym.imp.ucrtbase.dll__errno]
mov r14, rax
lea rbx, [rbp - 0x18]
cmp qword [rbp], 0x10
cmovae rbx, qword [rbp - 0x18]
mov dword [rax], 0
mov r8d, 0xa
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_strtoul]
mov dword [rsp + 0x40], eax
cmp rbx, qword [rsp + 0x60]
jne 0x180032552
lea rcx, [0x18007a4e0]
call qword [sym.imp.msvcp140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
int3
cmp dword [r14], 0x22
jne 0x180032566
lea rcx, [0x18007a4f8]
call qword [sym.imp.msvcp140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
mov r14, qword [rsp + 0x50]
jmp 0x180032574
call qword [sym.imp.kernel32.dll_GetLastError]
nop
mov rdx, qword [rbp]
cmp rdx, 0x10
jb 0x1800325b2
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800325ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800325ad
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18006f1f8
lea r9, [rbp - 0x80]
mov r8d, 0x3ff
lea rdx, [rbp + 0x10]
mov rcx, r14
call qword [sym.imp.wininet.dll_InternetReadFile]
test eax, eax
je 0x180032668
mov eax, dword [rbp - 0x80]
test eax, eax
je 0x180032668
xor ebx, ebx
test eax, eax
je 0x180032635
nop dword [rax]
nop word [rax + rax]
movzx r9d, byte [rbp + rbx + 0x10]
mov rcx, qword [rbp - 0x48]
cmp rcx, rdi
jae 0x18003261f
lea rax, [rcx + 1]
mov qword [rbp - 0x48], rax
lea rax, [rbp - 0x58]
cmp rdi, 0x10
cmovae rax, qword [rbp - 0x58]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x180032628
lea rcx, [rbp - 0x58]
call fcn.18002dd90
inc ebx
mov eax, dword [rbp - 0x80]
mov rdi, qword [rbp - 0x40]
cmp ebx, eax
jb 0x1800325f0
mov ecx, eax
cmp rcx, 0x400
jae 0x180032a4a
mov byte [rbp + rcx + 0x10], 0
lea r9, [rbp - 0x80]
mov r8d, 0x3ff
lea rdx, [rbp + 0x10]
mov rcx, r14
call qword [sym.imp.wininet.dll_InternetReadFile]
test eax, eax
jne 0x1800325d1
mov rcx, r14
call qword [sym.imp.wininet.dll_InternetCloseHandle]
jmp 0x180032698
call qword [sym.imp.kernel32.dll_GetLastError]
mov edx, eax
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.msvcp140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int____ptr64]
lea rdx, [0x18002d000]
mov rcx, rax
call qword [sym.imp.msvcp140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___class_std::basic_istream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_istream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, r13
call fcn.18006f1f8
mov eax, dword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
cmp eax, dword [rbp - 0x48]
je 0x180032884
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
xor r14d, r14d
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
xor r8d, r8d
lea rdx, [0x180074e97]
mov rcx, rbx
call fcn.180002d00
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x180032711
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003270c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800328c7
call fcn.18006f1f8
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x60], 0xf
mov byte [rbp - 0x78], 0
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x18003275c
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180032757
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180032915
call fcn.18006f1f8
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x20], 0xf
mov byte [rbp - 0x38], 0
cmp rdi, 0x10
jb 0x1800327a8
lea rdx, [rdi + 1]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800327a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800327a2
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18006f1f8
nop
mov rdx, qword [r12 + 0x18]
cmp rdx, 0x10
jb 0x1800327e4
mov rcx, qword [r12]
inc rdx
cmp rdx, 0x1000
jb 0x1800327df
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180032a35
mov rcx, r8
call fcn.18006f1f8
mov qword [r12 + 0x10], r14
mov qword [r12 + 0x18], 0xf
mov byte [r12], 0
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x180032831
mov rcx, qword [r15]
inc rdx
cmp rdx, 0x1000
jb 0x18003282c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180032a3c
mov rcx, r8
call fcn.18006f1f8
mov qword [r15 + 0x10], r14
mov qword [r15 + 0x18], 0xf
mov byte [r15], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x18003287b
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x180032876
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
add rcx, 0xfffffffffffffff8
cmp rcx, 0x1f
ja 0x180032a43
mov rcx, r8
call fcn.18006f1f8
mov qword [rsi + 0x10], r14
jmp 0x180032a04
xor edi, edi
movups xmm0, xmmword [rbp - 0x58]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x48]
movups xmmword [rbx + 0x10], xmm1
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x1800328d3
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800328ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800328ce
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18006f1f8
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x60], 0xf
mov byte [rbp - 0x78], 0
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x180032921
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003291c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003291c
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18006f1f8
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x20], 0xf
mov byte [rbp - 0x38], 0
mov rdx, qword [r12 + 0x18]
cmp rdx, 0x10
jb 0x18003296d
mov rcx, qword [r12]
inc rdx
cmp rdx, 0x1000
jb 0x180032968
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180032a35
mov rcx, r8
call fcn.18006f1f8
mov qword [r12 + 0x10], rdi
mov qword [r12 + 0x18], 0xf
mov byte [r12], 0
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x1800329ba
mov rcx, qword [r15]
inc rdx
cmp rdx, 0x1000
jb 0x1800329b5
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180032a3c
mov rcx, r8
call fcn.18006f1f8
mov qword [r15 + 0x10], rdi
mov qword [r15 + 0x18], 0xf
mov byte [r15], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x180032a00
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x1800329fb
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180032a43
mov rcx, r8
call fcn.18006f1f8
mov qword [rsi + 0x10], rdi
mov rax, rbx
mov byte [rsi], 0
mov qword [rsi + 0x18], 0xf
mov rcx, qword [rbp + 0x410]
xor rcx, rsp
call fcn.18006e840
add rsp, 0x528
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.18006ebd0
nop
call fcn.180001930
int3