Function at 0x1400283d0
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 + 0x1e8], rbx
mov rax, qword [0x1403ac4a0]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov r14, r8
mov rbx, rcx
mov r8d, 0x50
lea rcx, [rbp - 0x10]
test edx, edx
jne 0x140028435
lea rdx, str._____BEGIN_CERTIFICATE_____
call fcn.140067eb0
lea rdx, str._____END_CERTIFICATE_____
jmp 0x140028448
lea rdx, str._____BEGIN_RSA_PRIVATE_KEY_____
call fcn.140067eb0
lea rdx, str._____END_RSA_PRIVATE_KEY_____
mov r8d, 0x50
lea rcx, [rbp + 0x40]
call fcn.140067eb0
or r12d, 0xffffffff
xor r13d, r13d
mov esi, r13d
xor r15b, r15b
mov r8, rbx
lea edx, [r12 + 0x51]
lea rcx, [rbp - 0x60]
call fcn.14006397c
test rax, rax
je 0x1400284c7
nop word [rax + rax]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp - 0x10]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x10]
call fcn.140061210
test eax, eax
je 0x1400284bc
mov r8, rbx
mov edx, 0x50
lea rcx, [rbp - 0x60]
call fcn.14006397c
test rax, rax
jne 0x140028480
jmp 0x1400284c7
mov rcx, rbx
call fcn.140068718
mov r12d, eax
mov r8, rbx
mov edx, 0x50
lea rcx, [rbp - 0x60]
call fcn.14006397c
test rax, rax
je 0x140028634
mov rcx, qword [str.Proc_Type]
mov qword [rbp - 0x70], rcx
movzx ecx, word [0x1400c0558]
mov word [rbp - 0x68], cx
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp - 0x70]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x70]
call fcn.140061210
test eax, eax
jne 0x140028634
mov r8, rbx
lea edx, [rax + 0x50]
lea rcx, [rbp - 0x60]
call fcn.14006397c
test rax, rax
je 0x140028634
lea rdx, [0x1400c0548]
lea rcx, [rbp - 0x60]
call fcn.140060350
mov r12, rax
lea rdx, [0x1400ba020]
lea rcx, [rbp - 0x60]
call fcn.140060350
mov rdi, rax
test r12, r12
jne 0x140028575
lea rdx, [0x1400c0544]
lea rcx, [rbp - 0x60]
call fcn.140060350
mov r12, rax
test r14, r14
je 0x14002881a
test r12, r12
je 0x140028608
test rdi, rdi
je 0x140028608
cmp r12, rdi
jae 0x140028608
mov r8, rdi
sub r8, r12
mov rdx, r12
mov rcx, r14
call fcn.140061b50
mov rdx, r14
sub rdx, r12
mov byte [rdx + rdi], sil
mov rax, qword [rdi + 1]
mov qword [r14 + 0x50], rax
mov rax, qword [rdi + 9]
mov qword [r14 + 0x58], rax
mov rax, qword [rdi + 0x11]
mov qword [r14 + 0x60], rax
mov rax, qword [rdi + 0x19]
mov qword [r14 + 0x68], rax
lea rdx, [0x1400c0540]
lea rcx, [rbp - 0x60]
call fcn.140060350
test rax, rax
jne 0x1400285f6
lea rdx, [0x1400b8d9c]
lea rcx, [rbp - 0x60]
call fcn.140060350
test rax, rax
je 0x140028608
cmp rax, rdi
jbe 0x140028608
sub eax, edi
dec eax
mov dword [r14 + 0x70], eax
mov byte [r14 + 0x74], 1
mov rcx, rbx
call fcn.140068718
mov r12d, eax
mov r8, rbx
mov edx, 0x50
lea rcx, [rbp - 0x60]
call fcn.14006397c
test rax, rax
je 0x140028634
mov rcx, rbx
call fcn.140068718
mov r12d, eax
mov r8, rbx
mov edx, 0x50
lea rcx, [rbp - 0x60]
call fcn.14006397c
test rax, rax
je 0x140028699
nop word [rax + rax]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0x40]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x40]
call fcn.140061210
test eax, eax
je 0x140028696
mov rcx, rbx
call fcn.140068718
mov esi, eax
mov r8, rbx
mov edx, 0x50
lea rcx, [rbp - 0x60]
call fcn.14006397c
test rax, rax
jne 0x140028650
jmp 0x140028699
mov r15b, 1
cmp r12d, 0xffffffff
je 0x14002881a
test r15b, r15b
je 0x14002881a
sub esi, r12d
mov edx, esi
lea rcx, [rsp + 0x70]
call fcn.140055b80
nop
xor r8d, r8d
mov edx, r12d
mov rcx, rbx
call fcn.140068824
movsxd rdi, esi
lea rcx, [rsp + 0x70]
call fcn.140055bf0
mov rcx, rax
mov r9, rbx
mov r8d, 1
mov rdx, rdi
call fcn.140068480
cmp rax, 1
je 0x140028700
lea rcx, [rsp + 0x70]
call fcn.140055de0
jmp 0x14002881a
lea rcx, [rsp + 0x70]
call fcn.140055bf0
mov rdi, rax
mov dword [rsp + 0x30], esi
mov ecx, esi
cmp rcx, 0xffffffffffffffff
jbe 0x14002871e
mov rax, r13
jmp 0x140028730
test esi, esi
jne 0x140028727
mov rax, r13
jmp 0x140028730
call fcn.140060348
mov esi, dword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov r8d, esi
mov rdx, rdi
mov rcx, rax
call fcn.140061b50
mov qword [rsp + 0x48], r13
mov dword [rsp + 0x50], r13d
mov qword [rsp + 0x58], r13
mov byte [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.140013d30
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x50], r13d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x50]
call fcn.14003f670
nop
mov edi, dword [rsp + 0x30]
mov ecx, reloc.WS2_32.dll_recv
call fcn.140067df4
mov qword [rbp - 0x70], rax
test rax, rax
je 0x1400287ac
mov edx, edi
mov rcx, rax
call fcn.14003a450
mov r13, rax
mov qword [rbp - 0x70], r13
mov rcx, r13
call fcn.14003a4d0
mov rcx, rax
mov r8, rdi
mov rdx, qword [rsp + 0x38]
call fcn.140061b50
nop
xor ecx, ecx
call fcn.140013cd0
nop
mov r8d, dword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
xor edx, edx
mov rcx, rdi
call fcn.140062880
mov rcx, rdi
call fcn.140013600
nop
mov r8d, dword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
xor edx, edx
mov rcx, rdi
call fcn.140062880
mov rcx, rdi
call fcn.140013600
nop
lea rcx, [rsp + 0x70]
call fcn.140055de0
mov rax, r13
jmp 0x14002881c
xor eax, eax
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.1400611e0
mov rbx, qword [rsp + 0x1e8]
add rsp, 0x1a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret