Function at 0x14004bc20
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x78]
sub rsp, 0x150
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
mov rax, qword [0x1400eb080]
xor rax, rsp
mov qword [rbp], rax
xor r12d, r12d
mov r15d, 1
mov edx, r15d
lea rcx, [rsp + 0x58]
call fcn.14004c280
nop
mov r8, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
sub rax, r8
lea r13, [0x1400d7cc0]
lea r14d, [r12 + 8]
lea rbx, str.km.left_
cmp rax, r14
jb 0x14004bd17
lea rax, [r8 + 8]
mov qword [rsp + 0x68], rax
lea rdi, [rsp + 0x58]
cmp rcx, 0xf
cmova rdi, qword [rsp + 0x58]
cmp r13, rdi
jbe 0x14004bcda
lea rax, [rdi + r8]
cmp rbx, rax
ja 0x14004bcda
cmp rdi, rbx
ja 0x14004bcd2
mov esi, r12d
jmp 0x14004bcdd
mov rsi, rdi
sub rsi, rbx
jmp 0x14004bcdd
mov rsi, r14
inc r8
lea rcx, [rdi + 8]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memmove
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov r8, r14
sub r8, rsi
lea rdx, [rbx + 8]
add rdx, rsi
lea rcx, [rdi + rsi]
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x58]
jmp 0x14004bd37
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rbx
xor r9d, r9d
movzx r8d, byte [rsp + 0x30]
mov rdx, r14
lea rcx, [rsp + 0x58]
call fcn.14004c740
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x48], xmm1
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rax + 0x10], r12
mov byte [rax], 0
mov r8d, 3
lea rdx, [0x1400d7ca0]
lea rcx, [rsp + 0x38]
call fcn.14000b850
movups xmm9, xmmword [rax]
movups xmmword [rbp - 0x20], xmm9
movups xmm8, xmmword [rax + 0x10]
movups xmmword [rbp - 0x10], xmm8
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x14004bde1
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004bddc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004bddc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bcac4
movdqa xmm0, xmmword [0x1400d8e40]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], 0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x14004be34
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004be2f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004be2f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bcac4
movdqa xmm0, xmmword [0x1400d8e40]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
xor edx, edx
lea rcx, [rsp + 0x78]
call fcn.14004c280
nop
mov r8, qword [rbp - 0x78]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
sub rax, r8
cmp rax, 8
jb 0x14004bedc
lea rax, [r8 + 8]
mov qword [rbp - 0x78], rax
lea rdi, [rsp + 0x78]
cmp rcx, 0xf
cmova rdi, qword [rsp + 0x78]
cmp r13, rdi
jbe 0x14004be9f
lea rax, [rdi + r8]
cmp rbx, rax
ja 0x14004be9f
cmp rdi, rbx
ja 0x14004be97
mov rsi, r12
jmp 0x14004bea2
mov rsi, rdi
sub rsi, rbx
jmp 0x14004bea2
mov rsi, r14
inc r8
lea rcx, [rdi + 8]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memmove
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
sub r14, rsi
lea rdx, [rsi + 8]
add rdx, rbx
lea rcx, [rdi + rsi]
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x78]
jmp 0x14004befc
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rbx
xor r9d, r9d
movzx r8d, byte [rsp + 0x30]
mov rdx, r14
lea rcx, [rsp + 0x78]
call fcn.14004c740
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x58], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x58], xmm1
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rax + 0x10], r12
mov byte [rax], 0
mov r8d, 3
lea rdx, [0x1400d7ca0]
lea rcx, [rbp - 0x68]
call fcn.14000b850
movups xmm7, xmmword [rax]
movups xmmword [rbp - 0x40], xmm7
movups xmm6, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm6
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x14004bf9b
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004bf96
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004bf96
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bcac4
movdqa xmm0, xmmword [0x1400d8e40]
movdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x68], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x14004bfeb
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004bfe6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004bfe6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bcac4
movdqa xmm0, xmmword [0x1400d8e40]
movdqu xmmword [rbp - 0x78], xmm0
mov byte [rsp + 0x78], 0
lea rdx, [rbp - 0x20]
movq rcx, xmm9
psrldq xmm8, 8
movq rax, xmm8
cmp rax, 0xf
cmova rdx, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rdx + r8], 0
jne 0x14004c034
lea rcx, [rsp + 0x38]
call fcn.1400050f0
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova rdx, qword [rsp + 0x38]
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x48]
mov r8d, dword [rsp + 0x48]
mov rcx, qword [0x1401689a0]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x14004c0b4
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004c0af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004c0af
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bcac4
lea rcx, [rbp - 0x48]
call fcn.140004fd0
movabs rdx, 0x7ffffffffff0bdbf
mov rax, qword [rbp - 0x48]
cmp rax, rdx
je 0x14004c0e6
mov ecx, 0xff
cmovl r15d, ecx
test r15b, r15b
jns 0x14004c0e6
add rax, 0xf4240
jmp 0x14004c0f0
movabs rax, 0x7fffffffffffffff
mov qword [rbp - 0x48], rax
lea rcx, [rbp - 0x48]
call fcn.140006630
lea rdx, [rbp - 0x40]
movq rcx, xmm7
psrldq xmm6, 8
movq rax, xmm6
cmp rax, 0xf
cmova rdx, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
nop dword [rax]
inc rbx
cmp byte [rdx + rbx], 0
jne 0x14004c130
mov r8, rbx
lea rcx, [rsp + 0x38]
call fcn.1400050f0
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova rdx, qword [rsp + 0x38]
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x48]
mov r8d, dword [rsp + 0x48]
mov rcx, qword [0x1401689a0]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x14004c1b3
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004c1ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004c1ad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bcac4
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x14004c1f2
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004c1ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004c1ec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bcac4
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x14004c230
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004c22b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004c22b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bcac4
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1400bc820
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret