Function at 0x14009ee50
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 0x14009eed0
lea rdx, [r13 + 0xd0]
nop dword [rax]
cmp byte [rdx - 6], r11b
je 0x14009eebf
movzx eax, byte [r13 + 0x1f]
cmp al, 8
jae 0x14009eebf
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 0x14009eea0
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 0x14009f481
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 0x14009ef47
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 0x14009efca
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 0x14009ef7c
mov rcx, rbx
mov dword [rsp + 0x20], r10d
call fcn.14002bbb0
xor r11d, r11d
jmp 0x14009efae
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 0x14009efca
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 0x14009f105
cmp dword [r14 + 0x24], 0
jle 0x14009f105
mov rax, qword [rbx + 0x18]
mov rdx, qword [rax + 0x58]
test rdx, rdx
je 0x14009f001
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 0x14009f105
nop
mov rax, qword [rbx]
mov ecx, dword [rdi + 4]
mov edx, dword [rbx + 0xb8]
inc ecx
cmp byte [rax + 0x55], 0
je 0x14009f03d
lea rax, [0x140128950]
jmp 0x14009f053
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 0x14009f0b7
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 0x14009f085
mov rcx, rbx
mov dword [rsp + 0x20], r11d
call fcn.14002bbb0
jmp 0x14009f0b7
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 0x14009f0d6
lea rax, [0x140128950]
jmp 0x14009f0ee
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 0x14009f020
mov rax, qword [rbx + 0x18]
mov rdx, qword [rax + 0x58]
test rdx, rdx
je 0x14009f124
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 0x14009f1f2
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x14009f15a
mov r9d, edx
mov dword [rsp + 0x20], esi
mov edx, 0xd
xor r8d, r8d
mov rcx, rbx
call fcn.14002bbb0
jmp 0x14009f187
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 0x14009f1a2
lea rax, [0x140128950]
jmp 0x14009f1b8
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 0x14009f1d9
lea rax, [0x140128950]
jmp 0x14009f1ef
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 0x14009f255
mov rax, qword [rbx + 0x18]
mov r8d, dword [r14 + 0x10]
movsxd rcx, dword [rbx + 0xb8]
shr r8d, 1
cmp dword [rax + 0x3c], ecx
jg 0x14009f227
mov r9d, edx
mov dword [rsp + 0x20], esi
mov edx, 0x44
mov rcx, rbx
call fcn.14002bbb0
jmp 0x14009f255
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 0x14009f459
mov rax, qword [rbx + 0x18]
mov edi, dword [rbp + 0x28]
xor ebp, ebp
movsxd rsi, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], esi
jg 0x14009f291
mov r8d, edx
mov dword [rsp + 0x20], ebp
mov edx, 0x42
xor r9d, r9d
mov rcx, rbx
call fcn.14002bbb0
mov esi, eax
jmp 0x14009f2bb
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 0x14009f31c
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
mov edx, dword [r12]
cmp dword [rax + 0x3c], ecx
jg 0x14009f2ee
mov r8d, edx
mov dword [rsp + 0x20], ebp
mov edx, 0x7c
xor r9d, r9d
mov rcx, rbx
call fcn.14002bbb0
jmp 0x14009f31c
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 0x14009f32f
bt edi, 0xd
jae 0x14009f38a
cmp qword [r14 + 0x24], 0
je 0x14009f38a
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
mov edx, dword [r14 - 0xc]
cmp dword [rax + 0x3c], ecx
jg 0x14009f35c
mov r8d, edx
mov dword [rsp + 0x20], ebp
mov edx, 0x7c
xor r9d, r9d
mov rcx, rbx
call fcn.14002bbb0
jmp 0x14009f38a
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 0x14009f3dd
mov r8d, dword [r14 + 0x1c]
cmp dword [rax + 0x3c], ecx
jg 0x14009f3bf
mov r9d, edx
mov dword [rsp + 0x20], ebp
mov edx, 0xe
mov rcx, rbx
call fcn.14002bbb0
jmp 0x14009f428
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 0x14009f416
cmp dword [rax + 0x3c], ecx
jg 0x14009f3fb
mov r9d, edx
mov dword [rsp + 0x20], ebp
mov edx, 0xd
xor r8d, r8d
mov rcx, rbx
call fcn.14002bbb0
jmp 0x14009f428
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 0x14009f435
lea esi, [rdx - 1]
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
je 0x14009f447
lea rax, [0x140128950]
jmp 0x14009f456
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 0x14009ef20
mov r12, qword [rsp + 0x80]
mov r9, qword [rsp + 0x88]
mov rax, qword [rbx + 0x18]
mov rdx, qword [rax + 0x58]
test rdx, rdx
je 0x14009f4a1
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 0x14009f804
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 0x14009f587
cmp byte [r9 + 0x55], 0
jne 0x14009f587
mov r8d, dword [r14 - 0x28]
mov ecx, r8d
mov r10d, dword [rax + 0x40]
mov r9d, dword [r14 - 0x44]
test r8d, r8d
jns 0x14009f504
mov ecx, dword [rbx + 0xb8]
dec ecx
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
je 0x14009f516
lea rdx, [0x140128950]
jmp 0x14009f525
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 0x14009f57a
add rdx, 4
sub eax, r8d
mov r8d, eax
nop word [rax + rax]
cmp dword [rdx], r9d
jne 0x14009f570
movzx eax, byte [rdx - 4]
cmp al, 0x60
jne 0x14009f561
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 0x14009f56c
cmp al, 0x7b
jne 0x14009f570
mov byte [rdx - 4], 0x4f
mov dword [rdx], r11d
mov dword [rdx + 8], r11d
add rdx, 0x18
sub r8, 1
jne 0x14009f540
mov r9, qword [rsp + 0x88]
jmp 0x14009f7e6
test byte [rbp + 0x46], 2
jne 0x14009f688
cmp qword [rbp + 0x18], 0
jne 0x14009f688
test byte [r12 + 0x38], 0x20
jne 0x14009f688
cmp byte [r12 + 0x3d], 0
mov edi, dword [rsi + 0x28]
jne 0x14009f617
test dil, 0x40
jne 0x14009f617
mov edx, dword [rax + 0x50]
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x14009f5e9
mov r8d, edx
mov dword [rsp + 0x20], r11d
mov edx, WSAStartup
xor r9d, r9d
mov rcx, rbx
call fcn.14002bbb0
xor r11d, r11d
jmp 0x14009f617
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 0x14009f688
mov edx, dword [r14 - 0x40]
cmp edx, dword [r12 + 0x28]
je 0x14009f688
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x14009f65a
mov r8d, edx
mov dword [rsp + 0x20], r11d
mov edx, WSAStartup
xor r9d, r9d
mov rcx, rbx
call fcn.14002bbb0
jmp 0x14009f688
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 0x14009f698
mov r11, qword [rsi + 0x20]
jmp 0x14009f6a6
bt eax, 0xd
jae 0x14009f7db
mov r11, qword [r14 - 0x10]
test r11, r11
je 0x14009f7db
cmp byte [r12 + 0x3d], 0
je 0x14009f6c5
mov rax, qword [r11 + 0x18]
test byte [rax + 0x46], 0x20
je 0x14009f7db
mov r9, qword [rsp + 0x88]
cmp byte [r9 + 0x55], 0
jne 0x14009f7e3
mov rax, qword [rbx]
mov edx, dword [rbx + 0xb8]
mov r9d, dword [r14 - 0x28]
cmp byte [rax + 0x55], 0
je 0x14009f6f4
lea r8, [0x140128950]
jmp 0x14009f70c
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 0x14009f7db
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 0x14009f7c5
movzx eax, byte [r8 - 4]
cmp al, 0x60
jne 0x14009f7b5
test byte [rbp + 0x46], 0x20
movsxd r10, dword [r8 + 4]
je 0x14009f77d
mov rax, qword [rbp + 0x10]
test rax, rax
je 0x14009f774
nop dword [rax]
mov ecx, dword [rax + 0x64]
and cl, 3
cmp cl, 2
je 0x14009f774
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x14009f760
mov rcx, qword [rax + 8]
movsx r10d, word [rcx + r10*2]
movzx edx, word [r11 + 0x60]
mov ecx, esi
test edx, edx
je 0x14009f7a0
mov r9, qword [r11 + 8]
nop dword [rax]
movsxd rax, ecx
cmp r10w, word [r9 + rax*2]
je 0x14009f7a4
inc ecx
cmp ecx, edx
jl 0x14009f790
movzx ecx, r13w
movsx eax, cx
test eax, eax
js 0x14009f7c5
mov dword [r8 + 4], eax
mov eax, dword [r14 - 0x40]
jmp 0x14009f7c2
cmp al, 0x7b
jne 0x14009f7c5
mov eax, dword [r14 - 0x40]
mov byte [r8 - 4], 0x81
mov dword [r8], eax
add r8, 0x18
sub rdi, 1
jne 0x14009f730
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 0x14009f4c0
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.140099b70