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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x198
mov dword [rsp + 0xcc], r9d
mov eax, dword [rsp + 0xcc]
mov r15, rcx
mov rsi, r8
mov qword [rsp + 0x1e8], rdx
mov word [rsp + 0xa8], ax
mov rax, qword [rcx]
mov rax, qword [rax]
cmp dword [rax + 0x30], 0
mov qword [rsp + 0x50], rax
je 0x140209bc2
mov r12d, dword [rax + 0x18]
jmp 0x14020ade3
mov rbx, qword [rcx + 0x10]
mov eax, dword [rbx + 0x38]
mov dword [rsp + 0x9c], eax
and eax, 0x20
cmp eax, 1
sbb eax, eax
and eax, 0x1a7
add eax, 0x18
test byte [r8 + 0x64], 4
je 0x140209bea
and eax, 0xffffffc3
mov rdi, qword [rsp + 0x50]
mov rdx, qword [r15 + 8]
lea rcx, [rsp + 0x120]
xor r12d, r12d
mov rdi, qword [rdi]
mov qword [rsp + 0x78], rdi
mov edi, dword [rbx + 0x18]
mov word [rsp + 0x8a], di
mov di, word [rbx + 0x1a]
mov word [rsp + 0xda], di
mov edi, dword [rbx + 0x1c]
mov word [rsp + 0xdc], di
mov rdi, qword [rbx + 0x16]
mov qword [rsp + 0xe0], rdi
mov di, word [rbx + 0x3e]
mov word [rsp + 0xde], di
mov rdi, qword [rbx + 0x38]
mov qword [rsp + 0xd0], rdi
mov edi, dword [rbx + 0x3c]
mov word [rsp + 0x98], di
mov rdi, qword [rbx]
mov qword [rsp + 0xb0], rdi
mov di, word [rbx + 0x16]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x1e8]
mov word [rsp + 0x9a], di
movzx edi, word [rsp + 0x8a]
mov qword [rsp + 0x28], rsi
mov r8d, dword [rax + 0x44]
mov r9d, edi
mov dword [rsp + 0x8c], edi
call fcn.14020d4c0
mov word [rbx + 0x12], 0
mov rdi, rax
mov rax, qword [rsi + 0x10]
movsx eax, word [rax]
mov ecx, eax
mov dword [rsp + 0xc0], eax
call fcn.1401702f0
mov qword [rsp + 0x48], 0
mov word [rsp + 0xaa], ax
movzx eax, word [rsp + 0x8a]
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x90], rax
add rax, rax
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x100]
mov qword [rsp + 0xf0], rax
test r12d, r12d
jne 0x14020ac3c
test rdi, rdi
je 0x14020ac3c
mov r14d, dword [rdi + 0x14]
cmp r14w, 0x100
je 0x140209d1e
test byte [rdi + 0x12], 0x80
je 0x140209d52
mov rax, qword [rsi + 8]
mov rcx, qword [rsp + 0x70]
movsx rdx, word [rax + rcx]
mov rax, rdx
test edx, edx
js 0x140209d4a
mov rdx, qword [rsi + 0x18]
imul rax, rax, 0x18
add rax, qword [rdx + 8]
test byte [rax + 8], 0xf
je 0x140209d52
jmp 0x14020ac24
inc edx
je 0x14020ac24
mov rax, qword [rdi + 0x28]
and rax, qword [rbx + 8]
mov qword [rsp + 0x60], rax
jne 0x14020ac24
test byte [rdi + 0x13], 1
je 0x140209d76
cmp r14w, 0x10
je 0x14020ac24
mov rax, qword [rsp + 0x1e8]
test byte [rax + 0x3c], 0x58
je 0x140209d9a
mov rcx, qword [rdi]
mov rdx, rax
call fcn.14016dfe0
mov r12d, eax
test eax, eax
je 0x14020ac27
cmp byte [rsi + 0x62], 0
mov al, byte [r15 + 0x2c]
je 0x140209db8
movzx edx, word [rsi + 0x5e]
dec edx
cmp dword [rsp + 0x8c], edx
jne 0x140209db8
or eax, 2
jmp 0x140209dbb
or eax, 1
mov byte [r15 + 0x2c], al
mov eax, dword [rsp + 0x9c]
mov ecx, dword [r15 + 0x28]
mov dword [rbx + 0x38], eax
mov ax, word [rsp + 0x8a]
mov dword [rsp + 0xf8], ecx
mov word [rbx + 0x18], ax
mov ax, word [rsp + 0xda]
mov word [rbx + 0x1a], ax
mov eax, dword [rsp + 0xdc]
mov word [rbx + 0x1c], ax
mov eax, dword [rsp + 0x98]
mov word [rbx + 0x3c], ax
cmp word [rbx + 0x40], ax
jbe 0x140209e4a
movzx edx, word [rbx + 0x3c]
mov rcx, qword [rbx + 0x48]
mov r8, qword [rbx + 8]
lea eax, [rdx + 1]
mov word [rbx + 0x3c], ax
not r8
mov qword [rcx + rdx*8], rdi
mov rdx, qword [rsp + 0xb0]
or rdx, qword [rdi + 0x28]
and rdx, r8
mov qword [rbx], rdx
mov edx, r14d
and dx, 1
mov word [rsp + 0x80], dx
jne 0x140209e6f
jmp 0x140209f43
movzx r8d, word [rsp + 0x98]
mov rcx, qword [rsp + 0x78]
mov rdx, rbx
inc r8d
call fcn.14020c290
test eax, eax
je 0x140209e08
xor r12d, r12d
jmp 0x14020ac3c
mov r8, qword [rdi]
test byte [r8 + 5], 0x10
je 0x140209eae
mov dword [rsp + 0x58], 0x2e
movzx eax, ax
xor edx, edx
xor r10d, r10d
dec eax
cmp eax, edx
jle 0x140209ed6
mov r9, qword [rcx + rdx*8]
test r9, r9
je 0x140209ea9
mov r11d, dword [rsp + 0x58]
cmp qword [r9], r8
cmove r11d, r10d
mov dword [rsp + 0x58], r11d
inc rdx
jmp 0x140209e8b
mov rax, qword [r8 + 0x20]
mov dword [rsp + 0x58], 0
test rax, rax
je 0x140209ed6
mov eax, dword [rax]
mov dword [rsp + 0x58], eax
test eax, eax
je 0x140209ed6
movsxd rcx, eax
call fcn.1401cfc40
cwde
mov dword [rsp + 0x58], eax
cmp byte [rsi + 0x64], 0
jns 0x140209f3a
cmp word [rsp + 0xaa], 9
jle 0x140209f3a
mov ecx, dword [rsp + 0x58]
call fcn.1401702f0
mov rcx, qword [rsp + 0x70]
mov r8d, eax
mov rax, qword [rsi + 0x10]
mov ax, word [rax + rcx]
add eax, 0xa
sub ax, word [rsp + 0xaa]
sub eax, dword [rsp + 0x58]
add ax, r8w
jns 0x140209f3a
cmp word [rsp + 0xa8], 1
jg 0x14020ac24
mov rax, qword [rsp + 0x78]
test byte [rax + 0x62], 2
jne 0x14020ac24
or dword [rbx + 0x38], 0x100000
or dword [rbx + 0x38], 4
jmp 0x14020a1ed
test r14b, 0x82
je 0x140209fd3
mov rax, qword [rsi + 8]
mov rcx, qword [rsp + 0x70]
movsx edx, word [rax + rcx]
mov eax, dword [rbx + 0x38]
mov ecx, eax
or ecx, 1
mov dword [rbx + 0x38], ecx
cmp edx, 0xffffffff
je 0x140209fa2
test edx, edx
js 0x140209fb1
cmp word [rsp + 0xa8], 0
jne 0x140209fb1
movzx edx, word [rsi + 0x5e]
mov ecx, edx
dec edx
cmp dword [rsp + 0x8c], edx
jne 0x140209fb1
test byte [rsi + 0x64], 8
jne 0x140209fa2
dec cx
jne 0x140209fa9
cmp byte [rsi + 0x62], 0
je 0x140209fa9
cmp r14w, 2
jne 0x140209fa9
or eax, 0x1001
jmp 0x140209fae
or eax, 0x10001
mov dword [rbx + 0x38], eax
cmp byte [rsp + 0x149], 1
mov dword [rsp + 0x58], 0
jbe 0x14020a1ed
or dword [rbx + 0x38], 0x200000
jmp 0x14020a1ed
test r14w, 0x100
je 0x140209fec
or dword [rbx + 0x38], 8
mov dword [rsp + 0x58], 0
jmp 0x14020a1ed
mov rax, qword [rsp + 0x1e8]
mov ebp, 1
mov eax, dword [rax + 0x44]
mov dword [rsp + 0x58], eax
mov rax, qword [rdi]
mov rcx, qword [rax + 0x10]
call fcn.1401bfc30
movzx r12d, word [rsi + 0x60]
sub r12d, dword [rsp + 0x8c]
cmp r12d, eax
cmovle eax, r12d
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x90]
lea r13, [rax + 1]
cmp dword [rsp + 0x40], ebp
jle 0x14020a073
mov rdx, qword [rdi]
movsxd rax, ebp
shl rax, 5
mov rcx, qword [rdx + 0x10]
mov r11, qword [rcx + 0x20]
mov rcx, qword [rdx + 0x18]
add r11, rax
mov rdx, qword [rcx + 0x20]
mov r12, qword [r11 + 8]
test byte [rcx + 5], 0x10
je 0x14020a067
add rax, qword [rdx + 0x20]
mov r8, qword [rax + 8]
jmp 0x14020a06c
mov r8, qword [rdx + rax + 8]
cmp byte [r12], 0xa7
je 0x14020a085
mov eax, dword [rbx + 0x38]
test r14b, 0x24
jne 0x14020a127
jmp 0x14020a18e
mov qword [rsp + 0x48], r8
mov eax, dword [rsp + 0x58]
cmp eax, dword [r12 + 0x2c]
jne 0x14020a073
mov rax, qword [rsi + 8]
mov ax, word [rax + r13*2]
cmp word [r12 + 0x30], ax
jne 0x14020a073
mov rax, qword [rsi + 0x38]
mov rcx, qword [rsp + 0x90]
mov cl, byte [rax + rcx]
cmp byte [rax + r13], cl
jne 0x14020a073
mov rcx, r12
call fcn.1401bbe50
mov r8, qword [rsp + 0x48]
movsx edx, al
mov rcx, r8
call fcn.1401b78f0
movsx edx, word [r12 + 0x30]
mov rcx, qword [rsi + 0x18]
mov r10d, eax
call fcn.1401e26b0
cmp r10b, al
jne 0x14020a073
mov r8, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
mov rdx, r12
call fcn.1401b2bb0
test rax, rax
je 0x14020a073
mov rdx, qword [rsi + 0x40]
mov rcx, qword [rax]
mov rdx, qword [rdx + r13*8]
inc r13
call fcn.1401e2200
test eax, eax
jne 0x14020a073
inc ebp
jmp 0x14020a030
or eax, 0x22
mov word [rbx + 0x1a], bp
mov dword [rbx + 0x38], eax
test byte [rdi + 0x13], 1
je 0x14020a1bf
movzx r8d, word [rbx + 0x3c]
mov rcx, qword [rsp + 0x78]
lea rax, [rdi + 0x38]
mov rdx, rbx
mov qword [rsp + 0x40], rax
inc r8d
call fcn.14020c290
mov dword [rsp + 0x58], eax
test eax, eax
jne 0x140209e67
movzx eax, word [rbx + 0x3c]
mov rdx, qword [rbx + 0x48]
mov qword [rsp + 0x48], rdi
lea ecx, [rax + 1]
mov word [rbx + 0x3c], cx
mov rcx, qword [rsp + 0x40]
mov qword [rdx + rax*8], rcx
or dword [rbx + 0x38], 0x10
mov word [rbx + 0x1c], 1
jmp 0x14020a1ed
mov edx, eax
mov word [rbx + 0x1c], bp
or edx, 0x12
mov dword [rbx + 0x38], edx
test al, 0x20
je 0x14020a1d7
movzx edx, word [rbx + 0x3c]
mov rax, qword [rbx + 0x48]
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x58], 0
mov rax, qword [rax + rdx*8 - 0x10]
mov qword [rsp + 0x48], rax
jmp 0x14020a1ed
mov dword [rsp + 0x58], 0
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], 0
jmp 0x14020a1ed
mov dword [rsp + 0x58], 0
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], 0
mov ebp, dword [rbx + 0x18]
test byte [rbx + 0x38], 2
je 0x14020a937
mov r12, qword [rbx + 0x20]
movsx eax, word [rbx + 0x16]
mov r13d, dword [r12 + 0x68]
mov dword [rsp + 0x5c], eax
test r13d, r13d
jle 0x14020a8b1
movzx eax, bp
mov dword [rsp + 0xac], eax
cmp eax, dword [r12 + 0x6c]
jge 0x14020a8b1
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov qword [rsp + 0x68], rax
test byte [rax + 0x61], 8
jne 0x14020a8b1
mov r14d, dword [r15 + 0x28]
cmp dword [rsp + 0xac], r14d
movzx edi, bp
jne 0x14020a553
mov rdx, qword [r15 + 0x20]
movzx eax, word [rbx + 0x1c]
movzx r13d, word [rbx + 0x1a]
mov qword [rsp + 0x108], rdx
mov dword [rsp + 0xa0], eax
test rdx, rdx
je 0x14020a27b
mov word [rdx + 0x1c], r14w
test r14d, r14d
jne 0x14020a29b
mov rax, qword [r12 + 0x88]
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x80], rax
jmp 0x14020a2cb
lea r9, [rsp + 0x110]
xor r8d, r8d
mov rcx, r12
call fcn.140209100
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x68], rax
add rax, qword [rsp + 0x118]
mov qword [rsp + 0x80], rax
mov rax, qword [r12 + 0x38]
cmp byte [rax + rdi], 0
je 0x14020a2f4
mov eax, r13d
mov rbp, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
mov r13d, dword [rsp + 0xa0]
mov dword [rsp + 0xa0], eax
jmp 0x14020a2fe
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
test rdi, rdi
je 0x14020a3f3
mov rax, qword [rdi]
mov rcx, qword [rsp + 0x50]
lea r8, [rsp + 0x108]
mov rdx, r12
mov r9, qword [rax + 0x18]
lea rax, [rsp + 0x104]
mov dword [rsp + 0x20], r13d
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0xb8], r9
call fcn.1401e1f50
mov dword [rsp + 0xac], 0xfffffffe
mov r13d, eax
test eax, eax
jne 0x14020a401
mov edx, dword [rsp + 0x104]
test edx, edx
je 0x14020a401
mov r9, qword [rsp + 0xb8]
mov rcx, r9
lea r9, [rsp + 0x110]
call fcn.1401bfc30
mov rcx, r12
cmp edx, eax
mov edx, 0xc
mov eax, 0x18
cmovge eax, edx
mov rdx, qword [rsp + 0x108]
xor r8d, r8d
mov r10d, eax
mov dword [rsp + 0xb8], r10d
call fcn.140209100
mov r10d, dword [rsp + 0xb8]
xor edx, edx
mov dword [rsp + 0xac], eax
mov rax, qword [rsp + 0x110]
mov ecx, r10d
and ecx, dword [rdi + 0x14]
test cx, cx
je 0x14020a3d8
mov rdx, qword [rsp + 0x118]
add rax, rdx
cmp qword [rsp + 0x68], rax
cmovae rax, qword [rsp + 0x68]
xor edi, edi
dec dword [rsp + 0x5c]
mov qword [rsp + 0x68], rax
jmp 0x14020a401
mov dword [rsp + 0xac], 0xfffffffe
xor r13d, r13d
mov dword [rsp + 0xb8], 0xffffffff
test rbp, rbp
je 0x14020a4fa
mov rax, qword [rbp]
mov rcx, qword [rsp + 0x50]
lea r8, [rsp + 0x108]
mov rdx, r12
mov r9, qword [rax + 0x18]
lea rax, [rsp + 0x104]
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0xa0]
mov qword [rsp + 0xa0], r9
mov dword [rsp + 0x20], eax
call fcn.1401e1f50
mov r13d, eax
test eax, eax
jne 0x14020a4fa
mov edx, dword [rsp + 0x104]
test edx, edx
je 0x14020a4fa
mov r9, qword [rsp + 0xa0]
mov r14d, 0xc
mov rcx, r9
lea r9, [rsp + 0x110]
call fcn.1401bfc30
mov r8d, 1
mov rcx, r12
cmp edx, eax
mov rdx, qword [rsp + 0x108]
mov eax, 0x18
cmovl r14d, eax
call fcn.140209100
and r14d, dword [rbp + 0x14]
mov dword [rsp + 0xb8], eax
mov rax, qword [rsp + 0x110]
test r14w, r14w
je 0x14020a4d6
mov rcx, qword [rsp + 0x118]
mov qword [rsp + 0x60], rcx
add rax, qword [rsp + 0x60]
cmp qword [rsp + 0x80], rax
cmovbe rax, qword [rsp + 0x80]
dec dword [rsp + 0x5c]
xor ebp, ebp
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x108]
mov qword [r15 + 0x20], rax
test r13d, r13d
jne 0x14020a8bb
mov rcx, qword [rsp + 0x80]
mov eax, 0xa
cmp qword [rsp + 0x68], rcx
jae 0x14020a540
sub rcx, qword [rsp + 0x68]
call fcn.1401cfc40
mov ecx, dword [rsp + 0xb8]
cmp dword [rsp + 0xac], ecx
jne 0x14020a540
sub eax, 0x14
cwde
cmp dword [rsp + 0x5c], eax
cmovle eax, dword [rsp + 0x5c]
mov dword [rsp + 0x5c], eax
jmp 0x14020a8bb
cmp qword [r12 + 0x20], 0
je 0x14020a566
mov rax, qword [r12 + 0x20]
mov bpl, byte [rax + rdi]
jmp 0x14020a57b
mov rcx, qword [rsp + 0x68]
mov rdx, r12
call fcn.1401cc790
test rax, rax
jne 0x14020a55b
mov bpl, 0x41
mov rax, qword [r12 + 0x40]
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x108], 0
mov qword [rsp + 0x110], 0
mov rdx, qword [rax + rdi*8]
call fcn.1401cf7d0
cmp qword [rsp + 0x48], 0
mov qword [rsp + 0xb8], rax
je 0x14020a5ef
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
xor r9d, r9d
movzx r8d, bpl
mov rax, qword [rax]
mov rdx, qword [rax + 0x18]
lea rax, [rsp + 0x108]
mov qword [rsp + 0x20], rax
call fcn.1402001d0
mov dword [rsp + 0xa0], 0
mov edi, eax
jmp 0x14020a5fc
mov dword [rsp + 0xa0], 0xffffffff
xor edi, edi
cmp qword [rsp + 0x40], 0
je 0x14020a608
test edi, edi
je 0x14020a60e
lea eax, [r13 + 1]
jmp 0x14020a655
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
xor r9d, r9d
movzx r8d, bpl
mov rax, qword [rax]
mov rdx, qword [rax + 0x18]
lea rax, [rsp + 0x110]
mov qword [rsp + 0x20], rax
call fcn.1402001d0
cmp qword [rsp + 0x110], 0
mov dword [rsp + 0x80], 0
mov edi, eax
jne 0x14020a65c
mov eax, dword [r12 + 0x68]
mov dword [rsp + 0x80], eax
cmp qword [rsp + 0x108], 0
jne 0x14020a67b
mov r13, qword [rsp + 0x110]
test r13, r13
jne 0x14020a67b
xor edi, edi
jmp 0x14020a887
lea rax, [rsp + 0x104]
xor r13d, r13d
mov qword [rsp + 0xe8], rax
test edi, edi
jne 0x14020a829
mov eax, dword [rsp + 0x60]
cmp dword [r12 + 0x68], eax
jle 0x14020a829
imul rax, qword [rsp + 0x60], 0x28
add rax, qword [r12 + 0x78]
mov r14, qword [rax]
mov edx, dword [rax + 8]
mov dword [rsp + 0x100], 0
movzx eax, byte [r14]
mov dword [rsp + 0xc4], edx
test al, al
js 0x14020a6df
mov dword [rsp + 0x104], eax
mov r8d, 1
jmp 0x14020a6f3
mov rdx, qword [rsp + 0xe8]
mov rcx, r14
call fcn.1401cc0a0
movzx r8d, al
movsxd rbp, dword [rsp + 0x104]
cmp ebp, r8d
jle 0x14020a714
mov dword [rsp + 0xc8], 0
cmp dword [rsp + 0xc4], ebp
jge 0x14020a746
mov ecx, 0x14162
jmp 0x14020a7a0
mov ecx, dword [rsp + 0x100]
call fcn.1401efdf0
inc dword [rsp + 0xc8]
mov edx, dword [rsp + 0xc8]
add eax, ebp
cmp dword [rsp + 0xac], edx
jl 0x14020a792
movsxd rbp, eax
movsxd rcx, r8d
add rcx, r14
movzx eax, byte [rcx]
test al, al
js 0x14020a75e
mov dword [rsp + 0x100], eax
mov al, 1
jmp 0x14020a77b
mov rdx, qword [rsp + 0xf0]
mov dword [rsp + 0xfc], r8d
call fcn.1401cc0a0
mov r8d, dword [rsp + 0xfc]
movzx eax, al
add r8d, eax
cmp r8d, dword [rsp + 0x104]
jle 0x14020a71e
mov ecx, 0x14168
jmp 0x14020a7a0
cmp dword [rsp + 0xc4], eax
jge 0x14020a7ab
mov ecx, 0x1416e
call fcn.1401b80f0
test eax, eax
jne 0x14020a81d
jmp 0x14020a7ea
test r13, r13
jne 0x14020a7c2
mov rcx, qword [rsp + 0x68]
call fcn.1401e5530
mov r13, rax
test rax, rax
je 0x14020a7e3
mov edx, dword [rsp + 0x100]
lea rcx, [r14 + rbp]
mov r8, r13
call fcn.1401efd10
mov rax, qword [rsp + 0x68]
mov al, byte [rax + 0x64]
mov byte [r13 + 0x16], al
jmp 0x14020a7ea
mov edi, 7
jmp 0x14020a81f
mov rcx, qword [rsp + 0x108]
test rcx, rcx
je 0x14020ad85
mov r8, qword [rsp + 0xb8]
mov rdx, r13
call fcn.1401d0220
cmp eax, 0x80000000
adc dword [rsp + 0xa0], 0
jmp 0x14020ad85
mov edi, eax
inc qword [rsp + 0x60]
jmp 0x14020a68e
mov r10d, dword [rsp + 0x80]
sub r10d, dword [rsp + 0xa0]
cmp qword [rsp + 0x48], 0
sete dl
cmp qword [rsp + 0x40], 0
sete al
or dl, al
jne 0x14020a857
xor edi, edi
cmp r10d, 1
jle 0x14020a887
movsxd rcx, dword [r12 + 0x68]
mov edi, 1
call fcn.1401cfc40
test r10d, r10d
mov ecx, 1
cmovg ecx, r10d
movsx r9d, ax
movsxd rcx, ecx
call fcn.1401cfc40
cwde
sub r9d, eax
sub word [rbx + 0x16], r9w
mov rcx, qword [rsp + 0x108]
call fcn.1401e54d0
mov rcx, qword [rsp + 0x110]
call fcn.1401e54d0
mov rcx, r13
call fcn.1401e54d0
test edi, edi
jne 0x14020ab1c
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov eax, dword [rsp + 0x5c]
test rdi, rdi
je 0x14020a8dd
mov edx, dword [rdi + 0x10]
test dx, dx
jg 0x14020a8d0
add eax, edx
jmp 0x14020a8dd
test byte [rdi + 0x12], 0x80
jne 0x14020a8dd
mov eax, dword [rsp + 0x5c]
sub eax, 0x14
test rbp, rbp
je 0x14020a90b
mov edx, dword [rbp + 0x10]
test dx, dx
jg 0x14020a8ee
add eax, edx
jmp 0x14020a8f7
test byte [rbp + 0x12], 0x80
jne 0x14020a8f7
sub eax, 0x14
test rdi, rdi
je 0x14020a90b
cmp word [rdi + 0x10], 0
jle 0x14020a90b
test dx, dx
jle 0x14020a90b
sub eax, 0x14
xor edx, edx
test rdi, rdi
mov ecx, dword [rsp + 0x5c]
setne dl
cmp rbp, 1
sbb edx, 0xffffffff
sub ecx, edx
cmp ax, 0xa
mov edx, 0xa
cmovl eax, edx
cwde
cmp eax, ecx
cmovg eax, ecx
jmp 0x14020adda
lea eax, [rbp + 1]
mov word [rsp + 0x5c], ax
mov word [rbx + 0x18], ax
mov eax, dword [rdi + 0x10]
test ax, ax
jg 0x14020a968
mov rdx, qword [rsi + 8]
mov rcx, qword [rsp + 0x70]
cmp word [rdx + rcx], 0
js 0x14020a968
add ax, word [rbx + 0x16]
sub eax, dword [rsp + 0x58]
jmp 0x14020adda
cmp word [rsp + 0xa8], 0
mov qword [rsp + 0x108], 0
jne 0x14020adb8
cmp dword [rsi + 0x68], 0
je 0x14020adb8
movzx eax, word [rsp + 0x5c]
mov dword [rsp + 0x68], eax
cmp dword [rsi + 0x6c], eax
jl 0x14020adb8
cmp word [rsp + 0x80], 0
je 0x14020a9b7
mov rax, qword [rdi]
test byte [rax + 5], 0x10
jne 0x14020adb8
mov rax, qword [rsp + 0x78]
test byte [rax + 0x61], 8
jne 0x14020adb8
mov rax, qword [rdi]
test r14w, 0x182
je 0x14020a9f2
mov r8, qword [rax + 0x18]
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x108]
mov rdx, r15
call fcn.140208e20
mov r12d, eax
jmp 0x14020aaa6
mov rbp, qword [rax + 0x20]
mov rax, qword [r15 + 0x10]
xor r10d, r10d
lea r9, [rsp + 0x110]
mov rax, qword [rax + 0x20]
mov rax, qword [rax + 0x10]
movsx ecx, word [rax]
call fcn.1401cfd70
mov r11d, dword [r15 + 0x28]
mov r13, rax
cmp dword [rbp], r10d
jle 0x14020aa90
mov rax, r10
mov rcx, qword [rsp + 0x50]
mov rdx, r15
mov dword [rsp + 0xac], r11d
shl rax, 5
mov qword [rsp + 0xa0], r10
mov r8, qword [rbp + rax + 8]
mov qword [rsp + 0x80], r9
mov qword [rsp + 0x110], r13
call fcn.140208e20
mov r10, qword [rsp + 0xa0]
mov r11d, dword [rsp + 0xac]
mov rdx, qword [rsp + 0x110]
add qword [rsp + 0x60], rdx
mov r12d, eax
inc r10
test eax, eax
mov dword [r15 + 0x28], r11d
mov r9, qword [rsp + 0x80]
je 0x14020aa1c
jmp 0x14020aaa6
cmp r13, qword [rsp + 0x60]
cmova r13, qword [rsp + 0x60]
xor r12d, r12d
mov qword [rsp + 0x108], r13
cmp r12d, 0xc
je 0x14020aab5
test r12d, r12d
jne 0x14020ac3c
mov rcx, qword [rsp + 0x108]
test rcx, rcx
je 0x14020adb8
call fcn.1401cfc40
cmp dword [rsp + 0x68], 1
mov word [rbx + 0x16], ax
jne 0x14020aafe
mov rcx, qword [rsi + 0x10]
movsx edx, ax
add edx, 9
movsx ecx, word [rcx]
cmp edx, ecx
jl 0x14020aafe
mov dx, word [rdi + 0x12]
mov ecx, edx
or ch, 0x40
mov word [rdi + 0x12], cx
and dh, 0x20
je 0x14020aafe
or byte [r15 + 0x2d], 4
cmp ax, word [rsp + 0x9a]
jle 0x14020ab14
mov ax, word [rsp + 0x9a]
mov word [rbx + 0x16], ax
mov eax, dword [rsp + 0x58]
sub word [rbx + 0x16], ax
mov al, byte [rsi + 0x64]
mov bp, word [rbx + 0x16]
and eax, 3
cmp al, 3
jne 0x14020ab2f
lea eax, [rbp + 0x10]
jmp 0x14020ab4d
movsx eax, word [rsi + 0x5c]
mov rdi, qword [rsp + 0x1e8]
imul eax, eax, 0xf
mov rdx, qword [rdi + 0x20]
movsx ecx, word [rdx + 0x3c]
cdq
idiv ecx
lea eax, [rbp + rax + 1]
movsx ecx, word [rsp + 0xaa]
movsx edx, ax
call fcn.1401cfca0
mov word [rbx + 0x14], ax
test dword [rbx + 0x38], 0x4000140
jne 0x14020ab7c
lea edx, [rbp + 0x10]
movsx ecx, ax
movsx edx, dx
call fcn.1401cfca0
mov word [rbx + 0x14], ax
mov edi, dword [rsp + 0x58]
add edi, dword [rsp + 0xa8]
mov rdx, rbx
lea eax, [rdi + rbp]
add word [rbx + 0x14], di
mov rcx, qword [r15 + 8]
mov word [rbx + 0x16], ax
mov r8d, dword [rsp + 0xc0]
call fcn.14020c110
mov rdx, rbx
mov rcx, r15
call fcn.14020be80
mov r12d, eax
mov eax, dword [rbx + 0x38]
test al, 2
cmovne bp, word [rsp + 0x9a]
mov word [rbx + 0x16], bp
test al, 0x10
jne 0x14020ac0b
mov eax, dword [rbx + 0x18]
cmp ax, word [rsi + 0x60]
jae 0x14020ac0b
cmp ax, word [rsi + 0x5e]
jb 0x14020abe4
mov dl, byte [rsi + 0x64]
and edx, 3
cmp dl, 2
je 0x14020ac0b
cmp ax, 3
jbe 0x14020abf4
mov rcx, qword [rsp + 0x50]
call fcn.1401db8f0
mov rdx, qword [rsp + 0x1e8]
movsx r9d, di
mov r8, rsi
mov rcx, r15
call fcn.140209b70
mov ax, word [rsp + 0x9a]
mov word [rbx + 0x16], ax
mov eax, dword [rsp + 0xf8]
mov dword [r15 + 0x28], eax
jmp 0x14020ac27
xor r12d, r12d
lea rcx, [rsp + 0x120]
call fcn.14020d5c0
mov rdi, rax
jmp 0x140209cfa
mov rax, qword [rsp + 0xb0]
mov di, word [rsp + 0xde]
mov qword [rbx], rax
mov rax, qword [rsp + 0xe0]
mov qword [rbx + 0x16], rax
mov rax, qword [rsp + 0xd0]
mov qword [rbx + 0x38], rax
cmp word [rsp + 0x8a], di
jne 0x14020ade3
mov edx, dword [rsp + 0x8c]
movzx eax, word [rsi + 0x5e]
inc edx
cmp edx, eax
jge 0x14020ade3
mov edi, dword [rsp + 0x98]
cmp word [rsp + 0x8a], di
jne 0x14020ade3
mov al, byte [rsi + 0x64]
and eax, 0xffffffc0
cmp al, 0x80
jne 0x14020ade3
mov rax, qword [rsp + 0x78]
test byte [rax + 0x61], 0x40
jne 0x14020ade3
mov rax, qword [rsi + 0x10]
mov rdi, qword [rsp + 0x70]
cmp word [rax + rdi + 2], 0x29
jle 0x14020ade3
movzx r8d, word [rsp + 0x98]
mov rcx, qword [rsp + 0x78]
mov rdx, rbx
inc r8d
call fcn.14020c290
mov r12d, eax
test eax, eax
jne 0x14020ade3
movzx eax, word [rbx + 0x3c]
mov rdx, qword [rbx + 0x48]
mov r8, rsi
inc word [rbx + 0x18]
mov rdi, qword [rsp + 0x70]
lea ecx, [rax + 1]
inc word [rbx + 0x3e]
mov word [rbx + 0x3c], cx
mov rcx, r15
mov qword [rdx + rax*8], 0
mov rax, qword [rsi + 0x10]
or dword [rbx + 0x38], 0x8000
mov r9w, word [rax + rdi]
mov ax, word [rax + rdi + 2]
mov edi, dword [rsp + 0xcc]
mov edx, eax
sub edx, r9d
add word [rbx + 0x16], dx
lea r9d, [r9 + rdi + 5]
mov rdx, qword [rsp + 0x1e8]
sub r9d, eax
movsx r9d, r9w
call fcn.140209b70
mov ax, word [rsp + 0x9a]
mov word [rbx + 0x16], ax
mov ax, word [rsp + 0x8a]
mov word [rbx + 0x18], ax
mov word [rbx + 0x3e], ax
mov eax, dword [rsp + 0x9c]
mov dword [rbx + 0x38], eax
jmp 0x14020ade3
mov rcx, qword [rsp + 0x110]
test rcx, rcx
je 0x14020a81f
mov r8, qword [rsp + 0xb8]
mov rdx, r13
call fcn.1401d0220
cmp eax, 0x80000000
adc dword [rsp + 0x80], 0
jmp 0x14020a81f
mov rdx, qword [rsi + 0x10]
movzx ebp, word [rsp + 0x5c]
mov ax, word [rbx + 0x16]
add ax, word [rdx + rbp*2]
sub ax, word [rdx + rbp*2 - 2]
test r14w, 0x100
lea edx, [rax + 0xa]
cmovne eax, edx
mov word [rbx + 0x16], ax
jmp 0x14020ab1c
mov eax, r12d
add rsp, 0x198
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret