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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], r9
mov dword [r11 + 0x18], r8d
mov qword [r11 + 0x10], rdx
push rbx
push r12
push r14
push r15
sub rsp, 0x98
xor r12d, r12d
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x58], r12
mov r14, r9
mov r15, rdx
mov rbx, rcx
test rdx, rdx
je 0x1400d23fe
test r9, r9
je 0x1400d23fe
mov rcx, qword [rdx]
mov qword [rsp + 0x40], rcx
test rcx, rcx
je 0x1400d23fe
movzx eax, byte [rbx + 4]
mov qword [r11 + 8], rbp
mov ebp, dword [r9]
mov qword [r11 - 0x28], rsi
xor esi, esi
mov byte [rsp + 0x24], al
mov rax, qword [rdx + 8]
mov edx, dword [r9 + 4]
mov qword [r11 - 0x30], rdi
mov qword [r11 - 0x38], r13
mov byte [rbx + 4], r12b
mov qword [r11 - 0x48], rcx
mov dword [rsp + 0x3c], edx
mov dword [rsp + 0x48], ebp
mov dword [rsp + 0x28], esi
test rax, rax
je 0x1400d208f
nop word [rax + rax]
mov rax, qword [rax + 0x10]
inc esi
test rax, rax
jne 0x1400d2080
mov dword [rsp + 0x28], esi
lea edx, [rsi + rsi*4]
shl edx, 3
lea r8, [rsp + 0x20]
call fcn.14007b920
mov r13, rax
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x20]
movsxd rdi, esi
test eax, eax
jne 0x1400d2388
mov rcx, qword [rsp + 0x40]
lea edx, [rsi*4]
lea r8, [rsp + 0x20]
call fcn.14007b920
mov rsi, rax
mov eax, dword [rsp + 0x20]
test eax, eax
jne 0x1400d2369
mov r13, qword [r15 + 8]
xor ecx, ecx
mov dword [rsp + 0x38], ecx
cmp dword [rsp + 0x28], ecx
jle 0x1400d2266
mov rdx, qword [rsp + 0x30]
xor ebp, ebp
lea r15, [rdx + 8]
nop word [rax + rax]
movsxd rax, ecx
lea rcx, [rax + rax*4]
lea rax, [rdx + rcx*8]
mov rcx, rax
mov qword [rsp + 0x50], rax
call fcn.1400d4160
mov eax, dword [r14 + 4]
lea r8, [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov dword [r15 - 4], eax
mov eax, dword [r14]
mov dword [r15 - 8], eax
mov eax, dword [r14 + 8]
mov dword [r15], eax
movzx eax, word [r14 + 0x18]
mov word [r15 + 0x10], ax
movzx eax, byte [r14 + 0x1a]
mov byte [r15 + 0x12], al
mov edx, dword [r14 + 8]
imul edx, dword [r14]
call fcn.14007b920
mov qword [r15 + 8], rax
mov eax, dword [rsp + 0x20]
test eax, eax
jne 0x1400d2364
mov rcx, r13
call fcn.1400d0ca0
mov dword [rsi + rbp*4], eax
cmp eax, 2
jne 0x1400d2204
cmp dword [rbx], 0
je 0x1400d2215
xor eax, eax
mov r9, qword [rsp + 0x50]
lea rdx, [rsp + 0x70]
mov dword [rbx + 8], eax
lea rcx, [rsp + 0x60]
movsd xmm0, qword [rbx]
mov r12, qword [r13 + 0x10]
mov eax, dword [rbx + 8]
mov r8d, dword [rsp + 0xd0]
movsd qword [rsp + 0x60], xmm0
mov qword [r13 + 0x10], 0
mov qword [rsp + 0x78], r13
mov dword [rsp + 0x68], eax
call fcn.1400d1f70
mov dword [rsp + 0x20], eax
test eax, eax
jne 0x1400d2364
cmp dword [rbx], 1
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
mov qword [r13 + 0x10], r12
mov r12, rax
mov qword [rsp + 0x58], rax
mov qword [rax + 0x10], rcx
jne 0x1400d222b
mov eax, dword [rsi + rbp*4]
cmp eax, 1
jne 0x1400d221f
mov dword [rsi + rbp*4], 2
jmp 0x1400d222b
cmp eax, 1
jne 0x1400d2185
cmp dword [rbx], eax
jne 0x1400d2185
mov eax, 1
jmp 0x1400d2187
cmp eax, 2
jne 0x1400d222b
mov dword [rsi + rbp*4], 1
mov ecx, dword [rsp + 0x38]
inc rbp
mov r13, qword [r13 + 0x10]
inc ecx
mov r14, qword [rsp + 0xd8]
add r15, 0x28
mov rdx, qword [rsp + 0x30]
mov dword [rsp + 0x38], ecx
cmp rbp, rdi
jl 0x1400d2100
mov eax, dword [rsp + 0x20]
mov r15, qword [rsp + 0xc8]
mov ebp, dword [rsp + 0x48]
mov qword [r15 + 8], r12
mov r14, qword [r14 + 0x10]
test ebp, ebp
jle 0x1400d2364
movsxd rcx, dword [rsp + 0x3c]
xor r15d, r15d
mov r12, qword [rsp + 0x30]
mov rax, rcx
mov r13d, ebp
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0xc8], r13
test ecx, ecx
jle 0x1400d2346
movzx r13d, byte [rsp + 0x24]
mov rbx, r15
mov ebp, ecx
nop dword [rax]
xor r10b, r10b
xor r8d, r8d
mov r11b, 0xff
test rdi, rdi
jle 0x1400d2308
lea r9, [r12 + 0x10]
nop dword [rax]
nop word [rax + rax]
cmp dword [rsi + r8*4], 1
mov rax, qword [r9]
movzx eax, byte [rbx + rax]
jne 0x1400d22ee
cmp r10b, al
movzx edx, r10b
cmovbe edx, eax
movzx r10d, dl
jmp 0x1400d22fc
cmp r11b, al
movzx edx, r11b
cmovae edx, eax
movzx r11d, dl
inc r8
add r9, 0x28
cmp r8, rdi
jl 0x1400d22d0
cmp r10b, r11b
movzx ecx, r10b
movzx eax, r11b
cmovae ecx, eax
mov byte [rbx + r14], cl
test r13b, r13b
je 0x1400d2328
call fcn.1400d1830
mov byte [rbx + r14], al
inc rbx
sub rbp, 1
jne 0x1400d22b0
mov r13, qword [rsp + 0xc8]
mov rax, qword [rsp + 0x50]
mov ecx, dword [rsp + 0x3c]
add r15, rax
sub r13, 1
mov qword [rsp + 0xc8], r13
jne 0x1400d2296
mov eax, dword [rsp + 0x20]
mov r13, r12
jmp 0x1400d2369
mov r13, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
test rsi, rsi
je 0x1400d2382
mov rdx, rsi
mov rcx, rbp
call fcn.14007ba00
mov eax, dword [rsp + 0x20]
mov esi, dword [rsp + 0x28]
jmp 0x1400d238d
mov rbp, qword [rsp + 0x40]
test r13, r13
je 0x1400d23cf
test esi, esi
jne 0x1400d239b
lea eax, [rsi + 0x61]
jmp 0x1400d23cf
test rdi, rdi
jle 0x1400d23c0
lea rbx, [r13 + 0x10]
mov rdx, qword [rbx]
mov rcx, rbp
call fcn.14007ba00
mov qword [rbx], 0
lea rbx, [rbx + 0x28]
sub rdi, 1
jne 0x1400d23a4
mov rdx, r13
mov rcx, rbp
call fcn.14007ba00
mov eax, dword [rsp + 0x20]
mov r13, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x90]
mov rbp, qword [rsp + 0xc0]
add rsp, 0x98
pop r15
pop r14
pop r12
pop rbx
ret
mov eax, 6
add rsp, 0x98
pop r15
pop r14
pop r12
pop rbx
ret