Function at 0x140014340
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov qword [rbp - 0x78], 0xfffffffffffffffe
mov qword [rsp + 0x1f0], rbx
mov rax, qword [0x1403ac4a0]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov esi, r9d
mov edi, r8d
mov rax, rdx
mov rbx, rcx
cmp r8d, 0xa
je 0x14001439e
cmp r8d, 0xb
je 0x14001439e
mov eax, 0xfffffffb
jmp 0x14001485c
test rdx, rdx
je 0x140014857
cmp byte [rdx], 0
je 0x140014857
lea rdx, [0x1400be138]
mov rcx, rax
call fcn.14006697c
mov r13, rax
test rax, rax
je 0x140014857
cmp esi, 2
jne 0x140014414
xor r8d, r8d
xor edx, edx
mov rcx, rax
call fcn.1400283d0
test rax, rax
je 0x1400143ff
mov rdx, rax
mov rcx, rbx
call fcn.14002dcc0
xor r8d, r8d
xor edx, edx
mov rcx, r13
call fcn.1400283d0
test rax, rax
jne 0x1400143e2
mov rcx, r13
call fcn.1400688a0
test eax, eax
jne 0x140014840
jmp 0x14001484f
test esi, esi
lea r15, [rbx + 8]
je 0x140014420
lea r15, [rbx + 0x10]
mov rcx, rax
cmp edi, 0xa
jne 0x140014498
xor edx, edx
lea r8d, [rdi - 8]
call fcn.140068824
mov rcx, r13
call fcn.140068718
movsxd rbx, eax
mov rcx, r13
call fcn.1400684a0
lea ecx, [rdi + 6]
call fcn.140067df4
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140014467
mov edx, ebx
mov rcx, rax
call fcn.14003a450
mov r14, rax
jmp 0x14001446a
xor r14d, r14d
mov qword [r15], r14
mov rcx, r14
call fcn.14003a4d0
mov rcx, rax
mov r9, r13
mov r8d, 1
mov rdx, rbx
call fcn.140068480
cmp rax, 1
je 0x140014840
jmp 0x14001484f
xor r14d, r14d
mov dword [rbp], r14d
mov byte [rbp + 4], r14b
lea r8, [rbp - 0x70]
mov edx, esi
call fcn.1400283d0
mov qword [r15], rax
test rax, rax
je 0x14001484f
cmp byte [rbp + 4], r14b
je 0x140014840
mov rcx, rbx
call fcn.14002ac30
mov rdi, rax
test rax, rax
je 0x14001484f
mov rcx, rbx
call fcn.14002ac50
mov r9, rax
xor r8d, r8d
lea edx, [r14 + 0x50]
lea rcx, [rbp + 0x40]
call rdi
mov ebx, eax
mov edx, dword [rbp]
mov dword [rsp + 0x48], edx
mov ecx, edx
cmp rdx, 0xffffffffffffffff
jbe 0x140014506
mov eax, r14d
jmp 0x140014518
test edx, edx
jne 0x14001450f
mov rax, r14
jmp 0x140014518
call fcn.140060348
mov edx, dword [rsp + 0x48]
mov qword [rsp + 0x50], rax
mov r8d, edx
lea rdx, [rbp - 0x20]
mov rcx, rax
call fcn.140061b50
mov qword [rsp + 0x60], r14
mov dword [rsp + 0x68], r14d
mov qword [rsp + 0x70], r14
mov byte [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x78]
call fcn.140013d30
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x68], r14d
lea rax, [rsp + 0x48]
mov qword [rbp - 0x80], rax
lea rcx, [rsp + 0x68]
call fcn.14003f270
nop
mov edx, dword [rsp + 0x48]
mov ecx, 0x20
call fcn.140013610
mov r8d, eax
mov rdx, qword [rsp + 0x50]
lea rcx, [rbp - 0x20]
call fcn.140061b50
lea r11, [rbp + 0x10]
mov qword [rsp + 0x38], r11
lea rax, [rbp + 0x20]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], ebx
lea r9, [rbp + 0x40]
lea r8, [rbp - 0x20]
lea rdx, [0x1400bdfc8]
lea rcx, [rbp - 0x70]
call fcn.140013900
mov rbx, r14
mov qword [rsp + 0x40], rbx
mov r8d, 7
lea rdx, str.DES_CBC
lea rcx, [rbp - 0x70]
call fcn.140061210
test eax, eax
jne 0x14001460d
lea ecx, [rax + 0x10]
call fcn.140067df4
mov qword [rbp + 0x10], rax
test rax, rax
je 0x140014605
mov rcx, rax
call fcn.140025d60
mov rdi, rax
jmp 0x140014608
mov rdi, r14
jmp 0x140014718
mov r8d, recv
lea rdx, str.DES_EDE3_CBC
lea rcx, [rbp - 0x70]
call fcn.140061210
test eax, eax
jne 0x14001464d
lea ecx, [rax + 0x10]
call fcn.140067df4
mov qword [rbp + 0x10], rax
test rax, rax
je 0x140014645
mov rcx, rax
call fcn.140025e50
mov rdi, rax
jmp 0x140014648
mov rdi, r14
jmp 0x140014718
mov r8d, recv
lea rdx, str.AES_128_CBC
lea rcx, [rbp - 0x70]
call fcn.140061210
test eax, eax
jne 0x140014692
lea ecx, [rax + 0x10]
call fcn.140067df4
mov qword [rbp + 0x10], rax
test rax, rax
je 0x14001468a
mov edx, reloc.WS2_32.dll_recv
mov rcx, rax
call fcn.140025260
mov rdi, rax
jmp 0x14001468d
mov rdi, r14
jmp 0x140014718
mov r8d, recv
lea rdx, str.AES_192_CBC
lea rcx, [rbp - 0x70]
call fcn.140061210
test eax, eax
jne 0x1400146d4
lea ecx, [rax + 0x10]
call fcn.140067df4
mov qword [rbp + 0x10], rax
test rax, rax
je 0x1400146cf
mov edx, 0x18
mov rcx, rax
call fcn.140025260
mov rdi, rax
jmp 0x1400146d2
mov rdi, r14
jmp 0x140014718
mov r8d, recv
lea rdx, str.AES_256_CBC
lea rcx, [rbp - 0x70]
call fcn.140061210
test eax, eax
jne 0x1400147f4
lea ecx, [rax + 0x10]
call fcn.140067df4
mov qword [rbp + 0x10], rax
test rax, rax
je 0x140014715
mov edx, 0x20
mov rcx, rax
call fcn.140025260
mov rdi, rax
jmp 0x140014718
mov rdi, r14
test rdi, rdi
je 0x14001472c
xor ecx, ecx
call fcn.140013650
mov rbx, rdi
mov qword [rsp + 0x40], rbx
mov rax, qword [rbx]
lea r8, [rbp - 0x20]
lea rdx, [rbp + 0x20]
mov rcx, rbx
call qword [rax + 0x18]
mov ecx, reloc.WS2_32.dll_recv
call fcn.140067df4
mov rdi, rax
mov qword [rbp + 0x10], rax
test rax, rax
je 0x140014768
mov rcx, qword [r15]
call fcn.14003a4b0
mov edx, eax
mov rcx, rdi
call fcn.14003a450
mov r14, rax
mov qword [rbp + 0x10], r14
mov r12, qword [rbx]
mov rcx, qword [r15]
call fcn.14003a4b0
mov esi, eax
mov rcx, qword [r15]
call fcn.14003a4c0
mov rdi, rax
mov rcx, r14
call fcn.14003a4d0
mov rdx, rax
mov r9d, esi
mov r8, rdi
mov rcx, rbx
call qword [r12 + ioctlsocket]
mov rcx, qword [r15]
call fcn.140013cd0
mov qword [r15], r14
xor ecx, ecx
call fcn.140013cd0
nop
mov rcx, rbx
call fcn.140013650
nop
mov r8d, dword [rsp + 0x68]
mov rbx, qword [rsp + 0x70]
xor edx, edx
mov rcx, rbx
call fcn.140062880
mov rcx, rbx
call fcn.140013600
nop
mov rbx, qword [rsp + 0x50]
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov rcx, rbx
call fcn.140062880
mov rcx, rbx
call fcn.140013600
jmp 0x140014840
mov rcx, r13
call fcn.14006683c
nop
xor ecx, ecx
call fcn.140013650
nop
mov r8d, dword [rsp + 0x68]
mov rbx, qword [rsp + 0x70]
xor edx, edx
mov rcx, rbx
call fcn.140062880
mov rcx, rbx
call fcn.140013600
nop
mov rbx, qword [rsp + 0x50]
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov rcx, rbx
call fcn.140062880
mov rcx, rbx
call fcn.140013600
jmp 0x140014857
mov rcx, r13
call fcn.14006683c
mov eax, 1
jmp 0x14001485c
mov rcx, r13
call fcn.14006683c
mov eax, 0xfffffffc
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.1400611e0
mov rbx, qword [rsp + 0x1f0]
add rsp, 0x1a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret