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

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push r12
push r13
push r15
sub rsp, 0x58
mov r13, qword [rcx]
xor r11d, r11d
mov r10, qword [rcx + 8]
mov r12, rcx
mov qword [rsp + 0x98], r13
mov r8d, r11d
mov qword [rsp + 0x90], r10
mov r9, qword [r13]
mov rbx, qword [r13 + 0x10]
mov qword [rsp + 0x88], r9
cmp byte [r13 + 0x25], r11b
jbe 0x14009efb0
lea rdx, [r13 + 0xd0]
nop dword [rax]
cmp byte [rdx - 6], r11b
je 0x14009ef9f
movzx eax, byte [r13 + 0x1f]
cmp al, 8
jae 0x14009ef9f
mov ecx, eax
mov eax, dword [rdx]
mov dword [r13 + rcx*4 + 0x18c], eax
inc byte [r13 + 0x1f]
movzx eax, byte [r13 + 0x25]
inc r8d
add rdx, 0x14
cmp r8d, eax
jl 0x14009ef80
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x48], rsi
mov byte [r13 + 0x25], r11b
movzx r15d, byte [r12 + 0x3a]
sub r15, 1
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], r14
js 0x14009f561
mov r14, qword [rsp + 0x80]
imul r12, r15, 0x78
imul rax, r15, 0x58
add r12, 0x50
add r14, 0x3a4
add r12, r10
add r14, rax
nop dword [rax]
mov rax, qword [rbx + 0x18]
mov rbp, qword [r14 + 0x34]
mov rdx, qword [rax + 0x58]
test rdx, rdx
je 0x14009f027
mov eax, dword [r14 + 4]
not eax
movsxd rcx, eax
mov eax, dword [rbx + 0xb8]
mov dword [rdx + rcx*4], eax
mov rax, qword [rbx + 0x18]
movzx edx, byte [r14 + 0x19]
cmp dl, 0xa1
je 0x14009f0aa
movsxd rcx, dword [rbx + 0xb8]
movzx r10d, byte [r14 + 0x1a]
mov r9d, dword [r14 + 0x20]
mov r8d, dword [r14 + 0x1c]
cmp dword [rax + 0x3c], ecx
jg 0x14009f05c
mov rcx, rbx
mov dword [rsp + 0x20], r10d
call fcn.14002bc90
xor r11d, r11d
jmp 0x14009f08e
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov byte [rax + rcx*8], dl
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], r10d
mov qword [rax + rcx*8 + 0x10], r11
mov byte [rax + rcx*8 + 1], 0
movsxd rax, dword [rbx + 0xb8]
test eax, eax
jle 0x14009f0aa
mov rcx, qword [rbx + 0x68]
lea rdx, [rax + rax*2]
movzx eax, byte [r14 + 0x1b]
mov byte [rcx + rdx*8 - 0x15], al
test dword [rbp + 0x28], 0x800
je 0x14009f1e5
cmp dword [r14 + 0x24], 0
jle 0x14009f1e5
mov rax, qword [rbx + 0x18]
mov rdx, qword [rax + 0x58]
test rdx, rdx
je 0x14009f0e1
mov eax, dword [r14 - 4]
not eax
movsxd rcx, eax
mov eax, dword [rbx + 0xb8]
mov dword [rdx + rcx*4], eax
mov esi, dword [r14 + 0x24]
lea eax, [rsi - 1]
movsxd rcx, eax
mov rax, qword [r14 + 0x2c]
lea rdx, [rcx + rcx*2]
lea rdi, [rax + rdx*4]
test esi, esi
jle 0x14009f1e5
nop
mov rax, qword [rbx]
mov ecx, dword [rdi + 4]
mov edx, dword [rbx + 0xb8]
inc ecx
cmp byte [rax + 0x55], 0
je 0x14009f11d
lea rax, [0x14012aae0]
jmp 0x14009f133
test ecx, ecx
lea eax, [rdx - 1]
cmovns eax, ecx
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
movzx edx, byte [rdi + 8]
cmp dl, 0xa1
je 0x14009f197
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
mov r9d, dword [rdi + 4]
mov r8d, dword [rdi]
cmp dword [rax + 0x3c], ecx
jg 0x14009f165
mov rcx, rbx
mov dword [rsp + 0x20], r11d
call fcn.14002bc90
jmp 0x14009f197
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov byte [rax + rcx*8], dl
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], r11d
mov qword [rax + rcx*8 + 0x10], r11
mov byte [rax + rcx*8 + 1], 0
mov rax, qword [rbx]
mov ecx, dword [rdi + 4]
mov edx, dword [rbx + 0xb8]
cmp byte [rax + 0x55], 0
lea r8d, [rcx - 1]
je 0x14009f1b6
lea rax, [0x14012aae0]
jmp 0x14009f1ce
test r8d, r8d
mov eax, edx
cmovns eax, ecx
dec eax
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
lea rax, [rax + rcx*8]
dec esi
mov dword [rax + 8], edx
sub rdi, 0xc
mov r11d, 0
test esi, esi
jg 0x14009f100
mov rax, qword [rbx + 0x18]
mov rdx, qword [rax + 0x58]
test rdx, rdx
je 0x14009f204
mov eax, dword [r14 - 8]
not eax
movsxd rcx, eax
mov eax, dword [rbx + 0xb8]
mov dword [rdx + rcx*4], eax
mov edx, dword [r14]
xor esi, esi
test edx, edx
je 0x14009f2d2
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x14009f23a
mov r9d, edx
mov dword [rsp + 0x20], esi
mov edx, 0xd
xor r8d, r8d
mov rcx, rbx
call fcn.14002bc90
jmp 0x14009f267
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], 0xd
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], esi
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], esi
mov qword [rax + rcx*8 + 0x10], rsi
mov rax, qword [rbx]
mov edx, dword [rbx + 0xb8]
mov ecx, dword [r14]
cmp byte [rax + 0x55], 0
je 0x14009f282
lea rax, [0x14012aae0]
jmp 0x14009f298
test ecx, ecx
lea eax, [rdx - 1]
cmovns eax, ecx
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
mov rax, qword [rbx]
mov ecx, dword [r14]
mov edx, dword [rbx + 0xb8]
add ecx, 0xfffffffe
cmp byte [rax + 0x55], 0
je 0x14009f2b9
lea rax, [0x14012aae0]
jmp 0x14009f2cf
test ecx, ecx
lea eax, [rdx - 1]
cmovns eax, ecx
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
mov edx, dword [r14 + 0x14]
test edx, edx
je 0x14009f335
mov rax, qword [rbx + 0x18]
mov r8d, dword [r14 + 0x10]
movsxd rcx, dword [rbx + 0xb8]
shr r8d, 1
cmp dword [rax + 0x3c], ecx
jg 0x14009f307
mov r9d, edx
mov dword [rsp + 0x20], esi
mov edx, 0x44
mov rcx, rbx
call fcn.14002bc90
jmp 0x14009f335
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], 0x44
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], esi
mov qword [rax + rcx*8 + 0x10], rsi
mov edx, dword [r14 - 0x14]
test edx, edx
je 0x14009f539
mov rax, qword [rbx + 0x18]
mov edi, dword [rbp + 0x28]
xor ebp, ebp
movsxd rsi, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], esi
jg 0x14009f371
mov r8d, edx
mov dword [rsp + 0x20], ebp
mov edx, 0x42
xor r9d, r9d
mov rcx, rbx
call fcn.14002bc90
mov esi, eax
jmp 0x14009f39b
lea rcx, [rsi + rsi*2]
lea eax, [rsi + 1]
mov dword [rbx + 0xb8], eax
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], 0x42
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], rbp
mov qword [rax + rcx*8 + 0x10], rbp
test dil, 0x40
jne 0x14009f3fc
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
mov edx, dword [r12]
cmp dword [rax + 0x3c], ecx
jg 0x14009f3ce
mov r8d, edx
mov dword [rsp + 0x20], ebp
mov edx, 0x7c
xor r9d, r9d
mov rcx, rbx
call fcn.14002bc90
jmp 0x14009f3fc
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], 0x7c
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], rbp
bt edi, 9
jb 0x14009f40f
bt edi, 0xd
jae 0x14009f46a
cmp qword [r14 + 0x24], 0
je 0x14009f46a
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
mov edx, dword [r14 - 0xc]
cmp dword [rax + 0x3c], ecx
jg 0x14009f43c
mov r8d, edx
mov dword [rsp + 0x20], ebp
mov edx, 0x7c
xor r9d, r9d
mov rcx, rbx
call fcn.14002bc90
jmp 0x14009f46a
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], 0x7c
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], rbp
cmp byte [r14 + 0x19], 0x48
mov edx, dword [r14 + 8]
movsxd rcx, dword [rbx + 0xb8]
mov rax, qword [rbx + 0x18]
jne 0x14009f4bd
mov r8d, dword [r14 + 0x1c]
cmp dword [rax + 0x3c], ecx
jg 0x14009f49f
mov r9d, edx
mov dword [rsp + 0x20], ebp
mov edx, 0xe
mov rcx, rbx
call fcn.14002bc90
jmp 0x14009f508
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], send
mov dword [rax + rcx*8 + 4], r8d
jmp 0x14009f4f6
cmp dword [rax + 0x3c], ecx
jg 0x14009f4db
mov r9d, edx
mov dword [rsp + 0x20], ebp
mov edx, 0xd
xor r8d, r8d
mov rcx, rbx
call fcn.14002bc90
jmp 0x14009f508
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], 0xd
mov dword [rax + rcx*8 + 4], ebp
mov qword [rax + rcx*8 + 0x10], rbp
mov dword [rax + rcx*8 + 0xc], ebp
mov dword [rax + rcx*8 + 8], edx
mov byte [rax + rcx*8 + 3], 0
mov edx, dword [rbx + 0xb8]
test esi, esi
jns 0x14009f515
lea esi, [rdx - 1]
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
je 0x14009f527
lea rax, [0x14012aae0]
jmp 0x14009f536
movsxd rax, esi
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
sub r14, 0x58
sub r12, 0x78
sub r15, 1
mov r11d, 0
jns 0x14009f000
mov r12, qword [rsp + 0x80]
mov r9, qword [rsp + 0x88]
mov rax, qword [rbx + 0x18]
mov rdx, qword [rax + 0x58]
test rdx, rdx
je 0x14009f581
mov eax, dword [r12 + 0x30]
not eax
movsxd rcx, eax
mov eax, dword [rbx + 0xb8]
mov dword [rdx + rcx*4], eax
cmp byte [r12 + 0x3a], 0
mov r15d, r11d
jbe 0x14009f8e4
mov r13, qword [rsp + 0x90]
lea r14, [r12 + 0x3d8]
movzx eax, byte [r14 - 0x1c]
mov rsi, qword [r14]
imul rax, rax, 0x78
add rax, r13
test byte [rax + 0x48], 0x10
mov rbp, qword [rax + 0x28]
je 0x14009f667
cmp byte [r9 + 0x55], 0
jne 0x14009f667
mov r8d, dword [r14 - 0x28]
mov ecx, r8d
mov r10d, dword [rax + 0x40]
mov r9d, dword [r14 - 0x44]
test r8d, r8d
jns 0x14009f5e4
mov ecx, dword [rbx + 0xb8]
dec ecx
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
je 0x14009f5f6
lea rdx, [0x14012aae0]
jmp 0x14009f605
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
lea rdx, [rax + rcx*8]
mov eax, dword [rbx + 0xb8]
cmp r8d, eax
jge 0x14009f65a
add rdx, 4
sub eax, r8d
mov r8d, eax
nop word [rax + rax]
cmp dword [rdx], r9d
jne 0x14009f650
movzx eax, byte [rdx - 4]
cmp al, 0x60
jne 0x14009f641
mov ecx, dword [rdx + 4]
mov eax, dword [rdx + 8]
add ecx, r10d
mov dword [rdx], ecx
mov byte [rdx - 4], 0x54
mov dword [rdx + 4], eax
jmp 0x14009f64c
cmp al, 0x7b
jne 0x14009f650
mov byte [rdx - 4], 0x4f
mov dword [rdx], r11d
mov dword [rdx + 8], r11d
add rdx, 0x18
sub r8, 1
jne 0x14009f620
mov r9, qword [rsp + 0x88]
jmp 0x14009f8c6
test byte [rbp + 0x46], 2
jne 0x14009f768
cmp qword [rbp + 0x18], 0
jne 0x14009f768
test byte [r12 + 0x38], 0x20
jne 0x14009f768
cmp byte [r12 + 0x3d], 0
mov edi, dword [rsi + 0x28]
jne 0x14009f6f7
test dil, 0x40
jne 0x14009f6f7
mov edx, dword [rax + 0x50]
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x14009f6c9
mov r8d, edx
mov dword [rsp + 0x20], r11d
mov edx, WSAStartup
xor r9d, r9d
mov rcx, rbx
call fcn.14002bc90
xor r11d, r11d
jmp 0x14009f6f7
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], WSAStartup
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r11
and edi, 0x4300
cmp edi, 0x200
jne 0x14009f768
mov edx, dword [r14 - 0x40]
cmp edx, dword [r12 + 0x28]
je 0x14009f768
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x14009f73a
mov r8d, edx
mov dword [rsp + 0x20], r11d
mov edx, WSAStartup
xor r9d, r9d
mov rcx, rbx
call fcn.14002bc90
jmp 0x14009f768
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], WSAStartup
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r11
mov eax, dword [rsi + 0x28]
test eax, 0x240
je 0x14009f778
mov r11, qword [rsi + 0x20]
jmp 0x14009f786
bt eax, 0xd
jae 0x14009f8bb
mov r11, qword [r14 - 0x10]
test r11, r11
je 0x14009f8bb
cmp byte [r12 + 0x3d], 0
je 0x14009f7a5
mov rax, qword [r11 + 0x18]
test byte [rax + 0x46], 0x20
je 0x14009f8bb
mov r9, qword [rsp + 0x88]
cmp byte [r9 + 0x55], 0
jne 0x14009f8c3
mov rax, qword [rbx]
mov edx, dword [rbx + 0xb8]
mov r9d, dword [r14 - 0x28]
cmp byte [rax + 0x55], 0
je 0x14009f7d4
lea r8, [0x14012aae0]
jmp 0x14009f7ec
lea eax, [rdx - 1]
test r9d, r9d
cmovns eax, r9d
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
lea r8, [rax + rcx*8]
cmp r9d, edx
jge 0x14009f8bb
sub edx, r9d
add r8, 4
mov edi, edx
xor esi, esi
mov r13d, 0xffffffff
nop word [rax + rax]
mov eax, dword [r14 - 0x44]
cmp dword [r8], eax
jne 0x14009f8a5
movzx eax, byte [r8 - 4]
cmp al, 0x60
jne 0x14009f895
test byte [rbp + 0x46], 0x20
movsxd r10, dword [r8 + 4]
je 0x14009f85d
mov rax, qword [rbp + 0x10]
test rax, rax
je 0x14009f854
nop dword [rax]
mov ecx, dword [rax + 0x64]
and cl, 3
cmp cl, 2
je 0x14009f854
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x14009f840
mov rcx, qword [rax + 8]
movsx r10d, word [rcx + r10*2]
movzx edx, word [r11 + 0x60]
mov ecx, esi
test edx, edx
je 0x14009f880
mov r9, qword [r11 + 8]
nop dword [rax]
movsxd rax, ecx
cmp r10w, word [r9 + rax*2]
je 0x14009f884
inc ecx
cmp ecx, edx
jl 0x14009f870
movzx ecx, r13w
movsx eax, cx
test eax, eax
js 0x14009f8a5
mov dword [r8 + 4], eax
mov eax, dword [r14 - 0x40]
jmp 0x14009f8a2
cmp al, 0x7b
jne 0x14009f8a5
mov eax, dword [r14 - 0x40]
mov byte [r8 - 4], 0x81
mov dword [r8], eax
add r8, 0x18
sub rdi, 1
jne 0x14009f810
mov r13, qword [rsp + 0x90]
mov r9, qword [rsp + 0x88]
xor r11d, r11d
movzx eax, byte [r12 + 0x3a]
inc r15d
add r14, 0x58
cmp r15d, eax
jl 0x14009f5a0
mov r13, qword [rsp + 0x98]
mov eax, dword [r12 + 0x34]
mov rdx, r12
mov rcx, r9
mov dword [r13 + 0xb4], eax
mov r14, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
pop r15
pop r13
pop r12
pop rbx
jmp fcn.140099c50