Function at 0x14000a130
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 [0x140083030]
xor rax, rsp
mov qword [rsp + 0xa8], rax
cmp byte [rcx + 0x18], 0
je 0x14000a19e
lea rdi, [rsi + 0x98]
mov rcx, qword [rsi + 0x98]
test rcx, rcx
je 0x14000a18e
mov rbx, qword [sym.imp.mozglue.dll_free]
mov r14, qword [rcx + 0x60]
call rbx
mov rcx, r14
test r14, r14
jne 0x14000a180
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 0x14000a6a4
mov rdi, qword [rsi]
test rdi, rdi
je 0x14000a6a4
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.1400088d0
cmp rax, 0xffffffffffffffff
je 0x14000a32e
mov rbp, rdi
sub rbp, rax
jb 0x14000a32e
mov r13, qword [rsp + 0x78]
cmp dword [r13 + 4], 0
je 0x14000a32e
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 0x14000a2f9
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 0x14000a368
test bl, 1
je 0x14000a392
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 0x14000a384
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 0x14000a6a1
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.140008b20
cmp qword [rsp + 0x48], rdi
jne 0x14000a3b5
xor ebx, ebx
jmp 0x14000a3b9
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.140008db0
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.140008db0
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.140008db0
mov rbp, rax
mov edx, dword [r13 + 0x4c]
mov rcx, r14
call fcn.1400086a0
test dil, 3
je 0x14000a460
mov rcx, r14
mov edx, 0x29
call fcn.1400086a0
cmp byte [rsi + 0x4a], 2
mov rdi, qword [rsp + 0x68]
jne 0x14000a520
mov r14, qword [rsi + 0x98]
test r14, r14
je 0x14000a520
xorps xmm6, xmm6
lea r13, [0x140045280]
cmp dword [r14], 1
jne 0x14000a513
cmp dword [r14 + 0x1c], 4
jne 0x14000a513
test byte [r14 + 0x18], 1
je 0x14000a513
mov ebx, dword [r14 + 0x20]
add ebx, 8
lea rax, [rbx - 0x5e]
cmp rax, 0xffffffffffffffa3
jb 0x14000a513
lea rcx, [r14 + 0x10]
movups xmmword [rcx + 0xc], xmm6
movups xmmword [rcx], xmm6
lea rax, [rbx + rbx*4]
lea rdx, [0x140083040]
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 0x14000a50f
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 0x14000a489
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 0x14000a5b3
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.1400088d0
cmp rax, 0xffffffffffffffff
je 0x14000a610
mov rbx, qword [rsp + 0x88]
cmp dword [rbx + 4], 0
je 0x14000a610
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.140008b20
inc rdi
test rdi, rdi
je 0x14000a64b
mov byte [rsi + 0x48], dil
test edi, edi
je 0x14000a6a4
cmp r15d, edi
jge 0x14000a6d8
movabs rax, 0x64696c61766e69
mov qword [rsi + 0x88], rax
lea rdi, [rsi + 0x98]
mov rcx, qword [rsi + 0x98]
test rcx, rcx
je 0x14000a684
mov rbx, qword [sym.imp.mozglue.dll_free]
mov r14, qword [rcx + 0x60]
call rbx
mov rcx, r14
test r14, r14
jne 0x14000a600
jmp 0x14000a684
movabs rax, 0x64696c61766e69
mov qword [rsi + 0x88], rax
lea rdi, [rsi + 0x98]
mov rcx, qword [rsi + 0x98]
test rcx, rcx
je 0x14000a684
mov rbx, qword [sym.imp.mozglue.dll_free]
mov r14, qword [rcx + 0x60]
call rbx
mov rcx, r14
test r14, r14
jne 0x14000a63b
jmp 0x14000a684
movabs rax, 0x64696c61766e69
mov qword [rsi + 0x88], rax
lea rdi, [rsi + 0x98]
mov rcx, qword [rsi + 0x98]
test rcx, rcx
je 0x14000a684
mov rbx, qword [sym.imp.mozglue.dll_free]
mov r14, qword [rcx + 0x60]
call rbx
mov rcx, r14
test r14, r14
jne 0x14000a676
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.1400361c0
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 [0x140045160]
movss xmm2, xmm1
paddd xmm2, xmm0
movq qword [rsi + 0x10], xmm2
mov edx, dword [rsi + 0x2c]
test edx, edx
je 0x14000a6a4
cmp byte [rsi + 0x48], 0
je 0x14000a6a4
mov byte [rsi + 0x18], 1
cmp edx, 0x1005
jne 0x14000a729
mov byte [rsi + 0xe9], 1
mov rax, qword [rsi + 0xa8]
cmp rax, 2
jae 0x14000a73a
xor ecx, ecx
jmp 0x14000a745
mov rcx, qword [rsi + 0x98]
mov rcx, qword [rcx + 0x60]
test rax, rax
je 0x14000a751
mov rax, qword [rsi + 0x98]
cmp byte [rsi + 0xc8], 0
je 0x14000a6aa
mov r8d, dword [rsi + 0x28]
cmp r8d, 7
je 0x14000a7b6
cmp r8d, 5
je 0x14000a7f4
cmp r8d, 1
jne 0x14000a871
lea r8d, [rdx - 0x1005]
cmp r8d, 0xfffffffc
jb 0x14000a8eb
test rax, rax
je 0x14000a8eb
mov r8d, dword [rax]
cmp r8d, 1
je 0x14000a8ad
cmp r8d, 6
jne 0x14000a8c8
mov r9d, dword [rax + 0x40]
jmp 0x14000a8b1
test rax, rax
je 0x14000a7d4
cmp dword [rax], 6
jne 0x14000a7d4
mov r8d, dword [rax + 0x40]
cmp r8d, dword [rsi + 0xdc]
jne 0x14000a7d4
or byte [rsi + 0xea], 8
test rcx, rcx
je 0x14000a8eb
cmp dword [rcx], 6
jne 0x14000a8eb
mov r9d, dword [rcx + 0x40]
mov r8w, 0x20
jmp 0x14000a8a2
test rax, rax
je 0x14000a814
cmp dword [rax], 6
jne 0x14000a814
mov r9d, dword [rax + 0x40]
mov r8w, 0x40
cmp r9d, dword [rsi + 0xdc]
je 0x14000a8e3
test rcx, rcx
je 0x14000a834
cmp dword [rcx], 6
jne 0x14000a834
mov r9d, dword [rcx + 0x40]
mov r8w, 0x40
cmp r9d, dword [rsi + 0xdc]
je 0x14000a8e3
test rax, rax
je 0x14000a854
cmp dword [rax], 1
jne 0x14000a854
mov r9d, dword [rax + 0x20]
mov r8w, 0x40
cmp r9d, dword [rsi + 0xdc]
je 0x14000a8e3
test rcx, rcx
je 0x14000a8eb
cmp dword [rcx], 1
jne 0x14000a8eb
mov r9d, dword [rcx + 0x20]
mov r8w, 0x40
jmp 0x14000a8a2
test rax, rax
je 0x14000a88f
cmp dword [rax], 6
jne 0x14000a88f
mov r8d, dword [rax + 0x40]
cmp r8d, dword [rsi + 0xdc]
jne 0x14000a88f
or byte [rsi + 0xea], 4
test rcx, rcx
je 0x14000a8eb
cmp dword [rcx], 6
jne 0x14000a8eb
mov r9d, dword [rcx + 0x40]
mov r8w, 0x10
cmp r9d, dword [rsi + 0xdc]
je 0x14000a8e3
jmp 0x14000a8eb
mov r9d, dword [rax + 0x20]
mov r8w, 1
cmp r9d, dword [rsi + 0xdc]
je 0x14000a8e3
test rax, rax
setne r8b
jmp 0x14000a92d
lea r8d, [rdx - 0x1003]
cmp r8d, 1
ja 0x14000a8bf
mov r8w, 2
cmp byte [rsi + 0xe8], 0
je 0x14000a8bf
or word [rsi + 0xea], r8w
test rax, rax
setne r8b
je 0x14000a92d
cmp edx, 0x4001
jne 0x14000a92d
mov ecx, dword [rax]
cmp ecx, 1
je 0x14000a9e3
cmp ecx, 6
jne 0x14000a6aa
mov ecx, dword [rsi + 0xdc]
cmp dword [rax + 0x40], ecx
je 0x14000a9f2
cmp dword [rax + 0x24], ecx
jne 0x14000a6aa
jmp 0x14000a9f2
cmp edx, 0x6000
jle 0x14000a999
lea r9d, [rdx - 0x6001]
cmp r9d, 2
jb 0x14000a9b6
add edx, 0xffff9ffd
cmp edx, 2
jae 0x14000a6aa
test r8b, r8b
je 0x14000a6aa
cmp dword [rax], 1
jne 0x14000a6aa
test rcx, rcx
je 0x14000a6aa
cmp dword [rcx], 1
jne 0x14000a6aa
mov edx, dword [rsi + 0xdc]
add rsi, 0xcc
cmp dword [rax + 0x20], edx
jne 0x14000aa3d
movdqu xmm0, xmmword [rcx + 0x10]
movups xmm1, xmmword [rcx + 0x1c]
jmp 0x14000aa52
cmp edx, 0x3003
je 0x14000a9fe
cmp edx, 0x4002
je 0x14000a9b6
cmp edx, 0x4004
je 0x14000a9d7
jmp 0x14000a6aa
test r8b, r8b
je 0x14000a6aa
cmp dword [rax], 1
jne 0x14000a6aa
mov eax, dword [rax + 0x20]
cmp eax, dword [rsi + 0xdc]
jne 0x14000a6aa
mov byte [rsi + 0xc8], 0
jmp 0x14000a6aa
mov eax, dword [rax + 0x20]
cmp eax, dword [rsi + 0xdc]
jne 0x14000a6aa
mov byte [rsi + 0xe8], 1
jmp 0x14000a6aa
test rcx, rcx
je 0x14000a6aa
cmp dword [rcx], 1
setne dl
xor r8b, 1
or r8b, dl
jne 0x14000a6aa
cmp dword [rax], 1
jne 0x14000a6aa
mov ecx, dword [rcx + 0x20]
cmp ecx, dword [rsi + 0xdc]
jne 0x14000a6aa
cmp ecx, dword [rax + 0x20]
jne 0x14000a6aa
jmp 0x14000a9d7
cmp dword [rcx + 0x20], edx
jne 0x14000a6aa
add rax, 0x10
movdqu xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0xc]
movups xmmword [rsi + 0xc], xmm1
movdqu xmmword [rsi], xmm0
jmp 0x14000a6aa