Function at 0x140025bac
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 [0x1400b1040]
xor rax, rsp
mov qword [rbp + 0x220], rax
mov rdi, rdx
mov rsi, rcx
mov rcx, rdx
call fcn.1400224ac
xor r14d, r14d
test al, al
jne 0x140025e4f
mov qword [rbp + 0x90], r14
mov qword [rbp + 0x98], 7
mov word [rbp + 0x80], r14w
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14002249c
jmp 0x140025d03
lea rdx, [rcx + 0x20]
lea rbx, [rdx + 0x20]
lea r8, [0x14007fd4c]
lea rcx, [rbp + 0xe0]
call fcn.14000eb5c
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0xc0]
call fcn.14000ea84
nop
lea r8, [0x14007fd44]
mov rdx, rax
lea rcx, [rbp + 0xa0]
call fcn.14000ec44
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x140025c7c
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp + 0x80]
call fcn.14000c808
nop
lea rcx, [rbp + 0xa0]
call fcn.14000db60
nop
lea rcx, [rbp + 0xc0]
call fcn.14000db60
nop
lea rcx, [rbp + 0xe0]
call fcn.14000db60
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax + 0x10]
cmp byte [rdx + 0x19], r14b
je 0x140025ce6
mov rcx, qword [rax + 8]
jmp 0x140025cd9
cmp rax, qword [rcx + 0x10]
jne 0x140025cdf
mov rax, rcx
mov qword [rsp + 0x40], rcx
mov rcx, qword [rcx + 8]
cmp byte [rcx + 0x19], r14b
je 0x140025cc7
mov qword [rsp + 0x40], rcx
jmp 0x140025d03
mov rcx, qword [rdx]
cmp byte [rcx + 0x19], r14b
jne 0x140025cfe
mov rdx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], r14b
je 0x140025cef
mov qword [rsp + 0x40], rdx
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.1400224b8
mov rcx, qword [rsp + 0x40]
cmp rcx, qword [rax]
jne 0x140025c28
mov rax, qword [rbp + 0x90]
lea rdx, [rax - 2]
cmp rdx, rax
ja 0x140025d53
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 0x140025d6c
lfence
xor r8d, r8d
sub rdx, qword [rbp + 0x90]
lea rcx, [rbp + 0x80]
call fcn.14000dca4
call fcn.14001f0b4
mov r9d, 1
mov r8, qword [rax]
lea edx, [r9 + 3]
lea rcx, [rsp + 0x78]
call fcn.14000c48c
nop
lea rbx, [rax + 0x10]
lea rdx, str.HTTP_request
mov rcx, rbx
call fcn.140012144
test rbx, rbx
jne 0x140025da6
mov rcx, r14
jmp 0x140025db0
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
add rcx, rbx
call fcn.14001ae04
mov rdx, rsi
mov rcx, rbx
call fcn.1400246d8
lea rdx, str.:_request_headers:
mov rcx, rbx
call fcn.140012144
lea rdx, [rbp + 0x80]
cmp qword [rbp + 0x98], 8
cmovae rdx, qword [rbp + 0x80]
mov r8, qword [rbp + 0x90]
mov rcx, rbx
call fcn.140012f6c
nop
lea rcx, [rbp + 0x20]
call fcn.14000c428
nop
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x20], rax
lea rcx, [rbp + 0x20]
call fcn.14002eea0
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 0x140025e76
lea rcx, [rbp + 0x80]
call fcn.14000db60
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.14002ca00
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.14000c8bc
mov rsi, rax
movzx edi, bx
or edi, 0x80070000
test ebx, ebx
cmovle edi, ebx
mov edx, ebx
lea rcx, [rbp + 0x100]
call fcn.140006500
nop
mov r8, rax
lea rdx, str.WinHttpAddRequestHeaders_failed_with
lea rcx, [rbp + 0x120]
call fcn.14000eea8
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_27_backendcommonupdtlib_srcgfehttpaccess.cpp
mov r8d, edi
mov rdx, rax
lea rcx, [rbp + 0x140]
call fcn.1400244ac
lea rdx, [0x1400ae3f0]
lea rcx, [rbp + 0x140]
call fcn.140031e08
int3