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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [r11 + 8], rcx
push rbx
push rdi
sub rsp, 0xd8
mov eax, edx
xor ebx, ebx
xor edi, edi
mov dword [rsp + 0x100], ebx
xor edx, edx
mov qword [rsp + 0x60], rdi
mov r10, rcx
test eax, eax
je 0x140002339
mov qword [r11 - 0x18], rbp
mov qword [r11 - 0x38], r14
mov qword [r11 - 0x20], rsi
mov qword [r11 - 0x28], r12
mov qword [r11 - 0x30], r13
mov qword [r11 - 0x40], r15
mov ecx, edx
lea r14, [0x140006290]
add rcx, r10
lea rbp, [0x140006160]
add edx, 8
mov qword [rsp + 0x90], rcx
mov dword [rsp + 0x78], edx
mov ecx, dword [rcx]
test ecx, ecx
je 0x140002282
sub ecx, 1
je 0x140002222
sub ecx, 1
je 0x140002141
sub ecx, 1
je 0x14000210f
cmp ecx, 1
jne 0x14000229e
xor r14d, r14d
mov edi, edx
add rdi, r10
mov qword [rsp + 0x80], rdi
mov ecx, dword [rdi]
add ecx, 4
mov eax, dword [rcx + rdi]
add ecx, 4
mov dword [rsp + 0x74], eax
mov edx, dword [rcx + rdi]
add ecx, 4
mov eax, ecx
add ecx, edx
mov qword [rsp + 0x88], rax
mov eax, dword [rcx + rdi]
add ecx, 4
mov dword [rsp + 0x70], eax
mov eax, dword [rcx + rdi]
add ecx, 4
mov r13d, ecx
add ecx, eax
mov dword [rsp + 0x108], eax
mov r12d, dword [rcx + rdi]
add ecx, 4
mov r15d, ecx
add ecx, r12d
mov ebp, dword [rcx + rdi]
add ecx, 4
mov r11d, ecx
add ecx, ebp
mov ebx, dword [rcx + rdi]
add ecx, 4
mov r10d, ecx
add ecx, ebx
mov dword [rsp + 0x6c], ebx
mov r9d, dword [rcx + rdi]
add ecx, 4
mov r8d, ecx
add ecx, r9d
mov eax, ecx
add ecx, 4
add rcx, rdi
cmp dword [rax + rdi], 1
lea rax, [r8 + rdi]
cmova r14, rcx
mov rcx, qword [rsp + 0x80]
xor esi, esi
mov qword [rsp + 0x58], r14
cmp r9d, 1
cmova rsi, rax
lea rax, [rdi + r10]
xor edi, edi
mov qword [rsp + 0x50], rsi
cmp ebx, 1
cmova rdi, rax
xor ebx, ebx
cmp ebp, 1
lea rax, [r11 + rcx]
cmova rbx, rax
xor r11d, r11d
cmp r12d, 1
lea rax, [r15 + rcx]
cmova r11, rax
xor r10d, r10d
cmp dword [rsp + 0x108], 1
lea rax, [rcx + r13]
cmova r10, rax
mov rax, qword [rsp + 0x88]
add rax, rcx
xor r9d, r9d
cmp edx, 1
cmova r9, rax
xor edx, edx
cmp dword [rcx], 1
lea rax, [rcx + 4]
cmova rdx, rax
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], r11
mov eax, dword [rsp + 0x70]
movzx r8d, word [rsp + 0x74]
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x28], r10
mov word [rsp + 0x20], ax
call fcn.140004fa0
mov qword [rsp + 0x60], rax
mov rdi, rax
test rax, rax
jne 0x1400021f2
call qword [0x14005f120]
jmp 0x14000228c
mov r9d, dword [rdx + r10 + 8]
mov rcx, rdi
mov r8d, dword [rdx + r10 + 4]
mov edx, dword [rdx + r10]
call fcn.140004320
mov qword [rsp + 0x60], rax
mov rdi, rax
test rax, rax
jne 0x1400021f9
call qword [0x14005f120]
jmp 0x14000228c
mov eax, edx
mov edx, 0x58
add rax, r10
lea ecx, [rdx - 0x57]
mov ebp, dword [rax + 0x14]
mov r14d, dword [rax + 0x10]
mov esi, dword [rax]
mov r15d, dword [rax + 0xc]
mov r12d, dword [rax + 8]
mov r13d, dword [rax + 4]
call fcn.14004f6f4
mov rbx, rax
call qword [0x14005f120]
test rbx, rbx
je 0x140002192
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx + 0x20], xmm0
movups xmmword [rbx + 0x30], xmm0
movups xmmword [rbx + 0x40], xmm0
mov qword [rbx + 0x50], rcx
mov ecx, eax
call qword [0x14005f168]
test rbx, rbx
jne 0x1400021b1
xor edi, edi
mov qword [rsp + 0x60], rdi
call qword [0x14005f120]
jmp 0x14000228c
lea rax, [0x140005670]
mov qword [rbx + 0x18], rdi
mov qword [rbx], rax
lea rax, [0x1400057d0]
mov qword [rbx + 0x10], rax
mov dword [rbx + 0x38], esi
mov dword [rbx + 0x3c], r13d
mov dword [rbx + 0x40], r12d
mov dword [rbx + 0x44], r15d
mov dword [rbx + 0x48], esi
mov dword [rbx + 0x4c], 0
mov dword [rbx + 0x50], r14d
mov dword [rbx + 0x54], ebp
mov rdi, rbx
mov qword [rsp + 0x60], rbx
mov ebx, dword [rsp + 0x100]
mov rax, qword [rsp + 0x90]
mov edx, dword [rsp + 0x78]
add edx, dword [rax + 4]
cmp edx, dword [rsp + 0xf8]
jae 0x1400022a5
mov r10, qword [rsp + 0xf0]
jmp 0x140001f5f
mov esi, dword [rdx + r10]
mov edx, 0x40
lea ecx, [rdx - 0x3f]
call fcn.14004f6f4
mov rbx, rax
call qword [0x14005f120]
test rbx, rbx
je 0x140002253
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx + 0x20], xmm0
movups xmmword [rbx + 0x30], xmm0
mov ecx, eax
call qword [0x14005f168]
test rbx, rbx
jne 0x14000226f
xor edi, edi
mov qword [rsp + 0x60], rdi
call qword [0x14005f120]
jmp 0x14000228c
mov qword [rbx], rbp
mov qword [rbx + 0x18], rdi
mov qword [rbx + 0x10], r14
mov dword [rbx + 0x38], esi
jmp 0x1400021ea
mov ecx, edx
add rcx, r10
call fcn.140001c60
mov dword [rsp + 0x100], eax
mov ebx, eax
test eax, eax
jne 0x1400022ee
jmp 0x1400021f9
mov ebx, 0xffffffff
jmp 0x1400022ee
test rdi, rdi
je 0x1400022fd
cmp qword [0x14007cd50], 0
jne 0x1400022c5
mov qword [0x14007cd50], rdi
mov dword [0x14007cd60], 1
mov rax, qword [0x14007cd58]
test rax, rax
jne 0x1400022dd
mov dword [0x14007cd60], 1
jmp 0x1400022e7
mov qword [rax + 0x30], rdi
inc dword [0x14007cd60]
mov qword [0x14007cd58], rdi
test rdi, rdi
je 0x1400022fd
test ebx, ebx
je 0x1400022fd
mov rcx, rdi
call qword [rdi + 0x10]
mov rsi, qword [rsp + 0xc8]
mov eax, ebx
mov r13, qword [rsp + 0xb8]
mov r12, qword [rsp + 0xc0]
mov r15, qword [rsp + 0xa8]
mov rbp, qword [rsp + 0xd0]
mov r14, qword [rsp + 0xb0]
add rsp, 0xd8
pop rdi
pop rbx
ret
mov eax, ebx
add rsp, 0xd8
pop rdi
pop rbx
ret