Function at 0x1400b5dd0
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 0x1400b5e01
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 0x1400b5e60
mov rcx, qword [0x1402e64a0]
call fcn.1401e3610
mov rsi, rax
test rax, rax
je 0x1400b5e49
mov r13d, 1
mov ecx, r13d
lock xadd dword [0x1402e65a0], ecx
xor edx, edx
mov qword [rax + 0x50], rdx
mov byte [rax + 0x78], dl
jmp 0x1400b5eb4
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 0x1400b5e73
mov rax, qword [rsi + 0x60]
mov qword [rcx + 0x60], rax
jmp 0x1400b5e7e
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 [0x1402e65b8], eax
mov r13d, 1
mov byte [rsi + 0x78], dl
mov eax, r13d
lock xadd dword [0x1402e6930], 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 0x1400b5fc7
mov rcx, qword [0x1402e6b48]
call fcn.1401e3610
mov rdi, rax
test rax, rax
je 0x1400b5f70
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 0x1400b5f72
xor ecx, ecx
mov qword [rdi + 0x50], rcx
mov rcx, qword [0x1402e6b50]
call fcn.1401e3610
mov rcx, qword [0x1402e6b58]
mov rbx, rax
call fcn.1401e3610
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 0x1400b607c
test bl, 2
je 0x1400b603b
mov rcx, qword [0x1402e6b48]
call fcn.1401e3610
mov rdi, rax
test rax, rax
je 0x1400b602b
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 0x1400b607c
mov eax, 0xb0
xor edx, edx
cmp r12d, eax
cmovl eax, r12d
jmp 0x1400b607c
mov rcx, qword [0x1402e6b48]
call fcn.1401e3610
mov rdi, rax
test rax, rax
je 0x1400b606e
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 0x1400b6070
xor edx, edx
mov eax, 0xd8
cmp r12d, eax
cmovl eax, r12d
test rdi, rdi
je 0x1400b60d4
cmp eax, 0x800
jl 0x1400b60c8
sub r12d, eax
mov rax, qword [rsp + 0x80]
test rax, rax
je 0x1400b609d
mov qword [rax], rdi
jmp 0x1400b60a0
mov r15, rdi
and ebx, 0xfffffffd
mov qword [rsp + 0x80], rdi
mov dword [rsp + 0x70], ebx
test r12d, r12d
jg 0x1400b5f10
test bl, 4
je 0x1400b60c1
or dword [rdi + 0x1c], 4
test r15, r15
je 0x1400b60e3
jmp 0x1400b60e6
mov rcx, rdi
call fcn.140077120
xor edx, edx
jmp 0x1400b60e3
test r15, r15
je 0x1400b60e3
mov rcx, r15
call fcn.140077120
xor edx, edx
mov r15, rdx
mov r12, qword [rsp + 0x40]
mov qword [rsi + 0x40], r15
test r15, r15
jne 0x1400b624f
cmp byte [rsi + 0x78], r15b
je 0x1400b6115
mov r8d, dword [rsp + 0x78]
movzx edx, word [rsi + 0x76]
mov rcx, rbp
call fcn.1400bcac0
mov byte [rsi + 0x78], r15b
xor edx, edx
mov rcx, qword [rsi + 0x50]
test rcx, rcx
je 0x1400b61d7
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rcx + 0x1e8], eax
cmp eax, 1
jne 0x1400b61d1
mov rax, qword [rsi + 0x50]
mov rcx, qword [rax + 0xd0]
test rcx, rcx
je 0x1400b6179
cmp dword [rcx + 0x14], 1
jg 0x1400b6160
dec dword [rcx + 0x14]
cmp dword [rcx + 0x14], 0
jg 0x1400b6163
call fcn.1401e36c8
xor edx, edx
jmp 0x1400b6163
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 0x1400b619f
mov rcx, qword [rcx + 0xf8]
call fcn.140078120
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.1401e36c8
mov r11d, ebx
lock xadd dword [0x1402e659c], r11d
xor edx, edx
mov qword [rsi + 0x50], rdx
jmp 0x1400b61da
or ebx, 0xffffffff
movzx eax, word [rbp + 0x6fe]
cmp eax, dword [0x1402e6a24]
ja 0x1400b6235
mov eax, dword [0x1402e6a20]
cmp dword [0x1402e65b8], eax
ja 0x1400b6235
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 [0x1402e65b8], r13d
mov eax, reloc.WS2_32.dll_inet_ntoa
jmp 0x1400b6495
mov rcx, rsi
call fcn.1401e36c8
lock xadd dword [0x1402e65a0], ebx
mov eax, reloc.WS2_32.dll_inet_ntoa
jmp 0x1400b6495
add qword [r15 + 0x10], 0x20
mov dword [rsi + 0x68], edx
mov word [rsi + 0x6c], dx
mov rax, qword [rbp + 0x3d8]
test rax, rax
je 0x1400b626d
mov qword [rsi + 0x50], rax
jmp 0x1400b6278
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.1400b5130
test eax, eax
je 0x1400b6345
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 0x1400b6329
mov edx, dword [rsp + 0x78]
mov rcx, rbp
call fcn.1400b1940
mov r9, qword [rsi + 0x50]
mov rdx, qword [rbp + 8]
mov r8, rbp
mov ecx, reloc.WS2_32.dll_listen
call fcn.14008eb90
xor eax, eax
jmp 0x1400b6495
mov rcx, qword [rsi + 0x40]
call fcn.140077120
xor edi, edi
mov qword [rsi + 0x40], rdi
cmp byte [rsi + 0x78], dil
je 0x1400b636f
mov r8d, dword [rsp + 0x78]
movzx edx, word [rsi + 0x76]
mov rcx, rbp
call fcn.1400bcac0
mov byte [rsi + 0x78], dil
mov rcx, qword [rsi + 0x50]
test rcx, rcx
je 0x1400b642a
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rcx + 0x1e8], eax
cmp eax, 1
jne 0x1400b6424
mov rax, qword [rsi + 0x50]
mov rcx, qword [rax + 0xd0]
test rcx, rcx
je 0x1400b63d0
cmp dword [rcx + 0x14], 1
jg 0x1400b63b7
dec dword [rcx + 0x14]
cmp dword [rcx + 0x14], edi
jg 0x1400b63ba
call fcn.1401e36c8
jmp 0x1400b63ba
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 0x1400b63f4
mov rcx, qword [rcx + 0xf8]
call fcn.140078120
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.1401e36c8
mov r11d, ebx
lock xadd dword [0x1402e659c], r11d
mov qword [rsi + 0x50], rdi
jmp 0x1400b642d
or ebx, 0xffffffff
movzx eax, word [rbp + 0x6fe]
cmp eax, dword [0x1402e6a24]
ja 0x1400b6480
mov eax, dword [0x1402e6a20]
cmp dword [0x1402e65b8], eax
ja 0x1400b6480
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 [0x1402e65b8], r13d
jmp 0x1400b6490
mov rcx, rsi
call fcn.1401e36c8
lock xadd dword [0x1402e65a0], 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