Function at 0x14000a5b0
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 0x14000a61e
lea rdi, [rsi + 0x98]
mov rcx, qword [rsi + 0x98]
test rcx, rcx
je 0x14000a60e
mov rbx, qword [sym.imp.mozglue.dll_free]
mov r14, qword [rcx + 0x60]
call rbx
mov rcx, r14
test r14, r14
jne 0x14000a600
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 0x14000ab24
mov rdi, qword [rsi]
test rdi, rdi
je 0x14000ab24
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.140008d50
cmp rax, 0xffffffffffffffff
je 0x14000a7ae
mov rbp, rdi
sub rbp, rax
jb 0x14000a7ae
mov r13, qword [rsp + 0x78]
cmp dword [r13 + 4], 0
je 0x14000a7ae
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 0x14000a779
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 0x14000a7e8
test bl, 1
je 0x14000a812
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 0x14000a804
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 0x14000ab21
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.140008fa0
cmp qword [rsp + 0x48], rdi
jne 0x14000a835
xor ebx, ebx
jmp 0x14000a839
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.140009230
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.140009230
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.140009230
mov rbp, rax
mov edx, dword [r13 + 0x4c]
mov rcx, r14
call fcn.140008b20
test dil, 3
je 0x14000a8e0
mov rcx, r14
mov edx, 0x29
call fcn.140008b20
cmp byte [rsi + 0x4a], 2
mov rdi, qword [rsp + 0x68]
jne 0x14000a9a0
mov r14, qword [rsi + 0x98]
test r14, r14
je 0x14000a9a0
xorps xmm6, xmm6
lea r13, [0x140046280]
cmp dword [r14], 1
jne 0x14000a993
cmp dword [r14 + 0x1c], 4
jne 0x14000a993
test byte [r14 + 0x18], 1
je 0x14000a993
mov ebx, dword [r14 + 0x20]
add ebx, 8
lea rax, [rbx - 0x5e]
cmp rax, 0xffffffffffffffa3
jb 0x14000a993
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 0x14000a98f
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 0x14000a909
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 0x14000aa33
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.140008d50
cmp rax, 0xffffffffffffffff
je 0x14000aa90
mov rbx, qword [rsp + 0x88]
cmp dword [rbx + 4], 0
je 0x14000aa90
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.140008fa0
inc rdi
test rdi, rdi
je 0x14000aacb
mov byte [rsi + 0x48], dil
test edi, edi
je 0x14000ab24
cmp r15d, edi
jge 0x14000ab58
movabs rax, 0x64696c61766e69
mov qword [rsi + 0x88], rax
lea rdi, [rsi + 0x98]
mov rcx, qword [rsi + 0x98]
test rcx, rcx
je 0x14000ab04
mov rbx, qword [sym.imp.mozglue.dll_free]
mov r14, qword [rcx + 0x60]
call rbx
mov rcx, r14
test r14, r14
jne 0x14000aa80
jmp 0x14000ab04
movabs rax, 0x64696c61766e69
mov qword [rsi + 0x88], rax
lea rdi, [rsi + 0x98]
mov rcx, qword [rsi + 0x98]
test rcx, rcx
je 0x14000ab04
mov rbx, qword [sym.imp.mozglue.dll_free]
mov r14, qword [rcx + 0x60]
call rbx
mov rcx, r14
test r14, r14
jne 0x14000aabb
jmp 0x14000ab04
movabs rax, 0x64696c61766e69
mov qword [rsi + 0x88], rax
lea rdi, [rsi + 0x98]
mov rcx, qword [rsi + 0x98]
test rcx, rcx
je 0x14000ab04
mov rbx, qword [sym.imp.mozglue.dll_free]
mov r14, qword [rcx + 0x60]
call rbx
mov rcx, r14
test r14, r14
jne 0x14000aaf6
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.14003a5b0
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 0x14000ab24
cmp byte [rsi + 0x48], 0
je 0x14000ab24
mov byte [rsi + 0x18], 1
cmp edx, 0x1005
jne 0x14000aba9
mov byte [rsi + 0xe9], 1
mov rax, qword [rsi + 0xa8]
cmp rax, 2
jae 0x14000abba
xor ecx, ecx
jmp 0x14000abc5
mov rcx, qword [rsi + 0x98]
mov rcx, qword [rcx + 0x60]
test rax, rax
je 0x14000abd1
mov rax, qword [rsi + 0x98]
cmp byte [rsi + 0xc8], 0
je 0x14000ab2a
mov r8d, dword [rsi + 0x28]
cmp r8d, 7
je 0x14000ac36
cmp r8d, 5
je 0x14000ac74
cmp r8d, 1
jne 0x14000acf1
lea r8d, [rdx - 0x1005]
cmp r8d, 0xfffffffc
jb 0x14000ad6b
test rax, rax
je 0x14000ad6b
mov r8d, dword [rax]
cmp r8d, 1
je 0x14000ad2d
cmp r8d, 6
jne 0x14000ad48
mov r9d, dword [rax + 0x40]
jmp 0x14000ad31
test rax, rax
je 0x14000ac54
cmp dword [rax], 6
jne 0x14000ac54
mov r8d, dword [rax + 0x40]
cmp r8d, dword [rsi + 0xdc]
jne 0x14000ac54
or byte [rsi + 0xea], 8
test rcx, rcx
je 0x14000ad6b
cmp dword [rcx], 6
jne 0x14000ad6b
mov r9d, dword [rcx + 0x40]
mov r8w, 0x20
jmp 0x14000ad22
test rax, rax
je 0x14000ac94
cmp dword [rax], 6
jne 0x14000ac94
mov r9d, dword [rax + 0x40]
mov r8w, 0x40
cmp r9d, dword [rsi + 0xdc]
je 0x14000ad63
test rcx, rcx
je 0x14000acb4
cmp dword [rcx], 6
jne 0x14000acb4
mov r9d, dword [rcx + 0x40]
mov r8w, 0x40
cmp r9d, dword [rsi + 0xdc]
je 0x14000ad63
test rax, rax
je 0x14000acd4
cmp dword [rax], 1
jne 0x14000acd4
mov r9d, dword [rax + 0x20]
mov r8w, 0x40
cmp r9d, dword [rsi + 0xdc]
je 0x14000ad63
test rcx, rcx
je 0x14000ad6b
cmp dword [rcx], 1
jne 0x14000ad6b
mov r9d, dword [rcx + 0x20]
mov r8w, 0x40
jmp 0x14000ad22
test rax, rax
je 0x14000ad0f
cmp dword [rax], 6
jne 0x14000ad0f
mov r8d, dword [rax + 0x40]
cmp r8d, dword [rsi + 0xdc]
jne 0x14000ad0f
or byte [rsi + 0xea], 4
test rcx, rcx
je 0x14000ad6b
cmp dword [rcx], 6
jne 0x14000ad6b
mov r9d, dword [rcx + 0x40]
mov r8w, 0x10
cmp r9d, dword [rsi + 0xdc]
je 0x14000ad63
jmp 0x14000ad6b
mov r9d, dword [rax + 0x20]
mov r8w, 1
cmp r9d, dword [rsi + 0xdc]
je 0x14000ad63
test rax, rax
setne r8b
jmp 0x14000adad
lea r8d, [rdx - 0x1003]
cmp r8d, 1
ja 0x14000ad3f
mov r8w, 2
cmp byte [rsi + 0xe8], 0
je 0x14000ad3f
or word [rsi + 0xea], r8w
test rax, rax
setne r8b
je 0x14000adad
cmp edx, 0x4001
jne 0x14000adad
mov ecx, dword [rax]
cmp ecx, 1
je 0x14000ae63
cmp ecx, 6
jne 0x14000ab2a
mov ecx, dword [rsi + 0xdc]
cmp dword [rax + 0x40], ecx
je 0x14000ae72
cmp dword [rax + 0x24], ecx
jne 0x14000ab2a
jmp 0x14000ae72
cmp edx, 0x6000
jle 0x14000ae19
lea r9d, [rdx - 0x6001]
cmp r9d, 2
jb 0x14000ae36
add edx, 0xffff9ffd
cmp edx, 2
jae 0x14000ab2a
test r8b, r8b
je 0x14000ab2a
cmp dword [rax], 1
jne 0x14000ab2a
test rcx, rcx
je 0x14000ab2a
cmp dword [rcx], 1
jne 0x14000ab2a
mov edx, dword [rsi + 0xdc]
add rsi, 0xcc
cmp dword [rax + 0x20], edx
jne 0x14000aebd
movdqu xmm0, xmmword [rcx + 0x10]
movups xmm1, xmmword [rcx + 0x1c]
jmp 0x14000aed2
cmp edx, 0x3003
je 0x14000ae7e
cmp edx, 0x4002
je 0x14000ae36
cmp edx, 0x4004
je 0x14000ae57
jmp 0x14000ab2a
test r8b, r8b
je 0x14000ab2a
cmp dword [rax], 1
jne 0x14000ab2a
mov eax, dword [rax + 0x20]
cmp eax, dword [rsi + 0xdc]
jne 0x14000ab2a
mov byte [rsi + 0xc8], 0
jmp 0x14000ab2a
mov eax, dword [rax + 0x20]
cmp eax, dword [rsi + 0xdc]
jne 0x14000ab2a
mov byte [rsi + 0xe8], 1
jmp 0x14000ab2a
test rcx, rcx
je 0x14000ab2a
cmp dword [rcx], 1
setne dl
xor r8b, 1
or r8b, dl
jne 0x14000ab2a
cmp dword [rax], 1
jne 0x14000ab2a
mov ecx, dword [rcx + 0x20]
cmp ecx, dword [rsi + 0xdc]
jne 0x14000ab2a
cmp ecx, dword [rax + 0x20]
jne 0x14000ab2a
jmp 0x14000ae57
cmp dword [rcx + 0x20], edx
jne 0x14000ab2a
add rax, 0x10
movdqu xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0xc]
movups xmmword [rsi + 0xc], xmm1
movdqu xmmword [rsi], xmm0
jmp 0x14000ab2a