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

Disassembly:
mov dword [rsp + 0x10], edx
push rbp
push r14
sub rsp, 0x58
lea r14, [rcx + 0x58]
mov rbp, rcx
cmp byte [r14 + 0x6dc], 0
mov byte [r14 + 0x6c2], 0
je 0x1400b8291
mov eax, 0x2735
add rsp, 0x58
pop r14
pop rbp
ret
mov qword [rsp + 0x50], rsi
mov rsi, qword [rcx + 0x320]
xor edx, edx
mov qword [rsp + 0x38], r13
test rsi, rsi
jne 0x1400b82f0
mov rcx, qword [0x1402e80e0]
call fcn.1401e6440
mov rsi, rax
test rax, rax
je 0x1400b82d9
mov r13d, 1
mov ecx, r13d
lock xadd dword [0x1402e81e0], ecx
xor edx, edx
mov qword [rax + 0x50], rdx
mov byte [rax + 0x78], dl
jmp 0x1400b8344
mov rsi, qword [rsp + 0x50]
mov r13, qword [rsp + 0x38]
mov eax, reloc.WS2_32.dll_inet_ntoa
add rsp, 0x58
pop r14
pop rbp
ret
mov rcx, qword [rsi + 0x58]
test rcx, rcx
je 0x1400b8303
mov rax, qword [rsi + 0x60]
mov qword [rcx + 0x60], rax
jmp 0x1400b830e
mov rax, qword [rsi + 0x60]
mov qword [rbp + 0x328], rax
mov rax, qword [rsi + 0x58]
mov rcx, qword [rsi + 0x60]
mov qword [rcx], rax
or eax, 0xffffffff
lock xadd dword [0x1402e81f8], eax
mov r13d, 1
mov byte [rsi + 0x78], dl
mov eax, r13d
lock xadd dword [0x1402e8570], eax
mov eax, 0xffff
add word [rbp + 0x6fe], ax
mov qword [rsp + 0x88], rbx
mov eax, 4
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x30], r15
mov byte [rsi + 0x7d], 0
mov r15, rdx
mov byte [rsi], 0x82
mov byte [rsi + 1], 0
mov word [rsi + 0x6e], dx
mov qword [rsi + 0x30], r14
mov word [rsi + 0x72], ax
mov word [rsi + 0x70], ax
mov byte [rsi + 0x7b], 0
mov r12d, 0x800
mov qword [rsp + 0x80], rdx
mov ebx, edx
mov dword [rsp + 0x70], edx
nop word [rax + rax]
cmp r12d, 0xb0
jle 0x1400b8457
mov rcx, qword [0x1402e8788]
call fcn.1401e6440
mov rdi, rax
test rax, rax
je 0x1400b8400
xor ecx, ecx
mov dword [rax + 0x1c], 2
mov word [rax + 0x20], r13w
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov dword [rax + 0x18], ecx
add rax, 0x50
mov qword [rdi + 0x28], rcx
mov dword [rdi + 0x38], ecx
mov qword [rdi + 0x30], rcx
mov dword [rdi + 0x3c], ecx
mov dword [rdi + 0x40], ecx
mov qword [rdi + 0x10], rax
mov word [rdi + 0x44], cx
mov word [rdi + 0x46], cx
mov qword [rdi + 0x48], rcx
jmp 0x1400b8402
xor ecx, ecx
mov qword [rdi + 0x50], rcx
mov rcx, qword [0x1402e8790]
call fcn.1401e6440
mov rcx, qword [0x1402e8798]
mov rbx, rax
call fcn.1401e6440
mov dword [rax], r13d
or dword [rdi + 0x1c], 1
xor edx, edx
mov qword [rdi + 0x50], rbx
mov qword [rdi + 0x10], rbx
mov ebx, dword [rsp + 0x70]
mov qword [rdi + 0x70], rax
mov qword [rdi + 0x58], rdx
mov qword [rdi + 0x60], rdx
mov dword [rdi + 0x68], 0x800
mov dword [rdi + 0x78], r13d
mov eax, 0x800
jmp 0x1400b850c
test bl, 2
je 0x1400b84cb
mov rcx, qword [0x1402e8788]
call fcn.1401e6440
mov rdi, rax
test rax, rax
je 0x1400b84bb
xor edx, edx
mov dword [rax + 0x1c], 2
mov word [rax + 0x20], r13w
mov qword [rax], rdx
mov qword [rax + 8], rdx
mov dword [rax + 0x18], edx
add rax, 0x50
mov qword [rdi + 0x28], rdx
mov dword [rdi + 0x38], edx
mov qword [rdi + 0x10], rax
mov eax, 0xb0
mov qword [rdi + 0x30], rdx
cmp r12d, eax
mov dword [rdi + 0x3c], edx
mov dword [rdi + 0x40], edx
mov word [rdi + 0x44], dx
mov word [rdi + 0x46], dx
mov qword [rdi + 0x48], rdx
cmovl eax, r12d
jmp 0x1400b850c
mov eax, 0xb0
xor edx, edx
cmp r12d, eax
cmovl eax, r12d
jmp 0x1400b850c
mov rcx, qword [0x1402e8788]
call fcn.1401e6440
mov rdi, rax
test rax, rax
je 0x1400b84fe
xor edx, edx
mov word [rax + 0x20], r13w
add rax, 0x28
mov qword [rax - 0x28], rdx
mov qword [rax - 0x20], rdx
mov dword [rax - 0x10], edx
mov dword [rax - 0xc], edx
mov qword [rdi + 0x10], rax
jmp 0x1400b8500
xor edx, edx
mov eax, 0xd8
cmp r12d, eax
cmovl eax, r12d
test rdi, rdi
je 0x1400b8564
cmp eax, 0x800
jl 0x1400b8558
sub r12d, eax
mov rax, qword [rsp + 0x80]
test rax, rax
je 0x1400b852d
mov qword [rax], rdi
jmp 0x1400b8530
mov r15, rdi
and ebx, 0xfffffffd
mov qword [rsp + 0x80], rdi
mov dword [rsp + 0x70], ebx
test r12d, r12d
jg 0x1400b83a0
test bl, 4
je 0x1400b8551
or dword [rdi + 0x1c], 4
test r15, r15
je 0x1400b8573
jmp 0x1400b8576
mov rcx, rdi
call fcn.1400795b0
xor edx, edx
jmp 0x1400b8573
test r15, r15
je 0x1400b8573
mov rcx, r15
call fcn.1400795b0
xor edx, edx
mov r15, rdx
mov r12, qword [rsp + 0x40]
mov qword [rsi + 0x40], r15
test r15, r15
jne 0x1400b86df
cmp byte [rsi + 0x78], r15b
je 0x1400b85a5
mov r8d, dword [rsp + 0x78]
movzx edx, word [rsi + 0x76]
mov rcx, rbp
call fcn.1400bef50
mov byte [rsi + 0x78], r15b
xor edx, edx
mov rcx, qword [rsi + 0x50]
test rcx, rcx
je 0x1400b8667
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rcx + 0x1e8], eax
cmp eax, 1
jne 0x1400b8661
mov rax, qword [rsi + 0x50]
mov rcx, qword [rax + 0xd0]
test rcx, rcx
je 0x1400b8609
cmp dword [rcx + 0x14], 1
jg 0x1400b85f0
dec dword [rcx + 0x14]
cmp dword [rcx + 0x14], 0
jg 0x1400b85f3
call fcn.1401e64f8
xor edx, edx
jmp 0x1400b85f3
dec dword [rcx + 0x14]
mov rax, qword [rsi + 0x50]
mov qword [rax + 0xd0], rdx
mov rax, qword [rsi + 0x50]
mov qword [rax + 0xd0], rdx
mov rcx, qword [rsi + 0x50]
cmp byte [rcx + 0x24b], 0
je 0x1400b862f
mov rcx, qword [rcx + 0xf8]
call fcn.14007a5b0
mov r11, qword [rsi + 0x50]
xor edi, edi
mov qword [r11 + 0xf8], rdi
mov rax, qword [rsi + 0x50]
mov ecx, 0xfffe
mov byte [rax + 0x24b], 0
mov rax, qword [rsi + 0x50]
and word [rax + 0x23c], cx
mov rcx, qword [rsi + 0x50]
call fcn.1401e64f8
mov r11d, ebx
lock xadd dword [0x1402e81dc], r11d
xor edx, edx
mov qword [rsi + 0x50], rdx
jmp 0x1400b866a
or ebx, 0xffffffff
movzx eax, word [rbp + 0x6fe]
cmp eax, dword [0x1402e8664]
ja 0x1400b86c5
mov eax, dword [0x1402e8660]
cmp dword [0x1402e81f8], eax
ja 0x1400b86c5
mov qword [rsi + 0x58], rdx
mov rax, qword [rbp + 0x328]
lea rcx, [rsi + 0x58]
mov qword [rsi + 0x60], rax
mov rax, qword [rbp + 0x328]
mov qword [rax], rsi
inc word [rbp + 0x6fe]
mov qword [rbp + 0x328], rcx
lock xadd dword [0x1402e81f8], r13d
mov eax, reloc.WS2_32.dll_inet_ntoa
jmp 0x1400b8925
mov rcx, rsi
call fcn.1401e64f8
lock xadd dword [0x1402e81e0], ebx
mov eax, reloc.WS2_32.dll_inet_ntoa
jmp 0x1400b8925
add qword [r15 + 0x10], 0x20
mov dword [rsi + 0x68], edx
mov word [rsi + 0x6c], dx
mov rax, qword [rbp + 0x3d8]
test rax, rax
je 0x1400b86fd
mov qword [rsi + 0x50], rax
jmp 0x1400b8708
mov rax, qword [rbp + 0x3d0]
mov qword [rsi + 0x50], rax
mov rax, qword [rsi + 0x40]
mov rbx, qword [rax + 0x10]
mov byte [rbx], 0x82
mov byte [rbx + 1], 0
movzx ecx, word [rsi + 0x72]
call sub.WS2_32.dll_htons
mov word [rbx + 2], ax
mov rcx, qword [rsi + 0x50]
mov eax, r13d
lock xadd dword [rcx + 0x1e8], eax
mov rax, qword [rsi + 0x40]
movzx ecx, word [rsi + 0x70]
mov rdx, rsi
mov dword [rax + 0x18], ecx
mov eax, dword [rbp + 0x530]
mov r9d, dword [rbp + 0x50c]
mov r8d, dword [rbp + 0x508]
dec eax
dec r9d
mov rcx, rbp
mov dword [rsp + 0x20], eax
call fcn.1400b75c0
test eax, eax
je 0x1400b87d5
inc byte [r14 + 0x6dc]
mov qword [r14 + 0x350], rsi
lea rcx, [rsi + 0x58]
xor edi, edi
mov qword [rcx], rdi
mov rax, qword [r14 + 0x2e0]
mov qword [rsi + 0x60], rax
mov rax, qword [r14 + 0x2e0]
mov qword [rax], rsi
inc dword [r14 + 0x550]
mov qword [r14 + 0x2e0], rcx
cmp byte [rbp + 0x702], dil
je 0x1400b87b9
mov edx, dword [rsp + 0x78]
mov rcx, rbp
call fcn.1400b3dd0
mov r9, qword [rsi + 0x50]
mov rdx, qword [rbp + 8]
mov r8, rbp
mov ecx, reloc.WS2_32.dll_listen
call fcn.140091020
xor eax, eax
jmp 0x1400b8925
mov rcx, qword [rsi + 0x40]
call fcn.1400795b0
xor edi, edi
mov qword [rsi + 0x40], rdi
cmp byte [rsi + 0x78], dil
je 0x1400b87ff
mov r8d, dword [rsp + 0x78]
movzx edx, word [rsi + 0x76]
mov rcx, rbp
call fcn.1400bef50
mov byte [rsi + 0x78], dil
mov rcx, qword [rsi + 0x50]
test rcx, rcx
je 0x1400b88ba
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rcx + 0x1e8], eax
cmp eax, 1
jne 0x1400b88b4
mov rax, qword [rsi + 0x50]
mov rcx, qword [rax + 0xd0]
test rcx, rcx
je 0x1400b8860
cmp dword [rcx + 0x14], 1
jg 0x1400b8847
dec dword [rcx + 0x14]
cmp dword [rcx + 0x14], edi
jg 0x1400b884a
call fcn.1401e64f8
jmp 0x1400b884a
dec dword [rcx + 0x14]
mov rax, qword [rsi + 0x50]
mov qword [rax + 0xd0], rdi
mov rax, qword [rsi + 0x50]
mov qword [rax + 0xd0], rdi
mov rcx, qword [rsi + 0x50]
cmp byte [rcx + 0x24b], dil
je 0x1400b8884
mov rcx, qword [rcx + 0xf8]
call fcn.14007a5b0
mov r11, qword [rsi + 0x50]
mov qword [r11 + 0xf8], rdi
mov rax, qword [rsi + 0x50]
mov ecx, 0xfffe
mov byte [rax + 0x24b], dil
mov rax, qword [rsi + 0x50]
and word [rax + 0x23c], cx
mov rcx, qword [rsi + 0x50]
call fcn.1401e64f8
mov r11d, ebx
lock xadd dword [0x1402e81dc], r11d
mov qword [rsi + 0x50], rdi
jmp 0x1400b88bd
or ebx, 0xffffffff
movzx eax, word [rbp + 0x6fe]
cmp eax, dword [0x1402e8664]
ja 0x1400b8910
mov eax, dword [0x1402e8660]
cmp dword [0x1402e81f8], eax
ja 0x1400b8910
mov qword [rsi + 0x58], rdi
mov rax, qword [rbp + 0x328]
lea rcx, [rsi + 0x58]
mov qword [rsi + 0x60], rax
mov rax, qword [rbp + 0x328]
mov qword [rax], rsi
inc word [rbp + 0x6fe]
mov qword [rbp + 0x328], rcx
lock xadd dword [0x1402e81f8], r13d
jmp 0x1400b8920
mov rcx, rsi
call fcn.1401e64f8
lock xadd dword [0x1402e81e0], ebx
mov eax, 2
mov rbx, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x48]
mov r15, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x50]
mov r13, qword [rsp + 0x38]
add rsp, 0x58
pop r14
pop rbp
ret