Function at 0x14002ce80
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 edi, edi
mov rbp, rdx
mov rbx, rcx
test rdx, rdx
je 0x14002cf5a
mov esi, dword [rdx + 0x18]
mov ecx, 0x200
call fcn.1400199d0
mov r15, rax
test rax, rax
je 0x14002cf50
lea rcx, [rax + 4]
xor edx, edx
mov r8d, 0x1fc
call sub.VCRUNTIME140.dll_memset
mov dword [r15], esi
lea r14, [rbx + 0x60]
mov eax, dword [rbp + 0x18]
lea rdx, [rbx + 0x128]
mov r13, r14
mov rcx, qword [r14]
mov r12, rcx
mov dword [rbx + 0x20], eax
movzx eax, byte [rbx + 0x10]
mov byte [rbx + 0x17], al
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rcx
cmp qword [rdx], rdi
jne 0x14002cffb
mov rsi, qword [rbp + 8]
mov rax, qword [rbp]
test rsi, rsi
mov qword [r14], rax
cmove rsi, rcx
nop dword [rax]
cmp qword [r14], rsi
jge 0x14002d000
mov r9d, 1
mov dword [rsp + 0x20], 1
mov r8, r15
mov rdx, r14
mov rcx, rbx
call fcn.14002be20
mov edi, eax
test eax, eax
je 0x14002cf20
jmp 0x14002d0b0
mov eax, 7
jmp 0x14002d1a6
mov eax, dword [rcx + 0x24]
xor r15d, r15d
mov dword [rcx + 0x20], eax
movzx eax, byte [rcx + 0x10]
mov byte [rcx + 0x17], al
lea rax, [rcx + 0x128]
mov rcx, qword [rax]
test rcx, rcx
je 0x14002cfe4
mov eax, dword [rbx + 0x24]
mov r8, rbx
mov dword [rbx + 0x20], eax
call fcn.140034110
mov rcx, qword [rbx + 0x120]
mov esi, eax
mov r8, qword [rcx]
test r8, r8
je 0x14002cfb0
nop dword [rax + rax]
mov rdx, qword [r8 + 0x40]
mov qword [r8 + 0x20], rdx
mov r8, rdx
test rdx, rdx
jne 0x14002cfa0
mov rcx, qword [rcx]
call fcn.1400292b0
test rax, rax
je 0x14002cfdd
nop dword [rax]
test esi, esi
jne 0x14002cfdd
mov edx, dword [rax + 0x30]
mov rcx, rbx
mov rdi, qword [rax + 0x20]
call fcn.14002cbb0
mov esi, eax
mov rax, rdi
test rdi, rdi
jne 0x14002cfc0
mov eax, esi
jmp 0x14002d1a6
lea r14, [rbx + 0x60]
mov qword [rsp + 0x38], rax
mov rax, qword [r14]
mov r13, r14
mov qword [rsp + 0x30], rax
mov r12, rax
mov qword [r14], rdi
nop
cmp qword [r14], r12
jge 0x14002d0a3
lea rax, [rsp + 0x98]
mov dword [rsp + 0x90], 0
lea r9, [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r8, r12
xor edx, edx
mov rcx, rbx
call fcn.14002b100
mov ebp, dword [rsp + 0x90]
mov edi, eax
test ebp, ebp
jne 0x14002d070
mov eax, dword [rbx + 0xb8]
add rax, qword [rbx + 0x68]
mov rcx, qword [r14]
cmp rax, rcx
jne 0x14002d070
mov rax, qword [rsp + 0x30]
sub rax, rcx
mov rcx, qword [rbx + 0xc8]
add rcx, 8
cqo
idiv rcx
mov rbp, rax
xor esi, esi
test edi, edi
jne 0x14002d0a3
cmp esi, ebp
jae 0x14002d000
cmp qword [r14], r12
jge 0x14002d0a3
mov r9d, 1
mov dword [rsp + 0x20], 1
mov r8, r15
mov rdx, r13
mov rcx, rbx
call fcn.14002be20
inc esi
mov edi, eax
test eax, eax
je 0x14002d076
mov rbp, qword [rsp + 0x88]
test rbp, rbp
je 0x14002d11b
mov rcx, qword [rbx + 0xc8]
mov eax, dword [rbp + 0x1c]
add rcx, 4
imul rcx, rax
mov qword [rsp + 0x88], rcx
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx]
test rcx, rcx
je 0x14002d0e2
lea rdx, [rbp + 0x24]
call fcn.140034200
mov edi, eax
mov esi, dword [rbp + 0x1c]
test edi, edi
jne 0x14002d11b
nop dword [rax]
cmp esi, dword [rbx + 0x3c]
jae 0x14002d11b
xor r9d, r9d
mov dword [rsp + 0x20], 1
mov r8, r15
lea rdx, [rsp + 0x88]
mov rcx, rbx
call fcn.14002be20
inc esi
mov edi, eax
test eax, eax
je 0x14002d0f0
test r15, r15
je 0x14002d19d
cmp dword [r15 + 8], 0
je 0x14002d142
lea rbx, [r15 + 0x10]
mov esi, 0x3e
mov rcx, qword [rbx]
call fcn.140028920
lea rbx, [rbx + 8]
sub rsi, 1
jne 0x14002d130
cmp dword [0x140112770], 0
je 0x14002d194
mov rcx, qword [0x14011cba8]
test rcx, rcx
je 0x14002d15d
call qword [0x1401127f0]
mov rcx, r15
call qword [0x1401127a8]
dec qword [0x14011c9b8]
mov rcx, r15
movsxd rdx, eax
sub qword [0x14011c970], rdx
call qword [0x140112798]
mov rcx, qword [0x14011cba8]
test rcx, rcx
je 0x14002d19d
call qword [0x140112800]
jmp 0x14002d19d
mov rcx, r15
call qword [0x140112798]
test edi, edi
jne 0x14002d1a4
mov qword [r14], r12
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