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

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov eax, dword [rcx + 0x24]
mov rsi, rcx
mov dword [rcx + 0x20], eax
mov r8, rcx
mov rcx, qword [rcx + 0x120]
call fcn.140024320
mov rcx, qword [rsi + 0x118]
mov edi, eax
mov r8, qword [rcx]
test r8, r8
je 0x14001e9b0
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [r8 + 0x38]
mov qword [r8 + 0x18], rdx
mov r8, rdx
test rdx, rdx
jne 0x14001e9a0
mov rcx, qword [rcx]
call fcn.14001b5b0
test rax, rax
je 0x14001e9f1
mov qword [rsp + 0x30], rbx
test edi, edi
jne 0x14001e9df
mov edx, dword [rax + 0x28]
mov rcx, rsi
mov rbx, qword [rax + 0x18]
call fcn.14001e860
mov edi, eax
mov rax, rbx
test rbx, rbx
jne 0x14001e9c2
mov eax, edi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov eax, edi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
push rbx
push rbp
push rsi
push r12
push r13
sub rsp, 0x40
xor ebp, ebp
xor r12d, r12d
mov r13, rdx
mov rsi, rcx
test rdx, rdx
je 0x14001ecf1
mov ebx, dword [rdx + 0x18]
mov ecx, 0x200
call fcn.140011ff0
mov r12, rax
test rax, rax
je 0x14001ecd5
xor edx, edx
mov r8d, 0x200
mov rcx, rax
call fcn.1400a3240
mov dword [r12], ebx
test r12, r12
jne 0x14001eceb
lea eax, [r12 + 7]
add rsp, 0x40
pop r13
pop r12
pop rsi
pop rbp
pop rbx
ret
mov eax, dword [r13 + 0x18]
jmp 0x14001ecf4
mov eax, dword [rcx + 0x24]
mov dword [rsi + 0x20], eax
movzx eax, byte [rsi + 0x11]
mov byte [rsi + 0x17], al
test r13, r13
jne 0x14001ed1f
cmp qword [rsi + 0x120], rbp
je 0x14001ed1f
mov rcx, rsi
add rsp, 0x40
pop r13
pop r12
pop rsi
pop rbp
pop rbx
jmp 0x14001e960
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x38], r14
mov r14, qword [rsi + 0x60]
test r13, r13
je 0x14001ed89
cmp qword [rsi + 0x120], rbp
jne 0x14001ed89
mov rax, qword [r13 + 8]
mov rdi, r14
test rax, rax
cmovne rdi, rax
mov rax, qword [r13]
mov qword [rsi + 0x60], rax
cmp qword [rsi + 0x60], rdi
jge 0x14001ed7f
mov r9d, 1
mov dword [rsp + 0x20], 1
mov r8, r12
lea rdx, [rsi + 0x60]
mov rcx, rsi
call fcn.14001dd30
mov ebp, eax
test eax, eax
je 0x14001ed51
jmp 0x14001ee37
test ebp, ebp
jne 0x14001ee37
jmp 0x14001ed8d
mov qword [rsi + 0x60], rbp
mov qword [rsp + 0x30], r15
cmp qword [rsi + 0x60], r14
jge 0x14001ee32
lea rax, [rsp + 0x80]
mov dword [rsp + 0x78], 0
lea r9, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r8, r14
xor edx, edx
mov rcx, rsi
call fcn.14001d1d0
mov r15d, dword [rsp + 0x78]
mov ebp, eax
test r15d, r15d
jne 0x14001edfc
mov eax, dword [rsi + 0xb8]
add rax, qword [rsi + 0x68]
mov rdx, qword [rsi + 0x60]
cmp rax, rdx
jne 0x14001edfc
mov eax, dword [rsi + 0xbc]
add eax, 8
movsxd rcx, eax
mov rax, r14
sub rax, rdx
cqo
idiv rcx
mov r15, rax
xor edi, edi
test ebp, ebp
jne 0x14001ee32
cmp edi, r15d
jae 0x14001ed92
cmp qword [rsi + 0x60], r14
jge 0x14001ee32
mov r9d, 1
mov dword [rsp + 0x20], 1
mov r8, r12
lea rdx, [rsi + 0x60]
mov rcx, rsi
call fcn.14001dd30
inc edi
mov ebp, eax
test eax, eax
je 0x14001ee02
mov r15, qword [rsp + 0x30]
test r13, r13
je 0x14001eed8
mov eax, dword [rsi + 0xbc]
add eax, 4
movsxd rcx, eax
mov eax, dword [r13 + 0x1c]
imul rcx, rax
mov qword [rsp + 0x78], rcx
mov rcx, qword [rsi + 0x120]
test rcx, rcx
je 0x14001eea4
mov eax, dword [rcx + 0x88]
cmp dword [r13 + 0x2c], eax
je 0x14001ee83
mov dword [r13 + 0x20], 0
mov eax, dword [rcx + 0x88]
mov dword [r13 + 0x2c], eax
mov eax, dword [r13 + 0x20]
cmp eax, dword [rcx + 0x58]
jae 0x14001eea2
mov dword [rcx + 0x58], eax
mov eax, dword [r13 + 0x24]
mov dword [rcx + 0x60], eax
mov eax, dword [r13 + 0x28]
mov dword [rcx + 0x64], eax
call fcn.140022550
xor ebp, ebp
mov edi, dword [r13 + 0x1c]
test ebp, ebp
jne 0x14001eed8
nop dword [rax]
cmp edi, dword [rsi + 0x3c]
jae 0x14001eed8
xor r9d, r9d
mov dword [rsp + 0x20], 1
mov r8, r12
lea rdx, [rsp + 0x78]
mov rcx, rsi
call fcn.14001dd30
inc edi
mov ebp, eax
test eax, eax
je 0x14001eeb0
mov rcx, r12
call fcn.14001ab80
mov rdi, qword [rsp + 0x70]
test ebp, ebp
jne 0x14001eeed
mov qword [rsi + 0x60], r14
mov eax, ebp
mov r14, qword [rsp + 0x38]
add rsp, 0x40
pop r13
pop r12
pop rsi
pop rbp
pop rbx
ret