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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x408
mov rsi, r9
mov r14, r8
mov r15, rdx
mov rbx, rcx
movzx eax, byte [r9]
test rax, rax
je 0x14009fc40
cmp eax, 1
jne 0x14009fc44
mov dl, byte [rsi + 1]
mov al, 1
jmp 0x14009fc42
xor eax, eax
jmp 0x14009fc81
call fcn.140042b78
mov rdi, rax
mov rax, qword [rsi + 8]
lea rdx, [rax + 0x18]
mov r10, qword [rax]
mov r8, qword [rax + 8]
mov r9, qword [rax + 0x10]
lea r12, [rsp + 0x158]
mov rcx, r12
call qword [r10]
movups xmm0, xmmword [r12]
movups xmm1, xmmword [r12 + 0x10]
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
mov al, 2
lea rcx, [rsp + 0x168]
mov byte [rcx - 0x10], al
mov byte [rcx - 0xf], dl
mov qword [rcx - 8], rdi
lea rdx, [rsi + 0x28]
mov rax, qword [rsi + 0x10]
mov r8, qword [rsi + 0x18]
mov r9, qword [rsi + 0x20]
call qword [rax]
mov r13, qword [r15 + 0xb8]
test r13, r13
je 0x14009fcbc
lock inc qword [r13]
jle 0x1400a06f6
movups xmm0, xmmword [rsp + 0x158]
movups xmm1, xmmword [rsp + 0x168]
movups xmm2, xmmword [rsp + 0x178]
movaps xmmword [rsp + 0x350], xmm2
movaps xmmword [rsp + 0x340], xmm1
movaps xmmword [rsp + 0x330], xmm0
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmm2, xmmword [rsi + 0x20]
movaps xmmword [rsp + 0xa0], xmm2
movaps xmmword [rsp + 0x90], xmm1
movaps xmmword [rsp + 0x80], xmm0
mov rdi, qword [r15 + 0x30]
test rdi, rdi
je 0x14009fd30
lock inc qword [rdi]
jle 0x1400a06f6
mov rax, qword [r15 + 0x38]
mov qword [rsp + 0xe8], rax
jmp 0x14009fd30
mov r12, qword [r15 + 0xb8]
test r12, r12
je 0x14009fd47
lock inc qword [r12]
jle 0x1400a06f6
mov rbp, qword [r15 + 0x30]
test rbp, rbp
je 0x14009fd69
lock inc qword [rbp]
jle 0x1400a06f6
mov rax, qword [r15 + 0x38]
mov qword [rsp + 0xe0], rax
jmp 0x14009fd69
mov al, byte [r15 + 0x42]
mov byte [rsp + 0x43], al
mov cl, byte [r15 + 0x40]
mov r9, qword [r15]
mov r10, qword [r15 + 8]
mov r11, qword [r15 + 0x10]
mov rax, qword [r15 + 0x18]
mov qword [rsp + 0x150], rax
mov dl, byte [r15 + 0x41]
mov r8b, byte [r15 + 0x2c]
mov eax, dword [r15 + 0x20]
mov dword [rsp + 0x74], eax
mov eax, dword [r15 + 0x24]
mov dword [rsp + 0x70], eax
mov eax, dword [r15 + 0x28]
mov dword [rsp + 0x6c], eax
mov al, byte [r15 + 0xc2]
mov rsi, qword [r15 + 0x68]
mov qword [rsp + 0x148], rsi
lock inc qword [rsi]
jle 0x1400a06f6
mov qword [rsp + 0x130], r11
mov qword [rsp + 0x138], r10
mov qword [rsp + 0x140], r9
mov byte [rsp + 0x3f], r8b
mov byte [rsp + 0x40], dl
mov byte [rsp + 0x41], cl
mov byte [rsp + 0x42], al
cmp qword [r15 + 0x48], 0
je 0x14009fe16
mov rcx, qword [r15 + 0x50]
call sub.crypt32.dll_CertDuplicateCertificateContext
mov qword [rsp + 0xd8], rax
mov eax, 1
mov qword [rsp + 0x78], rax
jmp 0x14009fe1d
xor eax, eax
mov qword [rsp + 0x78], rax
mov rcx, qword [r15 + 0x58]
call sub.crypt32.dll_CertDuplicateStore
mov qword [rsp + 0x120], rax
mov al, byte [r15 + 0x64]
mov byte [rsp + 0x3e], al
mov al, byte [r15 + 0x65]
mov byte [rsp + 0x3d], al
mov al, byte [r15 + 0x60]
mov byte [rsp + 0x3c], al
mov al, byte [r15 + 0x61]
mov byte [rsp + 0x3b], al
mov al, byte [r15 + 0x62]
mov byte [rsp + 0x3a], al
mov al, byte [r15 + 0x63]
mov byte [rsp + 0x39], al
mov rax, qword [r15 + 0xa8]
mov qword [rsp + 0x128], rax
lock inc qword [rax]
jle 0x1400a06f6
mov al, byte [r15 + 0xb0]
mov byte [rsp + 0x38], al
mov eax, dword [r15 + 0x78]
mov dword [rsp + 0x68], eax
mov rax, qword [r15 + 0x70]
mov qword [rsp + 0xf0], rax
mov al, byte [r15 + 0xb1]
mov byte [rsp + 0x37], al
mov cl, 2
cmp byte [r15 + 0xa0], 2
je 0x14009ff08
lea rdx, [r15 + 0x98]
mov rax, qword [r15 + 0x80]
mov r8, qword [r15 + 0x88]
mov r9, qword [r15 + 0x90]
lea rsi, [rsp + 0x158]
mov rcx, rsi
call qword [rax]
mov cl, byte [r15 + 0xa0]
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rsp + 0x1c0], xmm1
movaps xmmword [rsp + 0x1b0], xmm0
mov eax, dword [rsi + 0x21]
mov dword [rsp + 0x2a0], eax
mov eax, dword [rsi + 0x24]
mov dword [rsp + 0x2a3], eax
mov byte [rsp + 0x36], cl
movaps xmm0, xmmword [rsp + 0x1b0]
movaps xmm1, xmmword [rsp + 0x1c0]
movups xmmword [rsp + 0x220], xmm1
movups xmmword [rsp + 0x210], xmm0
mov eax, dword [rsp + 0x2a0]
mov ecx, dword [rsp + 0x2a3]
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x63], ecx
movzx eax, byte [rsp + 0x80]
test rax, rax
mov qword [rsp + 0x118], r14
mov qword [rsp + 0x110], rdi
mov qword [rsp + 0x108], r12
mov qword [rsp + 0x100], r13
mov qword [rsp + 0xf8], rbp
je 0x14009ff87
cmp eax, 1
jne 0x14009ff8b
mov al, 1
mov cl, byte [rsp + 0x81]
jmp 0x14009ff89
xor eax, eax
jmp 0x14009ffc8
call fcn.140042b78
mov rsi, rax
mov rax, qword [rsp + 0x88]
lea rdx, [rax + 0x18]
mov r10, qword [rax]
mov r8, qword [rax + 8]
mov r9, qword [rax + 0x10]
lea rdi, [rsp + 0x158]
mov rcx, rdi
call qword [r10]
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov al, 2
lea rdi, [rsp + 0x378]
mov byte [rdi - 0x10], al
mov byte [rdi - 0xf], cl
mov qword [rdi - 8], rsi
lea rdx, [rsp + 0xa8]
mov rax, qword [rdx - 0x18]
mov r8, qword [rdx - 0x10]
mov r9, qword [rdx - 8]
mov rcx, rdi
call qword [rax]
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
lea rsi, [rsp + 0xb0]
movaps xmmword [rsi + 0x10], xmm1
movaps xmmword [rsi], xmm0
lea rdx, [rsp + 0x158]
mov byte [rdx], 3
xor eax, eax
mov qword [rdx + 0x10], rax
mov qword [rdx + 0x30], rax
lea rdi, [rsp + 0x1b0]
lea r8, [rsp + 0x368]
mov rcx, rdi
call fcn.1400415fc
lea rbp, [rsp + 0x2a0]
mov rcx, rbp
mov rdx, rdi
mov r8, rsi
call fcn.1400414c0
mov r13b, byte [rbp]
mov r12b, byte [rbp + 1]
mov r14b, byte [rbp + 2]
mov al, 4
cmp r13b, 4
je 0x1400a01bc
lea rdx, [rsp + 0x2a3]
lea rsi, [rsp + 0x15b]
mov byte [rsi - 3], r13b
mov byte [rsi - 2], r12b
mov byte [rsi - 1], r14b
mov r8d, 0x55
mov rcx, rsi
call sub.msvcrt.dll_memcpy
mov ecx, 1
xor edx, edx
call fcn.140012c31
mov byte [rdx], 0x2f
lea r8, [rsp + 0x398]
mov qword [r8], rax
mov qword [r8 + 8], rdx
mov qword [r8 + 0x10], 1
lea rdi, [rsp + 0xb0]
mov rcx, rdi
mov rdx, r8
call fcn.1400130ac
lea rbp, [rsp + 0x1b0]
mov rcx, rbp
mov rdx, rdi
call fcn.14003e994
mov rbp, qword [rbp]
test rbp, rbp
je 0x1400a019e
mov cl, byte [rsp + 0x1b8]
mov dl, byte [rsp + 0x1b9]
movups xmm0, xmmword [rsp + 0x1c8]
movups xmmword [rsp + 0xbe], xmm0
movups xmm0, xmmword [rsp + 0x1ba]
movaps xmmword [rsp + 0xb0], xmm0
mov rax, qword [rsp + 0x188]
test rax, rax
je 0x1400a0150
lea rdi, [rsp + 0x1a0]
mov r12d, edx
mov rdx, qword [rdi - 0x10]
mov r8, qword [rdi - 8]
mov r14d, ecx
mov rcx, rdi
call qword [rax + 0x10]
mov edx, r12d
mov ecx, r14d
mov r13b, byte [rdi - 0x48]
mov r12b, byte [rdi - 0x47]
mov r14b, byte [rdi - 0x46]
mov qword [rsp + 0x188], rbp
mov byte [rsp + 0x190], cl
mov byte [rsp + 0x191], dl
movaps xmm0, xmmword [rsp + 0xb0]
movups xmmword [rsp + 0x192], xmm0
movups xmm0, xmmword [rsp + 0xbe]
movups xmmword [rsp + 0x1a0], xmm0
lea rcx, [rsp + 0x1b0]
mov r8d, 0x55
mov rdx, rsi
call sub.msvcrt.dll_memcpy
jmp 0x1400a01b9
mov r14b, byte [rsp + 0x1b8]
lea rcx, [rsp + 0x158]
call fcn.140041468
mov r13b, 4
mov r12b, 2
mov eax, r13d
lea rcx, [rsp + 0x15b]
mov byte [rcx - 3], al
mov byte [rcx - 2], r12b
mov byte [rcx - 1], r14b
lea rdx, [rsp + 0x1b0]
mov r8d, 0x55
call sub.msvcrt.dll_memcpy
lea rsi, [rsp + 0x1b0]
lea rdx, [rsp + 0x158]
mov rcx, rsi
call fcn.14003e799
cmp byte [rsi], 3
je 0x1400a06f8
lea rdi, [rsp + 0x158]
lea rax, [rsp + 0x1b0]
mov ecx, 0xb
mov rsi, rax
rep movsq qword [rdi], qword [rsi]
movaps xmm0, xmmword [rsp + 0x80]
movaps xmm1, xmmword [rsp + 0x90]
movaps xmm2, xmmword [rsp + 0xa0]
movups xmmword [rax + 5], xmm0
movups xmmword [rax + 0x15], xmm1
movups xmmword [rax + 0x25], xmm2
movups xmm0, xmmword [rsp + 0x20c]
movups xmm1, xmmword [rsp + 0x21c]
movaps xmmword [rsp + 0x2a0], xmm0
movaps xmmword [rsp + 0x2b0], xmm1
mov eax, dword [rsp + 0x22c]
mov dword [rsp + 0x2c0], eax
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x63]
mov dword [rsp + 0x368], eax
mov dword [rsp + 0x36b], ecx
mov rbp, qword [r15 + 0x30]
test rbp, rbp
je 0x1400a02a4
lock inc qword [rbp]
jle 0x1400a06f6
mov r12, qword [r15 + 0x30]
mov r14, qword [r15 + 0x38]
jmp 0x1400a02a7
xor r12d, r12d
movaps xmm0, xmmword [rsp + 0x330]
movaps xmm1, xmmword [rsp + 0x340]
movaps xmm2, xmmword [rsp + 0x350]
movaps xmmword [rsp + 0x320], xmm2
movaps xmmword [rsp + 0x310], xmm1
movaps xmmword [rsp + 0x300], xmm0
movaps xmm0, xmmword [rsp + 0x2a0]
movaps xmm1, xmmword [rsp + 0x2b0]
movaps xmmword [rsp + 0x230], xmm0
movaps xmmword [rsp + 0x240], xmm1
mov eax, dword [rsp + 0x2c0]
mov dword [rsp + 0x250], eax
mov eax, dword [rsp + 0x368]
mov ecx, dword [rsp + 0x36b]
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x5b], ecx
movzx eax, word [rsp + 0x84]
mov word [rsp + 0x54], ax
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x50], eax
mov al, byte [rsp + 0xb2]
mov byte [rsp + 0x46], al
movzx eax, word [rsp + 0xb0]
mov word [rsp + 0x44], ax
movups xmm0, xmmword [rsp + 0x1b0]
movups xmm1, xmmword [rsp + 0x1c0]
movups xmm2, xmmword [rsp + 0x1d0]
movaps xmmword [rsp + 0x260], xmm0
movaps xmmword [rsp + 0x270], xmm1
movaps xmmword [rsp + 0x280], xmm2
mov rax, qword [rsp + 0x1dd]
mov qword [rsp + 0x28d], rax
lea rdi, [rsp + 0x3b0]
lea rsi, [rsp + 0x158]
mov ecx, 0xb
rep movsq qword [rdi], qword [rsi]
movzx eax, word [rsp + 0x210]
mov word [rsp + 0x4c], ax
mov eax, dword [rsp + 0x20c]
mov dword [rsp + 0x48], eax
mov r13b, byte [r15 + 0xc1]
test r12, r12
je 0x1400a03d8
lock inc qword [r12]
jle 0x1400a06f6
mov r15, qword [r15 + 0x38]
jmp 0x1400a03d8
xor eax, eax
mov cl, byte [rsp + 0x43]
test cl, cl
setne al
cmp cl, 2
mov esi, 2
cmovne esi, eax
mov r8d, 0x100
mov rcx, rbx
mov rdx, qword [rsp + 0x118]
call sub.msvcrt.dll_memcpy
movaps xmm0, xmmword [rsp + 0x300]
movaps xmm1, xmmword [rsp + 0x310]
movaps xmm2, xmmword [rsp + 0x320]
movups xmmword [rbx + 0x118], xmm0
movups xmmword [rbx + 0x128], xmm1
movups xmmword [rbx + 0x138], xmm2
mov rax, qword [rsp + 0x100]
mov qword [rbx + 0x148], rax
mov qword [rbx + 0x150], 0
mov qword [rbx + 0x158], 6
mov rax, qword [rsp + 0x78]
mov qword [rbx + 0x160], rax
mov rax, qword [rsp + 0xd8]
mov qword [rbx + 0x168], rax
mov rax, qword [rsp + 0x120]
mov qword [rbx + 0x170], rax
mov al, byte [rsp + 0x3c]
mov byte [rbx + 0x178], al
mov al, byte [rsp + 0x3b]
mov byte [rbx + 0x179], al
mov al, byte [rsp + 0x3a]
mov byte [rbx + 0x17a], al
mov al, byte [rsp + 0x39]
mov byte [rbx + 0x17b], al
mov al, byte [rsp + 0x3e]
mov byte [rbx + 0x17c], al
mov al, byte [rsp + 0x3d]
mov byte [rbx + 0x17d], al
mov rax, qword [rsp + 0x148]
mov qword [rbx + 0x180], rax
mov rax, qword [rsp + 0xf0]
mov qword [rbx + 0x188], rax
mov eax, dword [rsp + 0x68]
mov dword [rbx + 0x190], eax
mov eax, dword [rsp + 0x250]
mov dword [rbx + 0x1b4], eax
movaps xmm0, xmmword [rsp + 0x230]
movaps xmm1, xmmword [rsp + 0x240]
movups xmmword [rbx + 0x1a4], xmm1
movups xmmword [rbx + 0x194], xmm0
mov al, byte [rsp + 0x36]
mov byte [rbx + 0x1b8], al
mov eax, dword [rsp + 0x58]
mov dword [rbx + 0x1b9], eax
mov eax, dword [rsp + 0x5b]
mov dword [rbx + 0x1bc], eax
mov rax, qword [rsp + 0x128]
mov qword [rbx + 0x1c0], rax
mov al, byte [rsp + 0x38]
mov byte [rbx + 0x1c8], al
mov al, byte [rsp + 0x37]
mov byte [rbx + 0x1c9], al
mov eax, dword [rsp + 0x50]
mov dword [rbx + 0x1ca], eax
movzx eax, word [rsp + 0x54]
mov word [rbx + 0x1ce], ax
mov rax, qword [rsp + 0x140]
mov qword [rbx + 0x1d0], rax
mov rax, qword [rsp + 0x138]
mov qword [rbx + 0x1d8], rax
mov rax, qword [rsp + 0x130]
mov qword [rbx + 0x1e0], rax
mov rax, qword [rsp + 0x150]
mov qword [rbx + 0x1e8], rax
mov eax, dword [rsp + 0x74]
mov dword [rbx + 0x1f0], eax
mov eax, dword [rsp + 0x70]
mov dword [rbx + 0x1f4], eax
mov eax, dword [rsp + 0x6c]
mov dword [rbx + 0x1f8], eax
mov al, byte [rsp + 0x3f]
mov byte [rbx + 0x1fc], al
movzx eax, word [rsp + 0x44]
mov word [rbx + 0x1fd], ax
mov al, byte [rsp + 0x46]
mov byte [rbx + 0x1ff], al
mov rax, qword [rsp + 0xf8]
mov qword [rbx + 0x200], rax
mov rax, qword [rsp + 0xe0]
mov qword [rbx + 0x208], rax
mov al, byte [rsp + 0x41]
mov byte [rbx + 0x210], al
mov al, byte [rsp + 0x40]
mov byte [rbx + 0x211], al
mov byte [rbx + 0x212], sil
movaps xmm0, xmmword [rsp + 0x260]
movaps xmm1, xmmword [rsp + 0x270]
movaps xmm2, xmmword [rsp + 0x280]
movups xmmword [rbx + 0x213], xmm0
movups xmmword [rbx + 0x223], xmm1
movups xmmword [rbx + 0x233], xmm2
mov rax, qword [rsp + 0x28d]
mov qword [rbx + 0x240], rax
lea rdi, [rbx + 0x248]
lea rsi, [rsp + 0x3b0]
mov ecx, 0xb
rep movsq qword [rdi], qword [rsi]
mov rax, qword [rsp + 0x108]
mov qword [rbx + 0x2a0], rax
mov rax, qword [rsp + 0x110]
mov qword [rbx + 0x2a8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rbx + 0x2b0], rax
mov al, byte [rsp + 0x42]
mov byte [rbx + 0x2b8], al
mov byte [rbx + 0x2b9], al
mov eax, dword [rsp + 0x48]
mov dword [rbx + 0x2ba], eax
movzx eax, word [rsp + 0x4c]
mov word [rbx + 0x2be], ax
mov qword [rbx + 0x2c0], rbp
mov qword [rbx + 0x2c8], r14
mov qword [rbx + 0x100], r12
mov qword [rbx + 0x108], r15
mov byte [rbx + 0x110], r13b
add rsp, 0x408
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2
movzx eax, word [rsp + 0x1b1]
lea r8, [rsp + 0x158]
mov word [r8], ax
lea rax, [0x140147a58]
mov qword [rsp + 0x20], rax
lea rcx, str.domain_is_valid_Uri
lea r9, [0x140146b10]
mov edx, 0x13
call fcn.14001cff0
int3