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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x78
mov r10, qword [rdx]
mov rbx, rdx
mov rsi, qword [rcx + 0x10]
xor edi, edi
movsxd r11, r9d
mov r13, r8
mov r9, rcx
mov qword [rsp + 0x48], r10
movzx edx, byte [r10]
mov r12d, 0x400
mov r14d, 0x800
lea eax, [rdx - 0x2d]
test al, 0xf7
je 0x14011e3bd
cmp dl, 0x32
jne 0x14011dc0b
mov ebp, dword [rsp + 0xe8]
lea edx, [rdi + 0x4b]
mov r9d, ebp
xor r8d, r8d
mov rcx, rsi
call fcn.14019aad0
jmp 0x14011e356
mov rbp, qword [r8 + 0x60]
mov r14d, edi
mov dword [rsp + 0x38], 5
mov r15, rdi
mov qword [rsp + 0x50], rbp
test dword [rbp + 0x38], r12d
jne 0x14011dc49
mov rax, qword [rbp + 0x20]
test rax, rax
je 0x14011dc49
mov rax, qword [rax + 0x38]
cmp byte [r11 + rax], dil
je 0x14011dc49
cmp dword [rsp + 0xe0], edi
mov eax, edi
sete al
jmp 0x14011dc50
mov eax, dword [rsp + 0xe0]
mov r12d, dword [rsp + 0xe8]
mov dword [rsp + 0x3c], eax
test r11d, r11d
jle 0x14011dc8a
mov r8, qword [rbp + 0x48]
mov rax, rdi
nop dword [rax + rax]
mov rcx, qword [r8 + rax*8]
test rcx, rcx
je 0x14011dc82
cmp qword [rcx], r10
je 0x14011dd11
inc rax
cmp rax, r11
jl 0x14011dc70
movzx r8d, word [rbp + 0x3c]
cmp r11d, r8d
jge 0x14011dcbb
mov rax, qword [rbp + 0x48]
sub r8d, r11d
lea rdx, [rax + r11*8]
nop
mov rax, qword [rdx]
lea ecx, [r14 + 1]
lea rdx, [rdx + 8]
cmp qword [rax], r10
cmovne ecx, r14d
mov r14d, ecx
sub r8, 1
jne 0x14011dca0
mov edx, dword [r10 + 4]
mov dword [rsp + 0x34], edi
mov dword [rsp + 0x30], edi
bt edx, 0xc
jae 0x14011de97
mov rax, qword [r10 + 0x20]
mov rcx, qword [rax + 0x20]
cmp dword [rcx], 1
je 0x14011de97
cmp dword [r10 + 0x2c], edi
je 0x14011ddb6
bt edx, 0x19
jae 0x14011ddb6
mov rcx, qword [r10 + 0x10]
movzx eax, byte [rcx]
cmp al, 0xb0
jne 0x14011dd05
movzx eax, byte [rcx + 2]
cmp al, 0xb1
jne 0x14011dd24
mov rax, qword [rcx + 0x20]
mov ecx, dword [rax]
jmp 0x14011dd39
mov rdx, rbx
mov rcx, r13
call fcn.14011e8a0
mov eax, r12d
jmp 0x14011e3fe
cmp al, 0x8a
jne 0x14011dd34
mov rax, qword [rcx + 0x20]
mov rcx, qword [rax + 0x20]
mov ecx, dword [rcx]
jmp 0x14011dd39
mov ecx, 1
cmp r14d, ecx
cmovg ecx, r14d
movsxd rbp, ecx
mov rcx, qword [r9]
shl rbp, 2
test rcx, rcx
je 0x14011dd59
mov rdx, rbp
call fcn.1401ccf60
jmp 0x14011dd61
mov rcx, rbp
call fcn.1401cd740
mov r15, rax
test rax, rax
je 0x14011dd76
mov r8, rbp
xor edx, edx
mov rcx, rax
call fcn.1400b4b10
mov rdx, qword [rsp + 0x48]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov rbp, qword [rsp + 0xc0]
mov r8d, 4
mov rcx, rbp
xor r9d, r9d
call fcn.140178620
mov r8d, dword [rsp + 0x30]
mov dword [rsp + 0x34], r8d
mov dword [rsp + 0x38], eax
jmp 0x14011de81
mov r13, qword [r9]
mov r8, rbp
mov rbp, qword [rsp + 0xc0]
mov r9, r10
mov rcx, rbp
mov edx, r11d
call fcn.14011e420
mov r12, rax
cmp byte [r13 + 0x67], dil
jne 0x14011de5f
mov rcx, qword [rsp + 0xc0]
movsxd rbp, r14d
shl rbp, 2
mov rcx, qword [rcx]
test rcx, rcx
je 0x14011de00
mov rdx, rbp
call fcn.1401ccf60
jmp 0x14011de08
mov rcx, rbp
call fcn.1401cd740
mov r15, rax
test rax, rax
je 0x14011de1d
mov r8, rbp
xor edx, edx
mov rcx, rax
call fcn.1400b4b10
mov rbp, qword [rsp + 0xc0]
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rax
mov rdx, r12
mov qword [rsp + 0x20], r15
mov rcx, rbp
lea r8d, [r9 + 4]
call fcn.140178620
mov r8d, dword [rsp + 0x30]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x48]
mov dword [rsp + 0x34], r8d
mov dword [rax + 0x2c], r8d
jmp 0x14011de64
mov r8d, dword [rsp + 0x34]
test r12, r12
je 0x14011de79
mov rdx, r12
mov rcx, r13
call fcn.14017b6d0
mov r8d, dword [rsp + 0x34]
mov r13, qword [rsp + 0xd0]
cmp dword [rsp + 0x38], 4
jne 0x14011deae
cmp dword [rsp + 0x3c], edi
mov eax, edi
sete al
mov dword [rsp + 0x3c], eax
jmp 0x14011deb2
lea rax, [rsp + 0x30]
mov rdx, r10
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
jmp 0x14011dd8a
mov eax, dword [rsp + 0x3c]
test eax, eax
mov ecx, 0x20
mov edx, 0x24
cmovne edx, ecx
movsxd rcx, dword [rsi + 0x90]
cmp dword [rsi + 0x94], ecx
jg 0x14011dee1
xor r9d, r9d
mov dword [rsp + 0x20], edi
mov rcx, rsi
call fcn.14019acc0
jmp 0x14011df11
lea eax, [rcx + 1]
mov dword [rsi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rsi + 0x88]
mov byte [rax + rcx*8], dl
mov word [rax + rcx*8 + 2], di
mov dword [rax + rcx*8 + 4], r8d
mov qword [rax + rcx*8 + 8], rdi
mov qword [rax + rcx*8 + 0x10], rdi
mov byte [rax + rcx*8 + 1], dil
mov rcx, qword [rsp + 0x50]
or dword [rcx + 0x38], 0x800
cmp dword [r13 + 0x50], edi
jne 0x14011df2d
dec dword [rbp + 0x44]
mov eax, dword [rbp + 0x44]
mov dword [r13 + 0x10], eax
cmp dword [rsp + 0xd8], edi
jle 0x14011df46
mov eax, dword [rcx + 0x38]
bt eax, 0x14
jb 0x14011df46
bts eax, 0x12
mov dword [rcx + 0x38], eax
mov eax, dword [r13 + 0x50]
mov rbp, qword [rsp + 0xd0]
mov dword [rsp + 0x30], eax
add eax, r14d
mov dword [r13 + 0x50], eax
cdqe
mov rbp, qword [rbp + 0x58]
lea r13, [rax + rax*4]
mov rax, qword [rbx + 8]
shl r13, 2
mov r12, qword [rax]
lea rdx, [r13 + 0x10]
mov rcx, qword [r12]
mov rcx, qword [rcx]
call fcn.1401ccf60
mov r14, rax
test rax, rax
je 0x14011dfc3
mov rax, qword [r12 + 0x60]
mov qword [r14], rax
mov qword [r14 + 8], r13
mov qword [r12 + 0x60], r14
add r14, 0x10
je 0x14011dfc3
test rbp, rbp
je 0x14011dfc3
mov r8, qword [rbp - 8]
mov rdx, rbp
mov rcx, r14
call fcn.1400b4460
mov r13, qword [rsp + 0xd0]
mov qword [r13 + 0x58], r14
jmp 0x14011dfd8
mov r13, qword [rsp + 0xd0]
mov qword [r13 + 0x58], r14
test r14, r14
je 0x14011e25d
movsxd rax, dword [rsp + 0x30]
mov r9, qword [rsp + 0x50]
movsxd r8, dword [rsp + 0xd8]
lea rcx, [rax + rax*4]
movzx eax, word [r9 + 0x3c]
cmp r8d, eax
jge 0x14011e1f3
mov r12d, dword [rsp + 0x34]
lea r14, [r14 + rcx*4]
mov ecx, dword [rsp + 0xe8]
lea r10, [r8*8]
mov r13, qword [rsp + 0x48]
mov edx, ecx
sub edx, r8d
mov qword [rsp + 0x60], r10
add r14, 0x10
mov dword [rsp + 0x30], edx
mov eax, r8d
mov qword [rsp + 0x58], r15
sub eax, ecx
mov r11, r15
mov ebx, eax
mov ebp, ecx
nop dword [rax]
mov rax, qword [r9 + 0x48]
mov rcx, qword [r10 + rax]
cmp qword [rcx], r13
jne 0x14011e1c2
cmp dword [rsp + 0x38], 1
jne 0x14011e0aa
movsxd rdx, dword [rsi + 0x90]
cmp dword [rsi + 0x94], edx
jg 0x14011e085
mov r9d, ebp
mov dword [rsp + 0x20], edi
mov r8d, r12d
mov edx, 0x87
mov rcx, rsi
call fcn.14019acc0
mov edx, eax
jmp 0x14011e118
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rsi + 0x90], eax
mov rax, qword [rsi + 0x88]
mov dword [rax + rcx*8], 0x87
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], edi
jmp 0x14011e10e
test r15, r15
je 0x14011e0bd
mov r8d, dword [r11]
add r11, 4
mov qword [rsp + 0x58], r11
jmp 0x14011e0c0
mov r8d, edi
movsxd rdx, dword [rsi + 0x90]
cmp dword [rsi + 0x94], edx
jg 0x14011e0ea
mov r9d, r8d
mov dword [rsp + 0x20], ebp
mov r8d, r12d
mov edx, 0x5e
mov rcx, rsi
call fcn.14019acc0
mov edx, eax
jmp 0x14011e118
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rsi + 0x90], eax
mov rax, qword [rsi + 0x88]
mov dword [rax + rcx*8], 0x5e
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rdi
mov dword [rax + rcx*8 + 4], r12d
mov dword [r14 - 0xc], edx
movsxd rcx, dword [rsi + 0x90]
cmp dword [rsi + 0x94], ecx
jg 0x14011e143
xor r9d, r9d
mov dword [rsp + 0x20], edi
mov r8d, ebp
mov rcx, rsi
lea edx, [r9 + 0x32]
call fcn.14019acc0
jmp 0x14011e16c
lea eax, [rcx + 1]
mov dword [rsi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rsi + 0x88]
mov dword [rax + rcx*8], 0x32
mov dword [rax + rcx*8 + 4], ebp
mov qword [rax + rcx*8 + 8], rdi
mov qword [rax + rcx*8 + 0x10], rdi
mov r8d, dword [rsp + 0xd8]
lea ecx, [rbx + rbp]
cmp ecx, r8d
jne 0x14011e1a7
cmp dword [rsp + 0x3c], edi
mov dword [r14 - 0x10], r12d
sete al
add al, 0x26
mov byte [r14], al
test r8d, r8d
jle 0x14011e19f
mov eax, dword [rsp + 0x30]
mov dword [r14 - 8], eax
mov dword [r14 - 4], ecx
jmp 0x14011e1ab
mov ecx, edi
mov dword [r14 - 4], ecx
jmp 0x14011e1ab
mov byte [r14], 0xb9
mov edx, dword [rsp + 0x30]
add r14, 0x14
mov r9, qword [rsp + 0x50]
mov r10, qword [rsp + 0x60]
mov r11, qword [rsp + 0x58]
movzx eax, word [r9 + 0x3c]
inc ebp
dec edx
add r10, 8
mov dword [rsp + 0x30], edx
mov qword [rsp + 0x60], r10
lea ecx, [rbx + rbp]
cmp ecx, eax
jl 0x14011e040
mov rbx, qword [rsp + 0xc8]
mov r13, qword [rsp + 0xd0]
test r8d, r8d
jle 0x14011e261
test dword [r9 + 0x38], 0x100400
jne 0x14011e261
movsxd rcx, dword [rsi + 0x90]
mov edx, dword [r13 + 8]
cmp dword [rsi + 0x94], ecx
jg 0x14011e22e
xor r9d, r9d
mov dword [rsp + 0x20], r8d
mov r8d, edx
mov rcx, rsi
lea edx, [r9 + 0x7d]
call fcn.14019acc0
jmp 0x14011e261
lea eax, [rcx + 1]
mov dword [rsi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rsi + 0x88]
mov dword [rax + rcx*8], 0x7d
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], edi
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], rdi
jmp 0x14011e261
mov dword [r13 + 0x50], edi
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx]
test r15, r15
je 0x14011e343
test rcx, rcx
je 0x14011e2d4
cmp r15, qword [rcx + 0x1f0]
jae 0x14011e2c1
cmp r15, qword [rcx + 0x1e0]
jb 0x14011e2a2
mov rax, qword [rcx + 0x1d8]
mov qword [r15], rax
mov qword [rcx + 0x1d8], r15
jmp 0x14011e343
cmp r15, qword [rcx + 0x1e8]
jb 0x14011e2c1
mov rax, qword [rcx + 0x1c8]
mov qword [r15], rax
mov qword [rcx + 0x1c8], r15
jmp 0x14011e343
cmp qword [rcx + 0x308], rdi
je 0x14011e2d4
mov rdx, r15
call fcn.1401cd4c0
jmp 0x14011e343
cmp dword [reloc.WS2_32.dll_accept], edi
je 0x14011e3b1
mov rcx, qword [0x140247198]
test rcx, rcx
je 0x14011e2f9
mov rax, qword [0x14023d750]
call qword [case.0x1400faf48.0]
mov rax, qword [0x14023d708]
mov rcx, r15
call qword [case.0x1400faf48.0]
dec qword [0x140246f88]
movsxd rcx, eax
sub qword [0x140246f40], rcx
mov rcx, r15
mov rax, qword [0x14023d6f8]
call qword [case.0x1400faf48.0]
mov rcx, qword [0x140247198]
test rcx, rcx
je 0x14011e343
mov rax, qword [0x14023d760]
call qword [case.0x1400faf48.0]
mov ebp, dword [rsp + 0xe8]
mov r12d, 0x400
mov r14d, 0x800
mov rcx, qword [r13 + 0x60]
test dword [rcx + 0x38], 0x200000
je 0x14011e36e
test word [rbx + 0x14], r14w
jne 0x14011e3fc
test byte [rbx + 0x12], 4
jne 0x14011e3fc
mov edx, 0x200
nop dword [rax]
cmp dword [r13], 0
je 0x14011e390
mov rax, qword [rbx]
test byte [rax + 4], 1
je 0x14011e3fc
mov rax, qword [rbx + 0x30]
test qword [r13 + 0x68], rax
jne 0x14011e3fc
test edi, edi
je 0x14011e3d2
movzx eax, word [rbx + 0x12]
test r12w, ax
je 0x14011e3d2
or ax, dx
mov word [rbx + 0x12], ax
jmp 0x14011e3d7
mov rax, qword [0x14023d6f8]
mov rcx, r15
jmp 0x14011e33d
mov r8d, dword [rsp + 0xe8]
mov rdx, qword [r10 + 0x18]
call fcn.140173d90
mov ebp, eax
jmp 0x14011e356
or word [rbx + 0x12], 4
movsxd rax, dword [rbx + 0x18]
test eax, eax
js 0x14011e3fc
imul rcx, rax, 0x38
mov rax, qword [rbx + 8]
add rcx, qword [rax + 0x20]
mov rbx, rcx
add byte [rcx + 0x16], 0xff
jne 0x14011e3fc
inc edi
test byte [rcx + 0x12], 4
je 0x14011e380
mov eax, ebp
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret