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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x38]
call fcn.140174340
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 0x67]
test eax, eax
jne 0x14015221c
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x20]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x10]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x20], eax
jmp 0x14015201f
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x90]
movzx eax, word [rax + 0x3c]
cmp dword [rsp + 0x20], eax
jge 0x140152118
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x90]
mov rcx, qword [rcx + 0x48]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rsp + 0x98]
cmp qword [rax], rcx
jne 0x140152113
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x90]
mov rcx, qword [rcx + 0x48]
mov rax, qword [rcx + rax*8]
mov eax, dword [rax + 0x24]
dec eax
mov dword [rsp + 0x24], eax
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x40]
cmp qword [rcx + rax + 8], 0
jne 0x140152091
jmp 0x140152015
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x40]
mov r8, qword [rcx + rax + 8]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x80]
call fcn.140175890
mov qword [rsp + 0x50], rax
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x40]
mov qword [rcx + rax + 8], 0
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x48]
mov r8, qword [rcx + rax + 8]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x80]
call fcn.140175890
mov qword [rsp + 0x30], rax
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x48]
mov qword [rcx + rax + 8], 0
jmp 0x140152015
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
call fcn.140175e60
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
call fcn.140175e60
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x10]
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x20]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 0x20], rcx
cmp qword [rsp + 0x30], 0
je 0x1401521bc
mov rax, qword [rsp + 0x30]
cmp dword [rax], 1
jne 0x1401521bc
mov eax, 0x20
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx + rax + 8]
mov qword [rsp + 0x68], rax
mov eax, 0x20
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
mov qword [rcx + rax + 8], 0
mov rax, qword [rsp + 0x28]
mov rdx, qword [rax + 0x10]
mov rcx, qword [rsp + 0x38]
call fcn.1401741f0
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x68]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
cmp qword [rax + 0x48], 0
je 0x14015221c
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x20], 0
jmp 0x1401521f8
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x60]
mov eax, dword [rax]
cmp dword [rsp + 0x20], eax
jge 0x14015221c
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x20
xor ecx, ecx
mov rdx, qword [rsp + 0x60]
mov word [rdx + rax + 0x20], cx
jmp 0x1401521ee
mov rax, qword [rsp + 0x28]
add rsp, 0x78
ret