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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov eax, 0x1178
call fcn.14003ccb0
sub rsp, rax
mov rax, qword [0x14173a0a0]
xor rax, rsp
mov qword [rsp + 0x1160], rax
mov dword [rsp + 0x48], 0x1000
mov dword [rsp + 0x4c], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [0x1400b2b00]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x14000327a
xor al, al
jmp 0x1400033ae
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x1180]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x1400032c3
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor al, al
jmp 0x1400033ae
mov edx, 0x108
lea rcx, [rsp + 0x50]
call fcn.140003410
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 0x20
mov rdx, qword [rsp + 0x1188]
lea rcx, [rsp + 0x50]
call fcn.1400058c0
nop
lea rcx, [rsp + 0x50]
call fcn.140005810
movzx eax, al
test eax, eax
jne 0x140003336
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0x50]
call fcn.1400033d0
movzx eax, byte [rsp + 0x30]
jmp 0x1400033ae
lea r9, [rsp + 0x4c]
mov r8d, 0x1000
lea rdx, [rsp + 0x160]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14000337a
cmp dword [rsp + 0x4c], 0
jbe 0x14000337a
mov eax, dword [rsp + 0x4c]
mov r8d, eax
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x50]
call fcn.1400059f0
jmp 0x140003336
lea rcx, [rsp + 0x50]
call fcn.1400057c0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [rsp + 0x31], 1
lea rcx, [rsp + 0x50]
call fcn.1400033d0
movzx eax, byte [rsp + 0x31]
mov rcx, qword [rsp + 0x1160]
xor rcx, rsp
call fcn.14003c0e0
add rsp, 0x1178
ret

Function at 0x140003430
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
lea rdx, [0x1400b2b10]
mov rcx, qword [rsp + 0x40]
call fcn.14004d53c
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140003465
xor al, al
jmp 0x1400034e4
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x20]
call fcn.14004e1a8
mov rcx, qword [rsp + 0x20]
call fcn.14004d0cc
mov rcx, qword [rsp + 0x50]
mov dword [rcx], eax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x20]
call fcn.14004e1a8
mov rax, qword [rsp + 0x50]
mov eax, dword [rax]
mov ecx, eax
call fcn.14003c264
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
mov qword [rax], rcx
mov rax, qword [rsp + 0x50]
mov eax, dword [rax]
mov r9, qword [rsp + 0x20]
mov r8d, eax
mov edx, 1
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax]
call fcn.140066418
mov rcx, qword [rsp + 0x20]
call fcn.14004dedc
mov al, 1
add rsp, 0x38
ret