Function at 0x14001aad0
Capabilities:
Write file on windows

Disassembly:
jmp 0x140192d88
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov r14d, r8d
mov rdi, rdx
movsxd r12, ecx
test r8d, r8d
je 0x140193048
test rdx, rdx
jne 0x140192dd6
call fcn.1400148f0
and dword [rax], 0
call fcn.14000c160
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.140003d00
or eax, 0xffffffff
jmp 0x14019304a
mov rax, r12
lea rcx, [0x140245ef0]
and eax, 0x3f
mov r13, r12
sar r13, 6
lea r15, [rax + rax*8]
mov rcx, qword [rcx + r13*8]
mov sil, byte [rcx + r15*8 + 0x39]
lea eax, [rsi - 1]
cmp al, 1
ja 0x140192e07
mov eax, r14d
not eax
test al, 1
je 0x140192db6
test byte [rcx + r15*8 + 0x38], 0x20
je 0x140192e1d
xor edx, edx
mov ecx, r12d
lea r8d, [rdx + 2]
call fcn.140006140
xor ebx, ebx
mov ecx, r12d
mov qword [rbp - 0x20], rbx
call fcn.140021310
test eax, eax
je 0x140192f36
lea rax, [0x140245ef0]
mov rax, qword [rax + r13*8]
cmp byte [rax + r15*8 + 0x38], bl
jge 0x140192f36
call fcn.140007a50
mov rcx, qword [rax + 0x90]
cmp qword [rcx + 0x138], rbx
jne 0x140192e74
lea rax, [0x140245ef0]
mov rax, qword [rax + r13*8]
cmp byte [rax + r15*8 + 0x39], bl
je 0x140192f36
lea rax, [0x140245ef0]
mov rcx, qword [rax + r13*8]
lea rdx, [rbp - 0x10]
mov rcx, qword [rcx + r15*8 + 0x28]
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
test eax, eax
je 0x140192f36
test sil, sil
je 0x140192f18
dec sil
cmp sil, 1
ja 0x140192fd4
xor esi, esi
lea r12, [rdi + r14]
mov qword [rbp - 0x30], rsi
mov r14, rdi
cmp rdi, r12
jae 0x140192f11
mov ebx, dword [rbp - 0x2c]
movzx eax, word [r14]
movzx ecx, ax
mov word [rbp - 0x10], ax
call fcn.1400010d0
movzx ecx, word [rbp - 0x10]
cmp ax, cx
jne 0x140192f08
add ebx, 2
mov dword [rbp - 0x2c], ebx
cmp cx, 0xa
jne 0x140192efd
mov ecx, reloc.WS2_32.dll_listen
call fcn.1400010d0
mov ecx, reloc.WS2_32.dll_listen
cmp ax, cx
jne 0x140192f08
inc ebx
mov dword [rbp - 0x2c], ebx
inc esi
add r14, 2
cmp r14, r12
jae 0x140192f11
jmp 0x140192ebd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x30], eax
mov ebx, esi
jmp 0x140192fca
mov r9d, r14d
lea rcx, [rbp - 0x30]
mov r8, rdi
mov edx, r12d
call fcn.140192074
movsd xmm0, qword [rax]
mov ebx, dword [rax + 8]
jmp 0x140192fcf
lea rax, [0x140245ef0]
mov rcx, qword [rax + r13*8]
cmp byte [rcx + r15*8 + 0x38], bl
jge 0x140192f97
movsx ecx, sil
test sil, sil
je 0x140192f83
sub ecx, 1
je 0x140192f6f
cmp ecx, 1
jne 0x140192fd4
mov r9d, r14d
lea rcx, [rbp - 0x30]
mov r8, rdi
mov edx, r12d
call fcn.14019292c
jmp 0x140192f2a
mov r9d, r14d
lea rcx, [rbp - 0x30]
mov r8, rdi
mov edx, r12d
call fcn.140192a8c
jmp 0x140192f2a
mov r9d, r14d
lea rcx, [rbp - 0x30]
mov r8, rdi
mov edx, r12d
call fcn.1401927e8
jmp 0x140192f2a
mov rcx, qword [rcx + r15*8 + 0x28]
lea r9, [rbp - 0x2c]
xor eax, eax
mov r8d, r14d
and qword [rsp + 0x20], rax
mov rdx, rdi
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x28], eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140192fc7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x30], eax
mov ebx, dword [rbp - 0x28]
movsd xmm0, qword [rbp - 0x30]
movsd qword [rbp - 0x20], xmm0
mov rax, qword [rbp - 0x20]
shr rax, 0x20
test eax, eax
jne 0x140193041
mov ecx, dword [rbp - 0x20]
test ecx, ecx
je 0x140193011
cmp ecx, 5
jne 0x140193007
call fcn.14000c160
mov dword [rax], 9
call fcn.1400148f0
mov dword [rax], 5
jmp 0x140192dce
call fcn.14000a0a0
jmp 0x140192dce
lea rax, [0x140245ef0]
mov rax, qword [rax + r13*8]
test byte [rax + r15*8 + 0x38], 0x40
je 0x140193029
cmp byte [rdi], 0x1a
je 0x140193048
call fcn.14000c160
mov dword [rax], reloc.oal.dll_Ordinal_28
call fcn.1400148f0
and dword [rax], 0
jmp 0x140192dce
mov eax, dword [rbp - 0x1c]
sub eax, ebx
jmp 0x14019304a
xor eax, eax
mov rbx, qword [rsp + 0xb8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret