Function at 0x14003b480
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
xor r14d, r14d
mov r12, rdx
mov rbx, rcx
mov edi, r14d
test rdx, rdx
je 0x14003b55a
mov esi, dword [rdx + 0x18]
mov ecx, 0x200
call fcn.14002bf00
mov r15, rax
test rax, rax
je 0x14003b550
lea rcx, [rax + 4]
xor edx, edx
mov r8d, 0x1fc
call fcn.14012e2b0
mov dword [r15], esi
lea rsi, [rbx + 0x60]
mov eax, dword [r12 + 0x18]
mov rcx, qword [rsi]
mov r13, rcx
mov dword [rbx + 0x20], eax
movzx eax, byte [rbx + 0x10]
mov byte [rbx + 0x17], al
mov qword [rsp + 0x30], rcx
cmp qword [rbx + 0x128], rdi
jne 0x14003b687
mov rbp, qword [r12 + 8]
mov rax, qword [r12]
test rbp, rbp
mov qword [rsi], rax
cmove rbp, rcx
nop dword [rax]
cmp qword [rsi], rbp
jge 0x14003b690
mov r9d, 1
mov dword [rsp + 0x20], 1
mov r8, r15
mov rdx, rsi
mov rcx, rbx
call fcn.14003a660
mov edi, eax
test eax, eax
je 0x14003b520
jmp 0x14003b745
mov eax, 7
jmp 0x14003b823
mov eax, dword [rcx + 0x24]
mov r15, r14
mov rsi, qword [rcx + 0x128]
mov dword [rcx + 0x20], eax
movzx eax, byte [rcx + 0x10]
mov byte [rcx + 0x17], al
test rsi, rsi
je 0x14003b677
mov eax, dword [rcx + 0x24]
mov dword [rcx + 0x20], eax
cmp byte [rsi + 0x40], dil
je 0x14003b613
mov r15d, dword [rsi + 0x58]
mov rax, qword [rsi + 0x30]
mov rcx, qword [rax]
movups xmm0, xmmword [rcx]
movups xmmword [rsi + 0x48], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rsi + 0x58], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rsi + 0x68], xmm0
mov edi, dword [rsi + 0x58]
inc edi
lea ebp, [rdi + 0x1000]
cmp edi, r15d
ja 0x14003b605
mov r8, qword [rsi + 0x30]
mov eax, ebp
sub rax, 0xfdf
shr rax, 0xc
test eax, eax
jne 0x14003b5dc
mov rax, qword [r8]
mov edx, dword [rax + rdi*4 + 0x84]
jmp 0x14003b5f2
cdqe
lea edx, [rdi - 1]
add rdx, 0x22
and edx, 0xfff
mov rcx, qword [r8 + rax*8]
mov edx, dword [rcx + rdx*4]
mov rcx, rbx
call fcn.14003b200
inc edi
inc ebp
mov r14d, eax
test eax, eax
je 0x14003b5b7
cmp r15d, dword [rsi + 0x58]
je 0x14003b613
mov rcx, rsi
call fcn.14003f610
mov rdx, qword [rbx + 0x120]
mov rcx, qword [rdx]
test rcx, rcx
je 0x14003b643
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rcx + 0x40]
mov qword [rcx + 0x20], rax
mov rcx, rax
test rax, rax
jne 0x14003b630
mov rcx, qword [rdx]
call fcn.140037ce0
test rax, rax
je 0x14003b66f
nop dword [rax]
test r14d, r14d
jne 0x14003b66f
mov edx, dword [rax + 0x30]
mov rcx, rbx
mov rdi, qword [rax + 0x20]
call fcn.14003b200
mov r14d, eax
mov rax, rdi
test rdi, rdi
jne 0x14003b650
mov eax, r14d
jmp 0x14003b823
mov rax, qword [rcx + 0x60]
lea rsi, [rcx + 0x60]
mov qword [rsp + 0x30], rax
mov r13, rax
mov qword [rsi], r14
nop word [rax + rax]
cmp qword [rsi], r13
jge 0x14003b734
lea rax, [rsp + 0x98]
mov dword [rsp + 0x90], r14d
lea r9, [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r8, r13
xor edx, edx
mov rcx, rbx
call fcn.1400399e0
mov r12d, dword [rsp + 0x90]
mov edi, eax
test r12d, r12d
jne 0x14003b6ff
mov eax, dword [rbx + 0xb8]
add rax, qword [rbx + 0x68]
mov rcx, qword [rsi]
cmp rax, rcx
jne 0x14003b6ff
mov rax, qword [rsp + 0x30]
sub rax, rcx
mov rcx, qword [rbx + 0xc8]
add rcx, 8
cqo
idiv rcx
mov r12, rax
mov ebp, r14d
test edi, edi
jne 0x14003b734
cmp ebp, r12d
jae 0x14003b690
cmp qword [rsi], r13
jge 0x14003b734
mov r9d, 1
mov dword [rsp + 0x20], 1
mov r8, r15
mov rdx, rsi
mov rcx, rbx
call fcn.14003a660
inc ebp
mov edi, eax
test eax, eax
je 0x14003b706
mov r12, qword [rsp + 0x88]
test r12, r12
je 0x14003b7eb
mov rax, qword [rbx + 0xc8]
mov ebp, dword [r12 + 0x1c]
add rax, 4
mov rcx, qword [rbx + 0x128]
imul rax, rbp
mov qword [rsp + 0x88], rax
test rcx, rcx
je 0x14003b7bb
mov eax, dword [rcx + 0x88]
cmp dword [r12 + 0x30], eax
je 0x14003b78f
mov dword [r12 + 0x24], r14d
mov eax, dword [rcx + 0x88]
mov dword [r12 + 0x30], eax
mov eax, r14d
jmp 0x14003b794
mov eax, dword [r12 + 0x24]
cmp eax, dword [rcx + 0x58]
jae 0x14003b7b1
mov dword [rcx + 0x58], eax
mov eax, dword [r12 + 0x28]
mov dword [rcx + 0x60], eax
mov eax, dword [r12 + 0x2c]
mov dword [rcx + 0x64], eax
call fcn.14003f610
mov ebp, dword [r12 + 0x1c]
mov edi, r14d
jmp 0x14003b7c0
test edi, edi
jne 0x14003b7eb
nop
cmp ebp, dword [rbx + 0x3c]
jae 0x14003b7eb
xor r9d, r9d
mov dword [rsp + 0x20], 1
mov r8, r15
lea rdx, [rsp + 0x88]
mov rcx, rbx
call fcn.14003a660
inc ebp
mov edi, eax
test eax, eax
je 0x14003b7c0
test r15, r15
je 0x14003b81a
cmp dword [r15 + 8], r14d
je 0x14003b812
lea rbx, [r15 + 0x10]
mov ebp, 0x3e
nop
mov rcx, qword [rbx]
call fcn.140037420
lea rbx, [rbx + 8]
sub rbp, 1
jne 0x14003b800
mov rcx, r15
call fcn.14002c0f0
test edi, edi
jne 0x14003b821
mov qword [rsi], r13
mov eax, edi
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov dword [rsp + 0x10], edx
push rsi
push r14
sub rsp, 0x38
mov r14d, dword [rcx + 0x30]
mov rsi, rcx
test r14d, r14d
jne 0x14003e961
mov eax, dword [rcx + 0x80]
cmp r8d, eax
jge 0x14003e961
xor ecx, ecx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x28], r13
cmp edx, 1
mov r13d, ecx
mov qword [rsp + 0x20], r15
setne r13b
add r13d, r8d
mov r15d, r13d
cmp r13d, eax
jge 0x14003e8af
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rdi
movsxd rax, r13d
mov qword [rsp + 0x30], r12
imul r12, rax, 0x38
nop word [rax + rax]
mov rax, qword [rsi + 0x78]
mov rbp, qword [r12 + rax + 0x10]
test rbp, rbp
je 0x14003e88a
cmp dword [rbp + 8], 0
je 0x14003e882
lea rbx, [rbp + 0x10]
mov edi, 0x3e
nop dword [rax]
mov rcx, qword [rbx]
call fcn.140037420
lea rbx, [rbx + 8]
sub rdi, 1
jne 0x14003e870
mov rcx, rbp
call fcn.14002c0f0
inc r15d
add r12, 0x38
cmp r15d, dword [rsi + 0x80]
jl 0x14003e850
mov edx, dword [rsp + 0x58]
xor ecx, ecx
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
mov r15, qword [rsp + 0x20]
mov dword [rsi + 0x80], r13d
cmp edx, 1
jne 0x14003e91d
movsxd rax, r13d
imul rbx, rax, 0x38
add rbx, qword [rsi + 0x78]
cmp dword [rbx + 0x20], 0
je 0x14003e908
mov rcx, qword [rsi + 0x58]
mov r8, qword [rcx]
test r8, r8
je 0x14003e908
lea rax, [0x140163320]
cmp r8, rax
jne 0x14003e902
mov rdx, qword [rsi + 0xc8]
mov eax, dword [rbx + 0x1c]
add rdx, 4
imul rdx, rax
call qword [r8 + 0x20]
mov r14d, eax
mov ecx, dword [rbx + 0x1c]
mov dword [rsi + 0x3c], ecx
mov rbx, qword [rsp + 0x50]
mov eax, r14d
mov r13, qword [rsp + 0x28]
add rsp, 0x38
pop r14
pop rsi
ret
cmp qword [rsi + 0x128], 0
jne 0x14003e931
mov rax, qword [rsi + 0x50]
cmp qword [rax], 0
je 0x14003e908
test r13d, r13d
je 0x14003e945
lea eax, [r13 - 1]
movsxd rcx, eax
imul rcx, rcx, 0x38
add rcx, qword [rsi + 0x78]
mov rdx, rcx
mov rcx, rsi
mov rbx, qword [rsp + 0x50]
mov r13, qword [rsp + 0x28]
add rsp, 0x38
pop r14
pop rsi
jmp 0x14003b480
mov eax, r14d
add rsp, 0x38
pop r14
pop rsi
ret