Function at 0x14019502c
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 [0x14042f068]
xor rax, rsp
mov qword [rbp + 0x110], rax
xor r14d, r14d
mov qword [rbp - 0x40], r8
mov rsi, r8
mov dword [rbp - 0x80], edx
mov ebx, edx
mov qword [rbp - 0x68], rcx
mov r12, rcx
mov dword [rbp - 0x48], r9d
lea r8d, [r14 + 5]
mov dword [rsp + 0x44], r14d
xor edx, edx
mov dword [rsp + 0x68], r14d
lea rcx, [rbp + 0x108]
mov dword [rsp + 0x40], r14d
mov r13d, r14d
mov dword [rsp + 0x48], r14d
mov edi, r14d
mov dword [rbp - 0x78], r14d
call fcn.1402b0760
xor edx, edx
lea r8d, [r14 + 0x68]
lea rcx, [rbp - 0x30]
call fcn.1402b0760
mov rax, qword [r12 + 0x48]
mov qword [rsp + 0x70], rax
test rsi, rsi
jne 0x1401950cc
lea eax, [rsi + 7]
jmp 0x140196369
movzx ecx, word [r12 + 0x18]
movzx edx, byte [r12 + 0xc]
lea esi, [rdx + rcx]
cmp esi, 2
jae 0x1401950ea
mov r8d, r14d
mov dword [rsp + 0x58], r14d
jmp 0x140195126
test ebx, ebx
jne 0x1401950f8
mov r8d, r14d
mov dword [rsp + 0x58], r14d
jmp 0x140195119
cmp ebx, esi
jne 0x140195110
mov eax, dword [rbp + 0x180]
lea r8d, [rax - 2]
add r8d, esi
mov dword [rsp + 0x58], r8d
jmp 0x14019511f
lea r8d, [rbx - 1]
mov dword [rsp + 0x58], r8d
mov eax, dword [rbp + 0x180]
mov esi, 2
sub esi, eax
mov eax, r8d
mov dword [rsp + 0x5c], esi
sub eax, edx
lea ebx, [rsi + 1]
add eax, esi
mov dword [rbp - 0x74], ebx
cmp eax, ecx
jne 0x140195147
movzx ecx, byte [r12 + 9]
add rcx, 8
jmp 0x140195165
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 - 0x50], rcx
call fcn.1401ccaa0
mov ecx, eax
mov dword [rsp + 0x6c], eax
mov dword [rsp + 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 - 0x38], rax
mov r14, rax
movsxd rbx, esi
shl rbx, 3
test edi, edi
jne 0x140196393
and dword [rsp + 0x20], edi
lea r8, [rbp + 0x70]
mov edx, ecx
add r8, rbx
mov rcx, qword [rsp + 0x70]
xor r9d, r9d
call fcn.1401a4d5c
mov dword [rsp + 0x68], eax
mov edi, eax
mov dword [rsp + 0x40], eax
test eax, eax
jne 0x140196393
mov rcx, qword [rbp + r14 + 0x70]
cmp dword [rcx + 0x14], eax
jge 0x1401951f7
call fcn.140196b38
mov dword [rsp + 0x68], eax
mov edi, eax
mov dword [rsp + 0x40], eax
test eax, eax
jne 0x140195329
mov rax, qword [rbp + r14 + 0x70]
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 0x14019534f
cmp byte [r12 + 0xc], 0
je 0x140195269
mov eax, dword [rsp + 0x58]
movzx ecx, word [r12 + 0x1c]
add eax, esi
cmp eax, ecx
jne 0x140195269
mov rbx, qword [r12 + 0x28]
mov rcx, rbx
mov qword [rbp + r14 - 0x60], rbx
call fcn.1401ccaa0
mov rdx, rbx
mov dword [rsp + 0x6c], eax
mov rcx, r12
mov dword [rsp + 0x78], eax
call qword [r12 + 0x78]
movzx eax, ax
mov dword [r15], eax
mov byte [r12 + 0xc], 0
jmp 0x140195320
movzx eax, byte [r12 + 0xc]
mov ecx, dword [rsp + 0x58]
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 - 0x60], rbx
call fcn.1401ccaa0
mov rdx, rbx
mov dword [rsp + 0x6c], eax
mov rcx, r12
mov dword [rsp + 0x78], eax
call qword [r12 + 0x78]
mov rdx, qword [rsp + 0x70]
movzx edi, ax
mov dword [r15], edi
test byte [rdx + 0x28], 0xc
je 0x1401952fa
mov ecx, ebx
sub ecx, dword [r12 + 0x50]
lea eax, [rdi + rcx]
cmp eax, dword [rdx + 0x38]
jg 0x1401952fa
movsxd rcx, ecx
mov r8d, edi
add rcx, qword [rbp - 0x40]
mov rdx, rbx
call fcn.1402afaf0
sub rbx, qword [r12 + 0x50]
add rbx, qword [rbp - 0x40]
mov qword [rbp + r14 - 0x60], rbx
movzx eax, byte [r12 + 0xc]
lea r9, [rsp + 0x40]
mov edx, dword [rsp + 0x58]
mov r8d, edi
sub edx, eax
mov rcx, r12
add edx, esi
call fcn.14019dce8
mov edi, dword [rsp + 0x40]
mov dword [rsp + 0x68], edi
mov ecx, dword [rsp + 0x6c]
jmp 0x14019519b
mov r8, rbx
xor edx, edx
lea rcx, [rbp + 0x70]
call fcn.1402b0760
xor r11d, r11d
mov r13d, dword [rsp + 0x44]
mov rsi, qword [rsp + 0x60]
mov r15d, 1
jmp 0x140196304
mov rax, qword [rsp + 0x70]
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.1401d0d54
xor r11d, r11d
mov qword [rbp - 0x20], rax
mov rcx, rax
test rax, rax
jne 0x140195383
lea edi, [rax + 7]
mov r13d, r11d
jmp 0x14019533f
mov r9d, dword [rbp - 0x30]
movsxd rax, ebx
mov dword [rsp + 0x54], 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 + 0x70]
mov qword [rbp - 0x28], rax
movzx r13d, byte [rax + 8]
movzx r8d, byte [rax + 2]
shl r13w, 2
mov word [rsp + 0x50], r13w
mov dword [rsp + 0x4c], r8d
cmp qword [rsp + 0x60], r11
jle 0x14019562a
mov r15, r11
mov rsi, qword [rbp + r15*8 + 0x70]
mov rax, qword [rbp + 0x70]
mov r12, qword [rsi + 0x50]
mov rcx, qword [rax + 0x50]
movzx ebx, word [rsi + 0x12]
movzx r14d, word [rsi + 0x18]
add rbx, r12
movzx r13d, word [rsi + 0x1a]
mov al, byte [rcx]
cmp byte [r12], al
jne 0x140195843
movzx r8d, byte [rsi + 0xc]
xor edx, edx
movsxd rax, r9d
add r8, r14
add r8, r8
lea rcx, [r10 + rax*2]
call fcn.1402b0760
xor r11d, r11d
cmp byte [rsi + 0xc], r11b
jbe 0x1401954b0
movzx eax, word [rsi + 0x1c]
cmp r14w, ax
jb 0x14019583c
mov r9d, dword [rbp - 0x30]
lea r14d, [r11 + 1]
cmp r11w, ax
jae 0x140195478
mov r8d, eax
movzx eax, word [rbx]
add rbx, 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, r14d
mov dword [rbp - 0x30], r9d
sub r8, r14
jne 0x140195449
mov r10d, r11d
cmp byte [rsi + 0xc], r11b
jbe 0x1401954b4
lea r8, [rsi + 0x28]
mov rcx, qword [r8]
add r10d, r14d
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, r14d
mov dword [rbp - 0x30], r9d
movzx eax, byte [rsi + 0xc]
cmp r10d, eax
jl 0x140195485
jmp 0x1401954b4
mov r9d, dword [rbp - 0x30]
movzx ecx, word [rsi + 0x12]
mov r14d, 1
movzx edx, word [rsi + 0x18]
add rcx, r12
lea r8, [rcx + rdx*2]
cmp rbx, r8
jae 0x1401954fa
movzx eax, word [rbx]
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, r14d
mov dword [rbp - 0x30], r9d
add rbx, 2
jmp 0x1401954c9
mov edx, dword [rsp + 0x54]
mov dword [rbp + r15*4 + 0xb0], r9d
cmp edx, dword [rsp + 0x5c]
jge 0x140195602
cmp byte [rsp + 0x4c], r11b
jne 0x140195602
movzx edx, word [rbp + r15*4 + 0x40]
movsxd r12, dword [rsp + 0x48]
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 - 0x60]
mov dword [rsp + 0x48], r12d
call fcn.1402afaf0
movsxd rcx, dword [rbp - 0x30]
xor r11d, r11d
mov rax, qword [rbp - 0x20]
movzx r13d, word [rsp + 0x50]
lea r8d, [r11 + 4]
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 0x1401955bb
movsxd rax, dword [rbp - 0x30]
mov rcx, qword [rbp - 0x20]
mov rdx, qword [rsi + 0x50]
add rdx, 8
mov rcx, qword [rcx + rax*8]
call fcn.1402afaf0
mov r10, qword [rbp - 0x18]
xor r11d, r11d
mov r9d, dword [rbp - 0x30]
mov r14d, 1
mov edx, dword [rsp + 0x54]
add r9d, r14d
mov dword [rbp - 0x30], r9d
jmp 0x14019560c
movsxd r9, dword [rbp - 0x30]
mov r10, qword [rbp - 0x18]
cmp word [r10 + r9*2], r8w
jae 0x1401955a8
movsxd rdx, r12d
add rdx, r14
mov r14d, 1
mov byte [rdx], r11b
add r12d, r14d
movsxd rcx, dword [rbp - 0x30]
add rdx, r14
mov rax, qword [rbp - 0x18]
add word [rax + rcx*2], r14w
movsxd r9, dword [rbp - 0x30]
mov r10, qword [rbp - 0x18]
cmp word [r10 + r9*2], r8w
jb 0x1401955d6
mov dword [rsp + 0x48], r12d
jmp 0x1401955ae
mov r10, qword [rbp - 0x18]
movzx r13d, word [rsp + 0x50]
add edx, r14d
add r15, r14
mov dword [rsp + 0x54], edx
cmp r15, qword [rsp + 0x60]
jl 0x1401953d6
mov r12, qword [rbp - 0x68]
mov r8d, dword [rsp + 0x4c]
mov rax, qword [rsp + 0x70]
mov r15d, r11d
movzx edx, r13w
mov dword [rsp + 0x48], r11d
mov eax, dword [rax + 0x38]
add eax, 0xfffffff4
add edx, eax
mov dword [rsp + 0x54], edx
cmp qword [rsp + 0x60], r11
jle 0x140195765
mov rsi, r11
mov qword [rbp + 0xf8], r11
mov rbx, r11
lea r14, [rbp + 0x1c]
mov r9d, 1
mov r13, qword [rbp + rsi*8 + 0x70]
mov ecx, dword [rbp + rsi*4 + 0xb0]
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 0x14019569f
cmp ecx, dword [r14]
jne 0x14019569f
sub r15d, r9d
dec rbx
mov dword [rsp + 0x48], r15d
sub r14, rax
test r8b, r8b
jne 0x1401956c3
add rbx, r9
add r15d, r9d
add r14, rax
mov dword [rsp + 0x48], r15d
mov rax, qword [r12 + 0x58]
mov qword [rbp + rbx*8 - 0x10], rax
lea eax, [rcx + 1]
mov dword [rbp + rbx*4 + 0x20], eax
mov r12d, edx
mov edi, r11d
sub r12d, dword [r13 + 0x14]
mov dword [rbp + rsi*4 + 0x40], r12d
cmp byte [r13 + 0xc], r11b
jbe 0x14019572d
lea rsi, [r13 + 0x28]
mov r15d, 1
mov rdx, qword [rsi]
mov rcx, r13
call qword [r13 + 0x78]
movzx eax, ax
add edi, r15d
add eax, 2
lea rsi, [rsi + 8]
add r12d, eax
movzx eax, byte [r13 + 0xc]
cmp edi, eax
jl 0x1401956e2
mov rsi, qword [rbp + 0xf8]
xor r11d, r11d
mov r15d, dword [rsp + 0x48]
mov edx, dword [rsp + 0x54]
mov r8d, dword [rsp + 0x4c]
mov ecx, dword [rbp + rsi*4 + 0xb0]
lea r9d, [r11 + 1]
mov dword [rbp + rsi*4 + 0x40], r12d
mov r12, qword [rbp - 0x68]
add r15d, r9d
mov dword [rbp + rsi*4 + 0x58], ecx
add rbx, r9
add rsi, r9
mov dword [rsp + 0x48], r15d
add r14, 4
mov qword [rbp + 0xf8], rsi
cmp rsi, qword [rsp + 0x60]
jl 0x140195669
mov r10, qword [rbp - 0x18]
mov r9d, dword [rbp - 0x30]
mov edi, dword [rsp + 0x68]
mov eax, dword [rbp - 0x74]
mov r12d, r11d
mov dword [rsp + 0x48], eax
mov ecx, eax
mov dword [rsp + 0x5c], r11d
test eax, eax
jle 0x14019597a
mov rsi, r11
mov r13d, 1
mov r14d, dword [rbp + rsi*4 + 0x40]
cmp r14d, edx
jle 0x140195872
cmp r13d, ecx
jl 0x1401957bf
lea eax, [r13 + 1]
mov dword [rsp + 0x48], eax
lea rax, [rsi + 2]
cmp rax, 5
jg 0x140195966
mov dword [rbp + rax*4 + 0x3c], r11d
mov r14d, dword [rbp + rsi*4 + 0x40]
mov dword [rbp + rax*4 + 0x54], r9d
movsxd rbx, dword [rbp + rsi*4 + 0x58]
movzx eax, word [r10 + rbx*2 - 2]
lea r12d, [rbx - 1]
test ax, ax
jne 0x1401957f3
mov edx, r12d
lea rcx, [rbp - 0x30]
call fcn.14019b24c
mov r10, qword [rbp - 0x18]
xor r11d, r11d
mov r9d, dword [rbp - 0x30]
mov edx, dword [rsp + 0x54]
mov r8d, dword [rsp + 0x4c]
movzx eax, ax
add eax, 2
sub r14d, eax
mov dword [rbp + rsi*4 + 0x40], r14d
test r8b, r8b
jne 0x140195857
cmp ebx, r9d
jge 0x140195854
movzx eax, word [r10 + rbx*2]
test ax, ax
jne 0x140195830
mov edx, ebx
lea rcx, [rbp - 0x30]
call fcn.14019b24c
mov r10, qword [rbp - 0x18]
xor r11d, r11d
mov r9d, dword [rbp - 0x30]
mov r8d, dword [rsp + 0x4c]
mov edx, dword [rsp + 0x54]
movzx eax, ax
add eax, 2
jmp 0x140195857
mov ecx, 0x1248d
jmp 0x140195848
mov ecx, 0x12475
call fcn.1401c0a54
mov edi, eax
jmp 0x140195337
mov eax, r11d
add dword [rbp + rsi*4 + 0x44], eax
mov ecx, dword [rsp + 0x48]
mov dword [rbp + rsi*4 + 0x58], r12d
cmp r14d, edx
jg 0x140195795
mov r12d, dword [rsp + 0x5c]
movsxd rbx, dword [rbp + rsi*4 + 0x58]
cmp ebx, r9d
jge 0x140195924
mov edi, dword [rsp + 0x4c]
lea r15, [rbx + rbx]
mov r12d, 1
movzx eax, word [r15 + r10]
test ax, ax
jne 0x1401958b2
mov edx, ebx
lea rcx, [rbp - 0x30]
call fcn.14019b24c
mov r10, qword [rbp - 0x18]
xor r11d, r11d
mov r9d, dword [rbp - 0x30]
mov edx, dword [rsp + 0x54]
movzx eax, ax
add eax, 2
add r14d, eax
cmp r14d, edx
jg 0x140195916
add ebx, r12d
mov dword [rbp + rsi*4 + 0x40], r14d
add r15, 2
mov dword [rbp + rsi*4 + 0x58], ebx
test dil, dil
jne 0x140195909
cmp ebx, r9d
jge 0x140195906
movzx eax, word [r15 + r10]
test ax, ax
jne 0x1401958fe
mov edx, ebx
lea rcx, [rbp - 0x30]
call fcn.14019b24c
mov r10, qword [rbp - 0x18]
xor r11d, r11d
mov r9d, dword [rbp - 0x30]
mov edx, dword [rsp + 0x54]
movzx eax, ax
add eax, 2
jmp 0x140195909
mov eax, r11d
sub dword [rbp + rsi*4 + 0x44], eax
cmp ebx, r9d
jl 0x14019588e
mov edi, dword [rsp + 0x68]
mov r12d, dword [rsp + 0x5c]
cmp ebx, r9d
jl 0x14019592d
mov ecx, r13d
mov dword [rsp + 0x48], ecx
jmp 0x140195943
test r12d, r12d
jle 0x140195938
mov eax, dword [rbp + rsi*4 + 0x54]
jmp 0x14019593b
mov eax, r11d
cmp ebx, eax
jle 0x140195970
mov ecx, dword [rsp + 0x48]
mov r15d, 1
add r12d, r15d
add r13d, r15d
add rsi, r15
mov dword [rsp + 0x5c], r12d
cmp r12d, ecx
jge 0x14019597a
mov r8d, dword [rsp + 0x4c]
jmp 0x140195787
mov ecx, 0x124f2
jmp 0x140195848
mov ecx, 0x12513
jmp 0x140195848
lea eax, [rcx - 1]
mov r8d, 1
movsxd r15, eax
mov dword [rbp - 0x70], eax
mov rbx, r15
test eax, eax
jle 0x140195ad0
mov r12d, dword [rbp + rbx*4 + 0x40]
lea rcx, [rbp + 0x58]
mov r13d, dword [rbp + rbx*4 + 0x3c]
sub rcx, 4
mov qword [rbp + 0xf8], rcx
mov r9d, dword [rcx + rbx*4]
mov dword [rsp + 0x5c], 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 - 0x60], rax
cmp word [rax + r10], r11w
jne 0x1401959e4
lea rcx, [rbp - 0x30]
call fcn.14019b24c
mov r10, qword [rbp - 0x18]
xor r11d, r11d
mov edi, dword [rbp - 0x70]
movsxd rax, esi
lea r14, [rax + rax]
cmp word [r14 + r10], r11w
jne 0x140195a07
mov edx, esi
lea rcx, [rbp - 0x30]
call fcn.14019b24c
mov r10, qword [rbp - 0x18]
xor r11d, r11d
test r12d, r12d
je 0x140195a6b
cmp dword [rbp + 0x180], r11d
jne 0x140195a40
movzx eax, word [r14 + r10]
mov edx, r13d
mov r8, qword [rbp - 0x60]
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 0x140195a6f
mov r9d, dword [rsp + 0x5c]
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 0x140195ab5
mov eax, dword [rcx + rbx*4 - 4]
jmp 0x140195ab8
mov r8, qword [rbp - 0x60]
movzx eax, word [r8 + r10]
mov ecx, 0xfffffffe
add eax, 2
mov dword [rsp + 0x5c], esi
add r12d, eax
sub r8, 2
movzx eax, word [r14 + r10]
mov r9d, esi
sub ecx, eax
mov qword [rbp - 0x60], 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 0x1401959ee
jmp 0x140195a4c
mov eax, r11d
cmp r9d, eax
jle 0x140195b83
sub r15d, r8d
sub rbx, r8
test rbx, rbx
jg 0x140195994
mov rax, qword [rbp + 0x70]
mov r14d, r11d
mov rcx, qword [rax + 0x50]
movsxd rax, dword [rsp + 0x48]
mov r15, rax
movzx r12d, byte [rcx]
mov dword [rbp - 0x70], r12d
test eax, eax
jle 0x140195c47
mov r13, qword [rbp - 0x68]
mov rsi, r11
cmp rsi, qword [rsp + 0x60]
jge 0x140195b8d
mov rbx, qword [rbp + rsi*8 + 0x70]
mov qword [rbp + rsi*8 + 0x88], rbx
mov qword [rbp + rsi*8 + 0x70], r11
mov qword [rbp + 0xf8], rbx
mov rcx, qword [rbx + 0x70]
call fcn.1401d32d0
mov edi, eax
mov dword [rsp + 0x40], eax
mov r8d, eax
mov ecx, 1
add dword [rsp + 0x44], ecx
xor r11d, r11d
mov eax, dword [rbp - 0x80]
mov edx, r11d
sub eax, dword [rsp + 0x58]
cmp r14d, eax
mov rax, qword [rbx + 0x70]
sete dl
add edx, ecx
movsx ecx, word [rax + 0x36]
cmp ecx, edx
je 0x140195b75
test r8d, r8d
jne 0x140195b75
mov ecx, 0x1255e
call fcn.1401c0a54
mov edi, eax
mov dword [rsp + 0x40], eax
mov r8d, eax
xor r11d, r11d
test r8d, r8d
jne 0x14019533a
jmp 0x140195c32
mov ecx, 0x1253d
jmp 0x140195848
cmp dword [rbp + 0x180], r11d
lea rdx, [rbp + 0xf8]
mov r9d, dword [rsp + 0x6c]
mov rcx, qword [rsp + 0x70]
cmovne r9d, r8d
lea r8, [rsp + 0x78]
mov byte [rsp + 0x20], r11b
call fcn.1401926a0
xor r11d, r11d
mov dword [rsp + 0x40], eax
mov edi, eax
test eax, eax
jne 0x14019533a
mov rbx, qword [rbp + 0xf8]
mov edx, r12d
mov rcx, rbx
call fcn.140207794
mov eax, dword [rbp - 0x30]
xor r11d, r11d
inc dword [rsp + 0x44]
mov dword [rbp + rsi*4 + 0xb0], eax
mov rax, qword [rsp + 0x70]
mov qword [rbp + rsi*8 + 0x88], rbx
cmp byte [rax + 0x21], r11b
je 0x140195c2a
mov r9d, dword [r13 + 4]
lea rcx, [rsp + 0x40]
mov edx, dword [rbx + 4]
mov r8b, 5
mov qword [rsp + 0x20], rcx
mov rcx, rax
call fcn.1401b0c00
mov edi, dword [rsp + 0x40]
xor r11d, r11d
test edi, edi
jne 0x14019533a
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x6c], eax
mov r8d, 1
add r14d, r8d
add rsi, r8
cmp rsi, r15
jl 0x140195afa
movsxd r13, dword [rsp + 0x44]
mov r14, r13
test r13d, r13d
jle 0x140195d82
mov rdx, r11
mov r15d, 1
mov rax, qword [rbp + rdx*8 + 0x88]
mov r8d, dword [rax + 4]
mov rax, qword [rax + 0x70]
mov dword [rbp + rdx*4 + 0xe0], r8d
mov dword [rbp + rdx*4 + 0xc8], r8d
movzx ecx, word [rax + 0x34]
mov rax, r11
mov word [rbp + rdx*2 + 0xf8], cx
test rdx, rdx
jle 0x140195cab
cmp dword [rbp + rax*4 + 0xe0], r8d
je 0x140195e81
add rax, r15
cmp rax, rdx
jl 0x140195c95
add rdx, r15
cmp rdx, r14
jl 0x140195c61
mov r12, qword [rsp + 0x70]
mov rbx, r11
mov ecx, r11d
mov rsi, r11
mov edx, r15d
mov rax, r15
cmp r15, r14
jge 0x140195d06
mov r8, r11
mov r11d, ecx
lea rcx, [rax*4]
mov r9d, dword [rbp + rcx + 0xc8]
cmp r9d, dword [rbp + r8 + 0xc8]
jae 0x140195cf2
mov rsi, rax
mov r8, rcx
mov ecx, edx
cmovae ecx, r11d
add edx, r15d
add rax, r15
cmp rax, r14
jl 0x140195ccf
xor r11d, r11d
mov r15d, dword [rbp + rsi*4 + 0xc8]
or dword [rbp + rsi*4 + 0xc8], 0xffffffff
cmp rsi, rbx
je 0x140195d68
jle 0x140195d3c
mov edx, dword [r12 + 0x40]
mov rax, qword [rbp + rsi*8 + 0x88]
inc edx
add edx, ecx
mov rcx, qword [rax + 0x70]
mov word [rcx + 0x34], r11w
call fcn.1401d3ed4
mov rax, qword [rbp + rbx*8 + 0x88]
mov edx, r15d
mov rcx, qword [rax + 0x70]
movzx eax, word [rbp + rsi*2 + 0xf8]
mov word [rcx + 0x34], ax
call fcn.1401d3ed4
mov rax, qword [rbp + rbx*8 + 0x88]
mov dword [rax + 4], r15d
mov r15d, 1
add rbx, r15
lea r11d, [r15 - 1]
cmp rbx, r14
jl 0x140195cbb
mov r12d, dword [rbp - 0x70]
mov rcx, qword [rbp - 0x50]
lea r15, [r13 - 1]
mov rax, qword [rbp + r15*8 + 0x88]
mov ebx, 4
mov r8d, ebx
mov edx, dword [rax + 4]
bswap edx
mov dword [rbp - 0x80], edx
lea rdx, [rbp - 0x80]
call fcn.1402afaf0
test r12b, 8
jne 0x140195dee
cmp dword [rbp - 0x74], r13d
je 0x140195dee
mov rcx, qword [rbp - 0x38]
lea rdx, [rbp + 0x70]
lea rax, [rbp + 0x88]
mov r8d, ebx
cmovge rax, rdx
mov rax, qword [rax + rcx]
mov rdx, qword [rax + 0x50]
mov rax, qword [rbp + r15*8 + 0x88]
add rdx, 8
mov rcx, qword [rax + 0x50]
add rcx, 8
call fcn.1402afaf0
mov rax, qword [rsp + 0x70]
xor r11d, r11d
cmp byte [rax + 0x21], r11b
je 0x140195fbe
mov rbx, qword [rbp + 0x88]
mov esi, r11d
movzx r12d, word [rbx + 0x18]
movzx eax, byte [rbx + 0xc]
add r12d, eax
cmp dword [rbp - 0x30], r11d
jle 0x140195fbe
mov edx, r11d
lea r9, [rbp + 0x88]
mov ecx, r11d
mov qword [rbp - 0x80], rdx
lea r8, [rbp + 0x58]
mov qword [rbp - 0x70], rcx
mov qword [rbp + 0xf8], r9
mov r15d, r11d
mov qword [rbp - 0x60], r8
mov r13, rbx
mov rax, qword [rbp - 0x20]
mov r10d, dword [rsp + 0x4c]
mov rcx, qword [rcx + rax]
mov qword [rbp - 0x50], rcx
cmp esi, r12d
jne 0x140195ec2
test r10b, r10b
mov edx, r11d
mov r9d, 1
sete dl
add r15, r9
cmp r15, r14
jge 0x140195e9a
mov rbx, qword [rbp + r15*8 + 0x88]
jmp 0x140195e9f
mov ecx, 0x1258c
call fcn.1401c0a54
mov rsi, qword [rsp + 0x60]
mov edi, eax
xor r11d, r11d
jmp 0x140196304
mov rbx, qword [rbp + r15*8 + 0x70]
movzx eax, word [rbx + 0x18]
movzx ecx, byte [rbx + 0xc]
add eax, edx
add ecx, eax
add r12d, ecx
cmp esi, r12d
je 0x140195e6f
mov rcx, qword [rbp - 0x50]
mov rdx, qword [rbp - 0x80]
mov r9, qword [rbp + 0xf8]
cmp esi, dword [r8]
jne 0x140195ee6
add r9, 8
add r8, 4
mov qword [rbp - 0x60], r8
mov qword [rbp + 0xf8], r9
mov r13, qword [r9]
test r10b, r10b
je 0x140195f92
cmp r15, r14
jge 0x140195f09
mov eax, dword [rbp + r15*4 + 0xe0]
cmp dword [r13 + 4], eax
jne 0x140195f09
cmp rcx, qword [rbx + 0x50]
jb 0x140195f09
cmp rcx, qword [rbx + 0x58]
jb 0x140195f92
cmp word [rsp + 0x50], r11w
jne 0x140195f3a
call fcn.1401ccaa0
mov r9d, dword [r13 + 4]
mov edx, eax
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x40]
mov r8b, 5
mov qword [rsp + 0x20], rax
call fcn.1401b0c00
mov edi, dword [rsp + 0x40]
xor r11d, r11d
mov rax, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x80]
movzx eax, word [rcx + rax]
test ax, ax
jne 0x140195f59
mov edx, esi
lea rcx, [rbp - 0x30]
call fcn.14019b24c
xor r11d, r11d
cmp ax, word [r13 + 0x10]
jbe 0x140195f7b
mov r8, qword [rbp - 0x50]
lea r9, [rsp + 0x40]
mov rdx, rbx
mov rcx, r13
call fcn.1401b0d0c
mov edi, dword [rsp + 0x40]
xor r11d, r11d
test edi, edi
jne 0x14019533a
mov rdx, qword [rbp - 0x80]
mov r8, qword [rbp - 0x60]
mov r9, qword [rbp + 0xf8]
mov rcx, qword [rbp - 0x70]
add rdx, 2
add rcx, 8
mov qword [rbp - 0x80], rdx
mov r10d, 1
mov qword [rbp - 0x70], rcx
add esi, r10d
cmp esi, dword [rbp - 0x30]
jl 0x140195e4a
lea r15, [r14 - 1]
jmp 0x140195fc4
mov r10d, 1
test r15, r15
jle 0x14019611a
mov r15, r11
movsxd rsi, dword [rbp + r15*4 + 0x58]
mov rax, qword [rbp - 0x20]
mov r12, qword [rbp + r15*8 + 0x88]
movzx edi, word [rsp + 0x50]
movsxd r13, dword [rbp - 0x78]
mov rbx, qword [rax + rsi*8]
mov rax, qword [rbp - 0x18]
add r13, qword [rbp - 0x40]
movzx edx, word [rax + rsi*2]
add edi, edx
cmp byte [r12 + 8], r11b
jne 0x14019601c
mov rcx, qword [r12 + 0x50]
mov r8d, 4
add rcx, 8
mov rdx, rbx
call fcn.1402afaf0
jmp 0x14019607e
cmp byte [rsp + 0x4c], r11b
je 0x140196061
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.1401d8024
xor r11d, r11d
mov r13d, r11d
lea edi, [rax + 4]
jmp 0x140196081
mov eax, 4
sub rbx, rax
cmp dx, ax
jne 0x140196081
mov rax, qword [rbp - 0x68]
mov rdx, rbx
mov rcx, rax
call qword [rax + 0x78]
movzx edi, ax
xor r11d, r11d
add dword [rbp - 0x78], edi
mov rax, r11
cmp dword [rbp + 0x20], esi
jg 0x1401960a0
mov ecx, 1
cmp rax, 6
jge 0x1401960a0
add rax, rcx
cmp dword [rbp + rax*4 + 0x20], esi
jle 0x140196091
mov rcx, qword [rbp + rax*8 - 0x10]
cmp rcx, rbx
jb 0x1401960b5
movsxd rax, edi
add rax, rbx
cmp rcx, rax
jb 0x140196110
lea rax, [rsp + 0x40]
mov r8, rbx
mov ebx, dword [rsp + 0x58]
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 - 0x68]
mov rcx, r13
call fcn.1401a60b4
mov edi, dword [rsp + 0x40]
xor r11d, r11d
test edi, edi
jne 0x14019533a
lea r10d, [rdi + 1]
add ebx, r10d
lea rax, [r14 - 1]
add r15, r10
mov dword [rsp + 0x58], ebx
cmp r15, rax
jge 0x14019611e
jmp 0x140195fd0
mov ecx, 0x12629
jmp 0x140195848
mov r13, qword [rbp - 0x68]
mov r12d, dword [rsp + 0x44]
mov r15d, 1
mov esi, r15d
sub esi, r12d
cmp esi, r12d
jge 0x14019620e
mov r15d, dword [rsp + 0x54]
mov eax, esi
cdq
mov ecx, eax
xor ecx, edx
sub ecx, edx
movsxd rbx, ecx
cmp byte [rbp + rbx + 0x108], r11b
jne 0x1401961fd
test esi, esi
jns 0x14019616c
mov eax, dword [rbp + rbx*4 + 0x54]
cmp dword [rbp + rbx*4 + 0xac], eax
jl 0x1401961fd
mov rax, rbx
test ecx, ecx
jne 0x14019617f
mov r9d, dword [rbp + 0x58]
mov edx, r11d
mov r8d, r11d
jmp 0x1401961ba
cmp ecx, dword [rbp - 0x74]
lea rax, [rax*4 - 4]
mov ecx, dword [rsp + 0x4c]
jge 0x1401961a1
test cl, cl
mov edx, r11d
sete dl
add edx, dword [rbp + rax + 0xb0]
jmp 0x1401961a4
mov edx, dword [rbp - 0x30]
mov r9d, dword [rbp + rbx*4 + 0x58]
test cl, cl
mov r8d, r11d
sete r8b
add r8d, dword [rbp + rax + 0x58]
sub r9d, r8d
mov rcx, qword [rbp + rbx*8 + 0x88]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
call fcn.14019ded8
xor r11d, r11d
mov dword [rsp + 0x40], eax
mov edi, eax
test eax, eax
jne 0x14019533a
lea eax, [rdi + 1]
mov ecx, r15d
add byte [rbp + rbx + 0x108], al
mov rax, qword [rbp + rbx*8 + 0x88]
sub ecx, dword [rbp + rbx*4 + 0x40]
mov dword [rax + 0x14], ecx
inc esi
cmp esi, r12d
jl 0x14019613d
mov r15d, 1
cmp dword [rbp - 0x48], r11d
je 0x140196272
cmp word [r13 + 0x18], r11w
jne 0x140196272
mov rcx, qword [rbp + 0x88]
movzx eax, byte [r13 + 9]
cmp eax, dword [rcx + 0x14]
jg 0x140196272
or edx, 0xffffffff
call fcn.14019d3c8
mov rcx, qword [rbp + 0x88]
lea r8, [rsp + 0x40]
mov rdx, r13
mov dword [rsp + 0x40], eax
call fcn.14019c7d4
mov edi, dword [rsp + 0x40]
xor r11d, r11d
test edi, edi
jne 0x1401962d4
mov rcx, qword [rbp + 0x88]
mov rdx, rcx
mov r8d, dword [rcx + 4]
mov rcx, qword [rcx + 0x48]
call fcn.1401a394c
mov edi, eax
jmp 0x1401962d1
mov rsi, qword [rsp + 0x70]
cmp byte [rsi + 0x21], r11b
je 0x1401962d4
cmp word [rsp + 0x50], r11w
jne 0x1401962d4
test r14, r14
jle 0x1401962d4
mov rbx, r11
mov rax, qword [rbp + rbx*8 + 0x88]
mov rcx, qword [rax + 0x50]
add rcx, 8
call fcn.1401ccaa0
mov r9, qword [rbp + rbx*8 + 0x88]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
mov r8b, 5
mov edx, eax
mov rcx, rsi
mov r9d, dword [r9 + 4]
call fcn.1401b0c00
add rbx, r15
cmp rbx, r14
jl 0x14019628d
mov edi, dword [rsp + 0x40]
xor r11d, r11d
mov rsi, qword [rsp + 0x60]
jmp 0x1401962fc
mov rcx, qword [rbp + r14*8 + 0x70]
test edi, edi
jne 0x1401962f9
mov r8d, dword [rcx + 4]
mov rdx, rcx
mov rcx, qword [rcx + 0x48]
call fcn.1401a394c
mov edi, eax
xor r11d, r11d
add r14, r15
cmp r14, rsi
jl 0x1401962db
mov r13d, r12d
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x140196315
call fcn.14018f850
xor r11d, r11d
test rsi, rsi
jle 0x14019633b
mov rbx, r11
mov rcx, qword [rbp + rbx*8 + 0x70]
test rcx, rcx
je 0x140196333
mov rcx, qword [rcx + 0x70]
call fcn.1401d3284
xor r11d, r11d
add rbx, r15
cmp rbx, rsi
jl 0x14019631d
movsxd rsi, r13d
test r13d, r13d
jle 0x140196367
mov rbx, r11
mov rcx, qword [rbp + rbx*8 + 0x88]
test rcx, rcx
je 0x14019635f
mov rcx, qword [rcx + 0x70]
call fcn.1401d3284
xor r11d, r11d
add rbx, r15
cmp rbx, rsi
jl 0x140196346
mov eax, edi
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.1402af300
mov rbx, qword [rsp + 0x278]
add rsp, 0x220
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea eax, [rsi + 1]
movsxd r8, eax
shl r8, 3
jmp 0x14019532c