Function at 0x14000c1c0
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 rax, qword [0x140070010]
xor rax, rsp
mov qword [rsp + 0xa8], rax
xor edi, edi
test edx, edx
je 0x14000c411
mov rbp, rcx
test rcx, rcx
je 0x14000c411
mov rsi, qword [rsp + 0x130]
test rsi, rsi
je 0x14000c411
mov r14d, r8d
mov ebx, edx
xorps xmm0, xmm0
movups xmmword [rsi + 0x90], xmm0
movups xmmword [rsi + 0x80], xmm0
movups xmmword [rsi + 0x70], xmm0
movups xmmword [rsi + 0x60], xmm0
movups xmmword [rsi + 0x50], xmm0
movups xmmword [rsi + 0x40], xmm0
movups xmmword [rsi + 0x30], xmm0
movups xmmword [rsi + 0x20], xmm0
movups xmmword [rsi + 0x10], xmm0
mov qword [rsi + 0xa0], 0
add r14d, r9d
mov dword [rsi], r14d
mov dword [rsi + 4], r9d
mov qword [rsi + 8], 0
sub ebx, r9d
jbe 0x14000c371
mov eax, r9d
add rbp, rax
cmp ebx, 0x15
mov eax, 0x14
cmovl eax, ebx
movsxd rdi, eax
mov eax, 0x14
sub rax, rdi
cmp edi, 0x13
mov r8d, 0
cmovbe r8, rax
lea rcx, [rsp + rdi]
add rcx, 0x90
xor edx, edx
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x90]
mov rdx, rbp
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsp + 0x78], 0
mov dword [rsp + 0x74], 0
cmp byte [rsp + 0x90], 0
jne 0x14000c307
cmp ebx, 4
jb 0x14000c307
mov eax, dword [0x1400705d4]
and eax, 1
je 0x14000c307
cmp byte [rsp + 0x91], 0
jne 0x14000c307
cmp byte [rsp + 0x92], 0
jne 0x14000c307
cmp byte [rsp + 0x93], 0
je 0x14000c8af
movsxd rbp, ebx
lea rax, [rsp + 0x74]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x90]
lea r9, [rsp + 0x78]
mov rdx, rbp
xor r8d, r8d
call fcn.14000a980
cmp rax, 0xffffffffffffffff
je 0x14000c391
mov rdi, rax
cmp rax, rbp
ja 0x14000c391
mov r13, qword [rsp + 0x78]
cmp dword [r13 + 4], 0
je 0x14000c391
mov r15d, dword [rsp + 0x74]
mov eax, dword [0x1400705d4]
test al, 2
jne 0x14000c43f
test r15b, 0x10
sete cl
add cl, cl
add cl, 2
test r15b, 0x20
sete dl
jmp 0x14000c456
mov rax, qword [0x1400a2e40]
test rax, rax
je 0x14000c411
movsxd rdx, r14d
mov r8, qword [0x1400a2e48]
xor edi, edi
xor ecx, ecx
jmp 0x14000c40f
movabs rax, 0x64696c61766e69
mov qword [rsi + 0x68], rax
lea rdi, [rsi + 0x78]
mov rcx, qword [rsi + 0x78]
test rcx, rcx
je 0x14000c3ce
mov rbx, qword [sym.imp.mozglue.dll_free]
nop word cs:[rax + rax]
nop dword [rax]
mov rbp, qword [rcx + 0x60]
call rbx
mov rcx, rbp
test rbp, rbp
jne 0x14000c3c0
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
mov byte [rsi + 0x28], 1
mov qword [rsi + 8], 0
mov al, byte [rsp + 0x90]
mov byte [rsi + 0x14], al
mov rax, qword [0x1400a2e40]
xor edi, edi
test rax, rax
je 0x14000c411
movsxd rdx, r14d
mov r8, qword [0x1400a2e48]
mov ecx, 2
call rax
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140055270
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
mov ecx, r15d
and ecx, 0x10
shr ecx, 4
add cl, cl
add cl, 2
mov edx, r15d
and edx, 0x20
shr edx, 5
add dl, dl
add dl, 2
mov byte [rsi + 0x2a], cl
mov byte [rsi + 0x29], dl
test al, 4
mov dword [rsp + 0x44], r14d
je 0x14000c477
cmp byte [r13 + 0x2c], 0
je 0x14000c477
lea rdx, [r13 + 0x2c]
jmp 0x14000c47b
lea rdx, [r13 + 0x1c]
lea rcx, [rsi + 0x68]
mov r8d, 0x10
mov qword [rsp + 0x58], rcx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
movzx ecx, r15w
mov eax, r15d
and eax, 0xf
cmovne eax, ecx
mov dword [rsi + 0x44], eax
test al, 4
je 0x14000c4cc
lea r14, [rsi + 0x48]
mov rcx, r14
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov r8d, 0x20
sub r8, rax
lea rdx, str.lock
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
mov eax, dword [rsi + 0x44]
mov qword [rsp + 0x60], rbp
mov r14, rbp
sub r14, rdi
test al, 2
jne 0x14000c4fd
test al, 1
je 0x14000c522
lea rbp, [rsi + 0x48]
mov rcx, rbp
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov r8d, 0x20
sub r8, rax
lea rdx, str.repz
jmp 0x14000c519
lea rbp, [rsi + 0x48]
mov rcx, rbp
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov r8d, 0x20
sub r8, rax
lea rdx, str.repnz
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
lea rbp, [rsp + rdi]
add rbp, 0x90
mov rcx, rsi
mov rdx, r13
call fcn.14000c930
test r14, r14
mov qword [rsp + 0x48], rdi
mov rax, r13
mov r13d, r15d
je 0x14000c54e
mov r12b, byte [rbp]
jmp 0x14000c551
xor r12d, r12d
mov r15, rax
mov eax, dword [rax + 0xc]
mov r9d, dword [r15 + 0x3c]
mov byte [rsp + 0x30], r12b
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], eax
mov rcx, rbp
mov rdx, r14
mov r8, rsi
call fcn.14000b680
mov rdi, rax
add rbp, rax
sub r14, rax
mov eax, dword [r15 + 0x10]
mov r9d, dword [r15 + 0x40]
mov byte [rsp + 0x30], r12b
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], eax
mov rcx, rbp
mov rdx, r14
mov r8, rsi
call fcn.14000b680
add rbp, rax
mov qword [rsp + 0x68], rax
sub r14, rax
mov eax, dword [r15 + 0x14]
mov r9d, dword [r15 + 0x44]
mov byte [rsp + 0x30], r12b
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], eax
mov rcx, rbp
mov rdx, r14
mov r8, rsi
call fcn.14000b680
mov r14, rax
mov edx, dword [r15 + 0x4c]
mov rcx, rsi
call fcn.14000a6e0
test r13b, 3
je 0x14000c5f5
mov rcx, rsi
mov edx, 0x29
call fcn.14000a6e0
cmp byte [rsi + 0x2a], 2
mov rcx, qword [rsp + 0x48]
jne 0x14000c6cd
mov rbp, qword [rsi + 0x78]
test rbp, rbp
je 0x14000c6cd
xorps xmm6, xmm6
mov qword [rsp + 0x50], r14
cmp dword [rbp], 1
jne 0x14000c630
jmp 0x14000c643
mov dword [rbp + 0x20], r13d
mov rcx, qword [rsp + 0x48]
mov r14, qword [rsp + 0x50]
nop
mov rbp, qword [rbp + 0x60]
test rbp, rbp
je 0x14000c6cd
cmp dword [rbp], 1
jne 0x14000c630
cmp dword [rbp + 0x1c], 4
jne 0x14000c630
test byte [rbp + 0x18], 1
je 0x14000c630
mov r13d, dword [rbp + 0x20]
add r13d, 8
lea rax, [r13 - 1]
cmp rax, 0x5c
ja 0x14000c630
lea rcx, [rbp + 0x10]
movups xmmword [rcx + 0xc], xmm6
movups xmmword [rcx], xmm6
lea r15, [r13*4]
add r15, r13
lea r14, [0x1400a24a0]
lea rdx, [r14 + r15*4]
add rdx, 0xc
mov r8d, 8
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov eax, dword [r14 + r15*4 + 4]
mov dword [rbp + 0x18], eax
mov eax, dword [r14 + r15*4]
mov dword [rbp + 0x1c], eax
mov eax, dword [r14 + r15*4 + 8]
test rax, rax
je 0x14000c621
lea rcx, [0x140056980]
mov rdx, rcx
movzx ecx, byte [rcx + rax*2]
mov dword [rbp + 0x24], ecx
movzx eax, byte [rdx + rax*2 + 1]
mov dword [rbp + 0x28], eax
jmp 0x14000c621
add rdi, rcx
add rdi, qword [rsp + 0x68]
add rdi, r14
mov rax, qword [rsp + 0x78]
test byte [rax + 7], 0x20
jne 0x14000c789
mov r14d, dword [rsp + 0x44]
test rdi, rdi
je 0x14000c813
mov byte [rsi + 0x28], dil
test edi, edi
je 0x14000c3f2
cmp ebx, edi
jge 0x14000c893
mov rax, qword [0x1400a2e40]
test rax, rax
je 0x14000c726
movsxd rdx, r14d
mov r8, qword [0x1400a2e48]
mov ecx, 1
call rax
movabs rax, 0x64696c61766e69
mov qword [rsi + 0x68], rax
lea rdi, [rsi + 0x78]
mov rcx, qword [rsi + 0x78]
test rcx, rcx
je 0x14000c75e
mov rbx, qword [sym.imp.mozglue.dll_free]
nop dword [rax + rax]
mov rbp, qword [rcx + 0x60]
call rbx
mov rcx, rbp
test rbp, rbp
jne 0x14000c750
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
mov byte [rsi + 0x28], 1
mov qword [rsi + 8], 0
mov al, byte [rsp + 0x90]
mov byte [rsi + 0x14], al
xor edi, edi
jmp 0x14000c411
mov rdx, qword [rsp + 0x60]
sub rdx, rdi
lea rcx, [rsp + rdi]
add rcx, 0x90
mov dword [rsp + 0x84], 0
mov r8d, dword [rax]
lea rax, [rsp + 0x84]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x88]
call fcn.14000a980
cmp rax, 0xffffffffffffffff
mov r14d, dword [rsp + 0x44]
je 0x14000c853
mov rdx, qword [rsp + 0x88]
cmp dword [rdx + 4], 0
je 0x14000c853
add rdx, 0x1c
mov r8d, 0x10
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov rdx, qword [rsp + 0x88]
mov rcx, rsi
call fcn.14000c930
add rdi, 1
test rdi, rdi
jne 0x14000c6f5
movabs rax, 0x64696c61766e69
mov qword [rsi + 0x68], rax
lea rdi, [rsi + 0x78]
mov rcx, qword [rsi + 0x78]
test rcx, rcx
je 0x14000c3ce
mov rbx, qword [sym.imp.mozglue.dll_free]
nop dword [rax]
mov rbp, qword [rcx + 0x60]
call rbx
mov rcx, rbp
test rbp, rbp
jne 0x14000c840
jmp 0x14000c3ce
movabs rax, 0x64696c61766e69
mov qword [rsi + 0x68], rax
lea rdi, [rsi + 0x78]
mov rcx, qword [rsi + 0x78]
test rcx, rcx
je 0x14000c3ce
mov rbx, qword [sym.imp.mozglue.dll_free]
nop dword [rax]
mov rbp, qword [rcx + 0x60]
call rbx
mov rcx, rbp
test rbp, rbp
jne 0x14000c880
jmp 0x14000c3ce
add rsi, 0x14
movsxd r8, edi
lea rdx, [rsp + 0x90]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
jmp 0x14000c411
movabs rax, 0x64696c61766e69
mov qword [rsi + 0x68], rax
xorps xmm0, xmm0
movups xmmword [rsi + 0x78], xmm0
mov qword [rsi + 0x88], 0
mov byte [rsi + 0x28], 1
mov qword [rsi + 8], 0
mov byte [rsi + 0x14], 0
jmp 0x14000c3f2