Function at 0x14008fdbc
Capabilities:
Set http header

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x248]
sub rsp, 0x330
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1400e30b0]
xor rax, rsp
mov qword [rbp + 0x220], rax
mov rdi, rdx
mov rsi, rcx
mov rcx, rdx
call fcn.14008cba8
xor r14d, r14d
test al, al
jne 0x14009005f
mov qword [rbp + 0x90], r14
mov qword [rbp + 0x98], 7
mov word [rbp + 0x80], r14w
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14008cb98
jmp 0x14008ff13
lea rdx, [rcx + 0x20]
lea rbx, [rdx + 0x20]
lea r8, [0x1400b8d34]
lea rcx, [rbp + 0xe0]
call fcn.1400111ec
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0xc0]
call fcn.140011338
nop
lea r8, [0x1400c370c]
mov rdx, rax
lea rcx, [rbp + 0xa0]
call fcn.1400112d4
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x14008fe8c
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp + 0x80]
call fcn.140003440
nop
lea rcx, [rbp + 0xa0]
call fcn.1400045e4
nop
lea rcx, [rbp + 0xc0]
call fcn.1400045e4
nop
lea rcx, [rbp + 0xe0]
call fcn.1400045e4
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax + 0x10]
cmp byte [rdx + 0x19], r14b
je 0x14008fef6
mov rcx, qword [rax + 8]
jmp 0x14008fee9
cmp rax, qword [rcx + 0x10]
jne 0x14008feef
mov rax, rcx
mov qword [rsp + 0x40], rcx
mov rcx, qword [rcx + 8]
cmp byte [rcx + 0x19], r14b
je 0x14008fed7
mov qword [rsp + 0x40], rcx
jmp 0x14008ff13
mov rcx, qword [rdx]
cmp byte [rcx + 0x19], r14b
jne 0x14008ff0e
mov rdx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], r14b
je 0x14008feff
mov qword [rsp + 0x40], rdx
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.14008cbb4
mov rcx, qword [rsp + 0x40]
cmp rcx, qword [rax]
jne 0x14008fe38
mov rax, qword [rbp + 0x90]
lea rdx, [rax - 2]
cmp rdx, rax
ja 0x14008ff63
lea rax, [rbp + 0x80]
cmp qword [rbp + 0x98], 8
cmovae rax, qword [rbp + 0x80]
mov qword [rbp + 0x90], rdx
mov word [rax + rdx*2], r14w
jmp 0x14008ff7c
lfence
xor r8d, r8d
sub rdx, qword [rbp + 0x90]
lea rcx, [rbp + 0x80]
call fcn.14001550c
call fcn.14003ab84
mov r9d, 1
mov r8, qword [rax]
lea edx, [r9 + 3]
lea rcx, [rsp + 0x78]
call fcn.140003144
nop
lea rbx, [rax + 0x10]
lea rdx, str.HTTP_request
mov rcx, rbx
call fcn.140007858
test rbx, rbx
jne 0x14008ffb6
mov rcx, r14
jmp 0x14008ffc0
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
add rcx, rbx
call fcn.140012990
mov rdx, rsi
mov rcx, rbx
call fcn.14008e9fc
lea rdx, str.:_request_headers:
mov rcx, rbx
call fcn.140007858
lea rdx, [rbp + 0x80]
cmp qword [rbp + 0x98], 8
cmovae rdx, qword [rbp + 0x80]
mov r8, qword [rbp + 0x90]
mov rcx, rbx
call fcn.14000e8c0
nop
lea rcx, [rbp + 0x20]
call fcn.1400030e0
nop
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x20], rax
lea rcx, [rbp + 0x20]
call fcn.140043ee4
nop
lea rdx, [rbp + 0x80]
cmp qword [rbp + 0x98], 8
cmovae rdx, qword [rbp + 0x80]
mov r9d, 0x20000000
or r8d, 0xffffffff
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
je 0x140090086
lea rcx, [rbp + 0x80]
call fcn.1400045e4
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.140046b20
lea r11, [rsp + 0x330]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ebx, eax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x58]
call fcn.1400034f4
mov rsi, rax
movzx edi, bx
or edi, 0x80070000
test ebx, ebx
cmovle edi, ebx
mov edx, ebx
lea rcx, [rbp + 0x100]
call fcn.140090b38
nop
mov r8, rax
lea rdx, str.WinHttpAddRequestHeaders_failed_with
lea rcx, [rbp + 0x120]
call fcn.14002ecd0
nop
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], 0xdb
lea r9, str.C:dvsp4_build_sw_relgfclient_rel_03_20_backendcommonupdtlib_srcgfehttpaccess.cpp
mov r8d, edi
mov rdx, rax
lea rcx, [rbp + 0x140]
call fcn.14008e7d0
lea rdx, [0x1400e0d20]
lea rcx, [rbp + 0x140]
call fcn.140065b40
int3