Function at 0x14000f9f0
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, 0xc8
movaps xmmword [rsp + 0xb0], xmm6
mov rsi, rcx
mov rax, qword [0x140084030]
xor rax, rsp
mov qword [rsp + 0xa8], rax
cmp byte [rcx + 0x18], 0
je 0x14000fa5e
lea rdi, [rsi + 0x98]
mov rcx, qword [rsi + 0x98]
test rcx, rcx
je 0x14000fa4e
mov rbx, qword [sym.imp.mozglue.dll_free]
mov r14, qword [rcx + 0x60]
call rbx
mov rcx, r14
test r14, r14
jne 0x14000fa40
pxor xmm0, xmm0
movdqu xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
mov r15d, dword [rsi + 8]
mov ebx, dword [rsi + 0x10]
sub r15d, ebx
jbe 0x14000ff64
mov rdi, qword [rsi]
test rdi, rdi
je 0x14000ff64
mov ebp, dword [rsi + 0xc]
lea rcx, [rsi + 0x30]
xor r12d, r12d
mov r8d, 0x98
xor edx, edx
call sub.VCRUNTIME140.dll_memset
add ebp, ebx
mov dword [rsi + 0x20], ebp
mov dword [rsi + 0x24], ebx
add rdi, rbx
cmp r15d, 0x14
mov eax, 0x14
cmovl eax, r15d
mov qword [rsi + 0x28], r12
movsxd rbx, eax
mov r8d, 0x14
sub r8, rbx
cmp ebx, 0x14
cmovae r8, r12
lea rcx, [rsp + rbx]
add rcx, 0x90
xor edx, edx
call sub.VCRUNTIME140.dll_memset
lea r14, [rsp + 0x90]
mov rcx, r14
mov rdx, rdi
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
movsxd rdi, r15d
lea r9, [rsp + 0x78]
mov qword [r9], r12
lea rax, [rsp + 0x74]
mov dword [rax], 0
mov qword [rsp + 0x20], rax
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
call fcn.14000e190
cmp rax, 0xffffffffffffffff
je 0x14000fbee
mov rbp, rdi
sub rbp, rax
jb 0x14000fbee
mov r13, qword [rsp + 0x78]
cmp dword [r13 + 4], 0
je 0x14000fbee
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rdi
mov r14d, dword [rsp + 0x74]
test r14b, 0x10
sete al
test r14b, 0x20
sete cl
add al, al
add al, 2
add cl, cl
add cl, 2
mov byte [rsi + 0x4a], al
mov byte [rsi + 0x49], cl
lea rdx, [r13 + 0x1c]
lea rcx, [rsi + 0x88]
mov r8d, 0x10
mov qword [rsp + 0x58], rcx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
movzx eax, r14w
mov ebx, r14d
and ebx, 0xf
cmovne ebx, eax
mov dword [rsi + 0x64], ebx
test bl, 4
je 0x14000fbb9
lea rdi, [rsi + 0x68]
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov r8d, 0x20
sub r8, rax
lea rdx, str.lock
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
lea rcx, [rsi + 0x20]
test bl, 2
mov qword [rsp + 0x40], rcx
jne 0x14000fc28
test bl, 1
je 0x14000fc52
lea rdi, [rsi + 0x68]
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov r8d, 0x20
sub r8, rax
lea rdx, str.repz
jmp 0x14000fc44
movabs rax, 0x64696c61766e69
mov qword [rsi + 0x88], rax
mov al, byte [rsp + 0x90]
xor ecx, ecx
mov qword [rsi + 0xa8], rcx
pxor xmm0, xmm0
movdqu xmmword [rsi + 0x98], xmm0
mov byte [rsi + 0x48], 1
mov qword [rsi + 0x28], rcx
jmp 0x14000ff61
lea rdi, [rsi + 0x68]
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov r8d, 0x20
sub r8, rax
lea rdx, str.repnz
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
mov rcx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
lea r12, [rsp + rdi]
add r12, 0x90
mov rdx, r13
call fcn.14000e3e0
cmp qword [rsp + 0x48], rdi
jne 0x14000fc75
xor ebx, ebx
jmp 0x14000fc79
mov bl, byte [r12]
mov eax, dword [r13 + 0xc]
mov r9d, dword [r13 + 0x3c]
mov byte [rsp + 0x30], bl
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], eax
mov rcx, r12
mov rdx, rbp
mov edi, r14d
mov r14, qword [rsp + 0x40]
mov r8, r14
call fcn.14000e670
add r12, rax
mov qword [rsp + 0x60], rax
sub rbp, rax
mov eax, dword [r13 + 0x10]
mov r9d, dword [r13 + 0x40]
mov byte [rsp + 0x30], bl
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], eax
mov rcx, r12
mov rdx, rbp
mov r8, r14
call fcn.14000e670
add r12, rax
mov qword [rsp + 0x68], rax
sub rbp, rax
mov eax, dword [r13 + 0x14]
mov r9d, dword [r13 + 0x44]
mov byte [rsp + 0x30], bl
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], eax
mov rcx, r12
mov rdx, rbp
mov r8, r14
call fcn.14000e670
mov rbp, rax
mov edx, dword [r13 + 0x4c]
mov rcx, r14
call fcn.14000df60
test dil, 3
je 0x14000fd20
mov rcx, r14
mov edx, 0x29
call fcn.14000df60
cmp byte [rsi + 0x4a], 2
mov rdi, qword [rsp + 0x68]
jne 0x14000fde0
mov r14, qword [rsi + 0x98]
test r14, r14
je 0x14000fde0
xorps xmm6, xmm6
lea r13, [0x140046290]
cmp dword [r14], 1
jne 0x14000fdd3
cmp dword [r14 + 0x1c], 4
jne 0x14000fdd3
test byte [r14 + 0x18], 1
je 0x14000fdd3
mov ebx, dword [r14 + 0x20]
add ebx, 8
lea rax, [rbx - 0x5e]
cmp rax, 0xffffffffffffffa3
jb 0x14000fdd3
lea rcx, [r14 + 0x10]
movups xmmword [rcx + 0xc], xmm6
movups xmmword [rcx], xmm6
lea rax, [rbx + rbx*4]
lea rdx, [0x140084040]
lea r12, [rdx + rax*4]
add r12, 0xc
mov r8d, 8
mov rdx, r12
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov eax, dword [r12 - 8]
mov dword [r14 + 0x18], eax
mov eax, dword [r12 - 0xc]
mov dword [r14 + 0x1c], eax
mov eax, dword [r12 - 4]
test rax, rax
je 0x14000fdcf
movzx ecx, byte [r13 + rax*2]
mov dword [r14 + 0x24], ecx
movzx eax, byte [r13 + rax*2 + 1]
mov dword [r14 + 0x28], eax
mov dword [r14 + 0x20], ebx
mov r14, qword [r14 + 0x60]
test r14, r14
jne 0x14000fd49
mov rax, qword [rsp + 0x60]
add rax, qword [rsp + 0x50]
add rdi, rbp
add rdi, rax
mov rax, qword [rsp + 0x78]
test byte [rax + 7], 0x20
je 0x14000fe73
mov rdx, qword [rsp + 0x48]
sub rdx, rdi
lea rcx, [rsp + rdi]
add rcx, 0x90
lea r9, [rsp + 0x84]
mov dword [r9], 0
mov r8d, dword [rax]
mov qword [rsp + 0x20], r9
lea r9, [rsp + 0x88]
call fcn.14000e190
cmp rax, 0xffffffffffffffff
je 0x14000fed0
mov rbx, qword [rsp + 0x88]
cmp dword [rbx + 4], 0
je 0x14000fed0
lea rdx, [rbx + 0x1c]
mov r8d, 0x10
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov rcx, qword [rsp + 0x40]
mov rdx, rbx
call fcn.14000e3e0
inc rdi
test rdi, rdi
je 0x14000ff0b
mov byte [rsi + 0x48], dil
test edi, edi
je 0x14000ff64
cmp r15d, edi
jge 0x14000ff98
movabs rax, 0x64696c61766e69
mov qword [rsi + 0x88], rax
lea rdi, [rsi + 0x98]
mov rcx, qword [rsi + 0x98]
test rcx, rcx
je 0x14000ff44
mov rbx, qword [sym.imp.mozglue.dll_free]
mov r14, qword [rcx + 0x60]
call rbx
mov rcx, r14
test r14, r14
jne 0x14000fec0
jmp 0x14000ff44
movabs rax, 0x64696c61766e69
mov qword [rsi + 0x88], rax
lea rdi, [rsi + 0x98]
mov rcx, qword [rsi + 0x98]
test rcx, rcx
je 0x14000ff44
mov rbx, qword [sym.imp.mozglue.dll_free]
mov r14, qword [rcx + 0x60]
call rbx
mov rcx, r14
test r14, r14
jne 0x14000fefb
jmp 0x14000ff44
movabs rax, 0x64696c61766e69
mov qword [rsi + 0x88], rax
lea rdi, [rsi + 0x98]
mov rcx, qword [rsi + 0x98]
test rcx, rcx
je 0x14000ff44
mov rbx, qword [sym.imp.mozglue.dll_free]
mov r14, qword [rcx + 0x60]
call rbx
mov rcx, r14
test r14, r14
jne 0x14000ff36
pxor xmm0, xmm0
movdqu xmmword [rdi], xmm0
xor eax, eax
mov qword [rdi + 0x10], rax
mov byte [rsi + 0x48], 1
mov qword [rsi + 0x28], rax
mov al, byte [rsp + 0x90]
mov byte [rsi + 0x34], al
mov byte [rsi + 0x18], 0
xor edi, edi
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.14003b140
mov eax, edi
movaps xmm6, xmmword [rsp + 0xb0]
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rsi + 0x34]
movsxd r8, edi
lea rdx, [rsp + 0x90]
call sub.VCRUNTIME140.dll_memcpy
movq xmm0, qword [rsi + 0x10]
movd xmm1, edi
movaps xmm2, xmmword [0x140046160]
movss xmm2, xmm1
paddd xmm2, xmm0
movq qword [rsi + 0x10], xmm2
mov edx, dword [rsi + 0x2c]
test edx, edx
je 0x14000ff64
cmp byte [rsi + 0x48], 0
je 0x14000ff64
mov byte [rsi + 0x18], 1
cmp edx, 0x1005
jne 0x14000ffe9
mov byte [rsi + 0xe9], 1
mov rax, qword [rsi + 0xa8]
cmp rax, 2
jae 0x14000fffa
xor ecx, ecx
jmp 0x140010005
mov rcx, qword [rsi + 0x98]
mov rcx, qword [rcx + 0x60]
test rax, rax
je 0x140010011
mov rax, qword [rsi + 0x98]
cmp byte [rsi + 0xc8], 0
je 0x14000ff6a
mov r8d, dword [rsi + 0x28]
cmp r8d, 7
je 0x140010076
cmp r8d, 5
je 0x1400100b4
cmp r8d, 1
jne 0x140010131
lea r8d, [rdx - 0x1005]
cmp r8d, 0xfffffffc
jb 0x1400101ab
test rax, rax
je 0x1400101ab
mov r8d, dword [rax]
cmp r8d, 1
je 0x14001016d
cmp r8d, 6
jne 0x140010188
mov r9d, dword [rax + 0x40]
jmp 0x140010171
test rax, rax
je 0x140010094
cmp dword [rax], 6
jne 0x140010094
mov r8d, dword [rax + 0x40]
cmp r8d, dword [rsi + 0xdc]
jne 0x140010094
or byte [rsi + 0xea], 8
test rcx, rcx
je 0x1400101ab
cmp dword [rcx], 6
jne 0x1400101ab
mov r9d, dword [rcx + 0x40]
mov r8w, 0x20
jmp 0x140010162
test rax, rax
je 0x1400100d4
cmp dword [rax], 6
jne 0x1400100d4
mov r9d, dword [rax + 0x40]
mov r8w, 0x40
cmp r9d, dword [rsi + 0xdc]
je 0x1400101a3
test rcx, rcx
je 0x1400100f4
cmp dword [rcx], 6
jne 0x1400100f4
mov r9d, dword [rcx + 0x40]
mov r8w, 0x40
cmp r9d, dword [rsi + 0xdc]
je 0x1400101a3
test rax, rax
je 0x140010114
cmp dword [rax], 1
jne 0x140010114
mov r9d, dword [rax + 0x20]
mov r8w, 0x40
cmp r9d, dword [rsi + 0xdc]
je 0x1400101a3
test rcx, rcx
je 0x1400101ab
cmp dword [rcx], 1
jne 0x1400101ab
mov r9d, dword [rcx + 0x20]
mov r8w, 0x40
jmp 0x140010162
test rax, rax
je 0x14001014f
cmp dword [rax], 6
jne 0x14001014f
mov r8d, dword [rax + 0x40]
cmp r8d, dword [rsi + 0xdc]
jne 0x14001014f
or byte [rsi + 0xea], 4
test rcx, rcx
je 0x1400101ab
cmp dword [rcx], 6
jne 0x1400101ab
mov r9d, dword [rcx + 0x40]
mov r8w, 0x10
cmp r9d, dword [rsi + 0xdc]
je 0x1400101a3
jmp 0x1400101ab
mov r9d, dword [rax + 0x20]
mov r8w, 1
cmp r9d, dword [rsi + 0xdc]
je 0x1400101a3
test rax, rax
setne r8b
jmp 0x1400101ed
lea r8d, [rdx - 0x1003]
cmp r8d, 1
ja 0x14001017f
mov r8w, 2
cmp byte [rsi + 0xe8], 0
je 0x14001017f
or word [rsi + 0xea], r8w
test rax, rax
setne r8b
je 0x1400101ed
cmp edx, 0x4001
jne 0x1400101ed
mov ecx, dword [rax]
cmp ecx, 1
je 0x1400102a3
cmp ecx, 6
jne 0x14000ff6a
mov ecx, dword [rsi + 0xdc]
cmp dword [rax + 0x40], ecx
je 0x1400102b2
cmp dword [rax + 0x24], ecx
jne 0x14000ff6a
jmp 0x1400102b2
cmp edx, 0x6000
jle 0x140010259
lea r9d, [rdx - 0x6001]
cmp r9d, 2
jb 0x140010276
add edx, 0xffff9ffd
cmp edx, 2
jae 0x14000ff6a
test r8b, r8b
je 0x14000ff6a
cmp dword [rax], 1
jne 0x14000ff6a
test rcx, rcx
je 0x14000ff6a
cmp dword [rcx], 1
jne 0x14000ff6a
mov edx, dword [rsi + 0xdc]
add rsi, 0xcc
cmp dword [rax + 0x20], edx
jne 0x1400102fd
movdqu xmm0, xmmword [rcx + 0x10]
movups xmm1, xmmword [rcx + 0x1c]
jmp 0x140010312
cmp edx, 0x3003
je 0x1400102be
cmp edx, 0x4002
je 0x140010276
cmp edx, 0x4004
je 0x140010297
jmp 0x14000ff6a
test r8b, r8b
je 0x14000ff6a
cmp dword [rax], 1
jne 0x14000ff6a
mov eax, dword [rax + 0x20]
cmp eax, dword [rsi + 0xdc]
jne 0x14000ff6a
mov byte [rsi + 0xc8], 0
jmp 0x14000ff6a
mov eax, dword [rax + 0x20]
cmp eax, dword [rsi + 0xdc]
jne 0x14000ff6a
mov byte [rsi + 0xe8], 1
jmp 0x14000ff6a
test rcx, rcx
je 0x14000ff6a
cmp dword [rcx], 1
setne dl
xor r8b, 1
or r8b, dl
jne 0x14000ff6a
cmp dword [rax], 1
jne 0x14000ff6a
mov ecx, dword [rcx + 0x20]
cmp ecx, dword [rsi + 0xdc]
jne 0x14000ff6a
cmp ecx, dword [rax + 0x20]
jne 0x14000ff6a
jmp 0x140010297
cmp dword [rcx + 0x20], edx
jne 0x14000ff6a
add rax, 0x10
movdqu xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0xc]
movups xmmword [rsi + 0xc], xmm1
movdqu xmmword [rsi], xmm0
jmp 0x14000ff6a