Function at 0x1800015c0
Capabilities:
Create http request

Disassembly:
mov r11, rsp
push rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0xe8
mov qword [rsp + 0x80], 0xfffffffffffffffe
mov rax, qword [0x1800fca30]
xor rax, rsp
mov qword [rsp + 0xd8], rax
mov r13, r9
mov r12, r8
mov rdi, rdx
mov ebp, ecx
cmp ecx, 0xf423f
je 0x18000187e
mov qword [r11 - 0x48], 7
xor esi, esi
mov qword [r11 - 0x50], rsi
mov word [r11 - 0x60], si
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [r11 - 0x68]
call fcn.1800030a0
nop
lea r8, [rsp + 0xb0]
mov edx, ebp
mov rcx, rdi
call fcn.180001050
test al, al
jne 0x180001660
cmp qword [rsp + 0xd0], 8
jb 0x180001659
mov rcx, qword [rsp + 0xb8]
call fcn.1800a2030
xor al, al
jmp 0x180001a0d
lea rax, [0x1800cb760]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rsi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rbx, rax
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x50], 0x1388
mov r9d, 4
lea r8, [rsp + 0x50]
lea edx, [r9 - 2]
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetSetOptionW]
mov dword [rsp + 0x40], 3
mov r9d, 4
lea r8, [rsp + 0x40]
lea edx, [r9 - 1]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetSetOptionW]
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 0x84400000
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x78]
call fcn.180007db0
movzx r13d, al
test rbx, rbx
je 0x18000172b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r13b, r13b
jne 0x18000175f
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x180001740
call fcn.1800a22f0
nop
cmp qword [rsp + 0xd0], 8
jb 0x180001758
mov rcx, qword [rsp + 0xb8]
call fcn.1800a2030
xor al, al
jmp 0x180001a0d
mov r8d, dword [rsp + 0x48]
mov rcx, r8
mov rax, qword [rsp + 0x60]
cmp r8, rax
cmova rcx, rax
mov qword [rsp + 0x70], rcx
test r8d, r8d
je 0x18000184f
lea r8, [rsp + 0x58]
mov edx, ebp
lea rcx, [rsp + 0x58]
call fcn.180001280
mov qword [rsp + 0xa8], 0xf
mov qword [rsp + 0xa0], rsi
mov byte [rsp + 0x90], 0
mov r8d, dword [rsp + 0x70]
mov rbx, qword [rsp + 0x68]
mov rdx, rbx
lea rcx, [rsp + 0x88]
call fcn.180002850
lea rcx, [rsp + 0x90]
cmp qword [rsp + 0xa8], 0x10
cmovae rcx, qword [rsp + 0x90]
mov rdx, r12
call fcn.1800069e0
movzx edi, al
cmp qword [rsp + 0xa8], 0x10
jb 0x180001805
mov rcx, qword [rsp + 0x90]
call fcn.1800a2030
mov qword [rsp + 0xa8], 0xf
mov qword [rsp + 0xa0], rsi
mov byte [rsp + 0x90], 0
test rbx, rbx
je 0x18000182f
mov rcx, rbx
call fcn.1800a22f0
nop
cmp qword [rsp + 0xd0], 8
jb 0x180001847
mov rcx, qword [rsp + 0xb8]
call fcn.1800a2030
mov al, dil
jmp 0x180001a0d
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x18000185f
call fcn.1800a22f0
nop
cmp qword [rsp + 0xd0], 8
jb 0x180001877
mov rcx, qword [rsp + 0xb8]
call fcn.1800a2030
xor al, al
jmp 0x180001a0d
lea rax, [0x1800cb760]
mov qword [rsp + 0x58], rax
xor esi, esi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rsi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rbx, rax
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x48], 0x1388
lea r9d, [rsi + 4]
lea r8, [rsp + 0x48]
lea edx, [rsi + 2]
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetSetOptionW]
mov dword [rsp + 0x40], 3
lea r9d, [rsi + 4]
lea r8, [rsp + 0x40]
lea edx, [rsi + 3]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetSetOptionW]
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 0x84400000
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x58]
mov rdx, rdi
lea rcx, [rsp + 0x78]
call fcn.180007db0
movzx ebp, al
test rbx, rbx
je 0x18000193f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
test bpl, bpl
jne 0x18000195a
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x180001953
call fcn.1800a22f0
xor al, al
jmp 0x180001a0d
mov r8d, dword [rsp + 0x50]
mov rcx, r8
mov rax, qword [rsp + 0x60]
cmp r8, rax
cmova rcx, rax
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0xa8], 0xf
mov qword [rsp + 0xa0], rsi
mov byte [rsp + 0x90], 0
mov rbx, qword [rsp + 0x68]
mov rdx, rbx
lea rcx, [rsp + 0x88]
call fcn.180002850
lea rcx, [rsp + 0x90]
cmp qword [rsp + 0xa8], 0x10
cmovae rcx, qword [rsp + 0x90]
mov rdx, r12
call fcn.1800069e0
movzx edi, al
cmp qword [rsp + 0xa8], 0x10
jb 0x1800019e1
mov rcx, qword [rsp + 0x90]
call fcn.1800a2030
mov qword [rsp + 0xa8], 0xf
mov qword [rsp + 0xa0], rsi
mov byte [rsp + 0x90], 0
test rbx, rbx
je 0x180001a0a
mov rcx, rbx
call fcn.1800a22f0
mov al, dil
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.1800a3210
add rsp, 0xe8
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret