Function at 0x140045dac
Capabilities:
Read data from internet
Receive data

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x3a8]
sub rsp, 0x470
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1405b7098]
xor rax, rsp
mov qword [rbp + 0x360], rax
mov r15, r9
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x60], rdx
mov r14, qword [rbp + 0x3d0]
xor r12d, r12d
mov dword [rsp + 0x48], r12d
mov byte [rsp + 0x30], r12b
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 0x5b2
lea r9, str.NGUsageTracking::CFileUploader::ReadResponse
lea r8, [0x1405c7338]
mov rdx, qword [0x1405c7330]
lea rcx, [rbp - 0x40]
call fcn.1400169f8
nop
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x48], 7
mov qword [rbp - 0x50], r12
mov word [rbp - 0x60], r12w
mov word [rsp + 0x44], r12w
mov dword [rsp + 0x40], r12d
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x44]
lea edx, [r12 + 0x13]
mov rcx, qword [r15]
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
or r13, 0xffffffffffffffff
test eax, eax
jne 0x140045f39
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140045f1a
mov ecx, dword [rsp + 0x40]
shr ecx, 1
lea eax, [r12 + 2]
mul rcx
cmovo rax, r13
mov rcx, rax
call fcn.1400fdb44
mov rdi, rax
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x40]
mov r8, rax
lea edx, [r12 + 0x13]
mov rcx, qword [r15]
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x140045eeb
mov rcx, rdi
call fcn.14010a104
mov dword [r14], eax
lea r9, str.CFileUploader::ReadResponse___Server_Response_code____d
lea edx, [r12 + 0x10]
mov r8d, 0x5cf
jmp 0x140045f03
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.CFileUploader::ReadResponse___Failed_second_HttpQueryInfo_HTTP_QUERY_STATUS_CODE___error___d
mov edx, 0x80
mov r8d, 0x5d4
mov dword [rsp + 0x20], eax
lea rcx, [rbp - 0x40]
call fcn.140016e24
mov rcx, rdi
call fcn.1400fd29c
jmp 0x140045f39
mov dword [rsp + 0x20], eax
lea r9, str.CFileUploader::ReadResponse___Failed_first_HttpQueryInfo_HTTP_QUERY_STATUS_CODE___error___d
mov edx, 0x80
mov r8d, 0x5db
lea rcx, [rbp - 0x40]
call fcn.140016e24
mov dword [rsp + 0x40], r12d
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x44]
mov r14d, reloc.OLEAUT32.dll_SafeArrayAccessData
mov edx, r14d
mov rcx, qword [r15]
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x140046023
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140046004
mov ecx, dword [rsp + 0x40]
shr ecx, 1
lea eax, [r14 - 0x14]
mul rcx
cmovo rax, r13
mov rcx, rax
call fcn.1400fdb44
mov rdi, rax
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x40]
mov r8, rax
mov edx, r14d
mov rcx, qword [r15]
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x140045fd5
cmp word [rdi], r12w
jne 0x140045fba
mov r8, r12
jmp 0x140045fc7
mov r8, r13
inc r8
cmp word [rdi + r8*2], r12w
jne 0x140045fbd
lea rcx, [rsi + 0x48]
mov rdx, rdi
call fcn.14000fde0
jmp 0x140045ffa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea r9, str.CFileUploader::ReadResponse___Failed_second_HttpQueryInfo_HTTP_QUERY_RAW_HEADERS_CRLF___error___d
mov edx, 0x80
mov r8d, 0x5f7
lea rcx, [rbp - 0x40]
call fcn.140016e24
mov rcx, rdi
call fcn.1400fd29c
jmp 0x140046023
mov dword [rsp + 0x20], eax
lea r9, str.CFileUploader::ReadResponse___Failed_first_HttpQueryInfo_HTTP_QUERY_RAW_HEADERS_CRLF___error___d
mov edx, 0x80
mov r8d, 0x5fe
lea rcx, [rbp - 0x40]
call fcn.140016e24
mov edi, 0x100
mov r14d, 0x38
mov r8, rdi
xor edx, edx
lea rcx, [rbp + 0x60]
call fcn.1400fecb0
mov r8, r14
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.1400fecb0
mov dword [rsp + 0x68], r14d
lea rax, [rbp + 0x60]
mov qword [rbp - 0x78], rax
mov dword [rbp - 0x70], 0xff
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x68]
mov rcx, qword [r15]
call qword [sym.imp.WININET.dll_InternetReadFileExA]
test eax, eax
jne 0x140046084
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x1400460f7
mov eax, dword [rbp - 0x70]
test eax, eax
je 0x140046140
cmp rax, rdi
jae 0x14004613a
mov byte [rbp + rax + 0x60], r12b
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0x60]
mov r8, rdi
lea rdx, [rbp + 0x160]
lea rcx, [rsp + 0x50]
call fcn.1401151b4
cmp word [rbp + 0x160], r12w
jne 0x1400460ce
mov r8, r12
jmp 0x1400460e2
lea rax, [rbp + 0x160]
mov r8, r13
inc r8
cmp word [rax + r8*2], r12w
jne 0x1400460d8
lea rcx, [rsi + 0x68]
lea rdx, [rbp + 0x160]
call fcn.14000fae0
jmp 0x14004602e
mov dword [rsp + 0x20], eax
lea r9, str.CFileUploader::ReadResponse___Failed_InternetReadFileExA__error___d
mov edx, 0x80
mov r8d, 0x61e
lea rcx, [rbp - 0x40]
call fcn.140016e24
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r12
mov word [rbx], r12w
xor r8d, r8d
lea rdx, [0x1402208bc]
mov rcx, rbx
call fcn.14000fde0
jmp 0x14004618b
call fcn.1400fd9b0
int3
lea rdx, [rsi + 0x48]
lea rax, [rbp - 0x60]
cmp rax, rdx
je 0x14004615c
mov r9, r13
xor r8d, r8d
lea rcx, [rbp - 0x60]
call fcn.14000ff84
lea rdx, [rsi + 0x68]
mov r9, r13
xor r8d, r8d
lea rcx, [rbp - 0x60]
call fcn.14000fc3c
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r12
mov word [rbx], r12w
lea rdx, [rbp - 0x60]
mov rcx, rbx
call fcn.1400111b0
mov dword [rsp + 0x48], 1
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x60]
call fcn.14000f964
nop
lea rcx, [rbp - 0x40]
call fcn.140016b40
mov rax, rbx
mov rcx, qword [rbp + 0x360]
xor rcx, rsp
call fcn.1400fcfd0
mov rbx, qword [rsp + 0x4c0]
add rsp, 0x470
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret