Function at 0x140009074
Capabilities:
Connect to http server
Create http request

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x1400971b0]
xor rax, rsp
mov qword [rbp + 0x48], rax
mov r15, r8
mov rsi, rdx
mov rdi, rcx
xor r13d, r13d
cmp qword [rcx + 0x10], r13
je 0x1400090c1
xor al, al
jmp 0x1400096ca
mov r12d, 0x10
cmp rdi, r15
je 0x14000910e
mov rbx, qword [r8 + 0x10]
mov r9, r15
cmp qword [r8 + 0x18], r12
jb 0x1400090dc
mov r9, qword [r8]
cmp rbx, qword [rcx + 0x18]
ja 0x140009106
mov r14, rdi
cmp qword [rcx + 0x18], r12
jb 0x1400090ee
mov r14, qword [rcx]
mov qword [rcx + 0x10], rbx
mov r8, rbx
mov rdx, r9
mov rcx, r14
call fcn.14004c670
mov byte [r14 + rbx], r13b
jmp 0x14000910e
mov rdx, rbx
call fcn.14001d4f0
lea rbx, [rdi + 0x20]
cmp rbx, rsi
je 0x140009163
mov r14, qword [rsi + 0x10]
cmp qword [rsi + 0x18], r12
jb 0x140009124
mov rsi, qword [rsi]
cmp r14, qword [rbx + 0x18]
ja 0x140009155
mov r12, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140009137
mov r12, qword [rbx]
mov qword [rbx + 0x10], r14
mov r8, r14
mov rdx, rsi
mov rcx, r12
call fcn.14004c670
mov byte [r12 + r14], r13b
mov r12d, 0x10
jmp 0x140009163
mov r9, rsi
mov rdx, r14
mov rcx, rbx
call fcn.14001d4f0
mov byte [rdi + 0x40], r13b
mov rcx, rbx
cmp qword [rbx + 0x18], r12
jb 0x140009173
mov rcx, qword [rbx]
mov esi, 0x1000
mov r14d, 4
cmp qword [rbx + 0x10], r14
jne 0x140009259
mov r8d, r14d
lea rdx, str.POST
call fcn.14004cd10
test eax, eax
jne 0x140009259
lea rdx, str.application_x_www_form_urlencoded
lea rcx, [rsp + 0x60]
call fcn.140015318
nop
lea rdx, str.Content_Type
lea rcx, [rsp + 0x40]
call fcn.140015318
nop
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140009c7c
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, r12
jb 0x14000920e
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, rsi
jb 0x140009209
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400096f7
call fcn.14004a774
movdqa xmm0, xmmword [0x140085cb0]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], r13b
mov rdx, qword [rsp + 0x78]
cmp rdx, r12
jb 0x140009259
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, rsi
jb 0x140009254
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400096fd
call fcn.14004a774
lea rcx, [rdi + 0x58]
cmp qword [rcx + 0x18], r12
jb 0x140009266
mov rcx, qword [rcx]
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rsi, rax
mov rcx, qword [rdi + 0x170]
test rcx, rcx
je 0x140009290
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov qword [rdi + 0x170], rsi
test rsi, rsi
je 0x1400090ba
mov eax, dword [rdi + 0x1c8]
test eax, eax
jle 0x1400092e2
mov dword [rbp - 0x70], eax
mov r9d, r14d
lea r8, [rbp - 0x70]
mov edx, 5
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov r9d, r14d
lea r8, [rbp - 0x70]
mov edx, 6
mov rcx, qword [rdi + 0x170]
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov rsi, qword [rdi + 0x170]
mov dword [rbp - 0x68], r13d
mov dword [rbp - 0x64], r13d
mov dword [rbp - 0x60], r13d
mov dword [rbp - 0x78], r14d
lea r9, [rbp - 0x78]
lea r8, [rbp - 0x68]
mov edx, 2
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetQueryOptionA]
mov dword [rbp - 0x78], r14d
lea r9, [rbp - 0x78]
lea r8, [rbp - 0x64]
mov edx, 5
mov rcx, qword [rdi + 0x170]
call qword [sym.imp.WININET.dll_InternetQueryOptionA]
mov dword [rbp - 0x78], r14d
lea r9, [rbp - 0x78]
lea r8, [rbp - 0x60]
mov edx, 6
mov rcx, qword [rdi + 0x170]
call qword [sym.imp.WININET.dll_InternetQueryOptionA]
lea r14, [rdi + 0x78]
mov rdx, r15
mov rcx, r14
call fcn.140008490
lea rdx, [r14 + 0x88]
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x38], xmm0
lea rcx, [rbp + 0x28]
call fcn.140017e54
nop
lea rdx, [rbp + 0x28]
cmp qword [rbp + 0x40], r12
cmovae rdx, qword [rbp + 0x28]
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], r13
xor r9d, r9d
movzx r8d, word [rdi + 0x9c]
mov rcx, qword [rdi + 0x170]
call qword [sym.imp.WININET.dll_InternetConnectA]
mov rsi, rax
mov rcx, qword [rdi + 0x178]
test rcx, rcx
je 0x1400093bd
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov qword [rdi + 0x178], rsi
test rsi, rsi
jne 0x1400093d1
mov bl, r13b
jmp 0x140009692
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
mov rdx, rbx
lea rcx, [rbp - 0x38]
call fcn.140017e54
nop
lea rdx, [rsp + 0x60]
mov rcx, r14
call fcn.140008808
mov rbx, rax
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.14000869c
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 8]
call fcn.14001b478
nop
mov rdx, qword [rsp + 0x58]
mov esi, 0x1000
cmp rdx, r12
jb 0x140009451
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, rsi
jb 0x14000944c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009703
call fcn.14004a774
movdqa xmm0, xmmword [0x140085cb0]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], r13b
mov rdx, qword [rsp + 0x78]
cmp rdx, r12
jb 0x14000949c
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, rsi
jb 0x140009497
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009709
call fcn.14004a774
movdqa xmm0, xmmword [0x140085cb0]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], r13b
lea rdx, str.HTTP_1.1
lea rcx, [rbp - 0x18]
call fcn.140015318
nop
lea rdx, [rbp - 0x58]
mov rcx, r14
call fcn.140008974
nop
lea rax, [rbp - 0x58]
cmp qword [rbp - 0x40], r12
cmovae rax, qword [rbp - 0x58]
mov qword [rbp - 0x48], r13
mov byte [rax], r13b
mov ecx, 0x48c0300
mov eax, 0x40c0300
cmp dword [rdi + 0x8c], 4
cmovne ecx, eax
cmp qword [rbp - 0x48], r13
jne 0x140009500
mov rax, r13
jmp 0x14000950d
lea rax, [rbp - 0x58]
cmp qword [rbp - 0x40], r12
cmovae rax, qword [rbp - 0x58]
lea r9, [rbp - 0x18]
cmp qword [rbp], r12
cmovae r9, qword [rbp - 0x18]
lea r8, [rbp + 8]
cmp qword [rbp + 0x20], r12
cmovae r8, qword [rbp + 8]
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], r12
cmovae rdx, qword [rbp - 0x38]
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
mov rcx, qword [rdi + 0x178]
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov rbx, rax
mov rcx, qword [rdi + 0x180]
test rcx, rcx
je 0x140009569
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov qword [rdi + 0x180], rbx
test rbx, rbx
setne bl
mov rdx, qword [rbp - 0x40]
cmp rdx, r12
jb 0x1400095ac
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, rsi
jb 0x1400095a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000970f
call fcn.14004a774
movdqa xmm0, xmmword [0x140085cb0]
movdqu xmmword [rbp - 0x48], xmm0
mov byte [rbp - 0x58], r13b
mov rdx, qword [rbp]
cmp rdx, r12
jb 0x1400095f3
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, rsi
jb 0x1400095ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009715
call fcn.14004a774
movdqa xmm0, xmmword [0x140085cb0]
movdqu xmmword [rbp - 8], xmm0
mov byte [rbp - 0x18], r13b
mov rdx, qword [rbp + 0x20]
cmp rdx, r12
jb 0x14000963a
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, rsi
jb 0x140009635
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000971b
call fcn.14004a774
movdqa xmm0, xmmword [0x140085cb0]
movdqu xmmword [rbp + 0x18], xmm0
mov byte [rbp + 8], r13b
mov rdx, qword [rbp - 0x20]
cmp rdx, r12
jb 0x140009681
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, rsi
jb 0x14000967c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009721
call fcn.14004a774
movdqa xmm0, xmmword [0x140085cb0]
movdqu xmmword [rbp - 0x28], xmm0
mov byte [rbp - 0x38], r13b
mov rdx, qword [rbp + 0x40]
cmp rdx, r12
jb 0x1400096c8
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400096c3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400096f1
call fcn.14004a774
mov al, bl
mov rcx, qword [rbp + 0x48]
xor rcx, rsp
call fcn.14004a750
mov rbx, qword [rsp + 0x1a8]
add rsp, 0x150
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140055738
nop
call fcn.140055738
nop
call fcn.140055738
nop
call fcn.140055738
nop
call fcn.140055738
nop
call fcn.140055738
nop
call fcn.140055738
nop
call fcn.140055738
nop
call fcn.140055738
int3