Function at 0x140030b50
Capabilities:
Read file on windows
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x30
xor r13d, r13d
movsxd rbp, r8d
mov rsi, rdx
mov rbx, rcx
mov edi, r13d
mov r14, rcx
mov r15d, r13d
test rcx, rcx
je 0x140030e77
mov rax, qword [rcx + 0x58]
test rax, rax
je 0x140030bb1
mov r8, rdx
mov dword [rsp + 0x28], 1
mov edx, 2
mov dword [rsp + 0x20], r13d
mov r9d, ebp
call rax
mov edi, eax
test eax, eax
jle 0x140030e79
mov qword [rsp + 0x68], r12
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x140030bcd
cmp byte [rbx + 0x80], 3
je 0x140030bcd
mov rbx, rax
jmp 0x140030bb6
lea r12, [0x140000000]
mov edx, 0xffffffff
mov r13d, 0x2000
nop
test edi, edi
js 0x140030e4b
mov rax, qword [rbx + 8]
test rax, rax
je 0x140030c0e
mov r9, qword [rax + 0x110]
test r9, r9
je 0x140030c0e
mov r8d, ebp
mov rdx, rsi
mov rcx, rbx
call r9
jmp 0x140030e27
movzx eax, byte [rbx + 0x80]
add eax, 0xfffffffe
cmp eax, 6
ja case.default.0x140030c2e
cdqe
mov ecx, dword [r12 + rax*4 + 0x30e90]
add rcx, r12
jmp rcx
test r15d, r15d
jle case.default.0x140030c2e
lea r9, [rsp + 0x60]
mov dword [rsp + 0x60], r15d
mov r8, rsi
mov edx, r15d
mov rcx, rsi
call fcn.14006f190
mov edi, dword [rsp + 0x60]
test eax, eax
mov edx, 0xffffffff
cmovne edi, edx
jmp case.default.0x140030c2e
mov r8d, ebp
mov rdx, rsi
mov rcx, rbx
call fcn.140030830
jmp 0x140030e27
mov r8d, ebp
mov rdx, rsi
mov rcx, rbx
call fcn.140030a00
jmp 0x140030e27
mov r9, qword [rbx + 0x30]
test r9, r9
je 0x140030cac
mov r8, rbp
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rdi, rax
jmp 0x140030e29
mov edi, 0xffffff52
jmp case.default.0x140030c2e
cmp dword [r14 + 0x78], 0
jne 0x140030dfc
and dword [rbx + 0x7c], 0xffffffef
mov rdi, qword [rbx + 0x30]
test rdi, rdi
jne 0x140030cd5
mov edi, 0xffffff53
jmp 0x140030d45
mov rax, qword [rdi + 0x530]
test rax, rax
je 0x140030d00
mov edx, 4
mov r8d, 1
mov rcx, rdi
call rax
mov edx, 0xffffffff
mov dword [rdi + 0x538], 4
test rsi, rsi
je 0x140030d25
test ebp, ebp
js 0x140030d25
mov r8d, ebp
mov rdx, rsi
mov rcx, rdi
call fcn.14004e670
test eax, eax
mov edi, eax
mov edx, 0xffffffff
cmovs edi, edx
jmp 0x140030d2a
mov edi, 0xffffff53
mov eax, edi
test edi, edi
jne 0x140030d3d
mov dword [r14 + 0x78], 1
jmp case.default.0x140030c2e
test eax, eax
jns case.default.0x140030c2e
mov rdx, qword [rbx + 0x30]
test rdx, rdx
je 0x140030d8e
mov ecx, dword [rdx + 0x2e8]
lea eax, [rcx + 0x147]
test eax, 0xfffffffb
je 0x140030d85
cmp ecx, 0xfffffea9
je 0x140030d8e
test word [rdx + 0x4e6], r13w
jne 0x140030d8e
cmp ecx, 0xfffffe73
je 0x140030d8e
cmp ecx, 2
je 0x140030d85
cmp ecx, 3
jne 0x140030d8e
or dword [rbx + 0x7c], 0x10
jmp 0x140030e29
mov dword [r14 + 0x78], 1
jmp 0x140030e29
mov r9, qword [rbx + 0x30]
test r9, r9
je 0x140030e05
cmp dword [r9 + 0x240], 0
jne 0x140030de4
cmp qword [0x1400a4458], 0
lea rax, [0x1400a4450]
je 0x140030dd5
mov ecx, dword [r9 + 0x230]
cmp ecx, dword [rax]
je 0x140030e00
add rax, 0x10
cmp qword [rax + 8], 0
jne 0x140030dc6
mov ecx, dword [r9 + 0x230]
cmp ecx, 0x357
jne 0x140030e05
mov r8d, edi
mov rdx, rsi
mov rcx, r9
call fcn.140027d00
cmp eax, 1
je 0x140030e29
mov edx, 0xffffffff
mov edi, edx
jmp case.default.0x140030c2e
mov ecx, dword [rax + 4]
jmp 0x140030ddc
movsxd r8, edi
mov rdx, rsi
mov rcx, r9
call fcn.140028330
jmp 0x140030df2
mov ecx, dword [rbx + 0x74]
xor r9d, r9d
mov r8d, ebp
mov rdx, rsi
call qword [sym.imp.WS2_32.dll_recv]
mov edi, eax
mov edx, 0xffffffff
cmp rbx, r14
je 0x140030e4b
mov rbx, qword [rbx + 0x10]
test edi, edi
mov eax, edi
cmovle eax, r15d
mov r15d, eax
test rbx, rbx
jne 0x140030be0
mov rax, qword [r14 + 0x58]
mov r12, qword [rsp + 0x68]
test rax, rax
je 0x140030e77
mov dword [rsp + 0x28], edi
mov r9d, ebp
mov r8, rsi
mov dword [rsp + 0x20], 0
mov edx, 0x82
mov rcx, r14
call rax
mov edi, eax
mov eax, edi
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret