Function at 0x140001f1e
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x518
xor ebx, ebx
movabs rax, 0xc8b634ea1516c1a
movabs r12, 0x21ff0d2bd53f0359
movabs r15, 0xa1d4294e744a8ca6
mov rsi, rdx
mov r13, r8
mov rdi, rcx
mov rbp, r9
lea rdx, [rsp + 0x4af]
lea r14, [rsp + 0x70]
movabs r8, 0xb1c69015a444641b
movabs rcx, 0x836e3bf4169a95d
and rdx, 0xffffffffffffffe0
mov qword [rdx], rax
movabs rax, 0xd1b50974113af5f2
mov qword [rdx + 0x40], r12
mov qword [rdx + 0x48], r15
mov qword [rdx + 8], rax
movabs rax, 0xdeafe474c72d086b
mov qword [rdx + 0x50], r8
movabs r8, 0x467604e015de3468
mov qword [rdx + 0x10], rax
movabs rax, 0x4c7b6a8f66b41b06
mov qword [rdx + 0x58], r8
mov qword [rdx + 0x18], rax
vmovdqa ymm1, ymmword [rdx]
movabs rax, 0xb4911fb2dbc2fc0a
vpxor ymm0, ymm1, ymmword [rdx + 0x40]
vmovdqa ymmword [rdx], ymm0
mov qword [rdx + 0x28], rax
mov qword [rdx + 0x68], rax
mov qword [rdx + 0x20], rcx
vmovdqa xmm2, xmmword [rdx + 0x20]
mov qword [rdx + 0x60], rcx
vpxor xmm0, xmm2, xmmword [rdx + 0x60]
mov rcx, r14
vmovdqa xmmword [rdx + 0x20], xmm0
call fcn.14000181c
mov qword [rsp + 0x40], r12
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x98], r15
mov edx, 1
movabs rax, 0x10d13c04856b5711
mov qword [rsp + 0x48], r15
vmovdqa xmm3, xmmword [rsp + 0x40]
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x90]
vpxor xmm0, xmm3, xmmword [rsp + 0x90]
mov dword [rsp + 0x20], ebx
mov rcx, rax
mov qword [rsp + 0x40], rax
vmovdqa xmmword [rsp + 0x90], xmm0
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rbx, rax
mov eax, 0xe6
test rbx, rbx
je 0x14000223f
xor r9d, r9d
xor r10d, r10d
xor r11d, r11d
mov r8d, 0x1bb
mov qword [rsp + 0x38], r9
mov rcx, rbx
xor r9d, r9d
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], r11
mov rdx, qword [rdi]
call qword [sym.imp.WININET.dll_InternetConnectA]
mov rdi, rax
test rax, rax
jne 0x1400020c9
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, 0xe5
jmp 0x14000223f
mov qword [rsp + 0x98], r15
xor r8d, r8d
xor ecx, ecx
xor r9d, r9d
mov qword [rsp + 0x50], r12
mov rdx, qword [rsp + 0x40]
movabs rax, 0x21ff0d2b816c4c09
mov qword [rsp + 0x58], r15
vmovdqa xmm4, xmmword [rsp + 0x50]
mov qword [rsp + 0x90], rax
vpxor xmm0, xmm4, xmmword [rsp + 0x90]
mov qword [rsp + 0x38], rcx
mov rcx, rdi
mov dword [rsp + 0x30], 0x800000
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], r8
mov r8, qword [rsi]
vmovdqa xmmword [rsp + 0x90], xmm0
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov rsi, rax
test rax, rax
jne 0x140002158
mov rsi, qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call rsi
mov rcx, rbx
call rsi
mov eax, 0xe4
jmp 0x14000223f
mov r9d, 4
lea r8, [rsp + 0x68]
mov edx, 6
mov rcx, rax
mov dword [rsp + 0x68], 0xea60
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov rax, qword [r13 + 8]
mov r8d, dword [rsp + 0x78]
mov rcx, rsi
mov rdx, qword [rsp + 0x70]
mov dword [rsp + 0x20], eax
mov r9, qword [r13]
call qword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x1400021ce
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rsi
mov rsi, qword [sym.imp.WININET.dll_InternetCloseHandle]
mov ebp, eax
call rsi
mov rcx, rdi
call rsi
mov rcx, rbx
call rsi
xor eax, eax
cmp ebp, 0x2ee2
sete al
lea eax, [rax*4 + 0xe3]
jmp 0x14000223f
mov rax, qword [rbp]
xor edx, edx
lea r13, [rsp + 0x6c]
mov r15, qword [sym.imp.WININET.dll_InternetReadFile]
mov qword [rbp + 8], rdx
mov byte [rax], 0
xor eax, eax
mov rdx, qword [rsp + 0x40]
mov r9, r13
mov r8d, 0x3ff
mov dword [rsp + 0x6c], eax
mov rcx, rsi
call r15
test eax, eax
je 0x140002224
mov eax, dword [rsp + 0x6c]
test eax, eax
je 0x140002224
mov rdx, qword [rsp + 0x40]
mov rcx, rbp
mov byte [rsp + rax + 0x90], 0
call fcn.1400aba60
jmp 0x1400021e7
mov rcx, rsi
mov rsi, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rsi
mov rcx, rdi
call rsi
mov rcx, rbx
call rsi
mov eax, 0xe8
mov rcx, r14
mov dword [rsp + 0x40], eax
call fcn.1400aa4f0
mov eax, dword [rsp + 0x40]
add rsp, 0x518
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret