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

Disassembly:
mov r11, rsp
push rsi
push rdi
push r12
sub rsp, 0x60
mov rax, qword [rcx + 0x38]
mov rsi, rdx
mov edx, 0xc8
mov r12d, r8d
mov rdi, rcx
inc word [rax + 0xc6]
cmp word [rax + 0xc6], dx
ja 0x140042a53
mov eax, dword [rcx + 0x10]
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
xor ebp, ebp
mov qword [r11 + 0x18], r13
lea r13, [0x140000000]
mov qword [r11 - 0x20], r14
cmp eax, 0x23
je 0x1400427b6
cmp eax, 0x2d
je 0x1400427b2
cmp eax, 0x7e
je 0x1400427ab
cmp eax, 0x10f
je 0x1400427a4
add eax, 0xffffff85
cmp eax, 0xaa
ja case.0x140042677.132
cdqe
movzx eax, byte [rax + r13 + 0x42ab0]
mov ecx, dword [r13 + rax*4 + 0x42a88]
add rcx, r13
jmp rcx
mov dword [rsi + 8], ebp
mov qword [rsi + 0x10], 0xffffffffffffffff
mov dword [rsi], 5
mov rax, qword [rdi + 0x18]
mov qword [rsi + 8], rax
jmp 0x14004270d
mov dword [rsi + 8], ebp
mov qword [rsi + 0x10], 0xffffffffffffffff
mov dword [rsi], 6
mov rax, qword [rdi + 0x18]
mov qword [rsi + 8], rax
jmp 0x14004270d
mov r8, qword [rdi + 0x18]
mov rdx, rsi
mov rcx, rdi
call fcn.14003f9e0
jmp 0x14004270d
mov dword [rsi], 1
mov dword [rsi + 8], ebp
jmp 0x140042705
mov dword [rsi], 2
mov dword [rsi + 8], ebp
jmp 0x140042705
mov dword [rsi], 3
mov dword [rsi + 8], ebp
jmp 0x140042705
mov rcx, qword [rdi + 0x30]
mov rax, qword [rcx]
cmp byte [rax + 0xb], bpl
je 0x140042a64
mov edx, 0x80002d
call fcn.140045f90
mov dword [rsi + 8], eax
mov dword [rsi], recv
mov qword [rsi + 0x10], 0xffffffffffffffff
cmp dword [rdi + 0x20], 0x121
mov eax, dword [rdi + 4]
mov dword [rdi + 8], eax
je 0x140042730
movups xmm0, xmmword [rdi + 0x20]
mov dword [rdi + 0x20], 0x121
movups xmmword [rdi + 0x10], xmm0
jmp 0x14004280b
lea rdx, [rdi + 0x18]
mov rcx, rdi
call fcn.1400271d0
mov dword [rdi + 0x10], eax
jmp 0x14004280b
mov rdx, rsi
mov rcx, rdi
call fcn.140040f80
jmp 0x14004280b
cmp dword [rdi + 0x20], 0x121
mov eax, dword [rdi + 4]
mov dword [rdi + 8], eax
je 0x140042774
movups xmm0, xmmword [rdi + 0x20]
mov dword [rdi + 0x20], 0x121
movups xmmword [rdi + 0x10], xmm0
jmp 0x140042783
lea rdx, [rdi + 0x18]
mov rcx, rdi
call fcn.1400271d0
mov dword [rdi + 0x10], eax
mov r9d, dword [rdi + 4]
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call fcn.140041690
jmp 0x14004280b
mov rdx, rsi
mov rcx, rdi
call fcn.140041f30
jmp 0x14004280b
mov ebx, 2
jmp 0x1400427bb
mov ebx, 1
jmp 0x1400427bb
mov ebx, ebp
jmp 0x1400427bb
mov ebx, 3
cmp dword [rcx + 0x20], 0x121
mov r14d, dword [rcx + 4]
mov dword [rcx + 8], r14d
je 0x1400427dd
movups xmm0, xmmword [rcx + 0x20]
mov dword [rcx + 0x20], 0x121
movups xmmword [rcx + 0x10], xmm0
jmp 0x1400427e9
lea rdx, [rcx + 0x18]
call fcn.1400271d0
mov dword [rdi + 0x10], eax
mov r8d, recv
mov rdx, rsi
mov rcx, rdi
call fcn.1400425e0
mov rcx, qword [rdi + 0x30]
mov r9d, r14d
mov r8, rsi
mov edx, ebx
call fcn.140047940
mov eax, dword [rdi + 0x10]
add eax, 0xffffffdb
mov qword [rsp + 0x50], r15
cmp eax, 0xfa
ja case.0x140042837.58
cdqe
movzx eax, byte [rax + r13 + 0x42bb4]
mov ecx, dword [r13 + rax*4 + 0x42b5c]
add rcx, r13
jmp rcx
mov ebp, 1
jmp case.0x140042837.40
mov ebp, 2
jmp case.0x140042837.40
mov ebp, 3
jmp case.0x140042837.40
mov ebp, 4
jmp case.0x140042837.40
mov ebp, 5
jmp case.0x140042837.40
mov ebp, 6
jmp case.0x140042837.40
mov ebp, 7
jmp case.0x140042837.40
mov ebp, 8
jmp case.0x140042837.40
mov ebp, 9
jmp case.0x140042837.40
mov ebp, 0xa
jmp case.0x140042837.40
mov ebp, listen
jmp case.0x140042837.40
mov ebp, recv
jmp case.0x140042837.40
mov ebp, reloc.WS2_32.dll_recv
jmp case.0x140042837.40
mov ebp, reloc.WS2_32.dll_listen
jmp case.0x140042837.40
mov ebp, recv
jmp case.0x140042837.40
mov ebp, reloc.WS2_32.dll_ntohs
jmp case.0x140042837.40
mov ebp, send
jmp case.0x140042837.40
mov ebp, reloc.WS2_32.dll_select
jmp case.0x140042837.40
mov ebp, reloc.WS2_32.dll_send
jmp case.0x140042837.40
mov ebp, socket
nop dword [rax]
movsxd r15, ebp
movzx eax, byte [r13 + r15*2 + 0x143160]
cmp eax, r12d
jle 0x140042a16
cmp dword [rdi + 0x20], 0x121
mov r14d, dword [rdi + 4]
mov dword [rdi + 8], r14d
je 0x140042907
movups xmm0, xmmword [rdi + 0x20]
mov dword [rdi + 0x20], 0x121
movups xmmword [rdi + 0x10], xmm0
jmp 0x140042916
lea rdx, [rdi + 0x18]
mov rcx, rdi
call fcn.1400271d0
mov dword [rdi + 0x10], eax
mov rbx, qword [rdi + 0x30]
cmp ebp, 0x14
ja case.0x14004293a.4
movsxd rax, ebp
movzx eax, byte [rax + r13 + 0x42cc4]
mov edx, dword [r13 + rax*4 + 0x42cb0]
add rdx, r13
jmp rdx
mov rdx, rsi
mov rcx, rbx
call fcn.140046cc0
jmp 0x1400429d4
mov rdx, rsi
mov rcx, rbx
call fcn.140046d50
jmp 0x1400429d4
mov rdx, rsi
mov rcx, rbx
call fcn.140046320
cmp dword [rsi], 7
jne 0x14004297d
mov ecx, dword [rsi + 8]
bt ecx, 8
jb 0x14004297d
movzx eax, byte [rbx + 0x3a]
cmp ecx, eax
jl 0x14004297d
dec byte [rbx + 0x3c]
mov rdx, qword [rbx]
movzx ecx, byte [rbx + 0x3c]
inc ecx
movzx eax, byte [rdx + 0xc]
cmp ecx, eax
jbe 0x14004299d
cmp ecx, 0xff
jae 0x140042a74
mov byte [rdx + 0xc], cl
inc byte [rbx + 0x3c]
mov rdx, rsi
movzx r8d, byte [rbx + 0x3c]
mov rcx, rbx
dec r8d
call fcn.1400465a0
jmp 0x1400429d4
mov eax, dword [rsi + 0x14]
cmp dword [rsi + 0x10], eax
jne case.0x14004293a.4
mov ecx, dword [rsi]
sub ecx, 5
je 0x1400429d4
cmp ecx, 1
je 0x1400429d4
mov rdx, rsi
mov rcx, rbx
call fcn.140046870
movzx r8d, byte [r13 + r15*2 + 0x143161]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1400425e0
mov rcx, qword [rdi + 0x30]
lea r9, [rsp + 0x30]
mov r8, rsi
mov dword [rsp + 0x20], r14d
mov edx, ebp
mov ebx, eax
call fcn.140047b20
mov ebp, ebx
cmp ebx, 0x15
jne case.0x140042837.40
jmp 0x140042a16
mov ebp, reloc.WS2_32.dll_setsockopt
mov rax, qword [rdi + 0x38]
mov ecx, 0xffff
mov r15, qword [rsp + 0x50]
mov r13, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x80]
add word [rax + 0xc6], cx
mov eax, ebp
mov rbp, qword [rsp + 0x88]
mov r14, qword [rsp + 0x58]
add rsp, 0x60
pop r12
pop rdi
pop rsi
ret
mov rcx, qword [rcx + 0x30]
lea r8, str.C_levels
call fcn.14003f840
int3
lea rdx, str.cannot_use_..._outside_a_vararg_function
mov rcx, rdi
call fcn.1400259a0
int3
mov rcx, qword [rbx + 0x10]
lea rdx, str.function_or_expression_needs_too_many_registers
call fcn.1400259a0
int3