Function at 0x14003ee90
Capabilities:
Prepare http request

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1c8]
sub rsp, 0x2c8
mov rax, qword [0x14015a010]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rdi, r9
mov rbx, r8
mov r13, rdx
mov r14, rcx
mov qword [rsp + 0x60], rcx
mov rsi, qword [rbp + 0x230]
mov dword [rsp + 0x40], 0
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0xa0]
call fcn.1400cb730
mov rax, qword gs:[0x58]
mov r15, qword [rax]
mov ecx, 0x18
mov eax, dword [rcx + r15]
mov r12d, 0x10
test al, 1
jne 0x14003ef26
or eax, 1
mov dword [rcx + r15], eax
xor eax, eax
mov qword [r15 + r12], rax
call fcn.14009eb50
mov qword [r15 + r12], rax
mov rax, qword [r15 + r12]
mov qword [rbp + 0xa0], rax
mov dword [rbp + 0xa8], 1
lea rcx, [rbp + 0xb0]
call fcn.14000b2a0
nop
mov rcx, qword [rbp + 0xa0]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x14010d7b8]
cmp dword [rbp + 0xa8], eax
setl byte [rbp + 0x1a8]
jl 0x14003efb1
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x14003ef78
mov rax, qword [rbx]
mov r9, rsi
cmp qword [rsi + 0x18], 8
jb 0x14003ef85
mov r9, qword [rsi]
mov r8, rdi
cmp qword [rdi + 0x18], 8
jb 0x14003ef92
mov r8, qword [rdi]
mov qword [rsp + 0x20], rax
lea rdx, str.Open_WinHttp_request__S__S_using_proxy__S
lea rcx, [rbp + 0xa0]
call fcn.140016420
mov byte [rbp + 0x1a8], 1
lea rcx, [rbp + 0xa0]
call fcn.140005530
mov eax, 0x800100
mov ecx, 0x100
cmp byte [r13], 0
cmove eax, ecx
xor ecx, ecx
mov qword [r14], rcx
cmp qword [rsi + 0x18], 8
jb 0x14003efde
mov rsi, qword [rsi]
cmp qword [rdi + 0x18], 8
jb 0x14003efe8
mov rdi, qword [rdi]
mov dword [rsp + 0x30], eax
xor eax, eax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8, rsi
mov rdx, rdi
mov rcx, qword [r13 + 8]
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rcx, rax
mov qword [r14], rax
mov dword [rsp + 0x40], 1
test rax, rax
je 0x14003f149
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rax
cmp qword [rbx + 0x10], rax
jne 0x14003f041
mov dword [rsp + 0x68], 1
jmp 0x14003f06e
mov dword [rsp + 0x68], 3
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x14003f056
mov rax, qword [rbx]
mov qword [rsp + 0x70], rax
add rbx, 0x68
cmp qword [rbx + 0x18], 8
jb 0x14003f069
mov rbx, qword [rbx]
mov qword [rsp + 0x78], rbx
mov r9d, 0x18
lea r8, [rsp + 0x68]
lea edx, [r9 + 0xe]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
je 0x14003f1bf
mov dword [rbp - 0x80], 2
mov r9d, 4
lea r8, [rbp - 0x80]
lea edx, [r9 + 0x3b]
mov rcx, qword [r14]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
je 0x14003f0d3
mov rax, r14
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1400c5980
add rsp, 0x2c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, [rbp - 0x70]
call fcn.140008760
call fcn.14009ebd0
mov rdx, rax
mov r8d, 3
lea rcx, [rbp - 0x70]
call fcn.1400054e0
nop
cmp byte [rbp + 0x98], 0
jne 0x14003f11d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.WinHttpSetOption_WINHTTP_DISABLE_REDIRECTS__failed:__lu
lea rcx, [rbp - 0x70]
call fcn.140016420
mov byte [rbp + 0x98], 1
lea rcx, [rbp - 0x70]
call fcn.140005530
lea rdx, str.WinHttpSetOption_WINHTTP_DISABLE_REDIRECTS__failed
lea rcx, [rsp + 0x48]
call fcn.140004160
lea rdx, [0x140156678]
lea rcx, [rsp + 0x48]
call fcn.1400cb8d0
int3
lea rcx, [rbp - 0x70]
call fcn.140008760
call fcn.14009ebd0
mov rdx, rax
mov r8d, 3
lea rcx, [rbp - 0x70]
call fcn.1400054e0
nop
cmp byte [rbp + 0x98], 0
jne 0x14003f193
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.WinHttpOpenRequest_failed:__lu
lea rcx, [rbp - 0x70]
call fcn.140016420
mov byte [rbp + 0x98], 1
lea rcx, [rbp - 0x70]
call fcn.140005530
lea rdx, str.WinHttpOpenRequest_failed
lea rcx, [rsp + 0x48]
call fcn.140004160
lea rdx, [0x140156678]
lea rcx, [rsp + 0x48]
call fcn.1400cb8d0
int3
lea rcx, [rbp - 0x70]
call fcn.140008760
call fcn.14009ebd0
mov rdx, rax
mov r8d, 3
lea rcx, [rbp - 0x70]
call fcn.1400054e0
nop
cmp byte [rbp + 0x98], 0
jne 0x14003f209
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.WinHttpSetOption_WINHTTP_OPTION_PROXY__failed:__lu
lea rcx, [rbp - 0x70]
call fcn.140016420
mov byte [rbp + 0x98], 1
lea rcx, [rbp - 0x70]
call fcn.140005530
lea rdx, str.WinHttpSetOption_WINHTTP_OPTION_PROXY__failed
lea rcx, [rsp + 0x48]
call fcn.140004160
lea rdx, [0x140156678]
lea rcx, [rsp + 0x48]
call fcn.1400cb8d0
int3