Function at 0x14002a270
Capabilities:
Send data
Send data on socket
Send http request

Disassembly:
push rbp
push rbx
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x3b8]
sub rsp, 0x4b8
mov rax, qword [0x140188050]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov r13, qword [rbp + 0x410]
xor eax, eax
mov rdi, r8
mov qword [rsp + 0x60], rax
mov rbx, rdx
mov qword [rsp + 0x68], rax
mov r12, rcx
mov qword [rsp + 0x70], rax
xor edx, edx
mov qword [rsp + 0x78], rax
mov r8d, 0x80
mov qword [rbp - 0x80], rax
lea rcx, [rbp - 0x20]
mov qword [rbp - 0x78], rax
mov r14, r9
call fcn.1400082a0
xor edx, edx
lea rcx, [rbp + 0x60]
mov r8d, 0x104
call fcn.1400082a0
xor edx, edx
lea rcx, [rbp + 0x280]
mov r8d, 0x104
call fcn.1400082a0
cmp byte [0x1401894f0], 0
je 0x14002a314
mov eax, 0x193
jmp 0x14002a6ef
mov qword [rsp + 0x4a8], r15
lea rcx, [rbp + 0x60]
xor r15d, r15d
mov r9, r14
mov edx, 0x104
mov qword [rsp + 0x20], r15
lea r8d, [r15 + 0xb]
call fcn.140006c30
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x60]
call fcn.14000d2d0
test eax, eax
je 0x14002a3b5
xor edx, edx
lea rcx, [rbp + 0x170]
mov r8d, 0x104
call fcn.1400082a0
mov r9, r14
mov qword [rsp + 0x20], r15
mov edx, 0x104
lea r8d, [r15 + 3]
lea rcx, [rbp + 0x170]
call fcn.140006c30
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x170]
call fcn.14000d2d0
test eax, eax
je 0x14002a39c
mov r14d, 0x194
jmp 0x14002a68b
or r9, 0xffffffffffffffff
lea r8, [rbp + 0x170]
mov edx, 0x104
lea rcx, [rbp + 0x60]
call fcn.140009db0
mov rdx, qword [str.If_Modified_Since:]
mov rcx, rbx
mov qword [rsp + 0x4b0], rsi
call fcn.1400091e0
mov rsi, rax
test rax, rax
je 0x14002a4a9
mov rcx, qword [str.If_Modified_Since:]
test rcx, rcx
jne 0x14002a3e9
mov rax, r15
jmp 0x14002a3f3
mov edx, 0x104
call fcn.14000d820
lea rcx, [rax + rsi]
call fcn.14002a960
cmp qword [rbp - 0x80], rax
jg 0x14002a4a9
xor ecx, ecx
mov r14d, 0x130
call fcn.1400046c0
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x50]
xor eax, eax
lea rcx, [rbp - 0x70]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
mov dword [rbp - 0x50], eax
call fcn.140002540
lea r9, [rbp - 0x70]
mov edx, 0x40
lea r8, str._a___d__b__Y__H:_M:_S_GMT
lea rcx, [rbp - 0x20]
call fcn.14000abc0
lea rax, [rbp - 0x20]
mov r9d, r14d
mov qword [rsp + 0x28], rax
lea r8, str.HTTP_1.1__d_Not_Modified_r_nServer:_ESIF_UF__s_r_nDate:__s_r_nConnection:_close_r_n_r_n
lea rax, [0x140137f68]
mov rdx, rbx
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.140029cb0
test rbx, rbx
je 0x14002a491
mov rdx, rdi
mov rcx, rbx
call fcn.14000d820
mov r15, rax
mov rcx, qword [r12]
xor r9d, r9d
mov r8d, r15d
mov rdx, rbx
call qword [sym.imp.WSOCK32.dll_send]
jmp 0x14002a683
xor r8d, r8d
lea rdx, [0x14013771c]
lea rcx, [rbp + 0x60]
call fcn.140029b40
mov rsi, rax
test rax, rax
jne 0x14002a4cf
mov r14d, 0x194
jmp 0x14002a683
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 2]
call fcn.14000c790
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call fcn.14000c790
lea rdx, str.application_octet_stream
mov rcx, r13
call fcn.1400082e0
test eax, eax
jne 0x14002a518
mov r9, r14
lea r8, str.Content_Disposition:_attachment__filename__s___r_n
lea rdx, [rbp + 0x280]
mov ecx, 0x104
call fcn.140029cb0
xor ecx, ecx
mov r14d, 0xc8
call fcn.1400046c0
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x50]
xor eax, eax
lea rcx, [rbp - 0x70]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
mov dword [rbp - 0x50], eax
call fcn.140002540
lea r9, [rbp - 0x70]
mov edx, 0x40
lea r8, str._a___d__b__Y__H:_M:_S_GMT
lea rcx, [rbp - 0x20]
call fcn.14000abc0
mov rax, qword [rbp - 0x80]
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x58], rax
lea rcx, [rbp - 0x48]
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x28], eax
call fcn.140002540
lea r9, [rbp - 0x48]
mov edx, 0x40
lea r8, str._a___d__b__Y__H:_M:_S_GMT
lea rcx, [rbp - 0x20]
call fcn.14000abc0
lea rax, [rbp + 0x280]
mov r9d, r14d
mov qword [rsp + 0x48], rax
lea r8, str.HTTP_1.1__d_OK_r_nServer:_ESIF_UF__s_r_nLast_Modified:__s_r_nDate:__s_r_nContent_Type:__s_r_nContent_Length:__ld_r_n_sConnection:_close_r_n_r_n
mov eax, dword [rsp + 0x74]
mov rdx, rbx
mov dword [rsp + 0x40], eax
mov rcx, rdi
mov qword [rsp + 0x38], r13
lea rax, [rbp - 0x20]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x28], rax
lea rax, [0x140137f68]
mov qword [rsp + 0x20], rax
call fcn.140029cb0
test rbx, rbx
je 0x14002a60a
mov rdx, rdi
mov rcx, rbx
call fcn.14000d820
mov r15, rax
mov rcx, qword [r12]
xor r9d, r9d
mov r8d, r15d
mov rdx, rbx
call qword [sym.imp.WSOCK32.dll_send]
mov r9, rdi
mov qword [rsp + 0x20], rsi
mov r8d, 1
mov rdx, rdi
mov rcx, rbx
call fcn.140004f30
movsxd rcx, eax
test eax, eax
jle 0x14002a673
nop dword [rax]
mov r8d, ecx
xor r9d, r9d
mov rcx, qword [r12]
mov rdx, rbx
call qword [sym.imp.WSOCK32.dll_send]
mov r9, rdi
mov qword [rsp + 0x20], rsi
mov r8d, 1
mov rdx, rdi
mov rcx, rbx
call fcn.140004f30
movsxd rcx, eax
test eax, eax
jg 0x14002a640
mov rcx, rsi
call fcn.140007510
mov rcx, rsi
call fcn.140009ff0
mov rsi, qword [rsp + 0x4b0]
cmp dword [reloc.WSOCK32.dll_accept], 4
mov r15, qword [rsp + 0x4a8]
jl 0x14002a6ec
test dword [0x1401877e0], 0x8000
je 0x14002a6ec
lea rax, [rbp + 0x60]
mov edx, 4
mov qword [rsp + 0x40], rax
lea r9, str.........ESIF_WSSourcesesif_ws_http.c
mov qword [rsp + 0x38], r13
lea rax, str.HTTP:_status_d__type_s__file_s_n
mov dword [rsp + 0x30], r14d
lea r8, str.esif_ws_http_process_static_pages
mov qword [rsp + 0x28], rax
mov ecx, 0x8000
mov dword [rsp + 0x20], 0x113
call fcn.140008b60
mov eax, r14d
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.14000d260
add rsp, 0x4b8
pop r14
pop r13
pop r12
pop rdi
pop rbx
pop rbp
ret