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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x1a8
mov eax, 0xffffffff
mov word [rsp + 0x80], ax
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x64], 1
mov rax, qword [rsp + 0x1b0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x1b0]
mov rax, qword [rax]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 8]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x10]
imul rax, rax, 0x68
mov rcx, qword [rsp + 0xe0]
lea rax, [rcx + rax + 8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x1b0]
mov rax, qword [rax + 8]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x40]
shr eax, 1
and eax, 1
test eax, eax
je 0x14020cbd5
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x60]
mov qword [rsp + 0x40], rax
jmp 0x14020cd07
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x30]
and eax, 0x80
test eax, eax
je 0x14020cbf9
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x40], rax
jmp 0x14020cd07
mov r8d, 0xa0
xor edx, edx
lea rcx, [rsp + 0x100]
call sub.VCRUNTIME140.dll_memset
mov eax, 1
mov word [rsp + 0x15e], ax
mov eax, 1
mov word [rsp + 0x160], ax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x108], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x110], rax
mov byte [rsp + 0x162], 5
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x118], rax
mov eax, 3
mov word [rsp + 0x15c], ax
mov eax, dword [rsp + 0x164]
or eax, 3
mov dword [rsp + 0x164], eax
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x58]
movzx ecx, word [rcx + 0x3a]
mov word [rsp + rax + 0xa0], cx
mov qword [rsp + 0xc8], 2
cmp qword [rsp + 0xc8], 4
jae 0x14020ccae
jmp 0x14020ccb4
call fcn.14028bb58
nop
xor eax, eax
mov rcx, qword [rsp + 0xc8]
mov word [rsp + rcx + 0xa0], ax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x20]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x40]
and eax, 1
test eax, eax
jne 0x14020ccfa
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x128], rax
lea rax, [rsp + 0x100]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 0x3a]
mov word [rsp + 0x38], ax
mov rax, qword [rsp + 0x1b0]
cmp qword [rax + 0x18], 0
jne 0x14020cfd0
mov rax, qword [rsp + 0x78]
movzx eax, word [rax + 0x3c]
and eax, 0x1020
test eax, eax
jne 0x14020cfd0
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov rax, qword [rax]
mov rax, qword [rax + 0x30]
and rax, 0x8000
test rax, rax
je 0x14020cfd0
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x40]
shr eax, 1
and eax, 1
test eax, eax
jne 0x14020cfd0
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x40]
and eax, 1
test eax, eax
jne 0x14020cfd0
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x30]
and eax, 0x80
test eax, eax
jne 0x14020cfd0
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x40]
shr eax, 3
and eax, 1
test eax, eax
jne 0x14020cfd0
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x40]
shr eax, 6
and eax, 1
test eax, eax
jne 0x14020cfd0
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0x3c]
and eax, 0x10
test eax, eax
jne 0x14020cfd0
mov rax, qword [rsp + 0x98]
movsxd rax, dword [rax + 0x14]
imul rax, rax, 0x38
mov rcx, qword [rsp + 0x98]
add rax, qword [rcx + 0x20]
mov qword [rsp + 0xf0], rax
movzx ecx, word [rsp + 0x38]
call fcn.1402070a0
mov word [rsp + 0x60], ax
mov rax, qword [rsp + 0x98]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x90], rax
jmp 0x14020ce36
mov rax, qword [rsp + 0x90]
add rax, 0x38
mov qword [rsp + 0x90], rax
cmp dword [rsp + 0x50], 0
jne 0x14020cfd0
mov rax, qword [rsp + 0xf0]
cmp qword [rsp + 0x90], rax
jae 0x14020cfd0
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 8]
mov rax, qword [rax + 0x28]
and rax, rcx
test rax, rax
je 0x14020ce76
jmp 0x14020ce22
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x90]
call fcn.140207280
test eax, eax
je 0x14020cfcb
mov eax, 1
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x18], ax
xor eax, eax
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x3e], ax
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x20], 0
mov eax, 1
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x3c], ax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x48]
mov rdx, qword [rsp + 0x90]
mov qword [rax + rcx], rdx
movsx eax, word [rsp + 0x60]
movsx ecx, word [rsp + 0x38]
add eax, ecx
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x12], ax
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + 0x3f]
cmp eax, 2
je 0x14020cf30
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x30]
and eax, 0x4000
test eax, eax
jne 0x14020cf30
mov rax, qword [rsp + 0x30]
movsx eax, word [rax + 0x12]
add eax, 0x1c
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x12], ax
jmp 0x14020cf45
mov rax, qword [rsp + 0x30]
movsx eax, word [rax + 0x12]
sub eax, 0x19
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x12], ax
mov rax, qword [rsp + 0x30]
movsx eax, word [rax + 0x12]
test eax, eax
jge 0x14020cf5d
xor eax, eax
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x12], ax
mov eax, 0x2b
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x16], ax
mov rax, qword [rsp + 0x30]
movzx edx, word [rax + 0x16]
movzx ecx, word [rsp + 0x60]
call fcn.140178500
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x14], ax
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x38], 0x4000
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x28]
mov rcx, qword [rsp + 0x1b8]
or rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x30]
mov qword [rcx], rax
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x1b0]
call fcn.14020a870
mov dword [rsp + 0x50], eax
jmp 0x14020ce22
jmp 0x14020d019
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x40]
shr eax, 1
and eax, 1
test eax, eax
je 0x14020cff1
mov qword [rsp + 0xd0], 0
jmp 0x14020d002
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x64]
inc eax
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x50], 0
jne 0x14020d695
cmp qword [rsp + 0x40], 0
je 0x14020d695
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x48], 0
je 0x14020d06c
mov rax, qword [rsp + 0x40]
mov r9, qword [rax + 0x48]
mov r8, qword [rsp + 0x98]
mov rax, qword [rsp + 0x48]
movzx edx, byte [rax + 0x3c]
mov rax, qword [rsp + 0x48]
mov ecx, dword [rax + 0x44]
call fcn.14020c320
test eax, eax
jne 0x14020d06c
jmp 0x14020cfd2
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x64]
shr eax, 9
and eax, 1
test eax, eax
je 0x14020d083
jmp 0x14020cfd2
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x10]
movzx eax, word [rax + rcx]
mov word [rsp + 0x38], ax
xor eax, eax
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x18], ax
xor eax, eax
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x1a], ax
xor eax, eax
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x1c], ax
xor eax, eax
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x3e], ax
xor eax, eax
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x3c], ax
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x11], 0
xor eax, eax
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x12], ax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x1b8]
mov qword [rax], rcx
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x38]
mov word [rax + 0x16], cx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x48]
mov r8d, dword [rax + 0x44]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x1b0]
call fcn.14020c150
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x64]
and eax, 3
cmp eax, 3
jne 0x14020d21b
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x38], 0x100
cmp dword [rsp + 0x88], 0
je 0x14020d16e
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0xa4], eax
jmp 0x14020d179
mov dword [rsp + 0xa4], 0
mov rax, qword [rsp + 0x30]
movzx ecx, byte [rsp + 0xa4]
mov byte [rax + 0x11], cl
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x30]
and eax, 0x2000
test eax, eax
je 0x14020d1a7
mov dword [rsp + 0xa8], 1
jmp 0x14020d1b2
mov dword [rsp + 0xa8], 0
movsx eax, word [rsp + 0x38]
add eax, 0x10
mov ecx, dword [rsp + 0xa8]
shl ecx, 1
sub eax, ecx
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x14], ax
movzx r8d, word [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x98]
call fcn.14020aab0
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x1b0]
call fcn.14020a870
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x38]
mov word [rax + 0x16], cx
cmp dword [rsp + 0x50], 0
je 0x14020d216
jmp 0x14020d695
jmp 0x14020d611
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x64]
shr eax, 5
and eax, 1
test eax, eax
je 0x14020d247
mov qword [rsp + 0x70], 0
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x38], 0x240
jmp 0x14020d358
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x98]
mov rax, qword [rax + 0x50]
and rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x48], 0
je 0x14020d2a2
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x70]
mov rax, qword [rsp + 0x40]
mov r8, qword [rax + 0x48]
mov rdx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x78]
mov rcx, qword [rax]
call fcn.14020c820
nop
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x38], 0x200
movabs rax, 0x8000000000000000
cmp qword [rsp + 0x70], rax
je 0x14020d2eb
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x64]
shr eax, 0xc
and eax, 1
test eax, eax
je 0x14020d344
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x64]
shr eax, 0xb
and eax, 1
test eax, eax
jne 0x14020d344
cmp qword [rsp + 0x70], 0
je 0x14020d344
mov rax, qword [rsp + 0x48]
mov r8d, dword [rax + 0x44]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x78]
call fcn.14020c660
mov dword [rsp + 0x84], eax
cmp dword [rsp + 0x84], 0
jne 0x14020d316
jmp 0x14020d342
mov qword [rsp + 0x70], 0
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x84]
mov eax, dword [rax + 0x38]
or eax, ecx
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x38], eax
mov eax, dword [rsp + 0x84]
and eax, 0x40
jmp 0x14020d358
cmp qword [rsp + 0x70], 0
jne 0x14020d358
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x38], 0x240
cmp dword [rsp + 0x88], 0
jne 0x14020d414
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x30]
and eax, 0x80
test eax, eax
jne 0x14020d414
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x48], 0
jne 0x14020d414
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x40]
shr eax, 1
and eax, 1
test eax, eax
jne 0x14020d414
cmp qword [rsp + 0x70], 0
jne 0x14020d611
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x64]
shr eax, 2
and eax, 1
test eax, eax
jne 0x14020d611
mov rax, qword [rsp + 0x40]
movsx eax, word [rax + 0x5c]
mov rcx, qword [rsp + 0x58]
movsx ecx, word [rcx + 0x3c]
cmp eax, ecx
jge 0x14020d611
mov rax, qword [rsp + 0x78]
movzx eax, word [rax + 0x3c]
and eax, 4
test eax, eax
jne 0x14020d611
movzx eax, byte [0x14031e037]
test eax, eax
je 0x14020d611
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov rax, qword [rax]
mov eax, dword [rax + 0x60]
and eax, 0x20
test eax, eax
jne 0x14020d611
cmp dword [rsp + 0x88], 0
je 0x14020d42b
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0xac], eax
jmp 0x14020d436
mov dword [rsp + 0xac], 0
mov rax, qword [rsp + 0x30]
movzx ecx, byte [rsp + 0xac]
mov byte [rax + 0x11], cl
movsx eax, word [rsp + 0x38]
mov dword [rsp + 0xbc], eax
mov rcx, qword [rsp + 0x40]
movsx ecx, word [rcx + 0x5c]
imul ecx, ecx, 0xf
mov rdx, qword [rsp + 0x58]
movsx edx, word [rdx + 0x3c]
mov dword [rsp + 0xb8], edx
mov eax, ecx
cdq
mov ecx, dword [rsp + 0xb8]
idiv ecx
mov ecx, dword [rsp + 0xbc]
lea eax, [rcx + rax + 1]
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x14], ax
cmp qword [rsp + 0x70], 0
je 0x14020d5ab
movsx eax, word [rsp + 0x38]
add eax, 0x10
mov word [rsp + 0x3c], ax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x44]
mov dword [rsp + 0xc0], eax
mov rax, qword [rsp + 0x78]
add rax, 0x70
mov qword [rsp + 0xd8], rax
mov dword [rsp + 0x68], 0
jmp 0x14020d4db
mov eax, dword [rsp + 0x68]
inc eax
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0xd8]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x68], eax
jge 0x14020d58f
movsxd rax, dword [rsp + 0x68]
imul rax, rax, 0x38
mov rcx, qword [rsp + 0xd8]
add rax, qword [rcx + 0x20]
mov qword [rsp + 0xb0], rax
mov r8, qword [rsp + 0x40]
mov edx, dword [rsp + 0xc0]
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rax]
call fcn.14016e1a0
test eax, eax
jne 0x14020d52f
jmp 0x14020d58f
mov rax, qword [rsp + 0xb0]
movsx eax, word [rax + 0x10]
test eax, eax
jg 0x14020d55b
mov rax, qword [rsp + 0xb0]
movsx eax, word [rax + 0x10]
movsx ecx, word [rsp + 0x3c]
add ecx, eax
mov eax, ecx
mov word [rsp + 0x3c], ax
jmp 0x14020d58a
movzx eax, word [rsp + 0x3c]
dec ax
mov word [rsp + 0x3c], ax
mov rax, qword [rsp + 0xb0]
movzx eax, word [rax + 0x14]
and eax, 0x82
test eax, eax
je 0x14020d58a
movsx eax, word [rsp + 0x3c]
sub eax, 0x13
mov word [rsp + 0x3c], ax
jmp 0x14020d4d1
movzx edx, word [rsp + 0x3c]
mov rax, qword [rsp + 0x30]
movzx ecx, word [rax + 0x14]
call fcn.140178500
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x14], ax
movzx r8d, word [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x98]
call fcn.14020aab0
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0x3c]
and eax, 0x10
test eax, eax
je 0x14020d5e1
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x50], 0
je 0x14020d5e1
jmp 0x14020d5f7
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x1b0]
call fcn.14020a870
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x38]
mov word [rax + 0x16], cx
cmp dword [rsp + 0x50], 0
je 0x14020d611
jmp 0x14020d695
mov rax, qword [rsp + 0x1b0]
mov byte [rax + 0x2c], 0
xor r9d, r9d
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x1b0]
call fcn.14020afd0
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x1b0]
movzx eax, byte [rax + 0x2c]
cmp eax, 1
jne 0x14020d660
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x30]
bts eax, 8
mov rcx, qword [rsp + 0x58]
mov dword [rcx + 0x30], eax
mov rax, qword [rsp + 0x1b0]
mov rcx, qword [rax + 0x20]
call fcn.1401829e0
mov rax, qword [rsp + 0x1b0]
mov dword [rax + 0x28], 0
mov rax, qword [rsp + 0x1b0]
mov qword [rax + 0x20], 0
jmp 0x14020cfd2
mov eax, dword [rsp + 0x50]
add rsp, 0x1a8
ret