Function at 0x1400dd530
Capabilities:
Check http status code
Connect to http server
Create http request
Get http content length
Parse url
Read data from internet
Receive data
Send data
Send http request

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x13400
call fcn.1401d4c90
sub rsp, rax
mov qword [rsp + 0x133e8], 0xfffffffffffffffe
mov rax, qword [0x1402a15c0]
xor rax, rsp
mov qword [rsp + 0x133f0], rax
mov dword [rsp + 0x133e0], 0
mov dword [rsp + 0x2d28], 0x1770
mov dword [rsp + 0x2d24], 0x84000100
mov eax, dword [rsp + 0x2d24]
or eax, 0xc000
mov dword [rsp + 0x2d24], eax
xor eax, eax
mov word [rsp + 0x2f60], ax
lea rdi, [rsp + 0x2f62]
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
xor eax, eax
mov word [rsp + 0x2d40], ax
lea rdi, [rsp + 0x2d42]
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
xor eax, eax
mov word [rsp + 0x13180], ax
lea rdi, [rsp + 0x13182]
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
xor eax, eax
mov word [rsp + 0x2b10], ax
lea rdi, [rsp + 0x2b12]
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
xor eax, eax
mov word [rsp + 0x2070], ax
lea rdi, [rsp + 0x2072]
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
xor eax, eax
mov word [rsp + 0x50], ax
lea rdi, [rsp + 0x52]
xor eax, eax
mov ecx, 0x2000
rep stosb byte [rdi], al
mov dword [rsp + 0x2a90], 0x68
lea rax, [rsp + 0x2f60]
mov qword [rsp + 0x2a98], rax
lea rax, [rsp + 0x2d40]
mov qword [rsp + 0x2aa8], rax
lea rax, [rsp + 0x13180]
mov qword [rsp + 0x2ab8], rax
lea rax, [rsp + 0x2b10]
mov qword [rsp + 0x2ac8], rax
lea rax, [rsp + 0x2070]
mov qword [rsp + 0x2ad8], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x2ae8], rax
mov dword [rsp + 0x2aa0], 0x104
mov dword [rsp + 0x2ab0], 0x104
mov dword [rsp + 0x2ac0], 0x104
mov dword [rsp + 0x2ad0], 0x104
mov dword [rsp + 0x2ae0], 0x104
mov dword [rsp + 0x2af0], 0x1000
lea r9, [rsp + 0x2a90]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x13418]
call qword [sym.imp.WININET.dll_InternetCrackUrlW]
cmp dword [rsp + 0x2aa4], 4
jne 0x1400dd735
mov eax, dword [rsp + 0x2d24]
or eax, 0x800000
mov dword [rsp + 0x2d24], eax
mov eax, dword [rsp + 0x2d24]
or eax, 0x3180
mov dword [rsp + 0x2d24], eax
mov qword [rsp + 0x2068], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.HTTP.CC_UserAgent
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rsp + 0x2068], rax
cmp qword [rsp + 0x2068], 0
jne 0x1400dd7a6
lea rdx, [0x1402153bc]
mov rcx, qword [rsp + 0x13410]
call fcn.1400020d0
mov eax, dword [rsp + 0x133e0]
or eax, 1
mov dword [rsp + 0x133e0], eax
mov rax, qword [rsp + 0x13410]
jmp 0x1400ddec2
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov rax, qword [rsp + 0x13430]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x13428]
movzx r8d, word [rsp + 0x2ab4]
mov rdx, qword [rsp + 0x2aa8]
mov rcx, qword [rsp + 0x2068]
call qword [sym.imp.WININET.dll_InternetConnectW]
mov qword [rsp + 0x13170], rax
cmp qword [rsp + 0x13170], 0
jne 0x1400dd846
mov rcx, qword [rsp + 0x2068]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, [0x1402153cc]
mov rcx, qword [rsp + 0x13410]
call fcn.1400020d0
mov eax, dword [rsp + 0x133e0]
or eax, 1
mov dword [rsp + 0x133e0], eax
mov rax, qword [rsp + 0x13410]
jmp 0x1400ddec2
mov rcx, qword [rsp + 0x2ad8]
call fcn.1400a8204
mov rdi, rax
mov rcx, qword [rsp + 0x2ae8]
call fcn.1400a8204
lea rcx, [rdi + rax + 1]
mov eax, 2
mul rcx
mov rcx, rax
mov rax, 0xffffffffffffffff
cmovo rcx, rax
call fcn.140071ab0
mov qword [rsp + 0x133c8], rax
mov rax, qword [rsp + 0x133c8]
mov qword [rsp + 0x13178], rax
mov rdx, qword [rsp + 0x2ad8]
mov rcx, qword [rsp + 0x13178]
call fcn.1400a9470
mov rdx, qword [rsp + 0x2ae8]
mov rcx, qword [rsp + 0x13178]
call fcn.1400a9444
mov qword [rsp + 0x38], 0
mov eax, dword [rsp + 0x2d24]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, str.HTTP_1.0
mov r8, qword [rsp + 0x13178]
lea rdx, [0x1402155d8]
mov rcx, qword [rsp + 0x13170]
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov qword [rsp + 0x2280], rax
cmp qword [rsp + 0x2280], 0
jne 0x1400dd98d
mov rcx, qword [rsp + 0x13170]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x2068]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rax, qword [rsp + 0x13178]
mov qword [rsp + 0x133d0], rax
mov rcx, qword [rsp + 0x133d0]
call fcn.140071aa8
lea rdx, [0x1402153dc]
mov rcx, qword [rsp + 0x13410]
call fcn.1400020d0
mov eax, dword [rsp + 0x133e0]
or eax, 1
mov dword [rsp + 0x133e0], eax
mov rax, qword [rsp + 0x13410]
jmp 0x1400ddec2
mov rax, qword [rsp + 0x13178]
mov qword [rsp + 0x133d8], rax
mov rcx, qword [rsp + 0x133d8]
call fcn.140071aa8
mov dword [rsp + 0x2064], 1
mov r9d, 4
lea r8, [rsp + 0x2064]
mov edx, 0x41
mov rcx, qword [rsp + 0x2280]
call qword [sym.imp.WININET.dll_InternetSetOptionW]
lea rdx, str.Accept_Encoding:__gzip__deflate
mov qword [rsp + 0x2d38], rdx
mov rcx, qword [rsp + 0x2d38]
call fcn.1400a8204
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, eax
mov rdx, qword [rsp + 0x2d38]
mov rcx, qword [rsp + 0x2280]
call qword [sym.imp.WININET.dll_HttpSendRequestW]
mov dword [rsp + 0x2d30], eax
cmp dword [rsp + 0x2d30], 0
jne 0x1400dda83
mov rcx, qword [rsp + 0x2280]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x13170]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x2068]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, [0x1402153ec]
mov rcx, qword [rsp + 0x13410]
call fcn.1400020d0
mov eax, dword [rsp + 0x133e0]
or eax, 1
mov dword [rsp + 0x133e0], eax
mov rax, qword [rsp + 0x13410]
jmp 0x1400ddec2
mov qword [rsp + 0x2f50], 0
cmp qword [rsp + 0x13420], 0
je 0x1400ddab6
mov r9d, 0x640000
xor r8d, r8d
mov edx, 0x401
mov rcx, qword [rsp + 0x13420]
call qword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
mov word [rsp + 0x2290], ax
lea rdi, [rsp + 0x2292]
xor eax, eax
mov ecx, 0x7fe
rep stosb byte [rdi], al
mov dword [rsp + 0x2d20], 0x200000
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x2d20]
lea r8, [rsp + 0x2290]
mov edx, reloc.OLEAUT32.dll_SafeArrayGetLBound
mov rcx, qword [rsp + 0x2280]
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
mov dword [rsp + 0x2d30], eax
lea rcx, [rsp + 0x2290]
call fcn.1400a948c
mov dword [rsp + 0x2d2c], eax
cmp dword [rsp + 0x2d2c], 0xc8
je 0x1400ddbc0
mov rcx, qword [rsp + 0x2280]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x13170]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x2068]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [rsp + 0x2d2c], 0x191
jne 0x1400ddb76
mov ecx, 0x41
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [rsp + 0x2d2c], 0x192
jne 0x1400ddb8e
mov ecx, 0x701
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rdx, [0x14021543c]
mov rcx, qword [rsp + 0x13410]
call fcn.1400020d0
mov eax, dword [rsp + 0x133e0]
or eax, 1
mov dword [rsp + 0x133e0], eax
mov rax, qword [rsp + 0x13410]
jmp 0x1400ddec2
mov dword [rsp + 0x2b00], 0
mov dword [rsp + 0x2060], 4
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x2060]
lea r8, [rsp + 0x2b00]
mov edx, 0x20000005
mov rcx, qword [rsp + 0x2280]
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
lea rcx, [rsp + 0x2f58]
call fcn.140002db0
nop
cmp qword [rsp + 0x13438], 0
je 0x1400ddc91
mov rax, qword [rsp + 0x13438]
cmp dword [rax], 0
jne 0x1400ddc91
mov rcx, qword [rsp + 0x2280]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x13170]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x2068]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, [0x14021548c]
mov rcx, qword [rsp + 0x13410]
call fcn.1400020d0
mov eax, dword [rsp + 0x133e0]
or eax, 1
mov dword [rsp + 0x133e0], eax
lea rcx, [rsp + 0x2f58]
call fcn.140001490
mov rax, qword [rsp + 0x13410]
jmp 0x1400ddec2
mov dword [rsp + 0x13390], 0
lea r9, [rsp + 0x13390]
mov r8d, 0xffff
lea rdx, [rsp + 0x3170]
mov rcx, qword [rsp + 0x2280]
call qword [sym.imp.WININET.dll_InternetReadFile]
mov dword [rsp + 0x13394], eax
cmp dword [rsp + 0x13394], 0
jne 0x1400ddcd6
jmp 0x1400dde55
cmp dword [rsp + 0x13394], 0
je 0x1400dddb8
cmp dword [rsp + 0x13390], 0
jbe 0x1400dddb8
mov ecx, dword [rsp + 0x13390]
mov rax, qword [rsp + 0x2f50]
add rax, rcx
mov qword [rsp + 0x2f50], rax
cmp qword [rsp + 0x13420], 0
je 0x1400ddd92
cmp dword [rsp + 0x2b00], 0
je 0x1400ddd52
mov rax, qword [rsp + 0x2f50]
imul rax, rax, 0x64
mov ecx, dword [rsp + 0x2b00]
xor edx, edx
div rcx
xor r9d, r9d
mov r8, rax
mov edx, 0x402
mov rcx, qword [rsp + 0x13420]
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x13398]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x1400ddd92
lea rcx, [rsp + 0x13398]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x13398]
call qword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x1400ddd52
mov eax, dword [rsp + 0x13390]
mov byte [rsp + rax + 0x3170], 0
lea rdx, [rsp + 0x3170]
lea rcx, [rsp + 0x2f58]
call fcn.14004f8f0
jmp 0x1400dde2d
cmp dword [rsp + 0x13394], 0
jne 0x1400dde2b
mov rcx, qword [rsp + 0x2280]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x13170]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x2068]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, [0x140215534]
mov rcx, qword [rsp + 0x13410]
call fcn.1400020d0
mov eax, dword [rsp + 0x133e0]
or eax, 1
mov dword [rsp + 0x133e0], eax
lea rcx, [rsp + 0x2f58]
call fcn.140001490
mov rax, qword [rsp + 0x13410]
jmp 0x1400ddec2
jmp 0x1400dde55
cmp dword [rsp + 0x2b00], 0
je 0x1400dde4a
mov eax, dword [rsp + 0x2b00]
cmp qword [rsp + 0x2f50], rax
jb 0x1400dde4a
jmp 0x1400dde55
xor eax, eax
cmp eax, 1
jne 0x1400ddc10
mov rcx, qword [rsp + 0x2280]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x13170]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x2068]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rcx, [rsp + 0x2f58]
call fcn.140023510
mov rdx, rax
mov rcx, qword [rsp + 0x13410]
call fcn.1400dd060
mov eax, dword [rsp + 0x133e0]
or eax, 1
mov dword [rsp + 0x133e0], eax
lea rcx, [rsp + 0x2f58]
call fcn.140001490
mov rax, qword [rsp + 0x13410]
mov rcx, qword [rsp + 0x133f0]
xor rcx, rsp
call fcn.1400a8050
add rsp, 0x13400
pop rdi
ret