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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0xc0]
call fcn.1401afeb0
mov dword [rsp + 0x50], eax
mov eax, 1
imul rax, rax, 0x24
mov rcx, qword [rsp + 0x60]
add rax, qword [rcx + 0x50]
mov rcx, rax
call fcn.140184140
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x54], eax
jb 0x1401b10e6
mov ecx, 0x11d6f
call fcn.1401482d0
jmp 0x1401b1bf3
cmp dword [rsp + 0x54], 0
jbe 0x1401b1977
mov byte [rsp + 0x24], 0
mov dword [rsp + 0x5c], 0
movzx eax, byte [rsp + 0xe0]
cmp eax, 1
jne 0x1401b1159
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0xd8], eax
ja 0x1401b1157
xor r9d, r9d
lea r8, [rsp + 0x38]
mov edx, dword [rsp + 0xd8]
mov rcx, qword [rsp + 0xc0]
call fcn.1401ad220
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1401b1148
mov eax, dword [rsp + 0x20]
jmp 0x1401b1bf3
movzx eax, byte [rsp + 0x38]
cmp eax, 2
jne 0x1401b1157
mov byte [rsp + 0x24], 1
jmp 0x1401b116b
movzx eax, byte [rsp + 0xe0]
cmp eax, 2
jne 0x1401b116b
mov byte [rsp + 0x24], 1
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x70]
call fcn.140138ca0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1401b118d
mov eax, dword [rsp + 0x20]
jmp 0x1401b1bf3
mov eax, dword [rsp + 0x54]
dec eax
mov ecx, 1
imul rcx, rcx, 0x24
mov rdx, qword [rsp + 0x60]
add rcx, qword [rdx + 0x50]
mov edx, eax
call fcn.140184170
nop
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1401b11df
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
add rax, qword [rcx + 0x50]
mov rcx, rax
call fcn.140184140
mov dword [rsp + 0x3c], eax
jmp 0x1401b11fd
mov eax, 1
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x60]
add rax, qword [rcx + 0x50]
mov rcx, rax
call fcn.140184140
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x3c], eax
ja 0x1401b1237
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x94], eax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x90], eax
mov eax, dword [rsp + 0x5c]
inc eax
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x90]
cmp dword [rsp + 0x94], eax
jbe 0x1401b1247
mov ecx, 0x11da7
call fcn.1401482d0
mov dword [rsp + 0x20], eax
jmp 0x1401b1264
xor r9d, r9d
lea r8, [rsp + 0x30]
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0xc0]
call fcn.1401b0030
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1401b1279
mov qword [rsp + 0x30], 0
jmp 0x1401b1bdb
mov eax, 1
imul rax, rax, 4
mov rcx, qword [rsp + 0x30]
add rax, qword [rcx + 0x50]
mov rcx, rax
call fcn.140184140
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0
jne 0x1401b1327
movzx eax, byte [rsp + 0x24]
test eax, eax
jne 0x1401b1327
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x70]
call fcn.140138ca0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1401b12c9
jmp 0x1401b1bdb
mov rax, qword [rsp + 0xd0]
mov ecx, dword [rsp + 0x3c]
mov dword [rax], ecx
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
add rax, qword [rcx + 0x50]
mov ecx, 1
imul rcx, rcx, 0x20
mov rdx, qword [rsp + 0x60]
add rcx, qword [rdx + 0x50]
mov r8d, 4
mov rdx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
mov qword [rsp + 0x30], 0
jmp 0x1401b1952
xor edx, edx
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x38]
mov ecx, 4
div ecx
sub eax, 2
cmp dword [rsp + 0x2c], eax
jbe 0x1401b135c
mov ecx, 0x11dc4
call fcn.1401482d0
mov dword [rsp + 0x20], eax
jmp 0x1401b1bdb
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x1401b1622
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0xd8], eax
je 0x1401b1398
mov eax, dword [rsp + 0xd8]
cmp dword [rsp + 0x3c], eax
jae 0x1401b1622
movzx eax, byte [rsp + 0xe0]
cmp eax, 2
jne 0x1401b1622
mov rax, qword [rsp + 0xd0]
mov ecx, dword [rsp + 0x3c]
mov dword [rax], ecx
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
mov byte [rsp + 0x24], 0
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x70]
call fcn.140138ca0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1401b13d9
jmp 0x1401b1bdb
cmp dword [rsp + 0x2c], 0
jne 0x1401b1477
cmp qword [rsp + 0x48], 0
jne 0x1401b1421
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
add rax, qword [rcx + 0x50]
mov ecx, 1
imul rcx, rcx, 0x20
mov rdx, qword [rsp + 0x60]
add rcx, qword [rdx + 0x50]
mov r8d, 4
mov rdx, rax
call sub.VCRUNTIME140.dll_memcpy
nop
jmp 0x1401b1472
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax + 0x70]
call fcn.140138ca0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1401b143f
jmp 0x1401b1bdb
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
add rax, qword [rcx + 0x50]
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x48]
add rcx, qword [rdx + 0x50]
mov r8d, 4
mov rdx, rax
call sub.VCRUNTIME140.dll_memcpy
nop
jmp 0x1401b1614
mov eax, 1
imul rax, rax, 8
mov rcx, qword [rsp + 0x30]
add rax, qword [rcx + 0x50]
mov rcx, rax
call fcn.140184140
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x58], eax
jbe 0x1401b14b2
mov ecx, 0x11de6
call fcn.1401482d0
mov dword [rsp + 0x20], eax
jmp 0x1401b1bdb
xor r9d, r9d
lea r8, [rsp + 0x70]
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0xc0]
call fcn.1401b0030
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1401b14db
jmp 0x1401b1bdb
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 0x70]
call fcn.140138ca0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1401b1504
mov rcx, qword [rsp + 0x70]
call fcn.1401ac810
nop
jmp 0x1401b1bdb
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
add rax, qword [rcx + 0x50]
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x70]
add rcx, qword [rdx + 0x50]
mov r8d, 4
mov rdx, rax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x2c]
dec eax
mov ecx, 1
imul rcx, rcx, 4
mov rdx, qword [rsp + 0x70]
add rcx, qword [rdx + 0x50]
mov edx, eax
call fcn.140184170
mov eax, dword [rsp + 0x2c]
lea eax, [rax*4 - 4]
mov eax, eax
mov ecx, 1
imul rcx, rcx, 0xc
mov rdx, qword [rsp + 0x30]
add rcx, qword [rdx + 0x50]
mov edx, 1
imul rdx, rdx, 8
mov r8, qword [rsp + 0x70]
add rdx, qword [r8 + 0x50]
mov qword [rsp + 0xa8], rdx
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0xa8]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rsp + 0x70]
call fcn.1401ac810
cmp qword [rsp + 0x48], 0
jne 0x1401b15d7
mov eax, 1
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x60]
add rax, qword [rcx + 0x50]
mov edx, dword [rsp + 0x58]
mov rcx, rax
call fcn.140184170
nop
jmp 0x1401b1614
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax + 0x70]
call fcn.140138ca0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1401b15f5
jmp 0x1401b1bdb
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
add rax, qword [rcx + 0x50]
mov edx, dword [rsp + 0x58]
mov rcx, rax
call fcn.140184170
nop
mov qword [rsp + 0x30], 0
jmp 0x1401b1952
cmp dword [rsp + 0x2c], 0
jbe 0x1401b1952
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x68], rax
cmp dword [rsp + 0xd8], 0
jbe 0x1401b175a
mov dword [rsp + 0x44], 0
movzx eax, byte [rsp + 0xe0]
cmp eax, 2
jne 0x1401b16be
mov dword [rsp + 0x28], 0
jmp 0x1401b1672
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x28], eax
jae 0x1401b16b9
mov eax, dword [rsp + 0x28]
lea eax, [rax*4 + 8]
mov eax, eax
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140184140
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0xd8]
cmp dword [rsp + 0x40], eax
ja 0x1401b16b7
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x44], eax
jmp 0x1401b16b9
jmp 0x1401b1668
jmp 0x1401b1758
mov eax, 1
imul rax, rax, 8
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140184140
sub eax, dword [rsp + 0xd8]
mov ecx, eax
call fcn.140177900
mov dword [rsp + 0x7c], eax
mov dword [rsp + 0x28], 1
jmp 0x1401b1700
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x28], eax
jae 0x1401b1758
mov eax, dword [rsp + 0x28]
lea eax, [rax*4 + 8]
mov eax, eax
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140184140
sub eax, dword [rsp + 0xd8]
mov ecx, eax
call fcn.140177900
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x7c]
cmp dword [rsp + 0x78], eax
jge 0x1401b1756
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x7c], eax
jmp 0x1401b16f6
jmp 0x1401b1762
mov dword [rsp + 0x44], 0
mov eax, dword [rsp + 0x44]
lea eax, [rax*4 + 8]
mov eax, eax
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140184140
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x40], eax
ja 0x1401b1797
cmp dword [rsp + 0x40], 2
jae 0x1401b17aa
mov ecx, 0x11e27
call fcn.1401482d0
mov dword [rsp + 0x20], eax
jmp 0x1401b1bdb
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x1401b17e2
mov eax, dword [rsp + 0xd8]
cmp dword [rsp + 0x40], eax
je 0x1401b17e2
mov eax, dword [rsp + 0xd8]
cmp dword [rsp + 0x40], eax
jae 0x1401b1952
movzx eax, byte [rsp + 0xe0]
cmp eax, 2
jne 0x1401b1952
mov rax, qword [rsp + 0xd0]
mov ecx, dword [rsp + 0x40]
mov dword [rax], ecx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x70]
call fcn.140138ca0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1401b180e
jmp 0x1401b1bdb
mov eax, dword [rsp + 0x2c]
dec eax
cmp dword [rsp + 0x44], eax
jae 0x1401b1859
mov eax, dword [rsp + 0x2c]
lea eax, [rax*4 + 4]
mov eax, eax
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x44]
lea ecx, [rcx*4 + 8]
mov ecx, ecx
mov rdx, qword [rsp + 0x68]
add rdx, rcx
mov rcx, rdx
mov r8d, 4
mov rdx, rax
call sub.VCRUNTIME140.dll_memcpy
nop
mov eax, dword [rsp + 0x2c]
dec eax
mov ecx, 1
imul rcx, rcx, 4
mov rdx, qword [rsp + 0x68]
add rdx, rcx
mov rcx, rdx
mov edx, eax
call fcn.140184170
mov rax, qword [rsp + 0xd0]
mov edx, dword [rax]
mov rcx, qword [rsp + 0xc0]
call fcn.1401aca20
test eax, eax
jne 0x1401b18a2
mov dword [rsp + 0x80], 1
jmp 0x1401b18ad
mov dword [rsp + 0x80], 0
cmp dword [rsp + 0x80], 0
je 0x1401b18c4
mov dword [rsp + 0x84], 1
jmp 0x1401b18cf
mov dword [rsp + 0x84], 0
mov eax, dword [rsp + 0x84]
mov dword [rsp + 0x98], eax
mov r9d, dword [rsp + 0x98]
mov r8, qword [rsp + 0xc8]
mov rax, qword [rsp + 0xd0]
mov edx, dword [rax]
mov rcx, qword [rsp + 0xc0]
call fcn.1401b0030
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x1401b194d
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax]
mov rcx, qword [rax + 0x70]
call fcn.140138ca0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1401b194d
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rax]
call fcn.1401ac810
mov rax, qword [rsp + 0xc8]
mov qword [rax], 0
mov byte [rsp + 0x24], 0
mov rcx, qword [rsp + 0x48]
call fcn.1401ac810
mov qword [rsp + 0x48], 0
movzx eax, byte [rsp + 0x24]
test eax, eax
jne 0x1401b11ad
jmp 0x1401b1bdb
mov rax, qword [rsp + 0xc0]
movzx eax, byte [rax + 0x23]
test eax, eax
jne 0x1401b1994
mov dword [rsp + 0x88], 1
jmp 0x1401b199f
mov dword [rsp + 0x88], 0
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x8c], eax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x18]
mov rcx, qword [rax + 0x70]
call fcn.140138ca0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1401b19d6
mov eax, dword [rsp + 0x20]
jmp 0x1401b1bf3
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x40]
inc eax
mov rcx, qword [rsp + 0xc0]
mov dword [rcx + 0x40], eax
xor edx, edx
mov eax, dword [0x1402788a8]
mov rcx, qword [rsp + 0xc0]
div dword [rcx + 0x34]
inc eax
mov rcx, qword [rsp + 0xc0]
cmp dword [rcx + 0x40], eax
jne 0x1401b1a28
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x40]
inc eax
mov rcx, qword [rsp + 0xc0]
mov dword [rcx + 0x40], eax
mov rax, qword [rsp + 0xc0]
movzx eax, byte [rax + 0x21]
test eax, eax
je 0x1401b1b29
mov rax, qword [rsp + 0xc0]
mov edx, dword [rax + 0x40]
mov rcx, qword [rsp + 0xc0]
call fcn.1401ad000
mov rcx, qword [rsp + 0xc0]
cmp eax, dword [rcx + 0x40]
jne 0x1401b1b29
mov qword [rsp + 0xa0], 0
mov r9d, dword [rsp + 0x8c]
lea r8, [rsp + 0xa0]
mov rax, qword [rsp + 0xc0]
mov edx, dword [rax + 0x40]
mov rcx, qword [rsp + 0xc0]
call fcn.1401b0030
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x1401b1ac7
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x70]
call fcn.140138ca0
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0xa0]
call fcn.1401ac810
nop
cmp dword [rsp + 0x20], 0
je 0x1401b1ad7
mov eax, dword [rsp + 0x20]
jmp 0x1401b1bf3
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x40]
inc eax
mov rcx, qword [rsp + 0xc0]
mov dword [rcx + 0x40], eax
xor edx, edx
mov eax, dword [0x1402788a8]
mov rcx, qword [rsp + 0xc0]
div dword [rcx + 0x34]
inc eax
mov rcx, qword [rsp + 0xc0]
cmp dword [rcx + 0x40], eax
jne 0x1401b1b29
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x40]
inc eax
mov rcx, qword [rsp + 0xc0]
mov dword [rcx + 0x40], eax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x50]
add rax, 0x1c
mov rcx, qword [rsp + 0xc0]
mov edx, dword [rcx + 0x40]
mov rcx, rax
call fcn.140184170
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xc0]
mov ecx, dword [rcx + 0x40]
mov dword [rax], ecx
mov r9d, dword [rsp + 0x8c]
mov r8, qword [rsp + 0xc8]
mov rax, qword [rsp + 0xd0]
mov edx, dword [rax]
mov rcx, qword [rsp + 0xc0]
call fcn.1401b0030
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1401b1b9d
mov eax, dword [rsp + 0x20]
jmp 0x1401b1bf3
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax]
mov rcx, qword [rax + 0x70]
call fcn.140138ca0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1401b1bdb
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rax]
call fcn.1401ac810
mov rax, qword [rsp + 0xc8]
mov qword [rax], 0
mov rcx, qword [rsp + 0x30]
call fcn.1401ac810
mov rcx, qword [rsp + 0x48]
call fcn.1401ac810
mov eax, dword [rsp + 0x20]
add rsp, 0xb8
ret