Function at 0x14000ec10
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x480
mov rax, qword [0x140025040]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov rsi, rdx
mov rbx, rcx
mov qword [rsp + 0x38], rcx
xor r14d, r14d
mov edi, 4
mov rax, qword gs:[0x58]
add rdi, qword [rax]
mov eax, dword [rdi]
cmp dword [0x140025ff4], eax
jle 0x14000ecac
lea rcx, [0x140025ff4]
call fcn.1400128f0
cmp dword [0x140025ff4], 0xffffffff
jne 0x14000ecac
movsd xmm0, qword [str.aFSE]
movsd qword [0x140025f28], xmm0
movzx eax, word [0x14001fd08]
mov word [0x140025f30], ax
movzx eax, byte [0x14001fd0a]
mov byte [0x140025f32], al
lea rcx, [0x140025ff4]
call fcn.140012884
mov eax, dword [rdi]
cmp dword [0x140025e24], eax
jle 0x14000ed70
lea rcx, [0x140025e24]
call fcn.1400128f0
cmp dword [0x140025e24], 0xffffffff
jne 0x14000ed70
mov qword [0x140025eb0], r14
movzx eax, byte [0x140025f32]
test al, al
je 0x14000ed33
xor byte [0x140025f28], 0x34
xor byte [0x140025f29], 0x35
xor byte [0x140025f2a], 0x36
xor byte [0x140025f2b], 0x37
xor byte [0x140025f2c], 0x38
xor byte [0x140025f2d], 0x39
xor byte [0x140025f2e], 0x3a
xor byte [0x140025f2f], 0x3b
xor byte [0x140025f30], 0x3c
xor byte [0x140025f31], 0x3d
xor al, 0x3e
mov byte [0x140025f32], al
lea rax, [0x140025f28]
mov qword [0x140025ea8], rax
lea rcx, [0x140025ea8]
call fcn.1400012c0
lea rcx, [0x140014670]
call fcn.140012e68
nop
lea rcx, [0x140025e24]
call fcn.140012884
nop word [rax + rax]
mov qword [0x140025f28], 0
mov word [0x140025f30], 0
mov byte [0x140025f32], 0
movups xmm0, xmmword [0x140025ea8]
movups xmmword [rsp + 0x58], xmm0
lea rcx, [rsp + 0x58]
call fcn.140001700
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rbp, rax
lea rcx, [rsp + 0x58]
call fcn.1400012c0
test rbp, rbp
jne 0x14000ee00
mov byte [rsp + 0x30], bpl
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r14
lea ecx, [rbp + 1]
call fcn.140012c04
mov qword [rbx], rax
lea rcx, [rax + 1]
mov qword [rbx + 0x10], rcx
mov byte [rax], bpl
lea rcx, [rax + 1]
mov qword [rbx + 8], rcx
jmp 0x14000effc
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rsi, rax
test rax, rax
jne 0x14000ee62
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [rsp + 0x30], sil
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r14
lea ecx, [rsi + 1]
call fcn.140012c04
mov qword [rbx], rax
lea rcx, [rax + 1]
mov qword [rbx + 0x10], rcx
mov byte [rax], sil
inc rax
mov qword [rbx + 8], rax
jmp 0x14000effc
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov rdi, r14
mov qword [rsp + 0x50], r14
lea r9, [rsp + 0x38]
mov r8d, 0x400
lea rdx, [rsp + 0x70]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14000eed5
mov eax, dword [rsp + 0x38]
test eax, eax
je 0x14000ef57
mov r9d, eax
lea r8, [rsp + 0x70]
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x40]
call fcn.14000f820
lea r9, [rsp + 0x38]
mov r8d, 0x400
lea rdx, [rsp + 0x70]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x14000ee90
mov rdi, qword [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [rsp + 0x30], 0
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r14
mov ecx, 1
call fcn.140012c04
mov qword [rbx], rax
lea rcx, [rax + 1]
mov qword [rbx + 0x10], rcx
mov byte [rax], 0
inc rax
mov qword [rbx + 8], rax
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14000effc
sub rdi, rcx
mov rax, rcx
cmp rdi, 0x1000
jb 0x14000eff3
add rdi, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000eff3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rdi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x48]
cmp rdi, rax
jne 0x14000efe1
mov byte [rsp + 0x30], 0
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r14
mov ecx, 1
call fcn.140012c04
mov qword [rbx], rax
lea rcx, [rax + 1]
mov qword [rbx + 0x10], rcx
mov byte [rax], 0
inc rax
mov qword [rbx + 8], rax
test rdi, rdi
je 0x14000effc
mov rdx, qword [rsp + 0x50]
sub rdx, rdi
mov rax, rdi
cmp rdx, 0x1000
jb 0x14000efdc
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000efdc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
jmp 0x14000eff6
mov qword [rbx], rdi
mov qword [rbx + 8], rax
mov rax, qword [rsp + 0x50]
mov qword [rbx + 0x10], rax
jmp 0x14000effc
mov rdx, rdi
call fcn.140012840
nop
mov rax, rbx
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.140012820
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret