Function at 0x14007e760
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
mov rsi, 0xffffffffffffffff
mov qword [rsp + 0x48], r12
xor ebx, ebx
mov eax, 0xffff00
mov rdi, rcx
mov dword [rcx + 0x29c], eax
lea r12d, [rsi + 5]
cmp byte [rcx + 0x299], bl
je 0x14007e962
cmp byte [rcx + 0x298], bl
je 0x14007e7e9
mov eax, dword [rcx + 0x260]
lea r14, [rbp + 0x30]
movss xmm2, dword [0x14014930c]
xorps xmm0, xmm0
movss xmm1, dword [0x140149308]
mov byte [rbp + 0x38], 1
cvtsi2ss xmm0, rax
mov dword [rcx + 0x2a8], 2
mov byte [rbp + 0x31], bl
divss xmm2, xmm0
subss xmm1, xmm2
cvttss2si eax, xmm1
mov byte [rbp + 0x30], al
jmp 0x14007e94e
xor eax, eax
mov dword [rcx + 0x2a8], recv
mov qword [rbp - 0x20], rax
lea r14, [rbp - 0x20]
mov dword [rbp - 0x18], eax
mov edx, 2
movzx eax, word [rcx + 0x260]
mov word [rbp - 0x20], ax
movzx eax, byte [rcx + 0x290]
shl al, 3
cmp dword [rcx + 0x258], 1
mov byte [rbp - 0x1c], al
seta al
mov qword [rsp + 0x40], r15
inc al
mov byte [rbp + 0x38], 9
add rcx, 0x28
mov byte [rbp - 0x1b], al
call fcn.140025da0
lea r8, [0x14012dcb0]
mov rdx, rbx
nop dword [rax + rax]
movzx ecx, word [rax + rdx*2]
cmp cx, word [r8 + rdx*2]
jne 0x14007e87b
movzx ecx, word [rax + rdx*2 + 2]
cmp cx, word [r8 + rdx*2 + 2]
jne 0x14007e87b
add rdx, 2
cmp rdx, 0xa
jne 0x14007e850
mov word [rbp - 0x1a], bx
jmp 0x14007e949
mov edx, 2
lea rcx, [rdi + 0x28]
call fcn.140025da0
mov r8, rax
lea r9, [0x14012bb38]
mov rdx, rsi
nop word [rax + rax]
movzx ecx, word [r8 + rdx*2 + 2]
cmp cx, word [r9 + rdx*2 + 2]
jne 0x14007e8c4
add rdx, 2
cmp rdx, 0xb
je 0x14007e906
movzx eax, word [r8 + rdx*2]
cmp ax, word [r9 + rdx*2]
je 0x14007e8a0
mov edx, 2
lea rcx, [rdi + 0x28]
call fcn.140025da0
mov rdx, rbx
lea r9, [0x1401302a8]
mov r8d, 6
nop dword [rax]
nop word [rax + rax]
movzx ecx, word [rax + rdx*2]
inc rdx
cmp cx, word [r9 + rdx*2 - 2]
jne 0x14007e90d
cmp rdx, r8
jne 0x14007e8f0
jmp 0x14007e944
mov word [rbp - 0x1a], r12w
jmp 0x14007e949
mov edx, 2
lea rcx, [rdi + 0x28]
call fcn.140025da0
mov rdx, rbx
lea r9, [0x140130298]
mov r8d, 7
nop dword [rax + rax]
movzx ecx, word [rax + rdx*2]
inc rdx
cmp cx, word [r9 + rdx*2 - 2]
jne 0x14007e949
cmp rdx, r8
jne 0x14007e930
mov word [rbp - 0x1a], r8w
mov r15, qword [rsp + 0x40]
mov ecx, dword [rdi + 0x2a8]
mov eax, dword [rdi + 0x29c]
mov byte [rdi + 0x299], bl
jmp 0x14007e971
mov dword [rcx + 0x2a8], ebx
mov r14, rbx
mov ecx, ebx
mov byte [rbp + 0x38], 2
add ecx, eax
mov dword [rbp + 0x40], ebx
mov eax, ecx
mov byte [rbp + 0x39], cl
shr ecx, 0x10
lea r9, [rbp + 0x40]
mov byte [rbp + 0x3b], cl
lea rdx, [rbp + 0x38]
mov rcx, qword [rdi + 0x38]
mov r8d, r12d
shr eax, 8
mov byte [rbp + 0x3a], al
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r12, qword [rsp + 0x48]
test r14, r14
je 0x14007e9cb
mov r8d, dword [rdi + 0x2a8]
lea r9, [rbp + 0x40]
mov rcx, qword [rdi + 0x38]
mov rdx, r14
mov dword [rbp + 0x40], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rdi + 0x38]
lea r8, [rbp + 0x40]
mov r9d, 1
mov qword [rbp + 0x40], rbx
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
cmovne rsi, qword [rbp + 0x40]
mov qword [rdi + 0x2a0], rsi
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret