Function at 0x1400157a0
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 - 0x3c8]
sub rsp, 0x4c8
mov rax, qword [0x14016c1f0]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
mov r14, qword [rbp + 0x420]
xor eax, eax
mov rdi, r8
mov qword [rsp + 0x50], r14
mov rbx, rdx
mov qword [rsp + 0x70], rax
mov r12, rcx
mov qword [rsp + 0x78], rax
xor edx, edx
mov qword [rbp - 0x80], rax
mov r8d, 0x80
mov qword [rbp - 0x78], rax
lea rcx, [rbp - 0x10]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
mov r13, r9
call fcn.1400033e1
xor edx, edx
lea rcx, [rbp + 0x70]
mov r8d, 0x104
call fcn.1400033e1
xor edx, edx
lea rcx, [rbp + 0x290]
mov r8d, 0x104
call fcn.1400033e1
cmp byte [0x14016d690], 0
je 0x140015847
mov eax, 0x193
jmp 0x140015c2a
mov qword [rsp + 0x4c0], rsi
lea rcx, [rbp + 0x70]
mov qword [rsp + 0x4b8], r15
mov r9, r13
xor r15d, r15d
mov edx, 0x104
mov qword [rsp + 0x20], r15
lea r8d, [r15 + 0xb]
call fcn.140002ced
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x70]
call fcn.140004cc8
test eax, eax
je 0x1400158ef
xor edx, edx
lea rcx, [rbp + 0x180]
mov r8d, 0x104
call fcn.1400033e1
mov r9, r13
mov qword [rsp + 0x20], r15
mov edx, 0x104
lea r8d, [r15 + 3]
lea rcx, [rbp + 0x180]
call fcn.140002ced
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x180]
call fcn.140004cc8
test eax, eax
je 0x1400158d6
mov esi, 0x194
jmp 0x140015bc0
or r9, 0xffffffffffffffff
lea r8, [rbp + 0x180]
mov edx, 0x104
lea rcx, [rbp + 0x70]
call fcn.140003c4c
mov rdx, qword [str.If_Modified_Since:]
mov rcx, rbx
call fcn.14000389b
mov rsi, rax
test rax, rax
je 0x1400159da
mov rcx, qword [str.If_Modified_Since:]
test rcx, rcx
jne 0x14001591b
mov rax, r15
jmp 0x140015925
mov edx, 0x104
call fcn.140004e71
lea rcx, [rax + rsi]
call fcn.140015ea0
cmp qword [rbp - 0x70], rax
jg 0x1400159da
xor ecx, ecx
mov esi, 0x130
call fcn.14000213a
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x58]
xor eax, eax
lea rcx, [rbp - 0x60]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x40], eax
call fcn.1400016c7
lea r9, [rbp - 0x60]
mov edx, 0x40
lea r8, str._a___d__b__Y__H:_M:_S_GMT
lea rcx, [rbp - 0x10]
call fcn.1400040ac
lea rax, [rbp - 0x10]
mov r9d, esi
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, [0x14011ded8]
mov rdx, rbx
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.1400151d0
test rbx, rbx
je 0x1400159c2
mov rdx, rdi
mov rcx, rbx
call fcn.140004e71
mov r15, rax
mov rcx, qword [r12]
xor r9d, r9d
mov r8d, r15d
mov rdx, rbx
call qword [sym.imp.WSOCK32.dll_send]
jmp 0x140015bc0
lea r8, [0x14011d688]
mov qword [rsp + 0x58], r15
lea rdx, [rbp + 0x70]
lea rcx, [rsp + 0x58]
call fcn.140004ead
mov r14, qword [rsp + 0x58]
test r14, r14
jne 0x140015a08
mov esi, 0x194
jmp 0x140015bbb
xor edx, edx
mov rcx, r14
lea r8d, [rdx + 2]
call fcn.14000494e
xor r8d, r8d
xor edx, edx
mov rcx, r14
call fcn.14000494e
mov rcx, qword [rsp + 0x50]
lea rdx, str.application_octet_stream
call fcn.1400033f5
test eax, eax
jne 0x140015a53
mov r9, r13
lea r8, str.Content_Disposition:_attachment__filename__s___r_n
lea rdx, [rbp + 0x290]
mov ecx, 0x104
call fcn.1400151d0
xor ecx, ecx
mov esi, 0xc8
call fcn.14000213a
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x60]
xor eax, eax
lea rcx, [rbp - 0x60]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x40], eax
call fcn.1400016c7
lea r9, [rbp - 0x60]
mov edx, 0x40
lea r8, str._a___d__b__Y__H:_M:_S_GMT
lea rcx, [rbp - 0x10]
call fcn.1400040ac
mov rax, qword [rbp - 0x70]
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x68], rax
lea rcx, [rbp - 0x38]
xor eax, eax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
mov dword [rbp - 0x18], eax
call fcn.1400016c7
lea r9, [rbp - 0x38]
mov edx, 0x40
lea r8, str._a___d__b__Y__H:_M:_S_GMT
lea rcx, [rbp - 0x10]
call fcn.1400040ac
lea rax, [rbp + 0x290]
mov r9d, esi
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 [rbp - 0x7c]
mov rdx, rbx
mov dword [rsp + 0x40], eax
mov rcx, rdi
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x28], rax
lea rax, [0x14011ded8]
mov qword [rsp + 0x20], rax
call fcn.1400151d0
test rbx, rbx
je 0x140015b48
mov rdx, rdi
mov rcx, rbx
call fcn.140004e71
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], r14
mov r8d, 1
mov rdx, rdi
mov rcx, rbx
call fcn.1400023c9
movsxd rcx, eax
test eax, eax
je 0x140015bb3
nop dword [rax + 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], r14
mov r8d, 1
mov rdx, rdi
mov rcx, rbx
call fcn.1400023c9
movsxd rcx, eax
test eax, eax
jne 0x140015b80
mov rcx, r14
call fcn.140003cfb
mov r14, qword [rsp + 0x50]
cmp dword [reloc.WSOCK32.dll_accept], 4
mov r15, qword [rsp + 0x4b8]
jl 0x140015c20
test dword [0x14016b7a0], 0x40000
je 0x140015c20
lea rax, [rbp + 0x70]
mov edx, 4
mov qword [rsp + 0x40], rax
lea r9, str.........ESIF_WSSourcesesif_ws_http.c
mov qword [rsp + 0x38], r14
lea rax, str.HTTP:_status_d__type_s__file_s_n
mov dword [rsp + 0x30], esi
lea r8, str.esif_ws_http_process_static_pages
mov qword [rsp + 0x28], rax
mov ecx, 0x40000
mov dword [rsp + 0x20], 0x113
call fcn.140003693
mov eax, esi
mov rsi, qword [rsp + 0x4c0]
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.140004ca5
add rsp, 0x4c8
pop r14
pop r13
pop r12
pop rdi
pop rbx
pop rbp
ret