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

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x1d8
mov rcx, qword [rsp + 0x1f0]
call fcn.14006bf50
nop
xor eax, eax
cmp eax, 1
je 0x14006d9b2
mov rcx, qword [rsp + 0x1f0]
call fcn.140069250
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0xf5
ja case.0x14006ce36.128
movsxd rax, dword [rsp + 0x28]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x6d9bc]
add rax, rcx
jmp rax
mov rax, qword [rsp + 0x1f0]
lea rcx, [0x1402b0ac8]
mov qword [rax + 0x70], rcx
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x14006d9b2
mov eax, 4
jmp 0x14006d9b2
mov rcx, qword [rsp + 0x1f0]
call fcn.140069250
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x2c]
sub eax, 0x22
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0x53
ja case.0x14006cea4.35
movsxd rax, dword [rsp + 0x2c]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0x6ddbc]
mov eax, dword [rcx + rax*4 + 0x6dd94]
add rax, rcx
jmp rax
mov edx, Ordinal_35
mov rcx, qword [rsp + 0x1f0]
call fcn.140062c10
nop
jmp 0x14006d20f
mov edx, 0x5c
mov rcx, qword [rsp + 0x1f0]
call fcn.140062c10
nop
jmp 0x14006d20f
mov edx, Ordinal_50
mov rcx, qword [rsp + 0x1f0]
call fcn.140062c10
nop
jmp 0x14006d20f
mov edx, 8
mov rcx, qword [rsp + 0x1f0]
call fcn.140062c10
nop
jmp 0x14006d20f
mov edx, listen
mov rcx, qword [rsp + 0x1f0]
call fcn.140062c10
nop
jmp 0x14006d20f
mov edx, 0xa
mov rcx, qword [rsp + 0x1f0]
call fcn.140062c10
nop
jmp 0x14006d20f
mov edx, reloc.WS2_32.dll_listen
mov rcx, qword [rsp + 0x1f0]
call fcn.140062c10
nop
jmp 0x14006d20f
mov edx, 9
mov rcx, qword [rsp + 0x1f0]
call fcn.140062c10
nop
jmp 0x14006d20f
mov rcx, qword [rsp + 0x1f0]
call fcn.140069480
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x24], 0xffffffff
jne 0x14006cfa3
mov rax, qword [rsp + 0x1f0]
lea rcx, [0x1402b0af0]
mov qword [rax + 0x70], rcx
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x14006d9b2
cmp dword [rsp + 0x24], 0xd800
jl 0x14006d08a
cmp dword [rsp + 0x24], 0xdbff
jg 0x14006d08a
mov rcx, qword [rsp + 0x1f0]
call fcn.140069250
cmp eax, 0x5c
jne 0x14006d06b
mov rcx, qword [rsp + 0x1f0]
call fcn.140069250
cmp eax, 0x75
jne 0x14006d06b
mov rcx, qword [rsp + 0x1f0]
call fcn.140069480
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xffffffff
jne 0x14006d020
mov rax, qword [rsp + 0x1f0]
lea rcx, [0x1402b0af0]
mov qword [rax + 0x70], rcx
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x14006d9b2
cmp dword [rsp + 0x30], 0xdc00
jl 0x14006d04c
cmp dword [rsp + 0x30], 0xdfff
jg 0x14006d04c
mov eax, dword [rsp + 0x24]
shl eax, 0xa
mov ecx, dword [rsp + 0x30]
lea eax, [rax + rcx - 0x35fdc00]
mov dword [rsp + 0x20], eax
jmp 0x14006d069
mov rax, qword [rsp + 0x1f0]
lea rcx, [0x1402b0b30]
mov qword [rax + 0x70], rcx
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x14006d9b2
jmp 0x14006d088
mov rax, qword [rsp + 0x1f0]
lea rcx, [0x1402b0b30]
mov qword [rax + 0x70], rcx
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x14006d9b2
jmp 0x14006d0bb
cmp dword [rsp + 0x24], 0xdc00
jl 0x14006d0bb
cmp dword [rsp + 0x24], 0xdfff
jg 0x14006d0bb
mov rax, qword [rsp + 0x1f0]
lea rcx, [0x1402b0b80]
mov qword [rax + 0x70], rcx
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x14006d9b2
cmp dword [rsp + 0x20], 0x80
jge 0x14006d0dc
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x1f0]
call fcn.140062c10
nop
jmp 0x14006d1f0
cmp dword [rsp + 0x20], 0x7ff
jg 0x14006d121
mov eax, dword [rsp + 0x20]
shr eax, 6
or eax, 0xc0
mov edx, eax
mov rcx, qword [rsp + 0x1f0]
call fcn.140062c10
mov eax, dword [rsp + 0x20]
and eax, 0x3f
bts eax, 7
mov edx, eax
mov rcx, qword [rsp + 0x1f0]
call fcn.140062c10
nop
jmp 0x14006d1f0
cmp dword [rsp + 0x20], 0xffff
jg 0x14006d180
mov eax, dword [rsp + 0x20]
shr eax, 0xc
or eax, 0xe0
mov edx, eax
mov rcx, qword [rsp + 0x1f0]
call fcn.140062c10
mov eax, dword [rsp + 0x20]
shr eax, 6
and eax, 0x3f
bts eax, 7
mov edx, eax
mov rcx, qword [rsp + 0x1f0]
call fcn.140062c10
mov eax, dword [rsp + 0x20]
and eax, 0x3f
bts eax, 7
mov edx, eax
mov rcx, qword [rsp + 0x1f0]
call fcn.140062c10
nop
jmp 0x14006d1f0
mov eax, dword [rsp + 0x20]
shr eax, 0x12
or eax, 0xf0
mov edx, eax
mov rcx, qword [rsp + 0x1f0]
call fcn.140062c10
mov eax, dword [rsp + 0x20]
shr eax, 0xc
and eax, 0x3f
bts eax, 7
mov edx, eax
mov rcx, qword [rsp + 0x1f0]
call fcn.140062c10
mov eax, dword [rsp + 0x20]
shr eax, 6
and eax, 0x3f
bts eax, 7
mov edx, eax
mov rcx, qword [rsp + 0x1f0]
call fcn.140062c10
mov eax, dword [rsp + 0x20]
and eax, 0x3f
bts eax, 7
mov edx, eax
mov rcx, qword [rsp + 0x1f0]
call fcn.140062c10
nop
jmp 0x14006d20f
mov rax, qword [rsp + 0x1f0]
lea rcx, [0x1402b0bc8]
mov qword [rax + 0x70], rcx
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x14006d9b2
jmp 0x14006d9ad
mov rax, qword [rsp + 0x1f0]
lea rcx, [0x1402b0c00]
mov qword [rax + 0x70], rcx
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x14006d9b2
mov rax, qword [rsp + 0x1f0]
lea rcx, [0x1402b0c50]
mov qword [rax + 0x70], rcx
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x14006d9b2
mov rax, qword [rsp + 0x1f0]
lea rcx, [0x1402b0ca0]
mov qword [rax + 0x70], rcx
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x14006d9b2
mov rax, qword [rsp + 0x1f0]
lea rcx, [0x1402b0cf0]
mov qword [rax + 0x70], rcx
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x14006d9b2
mov rax, qword [rsp + 0x1f0]
lea rcx, [0x1402b0d40]
mov qword [rax + 0x70], rcx
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x14006d9b2
mov rax, qword [rsp + 0x1f0]
lea rcx, [0x1402b0d90]
mov qword [rax + 0x70], rcx
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x14006d9b2
mov rax, qword [rsp + 0x1f0]
lea rcx, [0x1402b0de0]
mov qword [rax + 0x70], rcx
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x14006d9b2
mov rax, qword [rsp + 0x1f0]
lea rcx, [0x1402b0e30]
mov qword [rax + 0x70], rcx
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x14006d9b2
mov rax, qword [rsp + 0x1f0]
lea rcx, [0x1402b0e80]
mov qword [rax + 0x70], rcx
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x14006d9b2
mov rax, qword [rsp + 0x1f0]
lea rcx, [0x1402b0ed0]
mov qword [rax + 0x70], rcx
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x14006d9b2
mov rax, qword [rsp + 0x1f0]
lea rcx, [0x1402b0f20]
mov qword [rax + 0x70], rcx
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x14006d9b2
mov rax, qword [rsp + 0x1f0]
lea rcx, [0x1402b0f70]
mov qword [rax + 0x70], rcx
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x14006d9b2
mov rax, qword [rsp + 0x1f0]
lea rcx, [0x1402b0fc0]
mov qword [rax + 0x70], rcx
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x14006d9b2
mov rax, qword [rsp + 0x1f0]
lea rcx, [0x1402b1010]
mov qword [rax + 0x70], rcx
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x14006d9b2
mov rax, qword [rsp + 0x1f0]
lea rcx, [0x1402b1060]
mov qword [rax + 0x70], rcx
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x14006d9b2
mov rax, qword [rsp + 0x1f0]
lea rcx, [0x1402b10b0]
mov qword [rax + 0x70], rcx
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x14006d9b2
mov rax, qword [rsp + 0x1f0]
lea rcx, [0x1402b1100]
mov qword [rax + 0x70], rcx
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x14006d9b2
mov rax, qword [rsp + 0x1f0]
lea rcx, [0x1402b1150]
mov qword [rax + 0x70], rcx
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x14006d9b2
mov rax, qword [rsp + 0x1f0]
lea rcx, [0x1402b11a0]
mov qword [rax + 0x70], rcx
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x14006d9b2
mov rax, qword [rsp + 0x1f0]
lea rcx, [0x1402b11f0]
mov qword [rax + 0x70], rcx
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x14006d9b2
mov rax, qword [rsp + 0x1f0]
lea rcx, [0x1402b1240]
mov qword [rax + 0x70], rcx
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x14006d9b2
mov rax, qword [rsp + 0x1f0]
lea rcx, [0x1402b1290]
mov qword [rax + 0x70], rcx
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x14006d9b2
mov rax, qword [rsp + 0x1f0]
lea rcx, [0x1402b12e0]
mov qword [rax + 0x70], rcx
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x14006d9b2
mov rax, qword [rsp + 0x1f0]
lea rcx, [0x1402b1330]
mov qword [rax + 0x70], rcx
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x14006d9b2
mov rax, qword [rsp + 0x1f0]
lea rcx, [0x1402b1380]
mov qword [rax + 0x70], rcx
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x14006d9b2
mov rax, qword [rsp + 0x1f0]
lea rcx, [0x1402b13d0]
mov qword [rax + 0x70], rcx
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x14006d9b2
mov rax, qword [rsp + 0x1f0]
lea rcx, [0x1402b1420]
mov qword [rax + 0x70], rcx
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x14006d9b2
mov rax, qword [rsp + 0x1f0]
lea rcx, [0x1402b1470]
mov qword [rax + 0x70], rcx
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x14006d9b2
mov rax, qword [rsp + 0x1f0]
lea rcx, [0x1402b14c0]
mov qword [rax + 0x70], rcx
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x14006d9b2
mov rax, qword [rsp + 0x1f0]
lea rcx, [0x1402b1510]
mov qword [rax + 0x70], rcx
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x14006d9b2
mov rax, qword [rsp + 0x1f0]
lea rcx, [0x1402b1560]
mov qword [rax + 0x70], rcx
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x14006d9b2
mov rax, qword [rsp + 0x1f0]
lea rcx, [0x1402b15b0]
mov qword [rax + 0x70], rcx
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x14006d9b2
mov rax, qword [rsp + 0x1f0]
mov edx, dword [rax + 0x14]
mov rcx, qword [rsp + 0x1f0]
call fcn.140062c10
nop
jmp 0x14006d9ad
mov dword [rsp + 0x38], 0x80
mov dword [rsp + 0x3c], 0xbf
lea rax, [rsp + 0x40]
mov r8, rax
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x160]
call fcn.14003a5b0
lea rcx, [rsp + 0xf0]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0x1f0]
call fcn.14006aa80
movzx eax, al
test eax, eax
jne 0x14006d637
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x14006d9b2
jmp 0x14006d9ad
mov dword [rsp + 0x48], 0xa0
mov dword [rsp + 0x4c], 0xbf
mov dword [rsp + 0x50], 0x80
mov dword [rsp + 0x54], 0xbf
lea rax, [rsp + 0x58]
mov r8, rax
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x170]
call fcn.14003a5b0
lea rcx, [rsp + 0x100]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x100]
mov rcx, qword [rsp + 0x1f0]
call fcn.14006aa80
movzx eax, al
test eax, eax
jne 0x14006d6b1
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x14006d9b2
jmp 0x14006d9ad
mov dword [rsp + 0x60], 0x80
mov dword [rsp + 0x64], 0xbf
mov dword [rsp + 0x68], 0x80
mov dword [rsp + 0x6c], 0xbf
lea rax, [rsp + 0x70]
mov r8, rax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x180]
call fcn.14003a5b0
lea rcx, [rsp + 0x110]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x110]
mov rcx, qword [rsp + 0x1f0]
call fcn.14006aa80
movzx eax, al
test eax, eax
jne 0x14006d72b
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x14006d9b2
jmp 0x14006d9ad
mov dword [rsp + 0x78], 0x80
mov dword [rsp + 0x7c], 0x9f
mov dword [rsp + 0x80], 0x80
mov dword [rsp + 0x84], Ordinal_200
lea rax, [rsp + 0x88]
mov r8, rax
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x190]
call fcn.14003a5b0
lea rcx, [rsp + 0x120]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x120]
mov rcx, qword [rsp + 0x1f0]
call fcn.14006aa80
movzx eax, al
test eax, eax
jne 0x14006d7ae
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x14006d9b2
jmp 0x14006d9ad
mov dword [rsp + __WSAFDIsSet], 0x90
mov dword [rsp + 0x94], Ordinal_200
mov dword [rsp + 0x98], 0x80
mov dword [rsp + 0x9c], Ordinal_200
mov dword [rsp + 0xa0], 0x80
mov dword [rsp + 0xa4], Ordinal_200
lea rax, [rsp + 0xa8]
mov r8, rax
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x1a0]
call fcn.14003a5b0
lea rcx, [rsp + 0x130]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x130]
mov rcx, qword [rsp + 0x1f0]
call fcn.14006aa80
movzx eax, al
test eax, eax
jne 0x14006d850
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x14006d9b2
jmp 0x14006d9ad
mov dword [rsp + 0xb0], 0x80
mov dword [rsp + 0xb4], Ordinal_200
mov dword [rsp + 0xb8], 0x80
mov dword [rsp + 0xbc], Ordinal_200
mov dword [rsp + 0xc0], 0x80
mov dword [rsp + 0xc4], Ordinal_200
lea rax, [rsp + 0xc8]
mov r8, rax
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x1b0]
call fcn.14003a5b0
lea rcx, [rsp + 0x140]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x140]
mov rcx, qword [rsp + 0x1f0]
call fcn.14006aa80
movzx eax, al
test eax, eax
jne 0x14006d8f2
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x14006d9b2
jmp 0x14006d9ad
mov dword [rsp + 0xd0], 0x80
mov dword [rsp + 0xd4], reloc.WLDAP32.dll_Ordinal_143
mov dword [rsp + 0xd8], 0x80
mov dword [rsp + 0xdc], Ordinal_200
mov dword [rsp + 0xe0], 0x80
mov dword [rsp + 0xe4], Ordinal_200
lea rax, [rsp + 0xe8]
mov r8, rax
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x1c0]
call fcn.14003a5b0
lea rcx, [rsp + 0x150]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x150]
mov rcx, qword [rsp + 0x1f0]
call fcn.14006aa80
movzx eax, al
test eax, eax
jne 0x14006d991
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x14006d9b2
jmp 0x14006d9ad
mov rax, qword [rsp + 0x1f0]
lea rcx, [0x1402b15f8]
mov qword [rax + 0x70], rcx
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x14006d9b2
jmp 0x14006cdec
add rsp, 0x1d8
pop rdi
pop rsi
ret