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

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x520
mov rax, qword [0x14008f040]
xor rax, rsp
mov qword [rsp + 0x518], rax
mov rdi, r9
mov r12, r8
mov rsi, rdx
mov rbx, rcx
mov qword [rsp + 0xc8], rcx
mov qword [rsp + 0xd0], rdx
mov qword [rsp + 0xd8], r9
xor r15d, r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, [0x1400808c8]
call qword [sym.imp.WININET.dll_InternetOpenW]
mov r13, rax
test rax, rax
jne 0x140002ad7
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140002a2f
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140002a2a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140003315
mov rcx, r8
call fcn.140045a90
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x140002a78
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x140002a73
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000331b
mov rcx, r8
call fcn.140045a90
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140002ac1
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140002abc
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140003321
mov rcx, r8
call fcn.140045a90
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
xor al, al
jmp 0x1400032d4
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x140002aea
add r8, qword [rbx]
mov rdx, qword [rbx]
jmp 0x140002af0
add r8, rbx
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.140009710
cmp qword [rax + 0x18], 7
jbe 0x140002b04
mov rax, qword [rax]
mov r8d, 0x1bb
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov rdx, rax
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetConnectW]
mov r14, rax
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x140002b7a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002b75
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400032f7
call fcn.140045a90
movdqa xmm0, xmmword [0x140083280]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], r15w
test r14, r14
jne 0x140002c83
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140002bdb
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140002bd6
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140003315
mov rcx, r8
call fcn.140045a90
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x140002c24
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x140002c1f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000331b
mov rcx, r8
call fcn.140045a90
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140002c6d
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140002c68
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140003321
mov rcx, r8
call fcn.140045a90
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
xor al, al
jmp 0x1400032d4
mov r8, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0xf
jbe 0x140002c96
add r8, qword [rsi]
mov rdx, qword [rsi]
jmp 0x140002c9c
add r8, rsi
mov rdx, rsi
lea rcx, [rsp + 0x68]
call fcn.140009710
cmp qword [rax + 0x18], 7
jbe 0x140002cb0
mov rax, qword [rax]
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], 0x80800000
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov r8, rax
lea rdx, [0x1400808e0]
mov rcx, r14
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov r15, rax
mov rdx, qword [rsp + 0x80]
cmp rdx, 7
jbe 0x140002d25
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002d20
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400032fd
call fcn.140045a90
movdqa xmm0, xmmword [0x140083280]
movdqu xmmword [rsp + 0x78], xmm0
xor eax, eax
mov word [rsp + 0x68], ax
test r15, r15
jne 0x140002e3b
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140002d90
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140002d8b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140003315
mov rcx, r8
call fcn.140045a90
xor r14d, r14d
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 0xf
mov byte [rbx], r14b
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x140002ddc
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x140002dd7
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000331b
mov rcx, r8
call fcn.140045a90
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140002e25
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140002e20
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140003321
mov rcx, r8
call fcn.140045a90
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
xor al, al
jmp 0x1400032d4
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x140003000
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140002e5a
mov rdx, qword [rdi]
mov rax, rdx
jmp 0x140002e5d
mov rax, rdi
lea r8, [rax + rcx]
lea rcx, [rsp + 0xa8]
call fcn.140009710
nop
mov r8, rax
lea rcx, [rsp + 0x88]
call fcn.140009860
nop
mov r8d, 2
lea rdx, [0x140080954]
mov rcx, rax
call fcn.140008f70
xorps xmm0, xmm0
movups xmmword [rsp + 0xe8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0xf8], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0xe8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0xf8], xmm1
xor r14d, r14d
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
mov rdx, qword [rsp + 0xa0]
cmp rdx, 7
jbe 0x140002f1e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002f19
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003303
call fcn.140045a90
movdqa xmm0, xmmword [0x140083280]
movdqu xmmword [rsp + 0x98], xmm0
mov word [rsp + 0x88], r14w
mov rdx, qword [rsp + 0xc0]
cmp rdx, 7
jbe 0x140002f80
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002f7b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003309
call fcn.140045a90
lea rdx, [rsp + 0xe8]
cmp qword [rsp + 0x100], 7
cmova rdx, qword [rsp + 0xe8]
mov dword [rsp + 0x20], r14d
xor r9d, r9d
mov r8d, dword [rsp + 0xf8]
mov rcx, r15
call qword [sym.imp.WININET.dll_HttpSendRequestW]
mov r14d, eax
mov rdx, qword [rsp + 0x100]
cmp rdx, 7
jbe 0x140003018
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xe8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002ff9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000330f
call fcn.140045a90
jmp 0x140003018
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.WININET.dll_HttpSendRequestW]
mov r14d, eax
test r14d, r14d
jne 0x140003124
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140003079
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140003074
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140003315
mov rcx, r8
call fcn.140045a90
xor r14d, r14d
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 0xf
mov byte [rbx], r14b
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x1400030c5
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x1400030c0
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000331b
mov rcx, r8
call fcn.140045a90
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x14000310e
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140003109
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140003321
mov rcx, r8
call fcn.140045a90
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
xor al, al
jmp 0x1400032d4
xor r14d, r14d
mov qword [r12 + 0x10], r14
mov rax, r12
cmp qword [r12 + 0x18], 0xf
jbe 0x14000313b
mov rax, qword [r12]
mov byte [rax], r14b
nop
lea r9, [rsp + 0xe0]
mov r8d, 0x3ff
lea rdx, [rsp + 0x110]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1400031ac
mov eax, dword [rsp + 0xe0]
test eax, eax
je 0x1400031ac
cmp rax, 0x400
jae 0x140003327
mov byte [rsp + rax + 0x110], r14b
lea rax, [rsp + 0x110]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r14b
jne 0x140003191
lea rdx, [rsp + 0x110]
mov rcx, r12
call fcn.140008300
jmp 0x140003140
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140003204
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1400031ff
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000332d
mov rcx, r8
call fcn.140045a90
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x14000324d
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x140003248
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140003333
mov rcx, r8
call fcn.140045a90
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140003296
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140003291
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140003339
mov rcx, r8
call fcn.140045a90
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov al, 1
jmp 0x1400032d4
mov rcx, qword [rsp + 0x518]
xor rcx, rsp
call fcn.140045a70
add rsp, 0x520
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
call fcn.140051f70
nop
call fcn.140051f70
nop
call fcn.140051f70
nop
call fcn.140051f70
int3
call fcn.140051f70
nop
call fcn.140051f70
nop
call fcn.140051f70
nop
call fcn.140051f70
nop
call fcn.140045ba0
nop
call fcn.140051f70
nop
call fcn.140051f70
nop
call fcn.140051f70
int3