Function at 0x140235bf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov r14, rdx
mov rsi, rcx
mov rax, qword [0x1403e4018]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rax, qword [rdx + 0x128]
mov qword [rcx + 0xb0], rax
mov qword [rdx + 0x128], 0
mov rbx, qword [rcx]
movzx r15d, word [rdx + 0x118]
movsxd rcx, dword [rdx + 0x34]
test rcx, rcx
sete al
mov qword [rsp + 0x40], rcx
mov r13d, ecx
mov ecx, dword [rdx + 0x88]
mov ebp, dword [rdx + 0x38]
add ebp, r13d
lea rdx, [rsp + 0x4c]
mov dword [rdx], ecx
test ebp, ebp
setg cl
and cl, al
movzx edi, cl
mov eax, dword [rsi + 0x90]
shl eax, 3
lea eax, [rax + rax*2]
cdqe
mov rcx, qword [rsi + 0x88]
add rcx, rax
mov qword [rsp + 0x30], rcx
movsxd r12, dword [r14 + 0x3c]
sub r12, rax
mov rcx, rsi
call fcn.14026f410
cmp byte [r14 + 0x20], 0
je 0x140235caa
xor eax, eax
cmp byte [r14 + 0x21], 0
setne al
shl eax, 5
jmp 0x140235cac
xor eax, eax
movsx r8, r15w
add ebp, edi
and r12, 0xfffffffffffffff8
mov ecx, dword [rsi + 0xc0]
and ecx, 0xffffffdf
or ecx, eax
mov dword [rsi + 0xc0], ecx
movzx eax, byte [r14 + 0x11b]
test eax, eax
mov word [rsp + 0x2a], r15w
mov dword [rsp + 0x2c], r13d
mov qword [rsp + 0x38], r8
je 0x140235f28
cmp ebp, 0xb
mov edx, 0xa
cmovl ebp, edx
and eax, 3
and ecx, 0xfffffff3
lea eax, [rcx + rax*4]
mov dword [rsi + 0xc0], eax
cmp byte [r14 + 0x11b], 2
mov r14, qword [rsi]
movzx edx, word [rsi + 0xb8]
jne 0x140235d64
test edx, edx
je 0x140235d39
mov rcx, qword [rsi + 0x98]
call fcn.14024a620
mov rdx, qword [rsi + 0x98]
test rdx, rdx
je 0x140235d39
mov rcx, r14
call fcn.140239dc0
mov word [rsi + 0xb8], 4
cmp byte [r14 + 0x67], 0
je 0x140235db4
mov qword [rsi + 0x98], 0
mov r15d, recvfrom
mov edi, 8
jmp 0x140235edc
test edx, edx
je 0x140235d88
mov rcx, qword [rsi + 0x98]
call fcn.14024a620
mov rdx, qword [rsi + 0x98]
test rdx, rdx
je 0x140235d88
mov rcx, r14
call fcn.140239dc0
mov word [rsi + 0xb8], 8
cmp byte [r14 + 0x67], 0
je 0x140235e25
mov qword [rsi + 0x98], 0
mov r15d, 8
xor edi, edi
jmp 0x140235edc
mov edx, 0xe0
mov rcx, r14
call fcn.140239ff0
mov qword [rsi + 0x98], rax
mov r15d, recvfrom
mov edi, 8
test rax, rax
je 0x140235edc
mov cx, 1
mov word [rax + 0x14], cx
mov qword [rax + 0x18], r14
xor edx, edx
mov dword [rax + 0x20], edx
mov word [rax + 0x4c], cx
mov qword [rax + 0x50], r14
mov dword [rax + 0x58], edx
mov word [rax + 0x84], cx
mov qword [rax + 0x88], r14
mov dword [rax + 0x90], edx
mov word [rax + 0xbc], cx
mov qword [rax + 0xc0], r14
mov dword [rax + 0xc8], edx
jmp 0x140235edc
mov edx, 0x1c0
mov rcx, r14
call fcn.140239ff0
mov qword [rsi + 0x98], rax
mov r15d, 8
xor edi, edi
test rax, rax
je 0x140235edc
mov cx, 1
mov word [rax + 0x14], cx
mov qword [rax + 0x18], r14
mov dword [rax + 0x20], edi
mov word [rax + 0x4c], cx
mov qword [rax + 0x50], r14
mov dword [rax + 0x58], edi
mov word [rax + 0x84], cx
mov qword [rax + 0x88], r14
mov dword [rax + 0x90], edi
mov word [rax + 0xbc], cx
mov qword [rax + 0xc0], r14
mov dword [rax + 0xc8], edi
mov word [rax + 0xf4], cx
mov qword [rax + 0xf8], r14
mov dword [rax + 0x100], edi
mov word [rax + 0x12c], cx
mov qword [rax + 0x130], r14
mov dword [rax + 0x138], edi
mov word [rax + 0x164], cx
mov qword [rax + 0x168], r14
mov dword [rax + 0x170], edi
mov word [rax + 0x19c], cx
mov qword [rax + 0x1a0], r14
mov dword [rax + 0x1a8], edi
lea rax, str.addr
lea r14, [rax + rdi*8]
xor r13d, r13d
mov rax, qword [rsi]
cmp byte [rax + 0x67], 0
jne 0x140235f18
mov rdx, qword [r14]
mov rcx, qword [rsi + 0x98]
add rcx, r13
mov qword [rsp + 0x20], 0
mov r8, 0xffffffffffffffff
mov r9b, 1
call fcn.1402342c0
inc rdi
add r14, 8
add r13, 0x38
cmp rdi, r15
jb 0x140235eea
mov r11, qword [rsp + 0x30]
and byte [rsi + 0xc0], 0xfc
movsxd rax, ebp
imul r13, rax, 0x38
xor eax, eax
mov rcx, r12
sub rcx, r13
lea rdx, [r11 + rcx]
mov r8d, 0
cmovl r8, r13
cmovl rcx, r12
cmovl rdx, rax
mov qword [rsi + 0x68], rdx
imul r15, qword [rsp + 0x38], 0x38
mov rdx, rcx
sub rdx, r15
lea r9, [r11 + rdx]
mov r10d, 0
cmovl r10, r15
cmovl rdx, rcx
cmovl r9, rax
add r10, r8
mov qword [rsi + 0x80], r9
movsxd rdi, dword [rsp + 0x4c]
shl rdi, 3
mov rcx, rdx
sub rcx, rdi
lea r8, [r11 + rcx]
mov r9d, 0
cmovl r9, rdi
cmovl rcx, rdx
cmovl r8, rax
add r9, r10
mov qword [rsi + 0x70], r8
mov r12, qword [rsp + 0x40]
shl r12, 3
sub rcx, r12
lea rcx, [r11 + rcx]
mov r14d, 0
cmovl r14, r12
cmovl rcx, rax
mov qword [rsi + 0x78], rcx
add r14, r9
je 0x140236088
cmp byte [rbx + 0x67], 0
je 0x140235fea
xor eax, eax
jmp 0x140235ff5
mov rcx, rbx
mov rdx, r14
call fcn.140239ff0
mov qword [rsi + 0xf8], rax
cmp byte [rbx + 0x67], 0
jne 0x140236088
mov rcx, qword [rsi + 0x68]
test rcx, rcx
jne 0x140236022
mov rdx, r14
sub rdx, r13
jge 0x14023601b
xor ecx, ecx
jmp 0x140236022
lea rcx, [rax + rdx]
mov r14, rdx
mov qword [rsi + 0x68], rcx
mov rcx, qword [rsi + 0x80]
test rcx, rcx
jne 0x140236045
mov rdx, r14
sub rdx, r15
jge 0x14023603e
xor ecx, ecx
jmp 0x140236045
lea rcx, [rax + rdx]
mov r14, rdx
mov qword [rsi + 0x80], rcx
mov rcx, qword [rsi + 0x70]
test rcx, rcx
jne 0x140236068
mov rdx, r14
sub rdx, rdi
jge 0x140236061
xor ecx, ecx
jmp 0x140236068
lea rcx, [rax + rdx]
mov r14, rdx
mov qword [rsi + 0x70], rcx
mov rcx, qword [rsi + 0x78]
test rcx, rcx
jne 0x140236084
sub r14, r12
jge 0x14023607e
xor ecx, ecx
jmp 0x140236084
add rax, r14
mov rcx, rax
mov qword [rsi + 0x78], rcx
cmp byte [rbx + 0x67], 0
je 0x14023609e
mov word [rsi + 0x20], 0
mov qword [rsi + 0x24], 0
jmp 0x140236118
mov eax, dword [rsp + 0x2c]
mov dword [rsi + 0x28], eax
movzx eax, word [rsp + 0x2a]
mov word [rsi + 0x20], ax
test ax, ax
jle 0x1402360de
movzx eax, ax
mov rcx, qword [rsi + 0x80]
inc eax
add rcx, 0x20
mov word [rcx - 0xc], 1
mov qword [rcx - 8], rbx
mov dword [rcx], 0
dec eax
add rcx, 0x38
cmp eax, 1
jg 0x1402360c3
mov dword [rsi + 0x24], ebp
test ebp, ebp
jle 0x14023610a
mov rax, qword [rsi + 0x68]
inc ebp
add rax, 0x20
mov word [rax - 0xc], 0
mov qword [rax - 8], rbx
mov dword [rax], 0
dec ebp
add rax, 0x38
cmp ebp, 1
ja 0x1402360ef
mov rcx, qword [rsi + 0x78]
xor edx, edx
mov r8, r12
call fcn.14031b780
mov byte [rsi + 0xbd], 1
xor eax, eax
mov dword [rsi + 0x34], eax
mov word [rsi + 0xba], 0xff02
mov qword [rsi + 0x38], rax
movabs rcx, 0xffffffff00000001
mov qword [rsi + 0x2c], rcx
mov dword [rsi + 0x40], eax
mov qword [rsi + 0x50], rax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140319a10
nop
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret