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

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x30
xor ebp, ebp
mov r13, rdx
mov rdi, rcx
test rdx, rdx
je 0x140171234
mov ecx, dword [rdx + 0x18]
call fcn.140175a40
mov r12, rax
test rax, rax
jne 0x140171212
lea eax, [rbp + 7]
add rsp, 0x30
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov eax, dword [r13 + 0x18]
lea rbx, [rdi + 0x60]
mov dword [rdi + 0x20], eax
movzx eax, byte [rdi + 0x10]
mov byte [rdi + 0x17], al
mov rax, qword [rbx]
mov qword [rsp + 0x80], rax
mov r15, rax
jmp 0x140171278
mov eax, dword [rcx + 0x24]
xor r12d, r12d
mov dword [rcx + 0x20], eax
movzx eax, byte [rcx + 0x10]
mov byte [rcx + 0x17], al
cmp qword [rcx + 0x128], rbp
je 0x140171260
add rsp, 0x30
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
jmp 0x1401716e0
mov rax, qword [rcx + 0x60]
lea rbx, [rcx + 0x60]
mov qword [rsp + 0x80], rax
mov r15, rax
test r13, r13
je 0x1401712bf
cmp qword [rdi + 0x128], rbp
jne 0x1401712bf
mov rsi, qword [r13 + 8]
test rsi, rsi
cmove rsi, rax
mov rax, qword [r13]
mov qword [rbx], rax
cmp qword [rbx], rsi
jge 0x1401712c2
mov r9d, 1
mov dword [rsp + 0x20], 1
mov r8, r12
mov rdx, rbx
mov rcx, rdi
call fcn.140172020
mov ebp, eax
test eax, eax
je 0x140171293
jmp 0x140171383
mov qword [rbx], rbp
mov r13, qword [rsp + 0x80]
mov qword [rsp + 0x70], r14
nop
cmp qword [rbx], r15
jge 0x140171374
lea rax, [rsp + 0x88]
mov dword [rsp + 0x80], 0
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r8, r15
xor edx, edx
mov rcx, rdi
call fcn.140172a30
mov r14d, dword [rsp + 0x80]
mov ebp, eax
test r14d, r14d
jne 0x140171340
mov eax, dword [rdi + 0xb8]
add rax, qword [rdi + 0x68]
mov rcx, qword [rbx]
cmp rax, rcx
jne 0x140171340
mov rax, r13
sub rax, rcx
mov rcx, qword [rdi + 0xc8]
add rcx, 8
cqo
idiv rcx
mov r14, rax
xor esi, esi
test ebp, ebp
jne 0x140171374
cmp esi, r14d
jae 0x1401712d0
cmp qword [rbx], r15
jge 0x140171374
mov r9d, 1
mov dword [rsp + 0x20], 1
mov r8, r12
mov rdx, rbx
mov rcx, rdi
call fcn.140172020
inc esi
mov ebp, eax
test eax, eax
je 0x140171346
mov r13, qword [rsp + 0x78]
mov r14, qword [rsp + 0x70]
test r13, r13
je 0x1401713e8
mov rax, qword [rdi + 0xc8]
mov esi, dword [r13 + 0x1c]
add rax, 4
mov rcx, qword [rdi + 0x128]
imul rax, rsi
mov qword [rsp + 0x78], rax
test rcx, rcx
je 0x1401713b6
lea rdx, [r13 + 0x24]
call fcn.14016b490
mov esi, dword [r13 + 0x1c]
mov ebp, eax
test ebp, ebp
jne 0x1401713e8
nop word [rax + rax]
cmp esi, dword [rdi + 0x3c]
jae 0x1401713e8
xor r9d, r9d
mov dword [rsp + 0x20], 1
mov r8, r12
lea rdx, [rsp + 0x78]
mov rcx, rdi
call fcn.140172020
inc esi
mov ebp, eax
test eax, eax
je 0x1401713c0
mov rcx, r12
call fcn.140175350
test ebp, ebp
jne 0x1401713f7
mov qword [rbx], r15
mov eax, ebp
add rsp, 0x30
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x20
mov eax, dword [rcx + 0x24]
mov rsi, rcx
mov dword [rcx + 0x20], eax
mov r8, rcx
mov rcx, qword [rcx + 0x128]
call fcn.14016b520
mov rcx, qword [rsi + 0x120]
mov ebx, eax
call fcn.140174870
test rax, rax
je 0x14017174f
mov qword [rsp + 0x30], rdi
nop word [rax + rax]
test ebx, ebx
jne 0x14017173d
mov edx, dword [rax + 0x30]
mov rcx, rsi
mov rdi, qword [rax + 0x20]
call fcn.140171770
mov ebx, eax
mov rax, rdi
test rdi, rdi
jne 0x140171720
mov rdi, qword [rsp + 0x30]
mov eax, ebx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
mov eax, ebx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret