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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x88]
sub rsp, 0x188
mov rax, qword [rcx]
xor esi, esi
mov rdi, r8
mov qword [rbp + 8], rsi
mov r13, rdx
mov qword [rsp + 0x40], rax
mov r15, rcx
lea r12d, [rsi + 1]
call fcn.1402a9044
mov qword [rbp - 0x10], rax
mov r14, rax
test r13, r13
je 0x1402b6867
cmp dword [r15 + 0x30], esi
jne 0x1402b6867
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor r8d, r8d
lea edx, [rsi + 0x15]
mov rcx, r15
call fcn.14028ba54
test eax, eax
jne 0x1402b6867
cmp byte [rdi], 6
ja 0x1402b680d
mov r8, qword [r13 + 0x48]
test r8, r8
je 0x1402b67fe
lea rdx, [0x140299f58]
mov rcx, r15
call fcn.1402af76c
mov qword [r13 + 0x48], rsi
mov eax, dword [r13 + 4]
and eax, 0xfffffffe
bts eax, 0x16
mov dword [r13 + 4], eax
xor r8d, r8d
mov rdx, r13
mov rcx, r15
call fcn.1402b8a20
cmp dword [r15 + 0x30], esi
jne 0x1402b685f
mov r11d, dword [r13 + 4]
bt r11d, 0x17
jae 0x1402b6887
mov rdx, qword [r13 + 0x28]
lea rbx, [rdx + 8]
mov rcx, rbx
call fcn.140285e30
test eax, eax
je 0x1402b687e
mov r8, qword [rbx + 0x18]
test r8, r8
jne 0x1402b6850
mov rax, qword [rbx + 0x20]
mov r8, qword [rax]
lea rdx, [0x1403fe188]
mov rcx, r15
call fcn.140295cfc
mov rcx, r15
call fcn.1402c5cf8
mov eax, r12d
add rsp, 0x188
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
btr r11d, 0x17
mov dword [r13 + 4], r11d
cmp byte [rdi], 9
jne 0x1402b6897
mov rdx, r13
mov rcx, r15
call fcn.1402a634c
mov rdx, r13
mov rcx, r15
call fcn.1402d082c
test eax, eax
jne 0x1402b685f
mov eax, dword [r13 + 4]
lea rcx, [rbp - 0x40]
mov rbx, qword [r13 + 0x28]
xor edx, edx
shr eax, 3
and eax, r12d
mov qword [rbp - 0x80], rbx
mov dword [rsp + 0x5c], eax
lea r8d, [rdx + 0x30]
call fcn.140331590
mov rax, qword [r13 + 0x48]
xor r11d, r11d
mov qword [rbp - 0x40], rax
cmp qword [r13 + 0x50], r11
jne 0x1402b6b5e
mov r10, qword [rsp + 0x40]
mov eax, r11d
mov qword [rsp + 0x60], rax
mov r9d, 0x100
mov ecx, 0x40
cmp esi, dword [rbx]
jge 0x1402b6ba2
imul rdi, rax, 0x68
test byte [rdi + rbx + 0x44], 0x48
mov rax, qword [rdi + rbx + 0x30]
mov rdx, qword [rdi + rbx + 0x28]
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xe8], rdx
je 0x1402b6a2b
movzx r8d, byte [rdi + rbx + 0x44]
mov edx, dword [rdi + rbx + 0x4c]
and r8d, ecx
mov rcx, qword [r13 + 0x30]
call fcn.140299a60
mov r10, qword [rsp + 0x40]
xor r11d, r11d
test eax, eax
je 0x1402b6a17
test dword [r10 + 0x60], 0x2000
jne 0x1402b6a17
mov al, byte [rdi + rbx + 0x44]
lea ecx, [r11 + 8]
test cl, al
je 0x1402b6989
test al, 0x10
je 0x1402b6973
and al, 0xf7
mov byte [rdi + rbx + 0x44], al
jmp 0x1402b6989
mov edx, dword [rdi + rbx + 0x4c]
and al, 0xd7
mov byte [rdi + rbx + 0x44], al
xor r8d, r8d
mov rcx, qword [r13 + 0x30]
call fcn.1402d3a9c
test byte [rdi + rbx + 0x44], 0x40
je 0x1402b6a17
mov eax, dword [rbx]
lea r10d, [rsi + 1]
cmp r10d, eax
jge 0x1402b69ee
imul r9, qword [rsp + 0x60], 0x68
mov r11d, 8
add r9, 0xac
add r9, rbx
mov al, byte [r9]
test al, 0x10
je 0x1402b69dd
test r11b, al
je 0x1402b69c8
and al, 0xef
mov byte [r9], al
jmp 0x1402b69dd
mov edx, dword [r9 + 8]
and al, 0xcf
mov byte [r9], al
mov r8d, r12d
mov rcx, qword [r13 + 0x30]
call fcn.1402d3a9c
mov eax, dword [rbx]
add r10d, r12d
add r9, 0x68
cmp r10d, eax
jl 0x1402b69b5
xor r11d, r11d
sub eax, r12d
movsxd rdx, eax
js 0x1402b6a12
imul rcx, rdx, 0x68
add rcx, 0x44
add rcx, rbx
and byte [rcx], 0xbf
test byte [rcx], 0x10
jne 0x1402b6a12
sub rcx, 0x68
sub rdx, r12
jns 0x1402b6a01
mov r10, qword [rsp + 0x40]
mov rax, qword [rbp + 0xd0]
mov r9d, 0x100
mov rdx, qword [rbp + 0xe8]
test rax, rax
je 0x1402b6b3d
mov rax, qword [rax + 0x20]
movsx r8d, word [rdx + 0x36]
mov ecx, dword [rax]
cmp r8d, ecx
jne 0x1402b6b87
test dword [rdi + rbx + 0x48], r9d
je 0x1402b6a5e
mov rax, qword [rdi + rbx + 0x68]
cmp byte [rax + 0x12], r11b
je 0x1402b6b3d
mov rdi, qword [rbp + 0xd0]
mov eax, 8
test byte [rdi + 4], al
jne 0x1402b6b3d
mov r8, qword [rdi + 0x48]
test r8, r8
je 0x1402b6add
cmp qword [r13 + 0x48], r11
jne 0x1402b6a87
cmp dword [rbx], r12d
jle 0x1402b6ac1
cmp qword [rdi + 0x60], r11
jne 0x1402b6ac1
test dword [rdi + 4], 0x8000000
jne 0x1402b6ac1
test dword [r13 + 4], 0x8000000
jne 0x1402b6ac1
test dword [r10 + 0x60], 0x40000
jne 0x1402b6ac1
lea rdx, [0x140299f58]
mov rcx, r15
call fcn.1402af76c
xor edx, edx
mov qword [rdi + 0x48], rdx
jmp 0x1402b6add
test esi, esi
jne 0x1402b6add
test dword [r13 + 4], 0x40000
je 0x1402b6add
cmp dword [rbx], r12d
je 0x1402b6b3d
test byte [rbx + 0xac], 0x22
jne 0x1402b6b3d
mov r9d, dword [rsp + 0x5c]
mov r8d, esi
mov rdx, r13
mov rcx, r15
call fcn.140248574
xor r11d, r11d
test eax, eax
je 0x1402b6b0c
cmp dword [r15 + 0x30], r11d
jne 0x1402b685f
or rax, 0xffffffffffffffff
mov esi, eax
mov qword [rsp + 0x60], rax
mov r10, qword [rsp + 0x40]
mov rbx, qword [r13 + 0x28]
mov qword [rbp - 0x80], rbx
cmp byte [r10 + 0x67], r11b
jne 0x1402b685f
mov rdi, qword [rbp + 0xe0]
mov eax, 8
cmp byte [rdi], al
jbe 0x1402b6b44
mov rax, qword [r13 + 0x48]
mov qword [rbp - 0x40], rax
jmp 0x1402b6b44
mov rdi, qword [rbp + 0xe0]
mov rax, qword [rsp + 0x60]
add esi, r12d
add rax, r12
mov qword [rsp + 0x60], rax
cmp qword [r13 + 0x50], r11
je 0x1402b68ed
mov r8, rdi
mov rdx, r13
mov rcx, r15
call fcn.140276ca4
mov r10d, eax
xor eax, eax
cmp qword [r13 + 0x58], rax
jne 0x1402b6b7f
mov rcx, r15
call fcn.1402c5cf8
mov eax, r10d
jmp 0x1402b686a
mov r9, qword [rdx]
lea rdx, [0x1403fe1c0]
mov dword [rsp + 0x20], ecx
mov rcx, r15
call fcn.140295cfc
jmp 0x1402b685f
lea rdi, [r13 + 0x30]
mov rax, qword [rdi]
mov rsi, rdi
mov qword [rbp - 0x78], rdi
test rax, rax
je 0x1402b6bd6
cmp byte [rax], 0x2c
jne 0x1402b6bd6
test dword [r10 + 0x60], 0x8000
jne 0x1402b6bd6
mov rdx, r13
mov rcx, r15
call fcn.14027e56c
xor r11d, r11d
lea rsi, [r13 + 0x30]
mov rax, qword [rsp + 0x40]
test dword [rax + 0x60], 0x201
jne 0x1402b6c1c
mov rdx, r13
mov qword [rbp - 0x78], rsi
mov rcx, r15
mov qword [rbp - 0x80], rbx
mov rdi, rsi
call fcn.140241140
xor r11d, r11d
test eax, eax
je 0x1402b6c1c
mov rax, qword [rsp + 0x40]
cmp byte [rax + 0x67], r11b
jne 0x1402b685f
mov rbx, qword [r13 + 0x28]
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], rsi
lea rcx, [0x1403f8cfc]
mov dword [rbp + 0xd0], r11d
cmp dword [rbx], r11d
jle 0x1402b704b
lea rsi, [rbx + 0x10]
cmp qword [rsi + 0x48], r11
jne 0x1402b6c61
mov r8, qword [rsi + 8]
test r8, r8
je 0x1402b6c61
mov rax, qword [rsi]
mov r9, rcx
mov rcx, r15
mov qword [rsp + 0x20], rax
mov edx, 0x14
call fcn.14028ba54
xor r11d, r11d
mov rax, qword [rsi + 0x20]
mov qword [rbp - 0x60], rax
test rax, rax
je 0x1402b7021
lea rdx, [rbp + 0xe8]
mov dword [rbp + 0xe8], r11d
mov rcx, r13
call fcn.14026db90
mov rcx, qword [rsp + 0x40]
mov eax, dword [rbp + 0xe8]
add dword [r15 + 0x13c], eax
test dword [rcx + 0x60], 0x1000
jne 0x1402b6ce2
test dword [rsi + 0x38], 0x100
je 0x1402b6cbc
mov rax, qword [rsi + 0x58]
xor edx, edx
cmp byte [rax + 0x12], dl
je 0x1402b6ce2
cmp dword [rax], 2
jge 0x1402b6ce2
mov r8, qword [rdi]
mov r9, rbx
mov eax, dword [rbp + 0xd0]
mov rcx, r15
mov rdi, qword [rbp - 0x60]
mov rdx, rdi
mov dword [rsp + 0x20], eax
call fcn.14027e928
mov rcx, qword [rsp + 0x40]
jmp 0x1402b6ce6
mov rdi, qword [rbp - 0x60]
test dword [rcx + 0x60], 0x4000000
jne 0x1402b6cf8
lea rcx, [rsi - 8]
call fcn.1402428c8
mov rax, qword [r15 + 0x178]
mov rdx, rbx
mov r8d, dword [rbp + 0xd0]
mov rcx, r15
mov qword [rbp - 0x58], rax
mov rax, qword [rsi + 8]
mov qword [r15 + 0x178], rax
mov r9d, dword [r13 + 4]
call fcn.14024960c
xor ecx, ecx
test eax, eax
je 0x1402b6dd7
mov edi, dword [r14 + 0x90]
lea edx, [rcx + 0xb]
add dword [r15 + 0x38], r12d
xor r9d, r9d
mov r8d, dword [r15 + 0x38]
mov rcx, r14
mov dword [rsi + 0x2c], r8d
lea ebx, [rdi + 1]
mov dword [rsp + 0x20], ebx
call fcn.1402bdb4c
mov eax, dword [rsi + 0x2c]
lea r9, [rsi - 8]
mov dword [rbp + 0x14], eax
lea r8, [0x1403fe1e8]
xor eax, eax
mov dword [rsi + 0x28], ebx
mov edx, r12d
mov qword [rbp + 0x18], rax
mov rcx, r15
mov qword [rbp + 0x28], rax
mov dword [rbp + 0x20], eax
mov byte [rbp + 0x10], 0xd
call fcn.1402c5c64
mov rbx, qword [rbp - 0x60]
lea r8, [rbp + 0x10]
mov rdx, rbx
mov rcx, r15
call fcn.1402b6760
movzx eax, word [rbx + 2]
mov rcx, qword [rsi + 0x18]
mov word [rcx + 0x3a], ax
mov rcx, r14
mov eax, dword [rbp + 0x1c]
mov edx, dword [rsi + 0x2c]
or dword [rsi + 0x38], 0x20
mov dword [rsi + 0x30], eax
call fcn.1402be630
mov edx, edi
mov rcx, r14
call fcn.1402c65dc
mov rbx, qword [rbp - 0x80]
xor eax, eax
mov byte [r15 + 0x1f], al
mov dword [r15 + 0x28], eax
jmp 0x1402b6fda
test dword [rsi + 0x38], 0x100
je 0x1402b6e44
mov rax, qword [rsi + 0x58]
mov qword [rbp + 0xe8], rax
mov r9d, dword [rax + 4]
test r9d, r9d
jle 0x1402b6e44
mov r8d, dword [rax + 8]
mov edx, 0xa
mov dword [rsp + 0x20], ecx
mov rcx, r14
call fcn.1402bdb4c
mov rax, qword [rbp + 0xe8]
mov r8d, dword [rsi + 0x3c]
mov r9d, dword [rax + 0xc]
cmp r8d, r9d
je 0x1402b6e37
xor edx, edx
mov rcx, r14
mov dword [rsp + 0x20], edx
mov edx, 0x73
call fcn.1402bdb4c
mov rax, qword [rbp + 0xe8]
movzx eax, word [rax + 0x10]
mov word [rdi + 2], ax
jmp 0x1402b6fda
mov r9d, dword [rbp + 0xd0]
lea rdx, [rsi - 8]
xor r8d, r8d
mov rcx, rbx
call fcn.14026f650
xor ecx, ecx
mov qword [rbp + 0xe8], rax
test rax, rax
je 0x1402b6ebe
mov r9d, dword [rax + 0x30]
test r9d, r9d
je 0x1402b6e8d
mov r8d, dword [rax + 0x34]
lea edx, [rcx + 0xa]
mov dword [rsp + 0x20], ecx
mov rcx, r14
call fcn.1402bdb4c
mov rax, qword [rbp + 0xe8]
xor ecx, ecx
mov r9d, dword [rax + 0x44]
mov edx, 0x73
mov r8d, dword [rsi + 0x3c]
mov dword [rsp + 0x20], ecx
mov rcx, r14
call fcn.1402bdb4c
mov rcx, qword [rbp + 0xe8]
mov rax, qword [rcx + 0x28]
movzx ecx, word [rax + 2]
mov word [rdi + 2], cx
jmp 0x1402b6fda
add dword [r15 + 0x38], r12d
xor r9d, r9d
mov eax, dword [r15 + 0x38]
xor r8d, r8d
mov dword [rbp + 0xe8], ecx
mov dword [rsp + 0x20], ecx
mov rcx, r14
lea edx, [r9 + 9]
mov dword [rsi + 0x2c], eax
call fcn.1402bdb4c
or dword [rsi + 0x38], 0x10
mov dword [rsp + 0x50], eax
inc eax
mov dword [rsp + 0x74], eax
mov dword [rsi + 0x28], eax
mov eax, 8
test byte [rsi + 0x38], al
jne 0x1402b6f1d
xor edx, edx
xor r9d, r9d
mov dword [rsp + 0x20], edx
xor r8d, r8d
lea edx, [rax + 7]
mov rcx, r14
call fcn.1402bdb4c
mov dword [rbp + 0xe8], eax
mov ecx, dword [rsi + 0x3c]
lea r9, [rsi - 8]
xor eax, eax
mov dword [rbp + 0x14], ecx
mov rcx, r15
mov byte [rbp + 0x10], 0xc
lea r8, [0x1403fe1f8]
mov qword [rbp + 0x18], rax
mov edx, r12d
mov qword [rbp + 0x28], rax
mov dword [rbp + 0x20], eax
call fcn.1402c5c64
lea r8, [rbp + 0x10]
mov rdx, rdi
mov rcx, r15
call fcn.1402b6760
movzx eax, word [rdi + 2]
xor r10d, r10d
mov rcx, qword [rsi + 0x18]
mov word [rcx + 0x3a], ax
mov eax, dword [rbp + 0xe8]
test eax, eax
je 0x1402b6f7c
mov edx, eax
mov rcx, r14
call fcn.1402c65dc
mov r9d, dword [rsp + 0x74]
mov edx, 0x43
mov r8d, dword [rsi + 0x2c]
mov rcx, r14
mov dword [rsp + 0x20], r10d
call fcn.1402bdb4c
mov edx, dword [rsp + 0x50]
mov rcx, r14
call fcn.1402c65dc
xor eax, eax
mov byte [r15 + 0x1f], al
mov dword [r15 + 0x28], eax
mov eax, dword [rsi + 0x38]
and eax, 0x108
cmp eax, 0x100
jne 0x1402b6fda
mov eax, dword [rsi + 0x28]
mov rcx, qword [rsi + 0x58]
mov dword [rcx + 4], eax
mov eax, dword [rsi + 0x2c]
mov dword [rcx + 8], eax
mov eax, dword [rsi + 0x3c]
mov dword [rcx + 0xc], eax
movzx eax, word [rdi + 2]
mov word [rcx + 0x10], ax
mov rax, qword [rsp + 0x40]
xor ecx, ecx
cmp byte [rax + 0x67], cl
jne 0x1402b685f
mov dword [rbp + 0xe8], ecx
lea rdx, [rbp + 0xe8]
mov rcx, r13
call fcn.14026db90
mov edx, dword [r15 + 0x13c]
sub edx, dword [rbp + 0xe8]
mov rax, qword [rbp - 0x58]
xor r11d, r11d
mov dword [r15 + 0x13c], edx
mov qword [r15 + 0x178], rax
mov eax, dword [rbp + 0xd0]
lea rcx, [0x1403f8cfc]
mov rdi, qword [rbp - 0x78]
add eax, r12d
add rsi, 0x68
mov dword [rbp + 0xd0], eax
cmp eax, dword [rbx]
jl 0x1402b6c37
lea rdi, [r13 + 0x30]
mov rax, qword [rdi]
mov cl, byte [r13 + 4]
mov rbx, qword [r13 + 0x20]
and cl, r12b
mov qword [rsp + 0x78], rax
mov rax, qword [r13 + 0x38]
mov qword [rbp - 8], rax
mov rax, qword [r13 + 0x40]
mov qword [rbp - 0x78], rax
mov eax, dword [r13 + 4]
and al, 9
mov qword [rsp + 0x60], rbx
mov byte [rbp + 0xe8], cl
mov byte [rbp - 0x50], cl
cmp al, r12b
jne 0x1402b70d7
mov rcx, qword [rbp - 0x40]
or r8d, 0xffffffff
mov rdx, rbx
call fcn.140299ec0
mov rsi, qword [rsp + 0x40]
xor edi, edi
test eax, eax
jne 0x1402b70de
cmp qword [r13 + 0x70], rdi
jne 0x1402b70de
and dword [r13 + 4], 0xfffffffe
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call fcn.140299f6c
mov qword [rbp - 8], rax
mov qword [r13 + 0x38], rax
lea eax, [rdi + 8]
or dword [r13 + 4], eax
mov al, 2
mov byte [rbp + 0xe8], al
mov byte [rbp - 0x50], al
jmp 0x1402b70de
mov rsi, qword [rsp + 0x40]
xor edi, edi
mov rax, qword [rbp - 0x40]
test rax, rax
je 0x1402b714d
mov r9d, dword [rbx]
xor r8d, r8d
mov rdx, rax
mov rcx, r15
call fcn.1402ab918
mov r8d, dword [r15 + 0x34]
mov rdi, rax
mov dword [rbp - 0x34], r8d
lea ecx, [r8 + 1]
mov dword [r15 + 0x34], ecx
mov rcx, qword [rbp - 0x40]
mov r9d, dword [rbx]
mov edx, dword [rcx]
mov rcx, r14
inc edx
add r9d, edx
xor edx, edx
mov dword [rsp + 0x20], edx
mov edx, 0x76
call fcn.1402bdb4c
mov r9d, 0xfffffff8
mov r8, rdi
mov edx, eax
mov rcx, r14
mov ebx, eax
call fcn.1402bdf54
mov dword [rbp - 0x28], ebx
xor edi, edi
mov rbx, qword [rsp + 0x60]
jmp 0x1402b7151
or dword [rbp - 0x28], 0xffffffff
mov rax, qword [rbp + 0xe0]
cmp byte [rax], 0xc
jne 0x1402b721c
mov r9d, dword [rbx]
mov edx, 0x76
mov r8d, dword [rax + 4]
mov rcx, r14
mov dword [rsp + 0x20], edi
call fcn.1402bdb4c
xor r9d, r9d
test dword [r13 + 4], 0x800
je 0x1402b721f
mov ecx, dword [rbx]
lea eax, [rcx - 1]
movsxd rdi, eax
test eax, eax
jle 0x1402b71f8
mov r14, qword [rsp + 0x60]
mov rbx, rdi
shl rbx, 5
test byte [rbx + r14 + 0x1c], 0x40
jne 0x1402b71e8
mov rdx, qword [rbx + r14 + 8]
test rdx, rdx
je 0x1402b71bf
mov rcx, rsi
call fcn.140299004
xor r9d, r9d
mov rdx, qword [rbx + r14 + 0x10]
test rdx, rdx
je 0x1402b71d4
mov rcx, rsi
call fcn.1402939e0
xor r9d, r9d
mov ecx, dword [r14]
sub rdi, r12
dec ecx
sub rbx, 0x20
mov dword [r14], ecx
test rdi, rdi
jg 0x1402b71a2
mov r13, qword [rbp + 0xd8]
mov r14, qword [rbp - 0x10]
mov rbx, qword [rsp + 0x60]
mov edx, r9d
test ecx, ecx
jle 0x1402b721f
lea rcx, [rbx + 8]
test byte [rcx + 0x14], 0x40
jne 0x1402b720f
mov rax, qword [rcx]
mov byte [rax], 0x79
add edx, r12d
add rcx, 0x20
cmp edx, dword [rbx]
jl 0x1402b7203
jmp 0x1402b721f
xor r9d, r9d
dec dword [r15 + 0x44]
mov ecx, 0x4000
mov eax, dword [r15 + 0x44]
mov dword [rbp - 0x60], eax
test dword [r13 + 4], ecx
jne 0x1402b723c
mov word [r13 + 2], 0x140
cmp qword [r13 + 0x60], r9
je 0x1402b7253
mov r8d, eax
mov rdx, r13
mov rcx, r15
call fcn.14023fa74
xor r9d, r9d
cmp dword [r13 + 8], r9d
jne 0x1402b728b
cmp dword [rbp - 0x28], r9d
jl 0x1402b728b
mov rax, qword [r14]
cmp byte [rax + 0x67], r9b
je 0x1402b7271
lea rax, [0x140484a98]
jmp 0x1402b7284
movsxd rax, dword [rbp - 0x28]
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 0x88]
lea rax, [rax + rcx*8]
mov byte [rax], 0x77
or byte [rbp - 0x1c], r12b
test byte [r13 + 4], r12b
je 0x1402b7308
mov ebx, dword [r15 + 0x34]
xor r9d, r9d
xor r8d, r8d
mov dword [rbp - 0x4c], ebx
mov rcx, r15
lea eax, [rbx + 1]
mov dword [r15 + 0x34], eax
mov rdx, qword [r13 + 0x20]
call fcn.1402ab918
xor edx, edx
xor r9d, r9d
mov dword [rsp + 0x20], edx
mov r8d, ebx
mov rcx, r14
mov rdi, rax
lea edx, [r9 + 0x76]
call fcn.1402bdb4c
mov r9d, 0xfffffff8
mov r8, rdi
mov edx, eax
mov rcx, r14
mov ebx, eax
call fcn.1402bdf54
movsxd rax, dword [r14 + 0x90]
xor r9d, r9d
mov dword [rbp - 0x48], ebx
test eax, eax
jle 0x1402b7304
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 0x88]
mov word [rax + rcx*8 - 0x16], 8
mov al, 3
jmp 0x1402b730b
mov al, r9b
mov rdi, qword [rbp - 8]
mov byte [rbp - 0x4f], al
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x5c], r9d
jne 0x1402b7550
test rdi, rdi
jne 0x1402b7550
movzx ebx, word [r13 + 4]
mov eax, 0x4000
mov sil, byte [rbp + 0xe8]
and bx, ax
mov rdi, qword [r13 + 0x70]
mov al, sil
neg al
mov eax, 0x100
sbb cx, cx
and cx, ax
or bx, cx
test rdi, rdi
je 0x1402b7365
mov rdx, r13
mov rcx, r15
call fcn.1402cf558
movsx eax, word [r13 + 2]
mov rcx, r15
mov r9, qword [rbp - 0x40]
mov r8, qword [rsp + 0x78]
mov rdx, qword [rbp - 0x80]
mov dword [rsp + 0x38], eax
mov rax, qword [r13 + 0x20]
mov word [rsp + 0x30], bx
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
call fcn.1402cb050
xor ebx, ebx
mov qword [rbp + 0xd8], rax
mov rdx, rax
test rax, rax
je 0x1402b685f
movzx eax, word [rax + 0x48]
cmp ax, word [r13 + 2]
jge 0x1402b73bb
mov word [r13 + 2], ax
test sil, sil
je 0x1402b73d7
movzx ecx, byte [rdx + 0x43]
mov eax, dword [rsp + 0x70]
test cl, cl
movzx eax, al
cmovne eax, ecx
mov dword [rsp + 0x70], eax
mov byte [rbp - 0x4f], al
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x1402b7428
movsx eax, byte [rdx + 0x41]
test al, al
jns 0x1402b73f0
mov r8d, ebx
mov dword [rbp - 0x38], ebx
jmp 0x1402b73f6
mov r8d, eax
mov dword [rbp - 0x38], eax
test byte [rdx + 0x44], 4
je 0x1402b740e
movzx eax, byte [rdx + 0x40]
imul rax, rax, 0x70
cmp qword [rax + rdx + 0x328], rbx
je 0x1402b7413
mov eax, dword [rdx + 0x30]
jmp 0x1402b741a
mov eax, dword [rax + rdx + 0x300]
mov dword [rbp - 0x20], eax
cmp r8d, dword [rcx]
cmove rcx, rbx
mov qword [rbp - 0x40], rcx
mov eax, dword [rbp - 0x28]
test eax, eax
js 0x1402b7445
test rcx, rcx
jne 0x1402b7445
mov edx, eax
mov rcx, r14
call fcn.1402bdfdc
mov rdx, qword [rbp + 0xd8]
mov rcx, r15
test rdi, rdi
je 0x1402b750c
mov ebx, dword [r15 + 0x44]
mov r8, rdx
add dword [r15 + 0x38], r12d
dec ebx
mov edi, dword [r15 + 0x38]
mov rdx, r13
mov r9d, edi
mov dword [rsp + 0x20], ebx
lea esi, [rbx - 1]
lea r14d, [rsi - 1]
mov dword [r15 + 0x44], r14d
call fcn.1402cf804
mov r12, qword [rbp - 0x10]
xor edx, edx
xor r8d, r8d
mov dword [rsp + 0x20], edx
mov r9d, r14d
mov rcx, r12
lea edx, [r8 + 9]
call fcn.1402bdb4c
mov edx, ebx
mov rcx, r12
call fcn.1402c892c
mov rbx, qword [rbp + 0xe0]
lea r9, [rbp - 0x40]
xor eax, eax
mov dword [rsp + 0x38], r14d
mov dword [rbp - 0x20], eax
or r8d, 0xffffffff
lea rax, [rbp - 0x50]
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x28], rbx
mov rdx, r13
mov rcx, r15
mov qword [rsp + 0x20], rax
call fcn.1402873fc
mov edx, esi
mov rcx, r12
call fcn.1402c892c
xor esi, esi
xor r9d, r9d
mov r8d, edi
mov dword [rsp + 0x20], esi
mov rcx, r12
lea edx, [rsi + 0x43]
call fcn.1402bdb4c
mov edx, r14d
mov rcx, r12
mov r14, r12
call fcn.1402c892c
jmp 0x1402b83cb
mov eax, dword [rdx + 0x34]
lea r9, [rbp - 0x40]
mov rbx, qword [rbp + 0xe0]
or r8d, 0xffffffff
mov dword [rsp + 0x38], eax
mov eax, dword [rdx + 0x30]
mov rdx, r13
mov dword [rsp + 0x30], eax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
call fcn.1402873fc
mov rcx, qword [rbp + 0xd8]
call fcn.1402cdf28
jmp 0x1402b83c9
mov dword [rsp + 0x4c], r9d
mov dword [rsp + 0x54], r9d
mov dword [rbp - 0x70], r9d
test rdi, rdi
je 0x1402b75fc
mov rcx, qword [r13 + 0x20]
mov eax, dword [rcx]
test eax, eax
jle 0x1402b7584
add rcx, 0x22
sub eax, r12d
mov word [rcx], r9w
lea rcx, [rcx + 0x20]
test eax, eax
jg 0x1402b7575
mov eax, dword [rdi]
test eax, eax
jle 0x1402b759d
lea rcx, [rdi + 0x22]
sub eax, r12d
mov word [rcx], r9w
lea rcx, [rcx + 0x20]
test eax, eax
jg 0x1402b758e
mov eax, 0x42
cmp word [r13 + 2], ax
jle 0x1402b75ae
mov word [r13 + 2], ax
mov rax, qword [rbp - 0x40]
test rax, rax
je 0x1402b7601
mov ecx, dword [rdi]
cmp ecx, dword [rax]
jne 0x1402b7601
mov r8d, r9d
test ecx, ecx
jle 0x1402b75e2
mov rdx, r9
mov rax, qword [rbp - 0x40]
lea rdx, [rdx + 0x20]
add r8d, r12d
mov cl, byte [rdx + rax - 8]
and cl, r12b
mov byte [rdx + rdi - 8], cl
cmp r8d, dword [rdi]
jl 0x1402b75c7
mov rdx, qword [rbp - 0x40]
or r8d, 0xffffffff
mov rcx, rdi
call fcn.140299ec0
test eax, eax
jne 0x1402b7601
mov dword [rbp - 0x70], r12d
jmp 0x1402b7601
mov word [r13 + 2], r9w
mov eax, dword [r15 + 0x44]
mov ebx, 0x38
dec eax
mov edx, ebx
mov rcx, rsi
mov dword [rsp + 0x58], eax
mov dword [r15 + 0x44], eax
call fcn.140293b74
mov rsi, rax
test rax, rax
je 0x1402b7638
mov r8, rax
lea rdx, [0x140235c9c]
mov rcx, r15
call fcn.1402af76c
mov rax, qword [rsp + 0x40]
xor edx, edx
cmp byte [rax + 0x67], dl
jne 0x1402b685f
mov ecx, dword [r13 + 0x10]
mov r8, rbx
mov dword [rsi + 0x34], ecx
lea rcx, [rbp + 0x40]
call fcn.140331590
mov rbx, qword [rbp - 0x80]
xor eax, eax
mov qword [rbp + 0x40], r15
mov qword [rbp + 0x48], rbx
mov qword [rbp + 0x50], rsi
test rdi, rdi
je 0x1402b7674
mov eax, dword [rdi]
mov rdx, qword [rsp + 0x60]
lea rcx, [rbp + 0x40]
mov word [rsi + 2], ax
mov qword [rsi + 0x10], rdi
call fcn.140296450
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp + 0x40]
call fcn.140296450
mov rax, qword [rbp - 0x78]
xor edx, edx
test rax, rax
je 0x1402b76f4
test rdi, rdi
je 0x1402b76e6
lea r8d, [rdx + 0x30]
lea rcx, [rbp + 0x10]
call fcn.140331590
mov rdx, qword [r13 + 0x40]
lea rax, [0x14026da58]
mov qword [rbp + 0x10], r15
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x38], r13
test rdx, rdx
je 0x1402b76d9
lea rcx, [rbp + 0x10]
call fcn.1402cad00
mov rax, qword [r13 + 0x30]
mov qword [rsp + 0x78], rax
mov rax, qword [rbp - 0x78]
mov rdx, rax
lea rcx, [rbp + 0x40]
call fcn.1402964a4
xor edx, edx
mov eax, dword [rsi + 0x20]
mov dword [rsi + 0x24], eax
cmp qword [r13 + 0x38], rdx
jne 0x1402b77e0
cmp qword [r13 + 0x40], rdx
jne 0x1402b77e0
cmp dword [rsi + 0x30], r12d
jne 0x1402b77e0
mov rax, qword [rsi + 0x28]
mov rcx, qword [rax]
mov r11, qword [rcx + 0x20]
test r11, r11
je 0x1402b77e0
cmp dword [r11], r12d
jne 0x1402b77e0
test dword [rcx + 4], 0x1000000
jne 0x1402b77e0
mov rax, qword [rsp + 0x40]
test dword [rax + 0x60], 0x10000
jne 0x1402b77e0
mov rax, qword [rcx + 8]
lea rdx, [0x1403f83a4]
mov rcx, rax
mov qword [rbp + 0xd0], rax
call fcn.1402ba040
test eax, eax
jne 0x1402b778e
mov rcx, qword [r11 + 8]
call fcn.140296794
neg eax
mov byte [rbp + 0xd0], r12b
sbb al, al
and al, 2
mov byte [rsp + 0x48], al
jmp 0x1402b77b3
mov rcx, qword [rbp + 0xd0]
lea rdx, [0x1403f83a8]
call fcn.1402ba040
xor ecx, ecx
test eax, eax
jne 0x1402b77d8
mov byte [rsp + 0x48], r12b
mov byte [rbp + 0xd0], 2
mov rcx, qword [rsp + 0x40]
xor r8d, r8d
mov rdx, r11
call fcn.140299f6c
mov qword [rbp + 8], rax
mov rcx, rax
test rax, rax
je 0x1402b77e6
mov al, byte [rsp + 0x48]
mov byte [rcx + 0x18], al
jmp 0x1402b77e6
mov byte [rbp + 0xd0], cl
jmp 0x1402b77e6
mov byte [rbp + 0xd0], dl
lea rdx, [rbp + 0x40]
mov rcx, rsi
call fcn.140236bd8
mov r10, qword [rsp + 0x40]
xor r11d, r11d
cmp byte [r10 + 0x67], r11b
jne 0x1402b842c
test rdi, rdi
je 0x1402b80d4
mov qword [rbp], r11
mov word [rbp + 0xd0], r11w
cmp dword [rsi + 0x30], r12d
jne 0x1402b78ab
mov rax, qword [rsi + 0x28]
cmp dword [rax + 0x10], r11d
jl 0x1402b78ab
mov rax, qword [rax]
test rax, rax
je 0x1402b78ab
test dword [rax + 4], 0x1000
jne 0x1402b78ab
mov rcx, qword [rax + 0x20]
test rcx, rcx
je 0x1402b78ab
mov rdx, qword [rcx + 8]
test rdx, rdx
je 0x1402b786c
xor r9d, r9d
xor r8d, r8d
mov rcx, r10
call fcn.140245218
mov r10, qword [rsp + 0x40]
mov qword [rbp + 0xd0], rax
jmp 0x1402b7873
mov qword [rbp + 0xd0], r11
xor r8d, r8d
mov rdx, rdi
mov rcx, r10
call fcn.140299f6c
mov r8, qword [rbp + 0xd0]
mov rdx, rax
mov rcx, r15
call fcn.140299c28
mov rcx, rax
mov qword [rbp], rax
neg rcx
sbb ax, ax
and ax, 0x500
mov word [rbp + 0xd0], ax
mov ecx, dword [r15 + 0x34]
xor r8d, r8d
mov dword [rsi + 4], ecx
mov rdx, rdi
add dword [r15 + 0x34], r12d
mov rcx, r15
mov r9d, dword [rsi + 0x20]
call fcn.1402ab918
movzx r9d, word [rsi + 2]
mov rcx, r14
mov r8d, dword [rsi + 4]
mov qword [rbp - 0x58], rax
xor eax, eax
mov dword [rsp + 0x20], eax
lea edx, [rax + 0x77]
call fcn.1402bdb4c
mov r8, qword [rbp - 0x58]
mov r9d, 0xfffffff8
mov edx, eax
mov dword [rbp - 0x80], eax
mov rcx, r14
call fcn.1402bdf54
lea rdx, [r15 + 0x38]
mov eax, dword [rdx]
inc eax
mov dword [rsp + 0x5c], eax
lea r8d, [rax + 1]
mov eax, dword [r15 + 0x44]
lea ecx, [r8 + 2]
mov dword [rsp + 0x6c], r8d
mov dword [rdx], ecx
dec eax
mov dword [rbp - 0x68], eax
mov r9d, r8d
dec eax
mov dword [rsp + 0x68], ecx
mov dword [r15 + 0x44], eax
xor r8d, r8d
add ecx, dword [rdi]
mov dword [rdx], ecx
mov dword [rbp - 0x64], eax
lea eax, [rcx + 1]
add ecx, dword [rdi]
mov dword [rdx], ecx
mov rcx, r14
mov dword [rbp - 0x6c], eax
xor eax, eax
mov dword [rsp + 0x20], eax
lea edx, [rax + 0x47]
call fcn.1402bdb4c
mov ecx, dword [rdi]
xor r8d, r8d
mov edx, dword [rsp + 0x68]
dec ecx
inc edx
add ecx, edx
mov r9d, edx
mov dword [rsp + 0x20], ecx
lea edx, [r8 + 0x4b]
mov rcx, r14
call fcn.1402bdb4c
mov r9d, dword [rbp - 0x64]
xor eax, eax
mov r8d, dword [rsp + 0x68]
mov rcx, r14
mov dword [rsp + 0x20], eax
lea edx, [rax + 0xa]
call fcn.1402bdb4c
mov eax, dword [rbp - 0x70]
neg eax
mov eax, 0x80
sbb cx, cx
and cx, 0x200
cmp byte [rbp + 0xe8], 2
lea edx, [rax - 0x40]
cmove dx, ax
or cx, dx
or cx, word [rbp + 0xd0]
xor eax, eax
mov dword [rsp + 0x38], eax
mov word [rsp + 0x30], cx
mov rax, qword [rbp]
mov r9, rdi
mov r8, qword [rsp + 0x78]
mov rdx, rbx
mov qword [rsp + 0x28], r13
mov rcx, r15
mov qword [rsp + 0x20], rax
call fcn.1402cb050
xor r11d, r11d
mov qword [rsp + 0x78], rax
mov rdx, rax
test rax, rax
jne 0x1402b7a14
mov rax, qword [rbp]
test rax, rax
je 0x1402b8427
mov rcx, qword [rsp + 0x40]
mov rdx, rax
call fcn.140245920
jmp 0x1402b8427
lea rbx, [r15 + 0x38]
cmp qword [r15 + 0x60], r11
je 0x1402b7a79
mov r8d, dword [rsi + 0x24]
mov dword [rsi + 0x20], r8d
cmp word [rsi + 2], r11w
jbe 0x1402b7a65
mov rax, qword [r13 + 0x38]
mov ecx, dword [rax]
sub ecx, r12d
test r8d, r8d
jle 0x1402b7a5d
mov rdx, qword [rsi + 0x18]
mov r9d, r8d
add rdx, 0x16
movsx eax, word [rdx]
lea rdx, [rdx + 0x18]
cmp eax, ecx
cmovle eax, ecx
mov ecx, eax
sub r9, r12
jne 0x1402b7a46
lea rbx, [r15 + 0x38]
add cx, r12w
mov word [rsi + 2], cx
lea rdx, [rbp + 0x40]
mov rcx, rsi
call fcn.140236bd8
mov rdx, qword [rsp + 0x78]
xor r11d, r11d
mov eax, dword [rbx]
mov ecx, r11d
add eax, r12d
mov dword [rsi + 0xc], eax
mov eax, dword [rsi + 0x30]
add eax, dword [rsi + 0x20]
add dword [rbx], eax
movzx eax, byte [rdx + 0x43]
cmp byte [rdx + 0x41], r11b
mov dword [rsp + 0x74], eax
movsx eax, byte [rdx + 0x41]
cmovge ecx, eax
cmp ecx, dword [rdi]
jne 0x1402b7aaf
mov dword [rbp + 0xe8], r11d
jmp 0x1402b7cbc
cmp byte [rbp + 0xe8], r11b
je 0x1402b7ac5
lea r9, [0x1403fe208]
test byte [r13 + 4], r12b
je 0x1402b7acc
lea r9, [0x1403fe218]
lea r8, [0x1403fdd28]
xor edx, edx
mov rcx, r15
call fcn.1402c5c64
mov eax, dword [rdi]
xor r10d, r10d
mov ebx, eax
mov dword [rbp + 0xe8], r12d
mov r8d, eax
mov dword [rsp + 0x50], eax
cmp dword [rsi + 0x20], r10d
jle 0x1402b7b26
mov rdx, qword [rsi + 0x18]
mov r9d, dword [rsi + 0x20]
add rdx, 0x16
movsx ecx, word [rdx]
lea eax, [rbx + 1]
cmp ecx, r8d
lea rdx, [rdx + 0x18]
cmovl eax, ebx
mov ebx, eax
lea eax, [r8 + 1]
cmovl eax, r8d
mov r8d, eax
sub r9, r12
jne 0x1402b7b04
mov edx, ebx
mov rcx, r15
call fcn.1402a865c
xor r9d, r9d
mov dword [rsp + 0x54], eax
mov r8d, eax
mov byte [rsp + 0x20], r10b
mov rcx, r15
mov rdx, rdi
call fcn.140296990
xor edx, edx
mov byte [rsi], r12b
mov ecx, edx
mov dword [rsp + 0x4c], edx
cmp dword [rsi + 0x20], edx
jle 0x1402b7bad
mov r14d, dword [rsp + 0x50]
mov edi, edx
mov r13d, dword [rsp + 0x54]
mov rdx, qword [rsi + 0x18]
movsx eax, word [rdi + rdx + 0x16]
cmp eax, r14d
jl 0x1402b7b8c
mov rdx, qword [rdi + rdx + 8]
lea r8d, [r14 + r13]
mov rcx, r15
call fcn.1402968ac
mov ecx, dword [rsp + 0x4c]
add r14d, r12d
add ecx, r12d
add rdi, 0x18
mov dword [rsp + 0x4c], ecx
cmp ecx, dword [rsi + 0x20]
jl 0x1402b7b66
mov r13, qword [rbp + 0xd8]
xor edx, edx
mov r14, qword [rbp - 0x10]
mov rdi, qword [rbp - 8]
mov byte [rsi], dl
mov al, byte [r15 + 0x1f]
test al, al
jne 0x1402b7bc3
mov eax, dword [r15 + 0x38]
inc eax
mov dword [r15 + 0x38], eax
jmp 0x1402b7bd5
sub al, r12b
movzx eax, al
mov byte [r15 + 0x1f], al
mov eax, dword [r15 + rax*4 + 0xe8]
mov r8d, dword [rsp + 0x54]
mov r9d, ebx
mov edx, 0x61
mov dword [rsp + 0x4c], eax
mov rcx, r14
mov dword [rsp + 0x20], eax
call fcn.1402bdb4c
mov r9d, dword [rsp + 0x4c]
xor eax, eax
mov r8d, dword [rsi + 4]
mov edx, 0x8b
mov rcx, r14
mov dword [rsp + 0x20], eax
call fcn.1402bdb4c
mov ecx, dword [rsp + 0x4c]
test ecx, ecx
je 0x1402b7c32
mov eax, 8
cmp byte [r15 + 0x1f], al
jae 0x1402b7c32
movzx eax, byte [r15 + 0x1f]
mov dword [r15 + rax*4 + 0xe8], ecx
add byte [r15 + 0x1f], r12b
mov edx, dword [rsp + 0x54]
mov r8d, ebx
mov rcx, r15
call fcn.1402b4f88
mov rcx, qword [rsp + 0x78]
call fcn.1402cdf28
mov ecx, dword [r15 + 0x34]
mov dword [rsi + 8], ecx
add dword [r15 + 0x34], r12d
mov al, byte [r15 + 0x1f]
mov dword [rsp + 0x4c], ecx
test al, al
jne 0x1402b7c6e
mov eax, dword [r15 + 0x38]
inc eax
mov dword [r15 + 0x38], eax
jmp 0x1402b7c80
sub al, r12b
movzx eax, al
mov byte [r15 + 0x1f], al
mov eax, dword [r15 + rax*4 + 0xe8]
mov r8d, ecx
mov dword [rsp + 0x54], eax
mov rcx, r14
mov dword [rsp + 0x20], ebx
mov r9d, eax
mov edx, 0x79
call fcn.1402bdb4c
mov r9d, dword [rsp + 0x58]
xor eax, eax
mov r8d, dword [rsi + 4]
mov rcx, r14
mov dword [rsp + 0x20], eax
lea edx, [rax + 0x22]
call fcn.1402bdb4c
xor r11d, r11d
mov byte [rsi + 1], r12b
cmp qword [r15 + 0x60], r11
je 0x1402b7d1c
xor edx, edx
lea rcx, [rbp + 0x10]
lea r8d, [rdx + 0x30]
call fcn.140331590
xor r11d, r11d
lea rax, [0x140235da0]
mov ecx, r11d
mov qword [rbp + 0x18], rax
mov dword [rsp + 0x50], ecx
cmp dword [rsi + 0x30], r11d
jle 0x1402b7d1c
mov ebx, r11d
mov rax, qword [rsi + 0x28]
mov rdx, qword [rbx + rax]
test rdx, rdx
je 0x1402b7d0c
lea rcx, [rbp + 0x10]
call fcn.1402cad00
mov ecx, dword [rsp + 0x50]
xor r11d, r11d
add ecx, r12d
add rbx, 0x20
mov dword [rsp + 0x50], ecx
cmp ecx, dword [rsi + 0x30]
jl 0x1402b7cef
cmp dword [rbp - 0x70], r11d
je 0x1402b7d56
mov rax, qword [rsp + 0x40]
test byte [rax + 0x60], 4
mov eax, dword [rbp + 0xe8]
jne 0x1402b7d5c
test eax, eax
jne 0x1402b7d44
mov rcx, qword [rsp + 0x78]
lea edx, [rax + 8]
test byte [rcx + 0x44], dl
je 0x1402b7d5c
mov edx, dword [rbp - 0x28]
mov rcx, r14
mov qword [rbp - 0x40], r11
call fcn.1402bdfdc
xor r11d, r11d
mov eax, dword [rbp + 0xe8]
mov ecx, dword [r14 + 0x90]
mov dword [rsp + 0x50], ecx
test eax, eax
je 0x1402b7d92
mov eax, dword [rsp + 0x4c]
mov edx, 0x85
mov r9d, dword [rsp + 0x54]
mov rcx, r14
mov r8d, dword [rsi + 4]
mov dword [rsp + 0x20], eax
call fcn.1402bdb4c
mov eax, dword [rbp + 0xe8]
xor r11d, r11d
mov ebx, r11d
cmp dword [rdi], r11d
jle 0x1402b7dec
lea r13, [rdi + 8]
mov r8d, dword [rbp - 0x6c]
add r8d, ebx
test eax, eax
je 0x1402b7dc5
mov dword [rsp + 0x20], r8d
mov r9d, ebx
mov r8d, dword [rsp + 0x4c]
mov edx, 0x5e
mov rcx, r14
call fcn.1402bdb4c
jmp 0x1402b7dd4
mov byte [rsi], r12b
mov rcx, r15
mov rdx, qword [r13]
call fcn.1402968ac
mov eax, dword [rbp + 0xe8]
add ebx, r12d
add r13, 0x20
cmp ebx, dword [rdi]
jl 0x1402b7d9e
mov r13, qword [rbp + 0xd8]
mov rbx, qword [rbp - 0x58]
test rbx, rbx
je 0x1402b7df8
add dword [rbx], r12d
mov r8d, dword [rsp + 0x68]
mov edx, 0x5a
mov eax, dword [rdi]
inc r8d
mov r9d, dword [rbp - 0x6c]
mov rcx, r14
mov dword [rsp + 0x20], eax
call fcn.1402bdb4c
mov r9d, 0xfffffff8
mov r8, rbx
mov edx, eax
mov rcx, r14
call fcn.1402bdf54
mov ebx, dword [r14 + 0x90]
xor r9d, r9d
mov rcx, r14
lea r8d, [rbx + 1]
lea edx, [r9 + 0xe]
mov dword [rsp + 0x20], r8d
call fcn.1402bdb4c
mov r9d, dword [rsp + 0x68]
mov edx, 0x4f
mov eax, dword [rdi]
inc r9d
mov r8d, dword [rbp - 0x6c]
mov rcx, qword [r15 + 0x10]
mov dword [rsp + 0x20], eax
call fcn.1402bdb4c
mov edi, dword [rsp + 0x6c]
xor eax, eax
mov r9d, dword [rbp - 0x68]
mov rcx, r14
mov dword [rsp + 0x20], eax
lea edx, [rax + 0xa]
lea r8d, [rdi + 1]
call fcn.1402bdb4c
mov r9d, dword [rsp + 0x58]
xor eax, eax
mov r8d, edi
mov dword [rsp + 0x20], eax
mov rcx, r14
lea edx, [rax + 0x3b]
call fcn.1402bdb4c
mov r9d, dword [rbp - 0x64]
lea r8d, [rdi + 2]
xor eax, eax
mov rcx, r14
mov dword [rsp + 0x20], eax
lea edx, [rax + 0xa]
call fcn.1402bdb4c
mov edx, ebx
mov rcx, r14
call fcn.1402c65dc
mov r9d, dword [rsp + 0x74]
mov r8, rsi
mov edx, dword [rsp + 0x5c]
mov rcx, r15
call fcn.1402d3b74
mov r9d, dword [rsp + 0x5c]
xor eax, eax
mov r8d, r12d
mov dword [rsp + 0x20], eax
mov rcx, r14
lea ebx, [rax + 0x47]
mov edx, ebx
call fcn.1402bdb4c
xor eax, eax
cmp dword [rbp + 0xe8], eax
je 0x1402b7f15
mov r9d, dword [rsp + 0x50]
lea edx, [rbx - 0x22]
mov r8d, dword [rsi + 4]
mov rcx, r14
mov dword [rsp + 0x20], eax
call fcn.1402bdb4c
jmp 0x1402b7f2a
mov rcx, qword [rsp + 0x78]
call fcn.1402cdf28
mov edx, dword [rbp - 0x80]
mov rcx, r14
call fcn.1402bdfdc
mov rax, qword [rbp]
test rax, rax
je 0x1402b7f40
mov rcx, qword [rsp + 0x40]
mov rdx, rax
call fcn.140245920
mov r9d, dword [rbp - 0x68]
lea r8d, [rdi + 1]
xor eax, eax
mov rcx, r14
mov dword [rsp + 0x20], eax
lea edx, [rax + 0xa]
call fcn.1402bdb4c
mov r9d, dword [rsp + 0x58]
xor eax, eax
xor r8d, r8d
mov dword [rsp + 0x20], eax
mov rcx, r14
lea edx, [rax + 9]
call fcn.1402bdb4c
mov r9d, dword [rsp + 0x6c]
xor eax, eax
mov edi, dword [r14 + 0x90]
mov r8d, r12d
mov edx, ebx
mov dword [rsp + 0x20], eax
mov rcx, r14
call fcn.1402bdb4c
mov r12d, dword [rsp + 0x6c]
xor eax, eax
inc r12d
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8d, r12d
mov rcx, r14
lea edx, [rax + 0x43]
call fcn.1402bdb4c
mov edx, dword [rbp - 0x68]
mov rcx, r14
call fcn.1402c892c
mov ebx, dword [r14 + 0x90]
xor eax, eax
mov r8d, dword [rsp + 0x5c]
mov rcx, r14
mov dword [rsp + 0x20], eax
lea edx, [rax + 0x3b]
lea r9d, [rbx + 2]
call fcn.1402bdb4c
xor eax, eax
xor r9d, r9d
mov r8d, r12d
mov dword [rsp + 0x20], eax
mov rcx, r14
lea edx, [rax + 0x43]
call fcn.1402bdb4c
mov rdx, rsi
mov rcx, r15
call fcn.14024681c
mov rdx, qword [rbp - 0x78]
inc ebx
mov r8d, ebx
mov r9d, 0x10
mov rcx, r15
call fcn.14029926c
mov dword [rsp + 0x38], edi
lea rax, [rbp - 0x50]
mov dword [rsp + 0x30], ebx
lea r9, [rbp - 0x40]
mov rbx, qword [rbp + 0xe0]
or r8d, 0xffffffff
mov qword [rsp + 0x28], rbx
mov rdx, r13
mov rcx, r15
mov qword [rsp + 0x20], rax
call fcn.1402873fc
xor edi, edi
xor r9d, r9d
mov r8d, r12d
mov dword [rsp + 0x20], edi
mov rcx, r14
lea edx, [rdi + 0x43]
call fcn.1402bdb4c
mov edx, dword [rbp - 0x64]
mov rcx, r14
call fcn.1402c892c
mov rdx, rsi
mov rcx, r15
call fcn.140281420
mov r9d, dword [rsp + 0x5c]
lea edx, [rdi + 0x47]
xor r8d, r8d
mov dword [rsp + 0x20], edi
mov rcx, r14
call fcn.1402bdb4c
xor r9d, r9d
mov dword [rsp + 0x20], edi
lea r8d, [r12 + 1]
mov rcx, r14
lea edx, [rdi + 0x43]
call fcn.1402bdb4c
cmp word [rbp + 0xd0], di
je 0x1402b83bd
mov eax, dword [rsp + 0x74]
test eax, eax
je 0x1402b83bd
mov r8, qword [rsi + 0x28]
mov edx, eax
mov rcx, r15
mov r9d, dword [r8 + 0x14]
mov r8d, dword [r8 + 0x10]
call fcn.14024716c
jmp 0x1402b83bd
cmp qword [r13 + 0x30], r11
jne 0x1402b8449
mov r8, qword [r13 + 0x20]
cmp dword [r8], r12d
jne 0x1402b8449
mov rdx, qword [r13 + 0x28]
cmp dword [rdx], r12d
jne 0x1402b8449
cmp qword [rdx + 0x30], r11
jne 0x1402b8449
cmp dword [rsi + 0x30], r12d
jne 0x1402b8449
cmp qword [r13 + 0x40], r11
jne 0x1402b8449
mov rdx, qword [rdx + 0x28]
cmp byte [rdx + 0x3f], r11b
jne 0x1402b8449
mov r8, qword [r8 + 8]
cmp byte [r8], 0xa8
jne 0x1402b8449
cmp qword [r8 + 0x38], rsi
jne 0x1402b8449
mov rax, qword [rsi + 0x28]
mov rcx, qword [rax + 8]
mov eax, 0x100
test dword [rcx + 4], eax
je 0x1402b8449
test dword [r8 + 4], 0x1000004
jne 0x1402b8449
test rdx, rdx
je 0x1402b8449
mov r9, qword [rdx + 0x60]
mov r8d, 0xffff8000
mov dword [rbp + 0xd8], r8d
mov rdi, rdx
test r9, r9
je 0x1402b81af
mov rax, qword [r15]
mov r8d, r11d
mov dword [rbp + 0xd8], r11d
mov rcx, qword [rax + 0x20]
add rcx, 0x18
cmp qword [rcx], r9
je 0x1402b81af
add r8d, r12d
lea rcx, [rcx + 0x20]
cmp qword [rcx], r9
jne 0x1402b819c
mov dword [rbp + 0xd8], r8d
mov eax, dword [r15 + 0x34]
mov edx, r8d
mov dword [rbp + 0xe8], eax
mov rcx, r15
inc eax
mov qword [rbp - 0x58], r11
mov dword [r15 + 0x34], eax
mov rbx, r11
mov eax, dword [rdi + 0x28]
mov dword [rbp + 0xd0], eax
call fcn.140291138
mov rax, qword [rdi]
xor r9d, r9d
mov r8d, dword [rdi + 0x28]
mov rcx, r15
mov edx, dword [rbp + 0xd8]
mov qword [rsp + 0x20], rax
call fcn.1402ba5dc
xor edx, edx
test byte [rdi + 0x30], 0x80
je 0x1402b8217
mov rbx, qword [rdi + 0x10]
jmp 0x1402b8212
mov eax, dword [rbx + 0x64]
and al, 3
cmp al, 2
je 0x1402b8217
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x1402b8205
mov rax, qword [r13 + 0x28]
test byte [rax + 0x48], r12b
jne 0x1402b8254
mov rax, qword [rdi + 0x10]
jmp 0x1402b824f
test byte [rax + 0x64], 4
jne 0x1402b824b
movzx ecx, word [rax + 0x5c]
cmp cx, word [rdi + 0x3c]
jge 0x1402b824b
cmp qword [rax + 0x48], rdx
jne 0x1402b824b
test rbx, rbx
je 0x1402b8248
cmp cx, word [rbx + 0x5c]
jge 0x1402b824b
mov rbx, rax
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x1402b8227
test rbx, rbx
je 0x1402b8271
mov eax, dword [rbx + 0x58]
mov rdx, rbx
mov rcx, r15
mov dword [rbp + 0xd0], eax
call fcn.1402ab9d0
mov qword [rbp - 0x58], rax
mov eax, dword [rbp + 0xd8]
mov edx, 0x70
mov r9d, dword [rbp + 0xd0]
mov rcx, r14
mov r8d, dword [rbp + 0xe8]
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], eax
call fcn.1402bdc60
mov rax, qword [rbp - 0x58]
test rax, rax
je 0x1402b82b8
mov r9d, 0xfffffff8
mov r8, rax
or edx, 0xffffffff
mov rcx, r14
call fcn.1402bdf54
mov eax, dword [r15 + 0x38]
mov rcx, r14
mov r8d, dword [rbp + 0xe8]
add eax, r12d
mov dword [rsi + 0xc], eax
mov eax, dword [rsi + 0x30]
add eax, dword [rsi + 0x20]
add dword [r15 + 0x38], eax
xor eax, eax
mov r9d, dword [rsi + 0x20]
add r9d, dword [rsi + 0xc]
mov dword [rsp + 0x20], eax
lea edx, [rax + 0x62]
call fcn.1402bdb4c
mov r8d, dword [rbp + 0xe8]
xor eax, eax
xor r9d, r9d
mov dword [rsp + 0x20], eax
mov rcx, r14
lea edx, [rax + 0x7a]
call fcn.1402bdb4c
cmp byte [r15 + 0x133], 2
jne 0x1402b8371
xor r8d, r8d
test rbx, rbx
je 0x1402b8338
mov eax, 0x80
test byte [rdi + 0x30], al
je 0x1402b832c
mov eax, dword [rbx + 0x64]
and al, 3
cmp al, 2
je 0x1402b8338
mov rax, qword [rbx]
lea rcx, [0x1403f8cfc]
jmp 0x1402b8345
lea rcx, [0x1403f8cfc]
mov r12d, r8d
mov rax, rcx
mov r9, qword [rdi]
lea rdx, [0x1403fe160]
test r12d, r12d
mov qword [rsp + 0x28], rax
lea r8, [0x1403fe178]
cmovne rcx, rdx
xor edx, edx
mov qword [rsp + 0x20], rcx
mov rcx, r15
call fcn.1402c5c64
xor edi, edi
mov r8d, dword [rsp + 0x58]
mov r9d, 0x10
mov rdx, qword [rbp - 0x78]
mov rcx, r15
mov qword [rbp - 0x40], rdi
call fcn.14029926c
mov eax, dword [rsp + 0x58]
xor r9d, r9d
mov rbx, qword [rbp + 0xe0]
or r8d, 0xffffffff
mov dword [rsp + 0x38], eax
mov rdx, r13
mov dword [rsp + 0x30], eax
mov rcx, r15
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rdi
call fcn.1402873fc
mov edx, dword [rsp + 0x58]
mov rcx, r14
call fcn.1402c892c
xor esi, esi
cmp byte [rsp + 0x70], 3
jne 0x1402b83ea
lea r9, [0x1403fe208]
xor edx, edx
lea r8, [0x1403fdd28]
mov rcx, r15
call fcn.1402c5c64
cmp qword [rbp - 0x40], rsi
je 0x1402b840c
mov rax, qword [rsp + 0x60]
lea r8, [rbp - 0x40]
mov rdx, r13
mov qword [rsp + 0x20], rbx
mov rcx, r15
mov r9d, dword [rax]
call fcn.14026bb04
mov edx, dword [rbp - 0x60]
mov rcx, r14
call fcn.1402c892c
xor r11d, r11d
cmp dword [r15 + 0x30], r11d
mov eax, r11d
setg al
mov r12d, eax
mov r10, qword [rsp + 0x40]
mov rax, qword [rbp + 8]
test rax, rax
je 0x1402b685f
mov rdx, rax
mov rcx, r10
call fcn.140245920
jmp 0x1402b685f
mov edi, r11d
mov ecx, dword [rsi + 0x30]
mov qword [rbp + 0xe8], r11
mov word [rbp + 0xd8], r11w
cmp dword [rsi + 0x24], r11d
je 0x1402b84c0
mov r8d, r11d
test ecx, ecx
jle 0x1402b849a
mov rdx, qword [rsi + 0x28]
mov r9d, ecx
mov rax, qword [rdx]
test dword [rax + 4], 0x1000000
jne 0x1402b848b
mov rax, qword [rdx + 8]
mov ecx, r9d
test byte [rax + 4], 0x20
jne 0x1402b849a
add r8d, r12d
add rdx, 0x20
mov ecx, r9d
cmp r8d, r9d
jl 0x1402b8472
cmp r8d, ecx
jne 0x1402b84ee
add dword [r15 + 0x38], r12d
xor r8d, r8d
mov edi, dword [r15 + 0x38]
mov rcx, r14
mov r9d, edi
mov dword [rsp + 0x20], r11d
lea edx, [r8 + 0x47]
call fcn.1402bdb4c
jmp 0x1402b84ee
cmp ecx, r12d
jne 0x1402b84ee
mov rax, qword [rsi + 0x28]
cmp dword [rax + 0x10], r11d
jl 0x1402b84ee
mov rax, qword [rax]
mov rax, qword [rax + 0x20]
mov qword [rbp + 0xe8], rax
neg rax
sbb ax, ax
and ax, 0x500
mov word [rbp + 0xd8], ax
mov eax, dword [r15 + 0x38]
mov rdx, rsi
add eax, r12d
mov rcx, r15
mov dword [rsi + 0xc], eax
mov eax, dword [rsi + 0x30]
add eax, dword [rsi + 0x20]
add dword [r15 + 0x38], eax
call fcn.140281420
movzx eax, byte [rbp + 0xd0]
xor edx, edx
or ax, word [rbp + 0xd8]
mov rcx, r15
mov r9, qword [rbp + 8]
mov r8, qword [rsp + 0x78]
mov dword [rsp + 0x38], edx
mov rdx, rbx
mov word [rsp + 0x30], ax
mov rax, qword [rbp + 0xe8]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
call fcn.1402cb050
mov rbx, rax
test rax, rax
je 0x1402b8427
movzx eax, byte [rax + 0x43]
mov r8, rsi
mov r9d, eax
mov dword [rbp + 0xd8], eax
mov edx, edi
mov rcx, r15
call fcn.1402d3b74
mov edx, dword [rbp + 0xd8]
xor eax, eax
test edx, edx
je 0x1402b8598
mov r8, qword [rsi + 0x28]
test r8, r8
je 0x1402b8598
mov r9d, dword [r8 + 0x14]
mov rcx, r15
mov r8d, dword [r8 + 0x10]
call fcn.14024716c
xor eax, eax
test edi, edi
je 0x1402b85b3
mov r9d, edi
mov dword [rsp + 0x20], eax
mov r8d, r12d
mov edx, 0x47
mov rcx, r14
call fcn.1402bdb4c
xor edi, edi
cmp byte [rbp + 0xd0], dil
je 0x1402b8607
test byte [rbx + 0x44], 4
je 0x1402b8607
cmp byte [rbx + 0x41], dil
je 0x1402b8607
movzx ecx, byte [rbx + 0x40]
sub rcx, r12
js 0x1402b85f0
imul r9, rcx, 0x70
add r9, rbx
mov rax, qword [r9 + 0x3c0]
test byte [rax + 0x38], 4
jne 0x1402b861f
sub r9, 0x70
sub rcx, r12
jns 0x1402b85da
mov r9d, dword [rbx + 0x34]
xor r8d, r8d
mov dword [rsp + 0x20], edi
mov rcx, r14
lea edx, [r8 + 9]
call fcn.1402bdb4c
mov rcx, rbx
call fcn.1402cdf28
mov rdx, rsi
mov rcx, r15
call fcn.14024681c
jmp 0x1402b8373
mov r9d, dword [r9 + 0x370]
jmp 0x1402b85f4