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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0xa]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 1]
test eax, eax
je 0x1401351ef
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0xc0]
add eax, dword [rcx + 0x28]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x24]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x34], 0x80
jae 0x140135182
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xb8]
movzx edx, byte [rsp + 0x34]
mov byte [rcx + rax], dl
mov dword [rsp + 0x70], 1
jmp 0x1401351a6
movsxd rax, dword [rsp + 0x34]
movsxd rcx, dword [rsp + 0x38]
mov rdx, qword [rsp + 0xb8]
add rdx, rcx
mov rcx, rdx
mov rdx, rax
call fcn.14018fde0
mov dword [rsp + 0x70], eax
movzx eax, byte [rsp + 0x70]
mov ecx, dword [rsp + 0x38]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x38], eax
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xb8]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0xc0]
mov rdx, qword [rcx + 8]
mov rcx, rax
call fcn.14018fde0
mov ecx, dword [rsp + 0x38]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x38], eax
jmp 0x140135274
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 8]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
mov qword [rsp + 0x68], rax
cmp dword [rsp + 0x34], 0x80
jae 0x14013523f
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xb8]
movzx edx, byte [rsp + 0x34]
mov byte [rcx + rax], dl
mov dword [rsp + 0x74], 1
jmp 0x140135263
movsxd rax, dword [rsp + 0x34]
movsxd rcx, dword [rsp + 0x38]
mov rdx, qword [rsp + 0xb8]
add rdx, rcx
mov rcx, rdx
mov rdx, rax
call fcn.14018fde0
mov dword [rsp + 0x74], eax
movzx eax, byte [rsp + 0x74]
mov ecx, dword [rsp + 0x38]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x38], eax
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xb8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xb0]
movzx eax, word [rax + 0xe]
cmp dword [rsp + 0x34], eax
jg 0x140135311
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x38]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 4
jge 0x1401352bd
mov dword [rsp + 0x30], 4
mov rax, qword [rsp + 0xc8]
mov ecx, dword [rsp + 0x30]
mov dword [rax], ecx
movsxd rax, dword [rsp + 0x40]
mov r8, rax
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x50]
call fcn.140293240
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
cdqe
movsxd rcx, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x50]
add rdx, rcx
mov rcx, rdx
mov r8, rax
xor edx, edx
call fcn.1402938e0
xor eax, eax
jmp 0x14013565f
mov rax, qword [rsp + 0xb0]
movzx eax, word [rax + 0x10]
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0x48]
mov ecx, dword [rcx + 0x38]
sub ecx, 4
xor edx, edx
div ecx
mov eax, edx
mov ecx, dword [rsp + 0x58]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xb0]
movzx eax, word [rax + 0xe]
cmp dword [rsp + 0x30], eax
jle 0x14013536b
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x38]
lea eax, [rax + rcx + 4]
mov rcx, qword [rsp + 0xc8]
mov dword [rcx], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x38]
add ecx, eax
mov eax, ecx
cdqe
mov rcx, qword [rsp + 0xb8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x88], 0
mov dword [rsp + 0x3c], 0
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0x60], rax
xor eax, eax
cmp eax, 1
je 0x140135650
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x30], eax
jle 0x1401353f7
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x40], eax
jl 0x14013541b
movsxd rax, dword [rsp + 0x30]
mov r8, rax
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x50]
call fcn.140293240
nop
jmp 0x140135459
cmp dword [rsp + 0x40], 0
jle 0x140135444
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x30], eax
movsxd rax, dword [rsp + 0x30]
mov r8, rax
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x50]
call fcn.140293240
nop
jmp 0x140135459
movsxd rax, dword [rsp + 0x30]
mov r8, rax
xor edx, edx
mov rcx, qword [rsp + 0x50]
call fcn.1402938e0
nop
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jg 0x140135475
jmp 0x140135650
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x40]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x48]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
jne 0x14013564b
mov qword [rsp + 0x80], 0
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x7c], eax
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0x21]
test eax, eax
je 0x140135521
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x60]
call fcn.14014f970
cmp eax, dword [rsp + 0x3c]
je 0x1401354eb
xor edx, edx
mov eax, dword [0x14031d268]
mov rcx, qword [rsp + 0x60]
div dword [rcx + 0x34]
inc eax
cmp dword [rsp + 0x3c], eax
je 0x1401354eb
mov byte [rsp + 0x20], 0
mov r9d, dword [rsp + 0x3c]
lea r8, [rsp + 0x3c]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
call fcn.14011d260
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0x21]
test eax, eax
je 0x1401355b4
cmp dword [rsp + 0x4c], 0
jne 0x1401355b4
cmp dword [rsp + 0x7c], 0
je 0x14013556b
mov dword [rsp + 0x78], 4
jmp 0x140135573
mov dword [rsp + 0x78], 3
movzx eax, byte [rsp + 0x78]
mov byte [rsp + 0x44], al
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x7c]
movzx r8d, byte [rsp + 0x44]
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x60]
call fcn.14014f9f0
cmp dword [rsp + 0x4c], 0
je 0x1401355b4
mov rcx, qword [rsp + 0x80]
call fcn.140151b60
nop
cmp dword [rsp + 0x4c], 0
je 0x1401355d1
mov rcx, qword [rsp + 0x88]
call fcn.140151b60
mov eax, dword [rsp + 0x4c]
jmp 0x14013565f
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x90]
call fcn.14018fda0
mov rcx, qword [rsp + 0x88]
call fcn.140151b60
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x90], rax
xor edx, edx
mov rcx, qword [rsp + 0x90]
call fcn.14018fda0
mov eax, 1
imul rax, rax, 4
mov rcx, qword [rsp + 0x80]
add rax, qword [rcx + 0x50]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x38]
sub eax, 4
mov dword [rsp + 0x48], eax
jmp 0x1401353d2
mov rcx, qword [rsp + 0x88]
call fcn.140151b60
xor eax, eax
add rsp, 0xa8
ret