Function at 0x140010130
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, 0xb8
mov rax, qword [0x140083010]
xor rax, rsp
mov qword [rsp + 0xb0], rax
xor edi, edi
test edx, edx
je 0x140010379
mov rbp, rcx
test rcx, rcx
je 0x140010379
mov rsi, qword [rsp + 0x120]
test rsi, rsi
je 0x140010379
mov ebx, r9d
mov r14d, r8d
mov r15d, edx
lea rcx, [rsi + 0x10]
xor edi, edi
mov r8d, 0x98
xor edx, edx
call sub.VCRUNTIME140.dll_memset
add r14d, ebx
mov dword [rsi], r14d
mov dword [rsi + 4], ebx
mov qword [rsi + 8], 0
sub r15d, ebx
jbe 0x14001027e
mov eax, ebx
add rbp, rax
cmp r15d, 0x14
mov eax, 0x14
cmovl eax, r15d
movsxd rdi, eax
mov eax, 0x14
sub rax, rdi
cmp edi, 0x14
mov r8d, 0
cmovb 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 r15d, 4
jb 0x1400102a1
mov eax, dword [0x140083d34]
and eax, 1
je 0x1400102a1
cmp byte [rsp + 0x90], 0
jne 0x1400102a1
cmp byte [rsp + 0x91], 0
jne 0x1400102a1
cmp byte [rsp + 0x92], 0
jne 0x1400102a1
cmp byte [rsp + 0x93], 0
jne 0x1400102a1
movabs rax, 0x64696c61766e69
mov qword [rsi + 0x68], rax
xorps xmm0, xmm0
movups xmmword [rsi + 0x78], xmm0
xor eax, eax
mov qword [rsi + 0x88], rax
mov byte [rsi + 0x28], 1
mov qword [rsi + 8], rax
mov byte [rsi + 0x14], 0
jmp 0x140010356
mov rax, qword [0x1400b5d70]
test rax, rax
je 0x140010379
movsxd rdx, r14d
mov r8, qword [0x1400b5d78]
xor edi, edi
xor ecx, ecx
jmp 0x140010373
movsxd rbp, r15d
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.14000f290
cmp rax, 0xffffffffffffffff
je 0x140010308
mov r12, rax
cmp rax, rbp
ja 0x140010308
mov r13, qword [rsp + 0x78]
cmp dword [r13 + 4], 0
je 0x140010308
mov ebx, dword [rsp + 0x74]
mov eax, dword [0x140083d34]
test al, 2
jne 0x14001039f
test bl, 0x10
sete cl
add cl, cl
add cl, 2
test bl, 0x20
sete dl
jmp 0x1400103b4
movabs rax, 0x64696c61766e69
mov qword [rsi + 0x68], rax
lea rdi, [rsi + 0x78]
mov rcx, qword [rsi + 0x78]
test rcx, rcx
je 0x140010338
mov rbx, qword [sym.imp.mozglue.dll_free]
mov rbp, qword [rcx + 0x60]
call rbx
mov rcx, rbp
test rbp, rbp
jne 0x14001032a
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
xor eax, eax
mov qword [rdi + 0x10], rax
mov byte [rsi + 0x28], 1
mov qword [rsi + 8], rax
mov al, byte [rsp + 0x90]
mov byte [rsi + 0x14], al
mov rax, qword [0x1400b5d70]
xor edi, edi
test rax, rax
je 0x140010379
movsxd rdx, r14d
mov r8, qword [0x1400b5d78]
mov ecx, 2
call qword [case.0x14003b30e.0]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14003bec0
mov eax, edi
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, ebx
and ecx, 0x10
shr ecx, 4
add cl, cl
add cl, 2
mov edx, ebx
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
je 0x1400103d0
cmp byte [r13 + 0x2c], 0
je 0x1400103d0
lea rdx, [r13 + 0x2c]
jmp 0x1400103d4
lea rdx, [r13 + 0x1c]
lea rcx, [rsi + 0x68]
mov r8d, 0x10
mov qword [rsp + 0x50], rcx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
movzx eax, bx
mov dword [rsp + 0x44], ebx
and ebx, 0xf
cmovne ebx, eax
mov dword [rsi + 0x44], ebx
test bl, 4
je 0x140010423
lea rdi, [rsi + 0x48]
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]
test bl, 2
jne 0x14001044b
test bl, 1
je 0x140010470
lea rdi, [rsi + 0x48]
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 0x140010467
lea rdi, [rsi + 0x48]
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 rdi, rbp
sub rbp, r12
mov rbx, r12
add r12, rsp
add r12, 0x90
mov rcx, rsi
mov rdx, r13
call fcn.140010780
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x60], rbx
cmp rbx, rdi
jne 0x1400104a1
xor ebx, ebx
jmp 0x1400104a5
mov bl, byte [r12]
mov eax, dword [r13 + 0xc]
mov r9d, dword [r13 + 0x3c]
mov byte [rsp + 0x30], bl
mov edx, dword [rsp + 0x44]
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x48], ebx
mov rcx, r12
mov rdx, rbp
mov r8, rsi
call fcn.14000f8c0
mov rdi, rax
add r12, rax
sub rbp, rax
mov eax, dword [r13 + 0x10]
mov r9d, dword [r13 + 0x40]
mov byte [rsp + 0x30], bl
mov ebx, dword [rsp + 0x44]
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], eax
mov rcx, r12
mov rdx, rbp
mov r8, rsi
call fcn.14000f8c0
add r12, rax
mov qword [rsp + 0x58], rax
sub rbp, rax
mov eax, dword [r13 + 0x14]
mov r9d, dword [r13 + 0x44]
mov ecx, dword [rsp + 0x48]
mov byte [rsp + 0x30], cl
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], eax
mov rcx, r12
mov rdx, rbp
mov r8, rsi
call fcn.14000f8c0
mov qword [rsp + 0x48], rax
mov edx, dword [r13 + 0x4c]
mov rcx, rsi
call fcn.14000f100
test bl, 3
je 0x140010552
mov rcx, rsi
mov edx, 0x29
call fcn.14000f100
cmp byte [rsi + 0x2a], 2
mov r12, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
jne 0x140010591
mov rbx, qword [rsi + 0x78]
test rbx, rbx
je 0x140010591
cmp dword [rbx], 1
jne 0x14001058b
cmp dword [rbx + 0x1c], 4
jne 0x14001058b
test byte [rbx + 0x18], 1
je 0x14001058b
lea rcx, [rbx + 0x10]
mov edx, dword [rbx + 0x20]
add edx, 8
call fcn.14000f050
mov rbx, qword [rbx + 0x60]
jmp 0x140010566
add rdi, rbp
add rdi, qword [rsp + 0x58]
add rdi, qword [rsp + 0x48]
mov rax, qword [rsp + 0x78]
test byte [rax + 7], 0x20
je 0x14001061c
sub r12, rdi
lea rcx, [rsp + rdi]
add rcx, 0x90
lea rdx, [rsp + 0x84]
mov dword [rdx], 0
mov r8d, dword [rax]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x88]
mov rdx, r12
call fcn.14000f290
cmp rax, 0xffffffffffffffff
je 0x1400106ae
mov rbx, qword [rsp + 0x88]
cmp dword [rbx + 4], 0
je 0x1400106ae
lea rdx, [rbx + 0x1c]
mov r8d, 0x10
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov rcx, rsi
mov rdx, rbx
call fcn.140010780
inc rdi
test rdi, rdi
je 0x1400106e7
mov byte [rsi + 0x28], dil
test edi, edi
je 0x140010356
cmp r15d, edi
jge 0x140010720
mov rax, qword [0x1400b5d70]
test rax, rax
je 0x14001065b
movsxd rdx, r14d
mov r8, qword [0x1400b5d78]
mov ecx, 1
call qword [case.0x14003b30e.0]
movabs rax, 0x64696c61766e69
mov qword [rsi + 0x68], rax
lea rbx, [rsi + 0x78]
mov rcx, qword [rsi + 0x78]
test rcx, rcx
je 0x14001068b
mov rdi, qword [sym.imp.mozglue.dll_free]
mov rbp, qword [rcx + 0x60]
call rdi
mov rcx, rbp
test rbp, rbp
jne 0x14001067d
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
xor edi, edi
mov qword [rbx + 0x10], rdi
mov byte [rsi + 0x28], 1
mov qword [rsi + 8], rdi
mov al, byte [rsp + 0x90]
mov byte [rsi + 0x14], al
jmp 0x140010379
movabs rax, 0x64696c61766e69
mov qword [rsi + 0x68], rax
lea rdi, [rsi + 0x78]
mov rcx, qword [rsi + 0x78]
test rcx, rcx
je 0x140010338
mov rbx, qword [sym.imp.mozglue.dll_free]
mov rbp, qword [rcx + 0x60]
call rbx
mov rcx, rbp
test rbp, rbp
jne 0x1400106d4
jmp 0x140010338
movabs rax, 0x64696c61766e69
mov qword [rsi + 0x68], rax
lea rdi, [rsi + 0x78]
mov rcx, qword [rsi + 0x78]
test rcx, rcx
je 0x140010338
mov rbx, qword [sym.imp.mozglue.dll_free]
mov rbp, qword [rcx + 0x60]
call rbx
mov rcx, rbp
test rbp, rbp
jne 0x14001070d
jmp 0x140010338
add rsi, 0x14
movsxd r8, edi
lea rdx, [rsp + 0x90]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
jmp 0x140010379