Function at 0x1401542a0
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, 0x358
movaps xmmword [rsp + 0x340], xmm6
mov rdi, r9
mov r13, r8
mov rsi, rdx
mov rbx, rcx
movabs rbp, 0x7fffffffffffffff
mov rax, qword [r9]
add rax, rbp
cmp rax, 3
ja 0x1401542e3
cmp rax, 1
jne 0x14015433f
mov r15, qword [rdi + 8]
mov r14, qword [rdi + 0x10]
mov rcx, qword [rsi + 0x28]
mov rax, qword [rsi + 0x30]
mov rdx, r15
mov r8, r14
call qword [rax + 0x30]
mov rax, qword [rsi]
lea rcx, [rbp + 1]
cmp rax, rcx
je 0x14015433f
mov r12, qword [rsi + 0x10]
sub rax, r12
cmp rax, r14
jae 0x140154326
mov rcx, rsi
mov rdx, r12
mov r8, r14
call fcn.14005efc0
mov r12, qword [rsi + 0x10]
mov rcx, qword [rsi + 8]
add rcx, r12
mov rdx, r15
mov r8, r14
call sub.msvcrt.dll_memcpy
add r12, r14
mov qword [rsi + 0x10], r12
mov rax, qword [rdi]
add rax, rbp
cmp rax, 3
ja 0x140154355
cmp rax, 1
jne 0x14015446d
lea rax, [rbp + 7]
cmp qword [rdi + 0x18], rax
jne 0x14015446d
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x60], rax
lea rax, [rdi + 0x18]
mov qword [rsp + 0x48], rax
mov rax, qword [rdi + 0x20]
mov qword [rsp + 0x50], rax
mov rax, qword [rdi + 0x28]
mov qword [rsp + 0x40], rax
mov rax, qword [rsi + 0xb0]
mov r15, qword [rax + 0x48]
test r15, r15
je 0x1401545a5
mov rcx, qword [rdi + 0x30]
mov qword [rsp + 0x38], rcx
movzx r14d, word [rdi + 0x38]
movzx r13d, word [rdi + 0x3a]
mov ecx, dword [rdi + 0x3c]
mov qword [rsp + 0x58], rcx
mov r12, qword [rax + 0x40]
shl r15, 4
jmp 0x1401543de
add r12, 0x10
add r15, 0xfffffffffffffff0
je 0x1401545a5
mov rcx, qword [r12]
mov rax, qword [r12 + 8]
call qword [rax + 0x38]
cmp r14w, 3
setne cl
cmp dx, r13w
sete dl
cmp ax, r14w
jne 0x1401543d0
or cl, dl
je 0x1401543d0
mov r14, qword [rsp + 0x58]
cmp r14d, 0x10000
jbe 0x1401546ab
mov rax, qword [rsp + 0x30]
mov r12, qword [rax]
mov word [rsp + 0x218], 4
lea rax, [rbp + 2]
mov qword [rsp + 0x160], rax
mov dword [rsp + 0x168], 0x80001
cmp byte [r12 + 0x41], 2
sete r8b
lea rdx, [rsp + 0x160]
mov rcx, r12
call fcn.14012c440
mov byte [r12 + 0x301], 1
mov byte [rbx], 3
mov byte [rbx + 8], 9
jmp 0x1401545f6
mov qword [rsp + 0x30], rsi
lea r14, [rsp + 0x160]
mov r8d, 0xb8
mov rcx, r14
mov rdx, rdi
call sub.msvcrt.dll_memcpy
lea rax, [0x140269598]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 1
lea r8, [0x140265818]
lea rcx, [rsp + 0xa0]
mov r13d, 1
mov r9d, 1
mov rdx, r14
call fcn.140148840
mov rdi, qword [rsp + 0xa0]
mov r14, qword [rsp + 0xa8]
mov r15, qword [rsp + 0xb0]
movsd xmm6, qword [rsp + 0xb8]
mov r12d, dword [rsp + 0xbc]
mov rsi, qword [rsp + 0x160]
add rbp, rsi
cmp rbp, 4
cmovb r13, rbp
test r13, r13
je 0x140154557
cmp r13, 1
je 0x140154527
cmp r13, 2
je 0x140154557
mov rax, qword [rsp + 0x168]
shl rax, 1
test rax, rax
je 0x140154557
mov eax, 0x10
jmp 0x140154541
lea rcx, [rsp + 0x178]
call fcn.14011e8e0
shl rsi, 1
test rsi, rsi
je 0x140154557
mov eax, 8
mov r8, qword [rsp + rax + 0x160]
mov rcx, qword [0x1402f3170]
xor edx, edx
call fcn.1401d7c44
mov qword [rbx], rdi
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r15
movss dword [rbx + 0x18], xmm6
mov dword [rbx + 0x1c], r12d
mov rsi, qword [rsp + 0x30]
mov rcx, rsi
call fcn.140154160
mov rcx, qword [0x1402f3170]
xor edx, edx
mov r8, rsi
call fcn.1401d7c44
movaps xmm6, xmmword [rsp + 0x340]
add rsp, 0x358
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsp + 0x30]
mov r12, qword [rax]
mov word [rsp + 0x218], 4
lea rax, [rbp + 2]
mov qword [rsp + 0x160], rax
mov dword [rsp + 0x168], 0x80001
cmp byte [r12 + 0x41], 2
sete r8b
lea rdx, [rsp + 0x160]
mov rcx, r12
call fcn.14012c440
mov byte [r12 + 0x301], 1
mov word [rbx], 0x3309
mov rax, qword [rsp + 0x50]
shl rax, 1
test rax, rax
jne 0x140154611
mov rax, qword [rdi]
add rbp, rax
cmp rbp, 3
jbe 0x140154630
jmp 0x140154682
mov rcx, qword [0x1402f3170]
xor edx, edx
mov r8, qword [rsp + 0x40]
call fcn.1401d7c44
mov rax, qword [rdi]
add rbp, rax
cmp rbp, 3
ja 0x140154682
cmp rbp, 1
je 0x140154682
movabs rcx, 0x8000000000000001
cmp rax, rcx
je 0x140154570
movabs rcx, 0x8000000000000002
cmp rax, rcx
je 0x1401546d0
movabs rcx, 0x8000000000000003
cmp rax, rcx
je 0x140154570
mov rax, qword [rdi + 8]
shl rax, 1
test rax, rax
je 0x140154570
mov eax, 0x10
jmp 0x1401546df
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x60]
cmp qword [rcx], rdx
je 0x140154699
call fcn.14011e8e0
mov rax, qword [rdi]
shl rax, 1
test rax, rax
je 0x140154570
mov r8, qword [rdi + 8]
jmp 0x1401546e3
test r14, r14
mov r15, qword [rsp + 0x30]
je 0x1401546f6
mov ecx, 8
mov rdx, r14
call fcn.14018e330
test rax, rax
je 0x140154b22
mov r9, rax
jmp 0x1401546fc
mov rcx, qword [rsp + 0x48]
call fcn.14011e8e0
mov eax, 8
mov r8, qword [rdi + rax]
mov rcx, qword [0x1402f3170]
xor edx, edx
call fcn.1401d7c44
jmp 0x140154570
mov r9d, 1
mov r8, qword [rsp + 0x38]
mov rcx, qword [r12]
mov rax, qword [r12 + 8]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x20], r14
mov rdx, qword [rsp + 0x40]
mov r12, r9
call rax
test al, al
je 0x140154770
mov r13, qword [r15]
mov word [rsp + 0x218], 4
lea rax, [rbp + 2]
mov qword [rsp + 0x160], rax
mov dword [rsp + 0x168], 0x80001
cmp byte [r13 + 0x41], 2
sete r8b
lea rdx, [rsp + 0x160]
mov rcx, r13
call fcn.14012c440
mov byte [r13 + 0x301], 1
mov word [rbx], 0x1809
jmp 0x140154833
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], 0
lea rcx, [rsp + 0xa0]
lea rdx, [rsp + 0x68]
call fcn.140119aa0
lea rax, [rbp + 1]
cmp qword [rsp + 0xa0], rax
jne 0x140154852
mov r13, qword [r15]
mov word [rsp + 0x218], 4
lea rax, [rbp + 2]
mov qword [rsp + 0x160], rax
mov dword [rsp + 0x168], 0x80001
cmp byte [r13 + 0x41], 2
sete r8b
lea rdx, [rsp + 0x160]
mov rcx, r13
call fcn.14012c440
mov byte [r13 + 0x301], 1
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x98], rax
movups xmm0, xmmword [rsp + 0xa8]
movups xmmword [rsp + 0x88], xmm0
mov byte [rbx], 3
movups xmm0, xmmword [rsp + 0x81]
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x98]
movups xmmword [rbx + 1], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rcx
test r14d, r14d
je 0x1401545f6
mov rcx, qword [0x1402f3170]
xor edx, edx
mov r8, r12
call fcn.1401d7c44
jmp 0x1401545f6
movups xmm0, xmmword [rsp + 0xa0]
movups xmm1, xmmword [rsp + 0xb0]
movups xmm2, xmmword [rsp + 0xc0]
movaps xmmword [rsp + 0x330], xmm2
movaps xmmword [rsp + 0x320], xmm1
movaps xmmword [rsp + 0x310], xmm0
lea rcx, [rsp + 0x160]
lea rdx, [rsp + 0x310]
call fcn.14011f630
movups xmm0, xmmword [rsp + 0x160]
movups xmm1, xmmword [rsp + 0x170]
movups xmm2, xmmword [rsp + 0x180]
movups xmmword [rsp + 0xc8], xmm2
movups xmmword [rsp + 0xb8], xmm1
movups xmmword [rsp + 0xa8], xmm0
mov byte [rsp + 0x138], 8
lea rax, [rbp + 6]
mov qword [rsp + 0xa0], rax
lea rcx, [rsp + 0x160]
lea rdx, [rsp + 0xa0]
call fcn.14011f0c0
mov qword [rsp + 0x38], r12
mov word [rsp + 0x158], 5
lea rcx, [rsp + 0xa0]
lea rdx, [rsp + 0x160]
mov r8d, 0xb8
call sub.msvcrt.dll_memcpy
movups xmm0, xmmword [rsi + 0x90]
movups xmm1, xmmword [rsi + 0xa0]
movaps xmmword [rsp + 0x200], xmm1
movaps xmmword [rsp + 0x1f0], xmm0
movups xmm0, xmmword [rsi + 0x168]
movups xmm1, xmmword [rsi + 0x178]
movups xmm2, xmmword [rsi + 0x188]
movups xmm3, xmmword [rsi + 0x198]
movups xmmword [rsp + 0x2c8], xmm0
movups xmmword [rsp + 0x2d8], xmm1
movups xmmword [rsp + 0x2e8], xmm2
movups xmmword [rsp + 0x2f8], xmm3
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmm2, xmmword [rsi + 0x20]
movaps xmmword [rsp + 0x160], xmm0
movaps xmmword [rsp + 0x170], xmm1
movaps xmmword [rsp + 0x180], xmm2
mov rax, qword [rsi + 0x30]
mov qword [rsp + 0x190], rax
lea rdx, [rsi + 0xc0]
lea rcx, [rsp + 0x220]
mov r8d, 0xa8
call sub.msvcrt.dll_memcpy
movups xmm0, xmmword [rsi + 0x50]
movups xmm1, xmmword [rsi + 0x60]
movups xmm2, xmmword [rsi + 0x70]
movups xmm3, xmmword [rsi + 0x80]
movaps xmmword [rsp + 0x1e0], xmm3
movaps xmmword [rsp + 0x1d0], xmm2
movaps xmmword [rsp + 0x1c0], xmm1
movaps xmmword [rsp + 0x1b0], xmm0
movups xmm0, xmmword [rsi + 0x38]
movups xmmword [rsp + 0x198], xmm0
mov rax, qword [rsi + 0x48]
mov qword [rsp + 0x1a8], rax
movups xmm0, xmmword [rsi + 0xb0]
movaps xmmword [rsp + 0x210], xmm0
mov byte [rsp + 0x308], 1
mov ecx, 0x1b0
call fcn.14007fbf0
mov r12, rax
lea rdx, [rsp + 0x160]
mov r8d, 0x1b0
mov rcx, rax
call sub.msvcrt.dll_memcpy
lea r13, [rsp + 0x160]
lea rdx, [rsp + 0xa0]
mov r8d, 0xc0
mov rcx, r13
call sub.msvcrt.dll_memcpy
mov rcx, rbx
mov rdx, r12
mov r8, r15
mov r9, r13
call fcn.140151fa0
test r14d, r14d
mov r8, qword [rsp + 0x38]
je 0x140154a89
mov rcx, qword [0x1402f3170]
xor edx, edx
call fcn.1401d7c44
mov rax, qword [rsp + 0x50]
shl rax, 1
test rax, rax
je 0x140154aa9
mov rcx, qword [0x1402f3170]
xor edx, edx
mov r8, qword [rsp + 0x40]
call fcn.1401d7c44
mov rax, qword [rdi]
add rbp, rax
cmp rbp, 3
ja 0x140154ac5
cmp rbp, 1
je 0x140154ac5
mov rcx, rdi
call fcn.14011f390
jmp 0x140154af6
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x60]
cmp qword [rcx], rdx
je 0x140154adc
call fcn.14011e8e0
mov rax, qword [rdi]
shl rax, 1
test rax, rax
je 0x140154af6
mov r8, qword [rdi + 8]
mov rcx, qword [0x1402f3170]
xor edx, edx
call fcn.1401d7c44
mov rcx, qword [0x1402f3170]
xor edx, edx
mov r8, rsi
movaps xmm6, xmmword [rsp + 0x340]
add rsp, 0x358
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.1401d7c44
mov ecx, 1
mov rdx, r14
call fcn.140023ed0
ud2