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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov dword [rsp + 0x24], 0
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax + 0x10]
mov eax, dword [rax + 0x10]
and eax, 2
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax + 0x10]
mov eax, dword [rax + 0x10]
and eax, 1
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax + 0x10]
mov eax, dword [rax + 0x10]
and eax, 4
mov dword [rsp + 0x98], eax
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax + 0x10]
mov eax, dword [rax + 0x10]
and eax, 8
mov dword [rsp + 0x94], eax
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax + 0x10]
mov eax, dword [rax + 0x10]
and eax, 0x10
mov dword [rsp + 0x90], eax
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax + 0x10]
mov eax, dword [rax + 0x10]
and eax, 0x20
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xd8]
mov eax, dword [rax + 8]
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xd0]
movzx eax, byte [rax + 0x1cf]
test eax, eax
je 0x140220e4a
lea rax, [0x140238780]
mov qword [rsp + 0xa8], rax
jmp 0x140220e59
lea rax, [0x1402386b0]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xd8]
cmp dword [rax + 8], 0
jne 0x140220e7e
xor eax, eax
jmp 0x14022160e
mov dword [rsp + 0x38], 0
jmp 0x140220e92
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0xd8]
mov eax, dword [rax + 0xc]
cmp dword [rsp + 0x38], eax
jge 0x140220f07
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
movzx eax, byte [rax + 4]
test eax, eax
je 0x140220ed9
mov rcx, qword [rsp + 0xa0]
call fcn.140237990
nop
jmp 0x140220ef5
xor r8d, r8d
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xd0]
call fcn.1402379f0
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x140220f05
mov eax, dword [rsp + 0x24]
jmp 0x14022160e
jmp 0x140220e88
lea r9, [0x140238590]
mov rax, qword [rsp + 0xd8]
mov r8d, dword [rax + 0xc]
mov edx, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
call fcn.140238900
mov rax, qword [rsp + 0xd8]
mov dword [rax + 0xc], 0
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx + rax]
cmp qword [rax + 0x28], 0
jne 0x140220f55
jmp 0x14022160a
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx + rax]
mov rcx, qword [rsp + 0xd8]
mov eax, dword [rax + 0x48]
mov dword [rcx + 0x40], eax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx + rax]
mov rcx, qword [rsp + 0xd8]
mov rax, qword [rax + 0x50]
mov qword [rcx + 0x38], rax
mov rax, qword [rsp + 0x50]
cmp qword [rax], 0
je 0x14022100e
cmp dword [rsp + 0x90], 0
jne 0x14022100e
mov rax, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x50]
mov ecx, dword [rcx + 8]
cmp dword [rax + 0x40], ecx
jl 0x140221009
cmp dword [rsp + 0x94], 0
jne 0x140220fe0
mov rax, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x50]
mov ecx, dword [rcx + 8]
cmp dword [rax + 0x40], ecx
jg 0x140221009
mov rax, qword [rsp + 0x50]
movsxd rax, dword [rax + 8]
mov r8, rax
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax]
mov rax, qword [rsp + 0xd8]
mov rcx, qword [rax + 0x38]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14022100e
jmp 0x14022160a
mov dword [rsp + 0x28], 1
mov eax, dword [rsp + 0x60]
cmp dword [rsp + 0x28], eax
jge 0x140221095
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx + rax*8]
cmp qword [rax + 0x28], 0
je 0x140221095
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rsp + 0xd8]
mov ecx, dword [rcx + 0x40]
cmp dword [rax + 0x48], ecx
jne 0x140221095
mov rax, qword [rsp + 0xd8]
movsxd rax, dword [rax + 0x40]
movsxd rcx, dword [rsp + 0x28]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rdx + rcx*8]
mov r8, rax
mov rdx, qword [rcx + 0x50]
mov rax, qword [rsp + 0xd8]
mov rcx, qword [rax + 0x38]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140221095
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
jmp 0x140221016
cmp dword [rsp + 0x28], 1
jne 0x1402211be
cmp dword [rsp + 0x68], 0
jne 0x1402211be
cmp dword [rsp + 0x70], 0
jne 0x1402211be
mov rax, qword [rsp + 0xd0]
movzx eax, byte [rax + 0x1cf]
test eax, eax
je 0x1402210ff
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx + rax]
cmp qword [rax + 0x40], 0
je 0x1402210ec
mov dword [rsp + 0x64], 1
jmp 0x1402210f4
mov dword [rsp + 0x64], 0
cmp dword [rsp + 0x64], 0
jne 0x1402211be
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx + rax]
mov rcx, qword [rsp + 0xd8]
mov eax, dword [rax + 0x68]
mov dword [rcx + 0x50], eax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx + rax]
cmp qword [rax + 0x40], 0
je 0x140221188
mov rax, qword [rsp + 0xd8]
movsxd rax, dword [rax + 0x50]
mov ecx, 8
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rdx + rcx]
mov r8, rax
mov rdx, qword [rcx + 0x60]
mov rcx, qword [rsp + 0xd8]
call fcn.14023a2c0
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xd8]
mov rcx, qword [rcx + 0x18]
mov qword [rax + 0x48], rcx
jmp 0x1402211aa
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx + rax]
mov rcx, qword [rsp + 0xd8]
mov rax, qword [rax + 0x60]
mov qword [rcx + 0x48], rax
cmp dword [rsp + 0x24], 0
jne 0x1402211b9
mov dword [rsp + 0x24], 0x64
jmp 0x1402215f0
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x38], 0
jmp 0x1402211e3
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x38], eax
jge 0x14022120b
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rcx + rax*8]
mov rcx, qword [rsp + 0xd0]
call fcn.1402380c0
nop
jmp 0x1402211d9
mov r9, qword [rsp + 0xb0]
mov r8d, dword [rsp + 0x28]
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
call fcn.140238900
nop
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx + rax]
cmp qword [rax + 0x70], 0
je 0x140221565
mov qword [rsp + 0x88], 0
mov dword [rsp + 0x3c], 0
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx + rax]
mov rax, qword [rax + 0x80]
mov qword [rsp + 0x48], rax
mov eax, 8
imul rax, rax, 0
lea r9, [rsp + 0x3c]
lea r8, [rsp + 0x88]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rcx + rax]
mov rcx, qword [rsp + 0xd0]
call fcn.1402381e0
mov dword [rsp + 0x40], 1
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x40], eax
jge 0x140221312
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx + rax*8]
cmp qword [rax + 0x70], 0
je 0x140221312
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rsp + 0x48]
cmp qword [rax + 0x80], rcx
jne 0x140221312
movsxd rax, dword [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rcx + rax*8]
mov rcx, qword [rsp + 0xd0]
call fcn.1402381e0
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
jmp 0x1402212aa
cmp dword [rsp + 0x98], 0
je 0x140221339
lea r9, [rsp + 0x3c]
lea r8, [rsp + 0x88]
xor edx, edx
mov rax, qword [rsp + 0x50]
mov ecx, dword [rax + 0xc]
call fcn.14023a0d0
nop
cmp dword [rsp + 0x68], 0
je 0x14022134b
cmp dword [rsp + 0x3c], 0
jle 0x140221544
mov rax, qword [rsp + 0xd0]
movzx eax, byte [rax + 0x1cf]
test eax, eax
je 0x140221395
cmp dword [rsp + 0x20], 0
jle 0x140221395
mov rax, qword [rsp + 0x48]
cmp qword [rsp + 0x58], rax
jg 0x14022137b
mov eax, 0x10b
jmp 0x14022160e
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x58]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
jmp 0x1402213ca
cmp dword [rsp + 0x20], 0
jle 0x1402213b2
mov rax, qword [rsp + 0x48]
cmp qword [rsp + 0x58], rax
jl 0x1402213b2
mov eax, 0x10b
jmp 0x14022160e
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
cmp dword [rsp + 0x78], 0
je 0x1402213dd
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x6c], eax
jmp 0x1402213e5
mov dword [rsp + 0x6c], 0
mov rcx, qword [rsp + 0x80]
call fcn.140222350
add eax, dword [rsp + 0x6c]
mov dword [rsp + 0x9c], eax
movsxd rax, dword [rsp + 0x9c]
movsxd rcx, dword [rsp + 0x20]
lea rax, [rax + rcx + 0x14]
mov rdx, rax
mov rcx, qword [rsp + 0xd8]
call fcn.14023a490
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x140221433
mov eax, dword [rsp + 0x24]
jmp 0x14022160e
cmp dword [rsp + 0x70], 0
je 0x1402214a5
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0xd8]
mov rcx, qword [rcx + 0x18]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb8], rax
mov r9, qword [rsp + 0xb8]
mov r8d, dword [rsp + 0x3c]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call fcn.140222830
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
je 0x1402214a0
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x74]
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
jmp 0x140221544
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0xd8]
mov rcx, qword [rcx + 0x18]
add rcx, rax
mov rax, rcx
mov rdx, qword [rsp + 0x80]
mov rcx, rax
call fcn.140221e90
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x58], rax
cmp dword [rsp + 0x78], 0
je 0x140221544
movsxd rax, dword [rsp + 0x3c]
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0xd8]
mov rdx, qword [rdx + 0x18]
add rdx, rcx
mov rcx, rdx
mov r8, rax
mov rdx, qword [rsp + 0x88]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0xd8]
mov rcx, qword [rcx + 0x18]
mov byte [rcx + rax], 0
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0xb0]
mov r8d, dword [rsp + 0x40]
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
call fcn.140238900
nop
jmp 0x140221227
cmp dword [rsp + 0x20], 0
jle 0x1402215f0
movsxd rax, dword [rsp + 0x20]
add rax, 0x14
mov rdx, rax
mov rcx, qword [rsp + 0xd8]
call fcn.14023a490
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x14022159a
mov eax, dword [rsp + 0x24]
jmp 0x14022160e
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0xd8]
mov rcx, qword [rcx + 0x18]
add rcx, rax
mov rax, rcx
mov r8d, 0x14
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xd8]
mov rcx, qword [rcx + 0x18]
mov qword [rax + 0x48], rcx
mov rax, qword [rsp + 0xd8]
mov ecx, dword [rsp + 0x20]
mov dword [rax + 0x50], ecx
mov dword [rsp + 0x24], 0x64
mov rax, qword [rsp + 0xd8]
mov ecx, dword [rsp + 0x28]
mov dword [rax + 0xc], ecx
cmp dword [rsp + 0x24], 0
je 0x140220e7e
mov eax, dword [rsp + 0x24]
add rsp, 0xc8
ret