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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [0x1403cdfa8]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov r12, rcx
mov qword [rbp - 0x60], rcx
xor ecx, ecx
mov qword [rbp - 0x48], r8
and dword [rsp + 0x58], ecx
mov rsi, r8
and dword [rbp - 0x68], ecx
mov ebx, edx
mov dword [rbp - 0x70], edx
xor edi, edi
mov dword [rsp + 0x40], ecx
xor r13d, r13d
xor edx, edx
mov dword [rbp - 0x50], r9d
lea rcx, [rbp + 0x108]
mov dword [rsp + 0x68], edi
mov dword [rsp + 0x44], edi
lea r8d, [r13 + 5]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea r8d, [r13 + 0x68]
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [r12 + 0x48]
mov qword [rbp - 0x80], rax
test rsi, rsi
jne 0x1401f7c90
lea eax, [rsi + 7]
jmp 0x1401f8f3b
movzx ecx, word [r12 + 0x18]
movzx edx, byte [r12 + 0xc]
lea esi, [rdx + rcx]
cmp esi, 2
jae 0x1401f7ca9
xor r8d, r8d
jmp 0x1401f7cd6
test ebx, ebx
jne 0x1401f7cb2
xor r8d, r8d
jmp 0x1401f7cc9
cmp ebx, esi
jne 0x1401f7cc5
mov eax, dword [rbp + 0x180]
lea r8d, [rax - 2]
add r8d, esi
jmp 0x1401f7ccf
lea r8d, [rbx - 1]
mov eax, dword [rbp + 0x180]
mov esi, 2
sub esi, eax
mov eax, r8d
mov dword [rsp + 0x54], r8d
sub eax, edx
mov dword [rsp + 0x78], esi
add eax, esi
lea ebx, [rsi + 1]
mov dword [rbp - 0x64], ebx
cmp eax, ecx
jne 0x1401f7cfc
movzx ecx, byte [r12 + 9]
add rcx, 8
jmp 0x1401f7d1a
add eax, eax
movsxd rcx, eax
mov rax, qword [r12 + 0x60]
movzx edx, word [rcx + rax]
movzx eax, word [r12 + 0x1a]
ror dx, 8
movzx ecx, dx
and rcx, rax
add rcx, qword [r12 + 0x50]
mov qword [rbp - 0x58], rcx
call fcn.1402678cc
mov ecx, eax
mov dword [rsp + 0x70], eax
mov dword [rbp - 0x78], eax
lea r15, [rbp + 0x40]
movsxd rax, esi
movsxd rdx, ebx
mov qword [rsp + 0x60], rdx
lea r15, [r15 + rax*4]
shl rax, 3
mov qword [rbp - 0x40], rax
mov r14, rax
movsxd rbx, esi
shl rbx, 3
test edi, edi
jne 0x1401f8ea8
and dword [rsp + 0x20], edi
lea r8, [rbp + 0x88]
mov edx, ecx
add r8, rbx
mov rcx, qword [rbp - 0x80]
xor r9d, r9d
call fcn.14022deb8
mov dword [rsp + 0x68], eax
mov edi, eax
mov dword [rsp + 0x44], eax
test eax, eax
jne 0x1401f8ea8
mov rcx, qword [rbp + r14 + 0x88]
cmp dword [rcx + 0x14], eax
jge 0x1401f7db0
call fcn.1401f974c
mov dword [rsp + 0x68], eax
mov edi, eax
mov dword [rsp + 0x44], eax
test eax, eax
jne 0x1401f7ee2
mov rax, qword [rbp + r14 + 0x88]
add r13d, 4
sub r15, 4
sub r14, 8
movzx ecx, word [rax + 0x18]
mov eax, esi
add r13d, ecx
dec esi
test eax, eax
je 0x1401f7eea
cmp byte [r12 + 0xc], 0
je 0x1401f7e24
mov eax, dword [rsp + 0x54]
movzx ecx, word [r12 + 0x1c]
add eax, esi
cmp eax, ecx
jne 0x1401f7e24
mov rbx, qword [r12 + 0x28]
mov rcx, rbx
mov qword [rbp + r14 + 0x58], rbx
call fcn.1402678cc
mov rdx, rbx
mov dword [rsp + 0x70], eax
mov rcx, r12
mov dword [rbp - 0x78], eax
call qword [r12 + 0x78]
movzx eax, ax
mov dword [r15], eax
mov byte [r12 + 0xc], 0
jmp 0x1401f7ed9
movzx eax, byte [r12 + 0xc]
mov ecx, dword [rsp + 0x54]
sub ecx, eax
mov rax, qword [r12 + 0x60]
add ecx, esi
add ecx, ecx
movsxd rcx, ecx
movzx edx, word [rcx + rax]
movzx eax, word [r12 + 0x1a]
ror dx, 8
movzx ebx, dx
and rbx, rax
add rbx, qword [r12 + 0x50]
mov rcx, rbx
mov qword [rbp + r14 + 0x58], rbx
call fcn.1402678cc
mov rdx, rbx
mov dword [rsp + 0x70], eax
mov rcx, r12
mov dword [rbp - 0x78], eax
call qword [r12 + 0x78]
mov rdx, qword [rbp - 0x80]
movzx edi, ax
mov dword [r15], edi
test byte [rdx + 0x28], 0xc
je 0x1401f7eb3
mov ecx, ebx
sub ecx, dword [r12 + 0x50]
lea eax, [rdi + rcx]
cmp eax, dword [rdx + 0x38]
jg 0x1401f7eb3
movsxd rcx, ecx
mov r8d, edi
add rcx, qword [rbp - 0x48]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
sub rbx, qword [r12 + 0x50]
add rbx, qword [rbp - 0x48]
mov qword [rbp + r14 + 0x58], rbx
movzx eax, byte [r12 + 0xc]
lea r9, [rsp + 0x44]
mov edx, dword [rsp + 0x54]
mov r8d, edi
sub edx, eax
mov rcx, r12
add edx, esi
call fcn.140200f8c
mov edi, dword [rsp + 0x44]
mov dword [rsp + 0x68], edi
mov ecx, dword [rsp + 0x70]
jmp 0x1401f7d4f
mov r8, rbx
jmp 0x1401f8eb2
mov rax, qword [rbp - 0x80]
lea ebx, [r13 + 3]
and ebx, 0xfffffffc
mov eax, dword [rax + 0x34]
lea ecx, [rbx + rbx*4]
lea ecx, [rax + rcx*2]
movsxd rcx, ecx
call fcn.14026bb14
xor r11d, r11d
mov qword [rbp - 0x20], rax
test rax, rax
jne 0x1401f7f1d
lea edi, [rax + 7]
mov r15d, r11d
jmp 0x1401f8ec8
mov rcx, qword [rbp - 0x20]
mov r9d, dword [rbp - 0x30]
movsxd rax, ebx
mov dword [rsp + 0x50], r11d
lea r10, [rcx + rax*8]
lea rax, [rax + rax*4]
mov qword [rbp - 0x18], r10
lea rax, [rcx + rax*2]
mov qword [rbp + 0xf8], rax
mov rax, qword [rbp + 0x88]
mov qword [rbp - 0x28], rax
movzx r13d, byte [rax + 8]
movzx eax, byte [rax + 2]
shl r13w, 2
mov word [rsp + 0x48], r13w
mov dword [rsp + 0x4c], eax
cmp qword [rsp + 0x60], r11
jle 0x1401f81f4
mov r15, r11
mov rsi, qword [rbp + r15*8 + 0x88]
mov rax, qword [rbp + 0x88]
mov r12, qword [rsi + 0x50]
mov rcx, qword [rax + 0x50]
movzx r14d, word [rsi + 0x12]
movzx ebx, word [rsi + 0x18]
add r14, r12
movzx r13d, word [rsi + 0x1a]
mov al, byte [rcx]
cmp byte [r12], al
jne 0x1401f81ed
movzx r8d, byte [rsi + 0xc]
xor edx, edx
movsxd rax, r9d
add r8, rbx
add r8, r8
lea rcx, [r10 + rax*2]
call sub.VCRUNTIME140.dll_memset
xor r11d, r11d
cmp byte [rsi + 0xc], r11b
jbe 0x1401f8055
movzx eax, word [rsi + 0x1c]
cmp bx, ax
jb 0x1401f81dc
mov r9d, dword [rbp - 0x30]
lea ebx, [r11 + 1]
cmp r11w, ax
jae 0x1401f801d
mov r8d, eax
movzx eax, word [r14]
add r14, 2
ror ax, 8
movsxd rcx, r9d
movzx edx, ax
mov rax, qword [rbp - 0x20]
and rdx, r13
add rdx, r12
mov qword [rax + rcx*8], rdx
mov r9d, dword [rbp - 0x30]
add r9d, ebx
mov dword [rbp - 0x30], r9d
sub r8, rbx
jne 0x1401f7fed
mov r10d, r11d
cmp byte [rsi + 0xc], r11b
jbe 0x1401f8059
lea r8, [rsi + 0x28]
mov rcx, qword [r8]
add r10d, ebx
mov rax, qword [rbp - 0x20]
lea r8, [r8 + 8]
movsxd rdx, r9d
mov qword [rax + rdx*8], rcx
mov r9d, dword [rbp - 0x30]
add r9d, ebx
mov dword [rbp - 0x30], r9d
movzx eax, byte [rsi + 0xc]
cmp r10d, eax
jl 0x1401f802a
jmp 0x1401f8059
mov r9d, dword [rbp - 0x30]
movzx ecx, word [rsi + 0x12]
movzx edx, word [rsi + 0x18]
add rcx, r12
lea r8, [rcx + rdx*2]
cmp r14, r8
jae 0x1401f80a6
mov edi, 1
movzx eax, word [r14]
add r14, 2
ror ax, 8
movsxd rcx, r9d
movzx edx, ax
mov rax, qword [rbp - 0x20]
and rdx, r13
add rdx, r12
mov qword [rax + rcx*8], rdx
mov r9d, dword [rbp - 0x30]
add r9d, edi
mov dword [rbp - 0x30], r9d
cmp r14, r8
jb 0x1401f8072
mov edi, dword [rsp + 0x68]
mov edx, dword [rsp + 0x50]
mov dword [rbp + r15*4 + 0xc8], r9d
cmp edx, dword [rsp + 0x78]
jge 0x1401f81b1
cmp byte [rsp + 0x4c], r11b
jne 0x1401f81b1
movzx edx, word [rbp + r15*4 + 0x40]
movsxd r12, dword [rsp + 0x58]
mov r8d, edx
mov rax, qword [rbp - 0x18]
mov r14, qword [rbp + 0xf8]
movsxd rcx, r9d
lea rbx, [r14 + r12]
add r12d, edx
mov word [rax + rcx*2], dx
mov rcx, rbx
mov rdx, qword [rbp + r15*8 + 0x58]
mov dword [rsp + 0x58], r12d
call sub.VCRUNTIME140.dll_memcpy
movsxd rcx, dword [rbp - 0x30]
xor r11d, r11d
mov rax, qword [rbp - 0x20]
movzx r13d, word [rsp + 0x48]
lea rdx, [rbx + r13]
mov qword [rax + rcx*8], rdx
movsxd rcx, dword [rbp - 0x30]
mov rax, qword [rbp - 0x18]
sub word [rax + rcx*2], r13w
cmp byte [rsi + 8], r11b
jne 0x1401f8167
movsxd rax, dword [rbp - 0x30]
lea r8d, [r11 + 4]
mov rcx, qword [rbp - 0x20]
mov rdx, qword [rsi + 0x50]
add rdx, 8
mov rcx, qword [rcx + rax*8]
call sub.VCRUNTIME140.dll_memcpy
mov r10, qword [rbp - 0x18]
xor r11d, r11d
mov r9d, dword [rbp - 0x30]
mov r8d, 1
mov edx, dword [rsp + 0x50]
add r9d, r8d
mov dword [rbp - 0x30], r9d
jmp 0x1401f81c1
movsxd r9, dword [rbp - 0x30]
mov ebx, 4
mov r10, qword [rbp - 0x18]
cmp word [r10 + r9*2], bx
jae 0x1401f8154
movsxd rdx, r12d
lea r8d, [rbx - 3]
add rdx, r14
mov byte [rdx], r11b
add r12d, r8d
movsxd rcx, dword [rbp - 0x30]
add rdx, r8
mov rax, qword [rbp - 0x18]
add word [rax + rcx*2], r8w
movsxd r9, dword [rbp - 0x30]
mov r10, qword [rbp - 0x18]
cmp word [r10 + r9*2], bx
jb 0x1401f8185
mov dword [rsp + 0x58], r12d
jmp 0x1401f815a
mov r10, qword [rbp - 0x18]
mov r8d, 1
movzx r13d, word [rsp + 0x48]
add edx, r8d
add r15, r8
mov dword [rsp + 0x50], edx
cmp r15, qword [rsp + 0x60]
jl 0x1401f7f75
mov r12, qword [rbp - 0x60]
jmp 0x1401f81fa
mov ecx, 0x1248d
call fcn.14024fc48
mov edi, eax
jmp 0x1401f8ec0
mov ecx, 0x12475
jmp 0x1401f81e1
mov r8d, 1
mov rax, qword [rbp - 0x80]
mov r15d, r11d
movzx ecx, r13w
mov eax, dword [rax + 0x38]
add eax, 0xfffffff4
add eax, ecx
mov rcx, qword [rsp + 0x60]
mov dword [rsp + 0x50], eax
test rcx, rcx
jle 0x1401f832b
mov r8, rcx
mov qword [rbp + 0xf8], r11
shl r8, 2
lea rdx, [rbp + 0xc8]
lea rcx, [rbp + 0x70]
mov rsi, r11
mov rbx, r11
lea r14, [rbp + 0x1c]
call sub.VCRUNTIME140.dll_memcpy
xor r11d, r11d
lea r8d, [r11 + 1]
mov r13, qword [rbp + rsi*8 + 0x88]
mov ecx, dword [rbp + rsi*4 + 0xc8]
mov rax, qword [r13 + 0x58]
mov qword [rbp + rbx*8 - 0x10], rax
mov eax, 4
mov dword [rbp + rbx*4 + 0x20], ecx
test r15d, r15d
je 0x1401f8282
cmp ecx, dword [r14]
jne 0x1401f8282
sub r15d, r8d
dec rbx
sub r14, rax
cmp byte [rsp + 0x4c], r11b
jne 0x1401f82a3
add rbx, r8
add r15d, r8d
add r14, rax
mov rax, qword [r12 + 0x58]
mov qword [rbp + rbx*8 - 0x10], rax
lea eax, [rcx + 1]
mov dword [rbp + rbx*4 + 0x20], eax
mov eax, dword [rsp + 0x50]
mov edi, r11d
mov r12d, eax
sub r12d, dword [r13 + 0x14]
mov dword [rbp + rsi*4 + 0x40], r12d
cmp byte [r13 + 0xc], r11b
jbe 0x1401f82fc
lea rsi, [r13 + 0x28]
mov rdx, qword [rsi]
mov rcx, r13
call qword [r13 + 0x78]
movzx eax, ax
mov r8d, 1
add eax, 2
lea rsi, [rsi + 8]
add r12d, eax
add edi, r8d
movzx eax, byte [r13 + 0xc]
cmp edi, eax
jl 0x1401f82c0
mov rsi, qword [rbp + 0xf8]
xor r11d, r11d
mov eax, dword [rsp + 0x50]
mov dword [rbp + rsi*4 + 0x40], r12d
mov r12, qword [rbp - 0x60]
add rsi, r8
add r15d, r8d
mov qword [rbp + 0xf8], rsi
add rbx, r8
add r14, 4
cmp rsi, qword [rsp + 0x60]
jl 0x1401f824e
mov r10, qword [rbp - 0x18]
mov r9d, dword [rbp - 0x30]
mov edi, dword [rsp + 0x68]
mov edx, dword [rbp - 0x64]
mov r12d, r11d
mov dword [rsp + 0x58], edx
mov ecx, edx
mov dword [rsp + 0x6c], r11d
test edx, edx
jle 0x1401f851e
mov rsi, r11
mov dword [rsp + 0x78], r8d
mov r13d, r8d
mov r14d, dword [rbp + rsi*4 + 0x40]
cmp r14d, eax
jle 0x1401f8414
cmp r13d, ecx
jl 0x1401f8387
lea eax, [r13 + 1]
mov dword [rsp + 0x58], eax
lea rax, [rsi + 2]
cmp rax, 5
jg 0x1401f850a
mov dword [rbp + rax*4 + 0x3c], r11d
mov r14d, dword [rbp + rsi*4 + 0x40]
mov dword [rbp + rax*4 + 0x6c], r9d
movsxd rbx, dword [rbp + rsi*4 + 0x70]
movzx eax, word [r10 + rbx*2 - 2]
lea r12d, [rbx - 1]
test ax, ax
jne 0x1401f83b2
mov edx, r12d
lea rcx, [rbp - 0x30]
call fcn.1401fe16c
mov r10, qword [rbp - 0x18]
xor r11d, r11d
mov r9d, dword [rbp - 0x30]
movzx eax, ax
add eax, 2
sub r14d, eax
mov dword [rbp + rsi*4 + 0x40], r14d
cmp byte [rsp + 0x4c], r11b
jne 0x1401f83f7
cmp ebx, r9d
jge 0x1401f83f4
movzx eax, word [r10 + rbx*2]
test ax, ax
jne 0x1401f83ec
mov edx, ebx
lea rcx, [rbp - 0x30]
call fcn.1401fe16c
mov r10, qword [rbp - 0x18]
xor r11d, r11d
mov r9d, dword [rbp - 0x30]
movzx eax, ax
add eax, 2
jmp 0x1401f83f7
mov eax, r11d
add dword [rbp + rsi*4 + 0x44], eax
mov ecx, dword [rsp + 0x58]
mov dword [rbp + rsi*4 + 0x70], r12d
cmp r14d, dword [rsp + 0x50]
jg 0x1401f835d
mov r12d, dword [rsp + 0x6c]
movsxd rbx, dword [rbp + rsi*4 + 0x70]
cmp ebx, r9d
jge 0x1401f84c4
mov edi, dword [rsp + 0x50]
lea r15, [rbx + rbx]
mov r12d, dword [rsp + 0x4c]
mov r13d, 1
movzx eax, word [r15 + r10]
test ax, ax
jne 0x1401f8455
mov edx, ebx
lea rcx, [rbp - 0x30]
call fcn.1401fe16c
mov r10, qword [rbp - 0x18]
xor r11d, r11d
mov r9d, dword [rbp - 0x30]
movzx eax, ax
add eax, 2
add r14d, eax
cmp r14d, edi
jg 0x1401f84b1
add ebx, r13d
mov dword [rbp + rsi*4 + 0x40], r14d
add r15, 2
mov dword [rbp + rsi*4 + 0x70], ebx
test r12b, r12b
jne 0x1401f84a8
cmp ebx, r9d
jge 0x1401f84a5
movzx eax, word [r15 + r10]
test ax, ax
jne 0x1401f849d
mov edx, ebx
lea rcx, [rbp - 0x30]
call fcn.1401fe16c
mov r10, qword [rbp - 0x18]
xor r11d, r11d
mov r9d, dword [rbp - 0x30]
movzx eax, ax
add eax, 2
jmp 0x1401f84a8
mov eax, r11d
sub dword [rbp + rsi*4 + 0x44], eax
cmp ebx, r9d
jl 0x1401f8435
mov edi, dword [rsp + 0x68]
mov r13d, dword [rsp + 0x78]
mov r12d, dword [rsp + 0x6c]
cmp ebx, r9d
jl 0x1401f84cd
mov ecx, r13d
mov dword [rsp + 0x58], ecx
jmp 0x1401f84e3
test r12d, r12d
jle 0x1401f84d8
mov eax, dword [rbp + rsi*4 + 0x6c]
jmp 0x1401f84db
mov eax, r11d
cmp ebx, eax
jle 0x1401f8514
mov ecx, dword [rsp + 0x58]
mov r8d, 1
add r12d, r8d
add r13d, r8d
add rsi, r8
mov dword [rsp + 0x6c], r12d
mov dword [rsp + 0x78], r13d
cmp r12d, ecx
jge 0x1401f851e
mov eax, dword [rsp + 0x50]
jmp 0x1401f834f
mov ecx, 0x124f2
jmp 0x1401f81e1
mov ecx, 0x12513
jmp 0x1401f81e1
lea eax, [rcx - 1]
movsxd r15, eax
mov dword [rsp + 0x78], eax
mov rbx, r15
test eax, eax
jle 0x1401f8670
mov r12d, dword [rbp + rbx*4 + 0x40]
lea rcx, [rbp + 0x70]
mov r13d, dword [rbp + rbx*4 + 0x3c]
sub rcx, 4
mov qword [rbp + 0xf8], rcx
mov r9d, dword [rcx + rbx*4]
mov dword [rsp + 0x6c], r9d
lea esi, [r9 - 1]
mov edx, esi
sub edx, dword [rsp + 0x4c]
add edx, r8d
movsxd rax, edx
add rax, rax
mov qword [rbp + 0x58], rax
cmp word [rax + r10], r11w
jne 0x1401f8583
lea rcx, [rbp - 0x30]
call fcn.1401fe16c
mov r10, qword [rbp - 0x18]
xor r11d, r11d
mov edi, dword [rsp + 0x78]
movsxd rax, esi
lea r14, [rax + rax]
cmp word [r14 + r10], r11w
jne 0x1401f85a7
mov edx, esi
lea rcx, [rbp - 0x30]
call fcn.1401fe16c
mov r10, qword [rbp - 0x18]
xor r11d, r11d
test r12d, r12d
je 0x1401f860b
cmp dword [rbp + 0x180], r11d
jne 0x1401f85e0
movzx eax, word [r14 + r10]
mov edx, r13d
mov r8, qword [rbp + 0x58]
sub edx, eax
mov eax, r15d
sub eax, edi
neg eax
movzx ecx, word [r8 + r10]
sbb eax, eax
add ecx, 2
and eax, 2
add ecx, r12d
sub edx, eax
cmp ecx, edx
jle 0x1401f860f
mov r9d, dword [rsp + 0x6c]
mov rcx, qword [rbp + 0xf8]
mov edi, dword [rsp + 0x68]
mov r8d, 1
mov dword [rbp + rbx*4 + 0x40], r12d
mov dword [rbp + rbx*4 + 0x3c], r13d
cmp rbx, r8
jbe 0x1401f8655
mov eax, dword [rcx + rbx*4 - 4]
jmp 0x1401f8658
mov r8, qword [rbp + 0x58]
movzx eax, word [r8 + r10]
mov ecx, 0xfffffffe
add eax, 2
mov dword [rsp + 0x6c], esi
add r12d, eax
sub r8, 2
movzx eax, word [r14 + r10]
mov r9d, esi
sub ecx, eax
mov qword [rbp + 0x58], r8
add r13d, ecx
mov eax, 1
mov rcx, qword [rbp + 0xf8]
sub r14, 2
mov dword [rcx + rbx*4], esi
sub esi, eax
jns 0x1401f858e
jmp 0x1401f85ec
mov eax, r11d
cmp r9d, eax
jle 0x1401f8729
sub r15d, r8d
sub rbx, r8
test rbx, rbx
jg 0x1401f8533
mov rax, qword [rbp + 0x88]
mov r14d, r11d
mov rcx, qword [rax + 0x50]
movsxd rax, dword [rsp + 0x58]
mov r15, rax
movzx r12d, byte [rcx]
mov dword [rsp + 0x78], r12d
test eax, eax
jle 0x1401f87e9
mov r13, qword [rbp - 0x60]
mov rsi, r11
cmp rsi, qword [rsp + 0x60]
jge 0x1401f8733
mov rbx, qword [rbp + rsi*8 + 0x88]
mov qword [rbp + rsi*8 + 0xa0], rbx
mov qword [rbp + rsi*8 + 0x88], r11
mov qword [rbp + 0xf8], rbx
mov rcx, qword [rbx + 0x70]
call fcn.14026e0a4
mov edi, eax
mov dword [rsp + 0x44], eax
mov eax, dword [rbp - 0x70]
mov ecx, 1
sub eax, dword [rsp + 0x54]
xor r11d, r11d
add dword [rsp + 0x40], ecx
mov edx, r11d
cmp r14d, eax
mov rax, qword [rbx + 0x70]
sete dl
add edx, ecx
movsx ecx, word [rax + 0x36]
cmp ecx, edx
je 0x1401f871c
test edi, edi
jne 0x1401f8ec3
mov ecx, 0x1255e
call fcn.14024fc48
mov edi, eax
mov dword [rsp + 0x44], eax
xor r11d, r11d
test edi, edi
jne 0x1401f8ec3
jmp 0x1401f87d4
mov ecx, 0x1253d
jmp 0x1401f81e1
cmp dword [rbp + 0x180], r11d
lea rdx, [rbp + 0xf8]
mov r9d, dword [rsp + 0x70]
mov rcx, qword [rbp - 0x80]
cmovne r9d, r8d
lea r8, [rbp - 0x78]
mov byte [rsp + 0x20], r11b
call fcn.1401f4f14
xor r11d, r11d
mov dword [rsp + 0x44], eax
mov edi, eax
test eax, eax
jne 0x1401f8ec3
mov rbx, qword [rbp + 0xf8]
mov edx, r12d
mov rcx, rbx
call fcn.1402a453c
mov eax, dword [rbp - 0x30]
xor r11d, r11d
inc dword [rsp + 0x40]
mov dword [rbp + rsi*4 + 0xc8], eax
mov rax, qword [rbp - 0x80]
mov qword [rbp + rsi*8 + 0xa0], rbx
cmp byte [rax + 0x21], r11b
je 0x1401f87cd
mov r9d, dword [r13 + 4]
lea rcx, [rsp + 0x44]
mov edx, dword [rbx + 4]
mov r8b, 5
mov qword [rsp + 0x20], rcx
mov rcx, rax
call fcn.14023c95c
mov edi, dword [rsp + 0x44]
xor r11d, r11d
test edi, edi
jne 0x1401f8ec3
mov eax, dword [rbp - 0x78]
mov dword [rsp + 0x70], eax
mov r8d, 1
add r14d, r8d
add rsi, r8
cmp rsi, r15
jl 0x1401f869e
movsxd r15, dword [rsp + 0x40]
mov r14, r15
test r15d, r15d
jle 0x1401f8911
mov rdx, r11
mov r13d, 1
mov rax, qword [rbp + rdx*8 + 0xa0]
mov r8d, dword [rax + 4]
mov rax, qword [rax + 0x70]
mov dword [rbp + rdx*4 + 0xe0], r8d
mov dword [rbp + rdx*4 + 0x58], r8d
movzx ecx, word [rax + 0x34]
mov rax, r11
mov word [rbp + rdx*2 + 0xf8], cx
test rdx, rdx
jle 0x1401f884a
cmp dword [rbp + rax*4 + 0xe0], r8d
je 0x1401f8a16
add rax, r13
cmp rax, rdx
jl 0x1401f8834
add rdx, r13
cmp rdx, r14
jl 0x1401f8803
mov r12, qword [rbp - 0x80]
mov rbx, r11
mov ecx, r11d
mov rsi, r11
mov edx, r13d
mov rax, r13
cmp r13, r14
jge 0x1401f889e
mov r8, r11
mov r11d, ecx
lea rcx, [rax*4]
mov r9d, dword [rbp + rcx + 0x58]
cmp r9d, dword [rbp + r8 + 0x58]
jae 0x1401f888a
mov rsi, rax
mov r8, rcx
mov ecx, edx
cmovae ecx, r11d
add edx, r13d
add rax, r13
cmp rax, r14
jl 0x1401f886d
xor r11d, r11d
mov r15d, dword [rbp + rsi*4 + 0x58]
or dword [rbp + rsi*4 + 0x58], 0xffffffff
cmp rsi, rbx
je 0x1401f88fa
jle 0x1401f88ce
mov edx, dword [r12 + 0x40]
mov rax, qword [rbp + rsi*8 + 0xa0]
inc edx
add edx, ecx
mov rcx, qword [rax + 0x70]
mov word [rcx + 0x34], r11w
call fcn.14026eca8
mov rax, qword [rbp + rbx*8 + 0xa0]
mov edx, r15d
mov rcx, qword [rax + 0x70]
movzx eax, word [rbp + rsi*2 + 0xf8]
mov word [rcx + 0x34], ax
call fcn.14026eca8
mov rax, qword [rbp + rbx*8 + 0xa0]
mov dword [rax + 4], r15d
add rbx, r13
mov r11d, 0
cmp rbx, r14
jl 0x1401f8859
mov r12d, dword [rsp + 0x78]
mov rcx, qword [rbp - 0x58]
lea r15, [r14 - 1]
mov rax, qword [rbp + r15*8 + 0xa0]
mov ebx, 4
mov r8d, ebx
mov edx, dword [rax + 4]
bswap edx
mov dword [rbp - 0x70], edx
lea rdx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memcpy
test r12b, 8
jne 0x1401f8983
mov ecx, dword [rsp + 0x40]
cmp dword [rbp - 0x64], ecx
je 0x1401f8983
mov rcx, qword [rbp - 0x40]
lea r8, [rbp + 0x88]
lea rax, [rbp + 0xa0]
cmovge rax, r8
mov r8d, ebx
mov rax, qword [rax + rcx]
mov rdx, qword [rax + 0x50]
mov rax, qword [rbp + r15*8 + 0xa0]
add rdx, 8
mov rcx, qword [rax + 0x50]
add rcx, 8
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rbp - 0x80]
xor r11d, r11d
cmp byte [rax + 0x21], r11b
je 0x1401f8b52
mov rbx, qword [rbp + 0xa0]
mov esi, r11d
movzx r12d, word [rbx + 0x18]
movzx eax, byte [rbx + 0xc]
add r12d, eax
cmp dword [rbp - 0x30], r11d
jle 0x1401f8b52
mov edx, r11d
lea r9, [rbp + 0xa0]
mov ecx, r11d
mov qword [rbp - 0x70], rdx
lea r8, [rbp + 0x70]
mov qword [rsp + 0x78], rcx
mov qword [rbp + 0xf8], r9
mov r15d, r11d
mov qword [rbp + 0x58], r8
mov r13, rbx
mov rax, qword [rbp - 0x20]
mov r10d, dword [rsp + 0x4c]
mov rcx, qword [rcx + rax]
mov qword [rbp - 0x58], rcx
cmp esi, r12d
jne 0x1401f8a55
test r10b, r10b
mov edx, r11d
mov r9d, 1
sete dl
add r15, r9
cmp r15, r14
jge 0x1401f8a2a
mov rbx, qword [rbp + r15*8 + 0xa0]
jmp 0x1401f8a32
mov ecx, 0x1258c
call fcn.14024fc48
mov edi, eax
xor r11d, r11d
jmp 0x1401f8ec8
mov rbx, qword [rbp + r15*8 + 0x88]
movzx eax, word [rbx + 0x18]
movzx ecx, byte [rbx + 0xc]
add eax, edx
add ecx, eax
add r12d, ecx
cmp esi, r12d
je 0x1401f8a04
mov rcx, qword [rbp - 0x58]
mov rdx, qword [rbp - 0x70]
mov r9, qword [rbp + 0xf8]
cmp esi, dword [r8]
jne 0x1401f8a79
add r9, 8
add r8, 4
mov qword [rbp + 0x58], r8
mov qword [rbp + 0xf8], r9
mov r13, qword [r9]
test r10b, r10b
je 0x1401f8b24
cmp r15, r14
jge 0x1401f8a9c
mov eax, dword [rbp + r15*4 + 0xe0]
cmp dword [r13 + 4], eax
jne 0x1401f8a9c
cmp rcx, qword [rbx + 0x50]
jb 0x1401f8a9c
cmp rcx, qword [rbx + 0x58]
jb 0x1401f8b24
cmp word [rsp + 0x48], r11w
jne 0x1401f8acc
call fcn.1402678cc
mov r9d, dword [r13 + 4]
mov edx, eax
mov rcx, qword [rbp - 0x80]
lea rax, [rsp + 0x44]
mov r8b, 5
mov qword [rsp + 0x20], rax
call fcn.14023c95c
mov edi, dword [rsp + 0x44]
xor r11d, r11d
mov rax, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x70]
movzx eax, word [rcx + rax]
test ax, ax
jne 0x1401f8aeb
mov edx, esi
lea rcx, [rbp - 0x30]
call fcn.1401fe16c
xor r11d, r11d
cmp ax, word [r13 + 0x10]
jbe 0x1401f8b0d
mov r8, qword [rbp - 0x58]
lea r9, [rsp + 0x44]
mov rdx, rbx
mov rcx, r13
call fcn.14023ca68
mov edi, dword [rsp + 0x44]
xor r11d, r11d
test edi, edi
jne 0x1401f8ec3
mov rdx, qword [rbp - 0x70]
mov r8, qword [rbp + 0x58]
mov r9, qword [rbp + 0xf8]
mov rcx, qword [rsp + 0x78]
add rdx, 2
add rcx, 8
mov qword [rbp - 0x70], rdx
mov r10d, 1
mov qword [rsp + 0x78], rcx
add esi, r10d
cmp esi, dword [rbp - 0x30]
jl 0x1401f89df
lea r15, [r14 - 1]
jmp 0x1401f8b58
mov r10d, 1
test r15, r15
jle 0x1401f8cae
mov r15, r11
movsxd rsi, dword [rbp + r15*4 + 0x70]
mov rax, qword [rbp - 0x20]
mov r12, qword [rbp + r15*8 + 0xa0]
movzx edi, word [rsp + 0x48]
movsxd r13, dword [rbp - 0x68]
mov rbx, qword [rax + rsi*8]
mov rax, qword [rbp - 0x18]
add r13, qword [rbp - 0x48]
movzx edx, word [rax + rsi*2]
add edi, edx
cmp byte [r12 + 8], r11b
jne 0x1401f8bb0
mov rcx, qword [r12 + 0x50]
mov r8d, 4
add rcx, 8
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
jmp 0x1401f8c12
cmp byte [rsp + 0x4c], r11b
je 0x1401f8bf5
mov rdx, qword [rbp - 0x20]
lea r8, [rbp + 0xe0]
sub esi, r10d
mov rcx, r12
movsxd rax, esi
mov rdx, qword [rdx + rax*8]
call qword [r12 + 0x80]
mov rdx, qword [rbp + 0xe0]
lea rcx, [r13 + 4]
mov rbx, r13
call fcn.140262898
xor r11d, r11d
mov r13d, r11d
lea edi, [rax + 4]
jmp 0x1401f8c15
mov eax, 4
sub rbx, rax
cmp dx, ax
jne 0x1401f8c15
mov rax, qword [rbp - 0x60]
mov rdx, rbx
mov rcx, rax
call qword [rax + 0x78]
movzx edi, ax
xor r11d, r11d
add dword [rbp - 0x68], edi
mov rax, r11
cmp dword [rbp + 0x20], esi
jg 0x1401f8c34
mov ecx, 1
cmp rax, 6
jge 0x1401f8c34
add rax, rcx
cmp dword [rbp + rax*4 + 0x20], esi
jle 0x1401f8c25
mov rcx, qword [rbp + rax*8 - 0x10]
cmp rcx, rbx
jb 0x1401f8c49
movsxd rax, edi
add rax, rbx
cmp rcx, rax
jb 0x1401f8ca4
lea rax, [rsp + 0x44]
mov r8, rbx
mov ebx, dword [rsp + 0x54]
mov r9d, edi
mov qword [rsp + 0x30], rax
mov edx, ebx
mov eax, dword [r12 + 4]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r13
mov r13, qword [rbp - 0x60]
mov rcx, r13
call fcn.1402302b4
mov edi, dword [rsp + 0x44]
xor r11d, r11d
test edi, edi
jne 0x1401f8ec3
lea r10d, [rdi + 1]
add ebx, r10d
lea rax, [r14 - 1]
add r15, r10
mov dword [rsp + 0x54], ebx
cmp r15, rax
jge 0x1401f8cb2
jmp 0x1401f8b64
mov ecx, 0x12629
jmp 0x1401f81e1
mov r13, qword [rbp - 0x60]
mov r15d, dword [rsp + 0x40]
mov esi, r10d
sub esi, r15d
cmp esi, r15d
jge 0x1401f8d99
mov r12d, dword [rbp - 0x64]
mov eax, esi
cdq
mov ecx, eax
xor ecx, edx
sub ecx, edx
movsxd rbx, ecx
cmp byte [rbp + rbx + 0x108], r11b
jne 0x1401f8d8d
test esi, esi
jns 0x1401f8cf9
mov eax, dword [rbp + rbx*4 + 0x6c]
cmp dword [rbp + rbx*4 + 0xc4], eax
jl 0x1401f8d8d
mov rax, rbx
test ecx, ecx
jne 0x1401f8d0c
mov r9d, dword [rbp + 0x70]
mov edx, r11d
mov r8d, r11d
jmp 0x1401f8d47
cmp ecx, r12d
lea rax, [rax*4 - 4]
mov ecx, dword [rsp + 0x4c]
jge 0x1401f8d2e
test cl, cl
mov edx, r11d
sete dl
add edx, dword [rbp + rax + 0xc8]
jmp 0x1401f8d31
mov edx, dword [rbp - 0x30]
mov r9d, dword [rbp + rbx*4 + 0x70]
test cl, cl
mov r8d, r11d
sete r8b
add r8d, dword [rbp + rax + 0x70]
sub r9d, r8d
mov rcx, qword [rbp + rbx*8 + 0xa0]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
call fcn.14020117c
xor r11d, r11d
mov dword [rsp + 0x44], eax
mov edi, eax
test eax, eax
jne 0x1401f8ec8
mov ecx, dword [rsp + 0x50]
lea r10d, [rax + 1]
add byte [rbp + rbx + 0x108], r10b
mov rax, qword [rbp + rbx*8 + 0xa0]
sub ecx, dword [rbp + rbx*4 + 0x40]
mov dword [rax + 0x14], ecx
add esi, r10d
cmp esi, r15d
jl 0x1401f8cca
cmp dword [rbp - 0x50], r11d
je 0x1401f8e0b
cmp word [r13 + 0x18], r11w
jne 0x1401f8e0b
mov rcx, qword [rbp + 0xa0]
movzx eax, byte [r13 + 9]
cmp eax, dword [rcx + 0x14]
jg 0x1401f8e0b
or edx, 0xffffffff
call fcn.1402003ec
mov rcx, qword [rbp + 0xa0]
lea r8, [rsp + 0x44]
mov rdx, r13
mov dword [rsp + 0x44], eax
call fcn.1401ff6fc
mov edi, dword [rsp + 0x44]
xor r11d, r11d
test edi, edi
jne 0x1401f8e03
mov rcx, qword [rbp + 0xa0]
mov rdx, rcx
mov r8d, dword [rcx + 4]
mov rcx, qword [rcx + 0x48]
call fcn.140206df0
mov edi, eax
mov r10d, 1
jmp 0x1401f8e6f
mov r10d, 1
jmp 0x1401f8e72
mov rsi, qword [rbp - 0x80]
cmp byte [rsi + 0x21], r11b
je 0x1401f8e72
cmp word [rsp + 0x48], r11w
jne 0x1401f8e72
test r14, r14
jle 0x1401f8e72
mov rbx, r11
mov rax, qword [rbp + rbx*8 + 0xa0]
mov rcx, qword [rax + 0x50]
add rcx, 8
call fcn.1402678cc
mov rcx, qword [rbp + rbx*8 + 0xa0]
lea rdx, [rsp + 0x44]
mov qword [rsp + 0x20], rdx
mov r8b, 5
mov edx, eax
mov r9d, dword [rcx + 4]
mov rcx, rsi
call fcn.14023c95c
mov r10d, 1
add rbx, r10
cmp rbx, r14
jl 0x1401f8e25
mov edi, dword [rsp + 0x44]
xor r11d, r11d
mov rsi, qword [rsp + 0x60]
jmp 0x1401f8ea1
mov rcx, qword [rbp + r14*8 + 0x88]
test edi, edi
jne 0x1401f8e9e
mov r8d, dword [rcx + 4]
mov rdx, rcx
mov rcx, qword [rcx + 0x48]
call fcn.140206df0
xor r11d, r11d
mov edi, eax
lea r10d, [r11 + 1]
add r14, r10
cmp r14, rsi
jl 0x1401f8e79
jmp 0x1401f8ecd
lea eax, [rsi + 1]
movsxd r8, eax
shl r8, 3
xor edx, edx
lea rcx, [rbp + 0x88]
call sub.VCRUNTIME140.dll_memset
xor r11d, r11d
mov r15d, dword [rsp + 0x40]
mov rsi, qword [rsp + 0x60]
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x1401f8ede
call fcn.1401f1d34
xor r11d, r11d
mov r14d, 1
test rsi, rsi
jle 0x1401f8f0d
mov rbx, r11
mov rcx, qword [rbp + rbx*8 + 0x88]
test rcx, rcx
je 0x1401f8f05
mov rcx, qword [rcx + 0x70]
call fcn.14026e058
xor r11d, r11d
add rbx, r14
cmp rbx, rsi
jl 0x1401f8eec
movsxd rsi, r15d
test r15d, r15d
jle 0x1401f8f39
mov rbx, r11
mov rcx, qword [rbp + rbx*8 + 0xa0]
test rcx, rcx
je 0x1401f8f31
mov rcx, qword [rcx + 0x70]
call fcn.14026e058
xor r11d, r11d
add rbx, r14
cmp rbx, rsi
jl 0x1401f8f18
mov eax, edi
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.1402a4c80
mov rbx, qword [rsp + 0x278]
add rsp, 0x220
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret