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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push r14
sub rsp, 0x20
mov r14, rdx
mov rbx, rcx
call fcn.140115f20
mov eax, dword [r14 + 4]
mov rdx, qword [rbx + 0x18]
add dword [rbx + 0x20], 0xfffffff8
mov ecx, dword [rbx + 0x20]
shl rdx, 8
or rdx, rax
mov qword [rbx + 0x18], rdx
cmp ecx, 0x20
jg 0x140187e3a
shl rdx, cl
shr rdx, 0x20
mov eax, edx
mov ecx, edx
and ecx, 0xff00
shl eax, 0x10
add ecx, eax
mov eax, edx
shl ecx, 8
shr eax, 8
and eax, 0xff00
shr edx, 0x18
add ecx, eax
mov rax, qword [rbx + 8]
add ecx, edx
mov dword [rax], ecx
add dword [rbx + 0x20], 0x20
add qword [rbx + 8], 4
mov ecx, dword [rbx + 0x20]
mov rdx, qword [rbx + 0x18]
mov eax, dword [r14 + 0xc]
add rdx, rdx
mov r9, qword [rbx + 8]
or rdx, rax
dec ecx
mov qword [rbx + 0x18], rdx
mov dword [rbx + 0x20], ecx
cmp ecx, 0x20
jne 0x140187e95
mov ecx, edx
mov eax, edx
and ecx, 0xff00
shl eax, 0x10
add ecx, eax
mov eax, edx
shl ecx, 8
shr edx, 0x18
shr eax, 8
and eax, 0xff00
add ecx, eax
add ecx, edx
mov dword [r9], ecx
mov ecx, 0x40
add qword [rbx + 8], 4
mov r9, qword [rbx + 8]
mov rdx, qword [rbx + 0x18]
mov dword [rbx + 0x20], 0x40
mov eax, dword [r14 + 0x10]
add rdx, rdx
or rdx, rax
dec ecx
mov qword [rbx + 0x18], rdx
mov dword [rbx + 0x20], ecx
cmp ecx, 0x20
jne 0x140187eeb
mov ecx, edx
mov eax, edx
shl ecx, 0x10
and eax, 0xff00
add ecx, eax
mov eax, edx
shl ecx, 8
shr edx, 0x18
shr eax, 8
and eax, 0xff00
add ecx, eax
add ecx, edx
mov dword [r9], ecx
mov ecx, 0x40
add qword [rbx + 8], 4
mov r9, qword [rbx + 8]
mov rdx, qword [rbx + 0x18]
mov dword [rbx + 0x20], 0x40
mov eax, dword [r14 + 0x14]
add rdx, rdx
or rdx, rax
dec ecx
mov qword [rbx + 0x18], rdx
mov dword [rbx + 0x20], ecx
cmp ecx, 0x20
jne 0x140187f41
mov ecx, edx
mov eax, edx
shl ecx, 0x10
and eax, 0xff00
add ecx, eax
mov eax, edx
shl ecx, 8
shr edx, 0x18
shr eax, 8
and eax, 0xff00
add ecx, eax
add ecx, edx
mov dword [r9], ecx
mov ecx, 0x40
add qword [rbx + 8], 4
mov r9, qword [rbx + 8]
mov rdx, qword [rbx + 0x18]
mov dword [rbx + 0x20], 0x40
mov eax, dword [r14 + 0x18]
add rdx, rdx
or rdx, rax
dec ecx
mov qword [rbx + 0x18], rdx
cmp ecx, 0x20
jne 0x140187f8d
mov ecx, edx
mov eax, edx
shl ecx, 0x10
and eax, 0xff00
add ecx, eax
mov eax, edx
shl ecx, 8
shr edx, 0x18
shr eax, 8
and eax, 0xff00
add ecx, eax
add ecx, edx
mov dword [r9], ecx
mov ecx, 0x40
add qword [rbx + 8], 4
mov r9, qword [rbx + 8]
mov rdx, qword [rbx + 0x18]
shl rdx, 4
add ecx, 0xfffffffc
mov qword [rbx + 0x18], rdx
mov dword [rbx + 0x20], ecx
cmp ecx, 0x20
jg 0x140187fe0
shl rdx, cl
shr rdx, 0x20
mov ecx, edx
mov eax, edx
shl ecx, 0x10
and eax, 0xff00
add ecx, eax
mov eax, edx
shl ecx, 8
shr edx, 0x18
shr eax, 8
and eax, 0xff00
add ecx, eax
add ecx, edx
mov dword [r9], ecx
add dword [rbx + 0x20], 0x20
add qword [rbx + 8], 4
mov r9, qword [rbx + 8]
mov ecx, dword [rbx + 0x20]
mov rdx, qword [rbx + 0x18]
mov r8d, dword [r14 + 8]
add ecx, 0xfffffff8
shl rdx, 8
or r8, rdx
mov dword [rbx + 0x20], ecx
mov qword [rbx + 0x18], r8
cmp ecx, 0x20
jg 0x140188034
shl r8, cl
shr r8, 0x20
mov ecx, r8d
mov eax, r8d
shl ecx, 0x10
and eax, 0xff00
add ecx, eax
mov eax, r8d
shl ecx, 8
shr eax, 8
and eax, 0xff00
shr r8d, 0x18
add ecx, eax
add ecx, r8d
mov dword [r9], ecx
add dword [rbx + 0x20], 0x20
add qword [rbx + 8], 4
mov edx, dword [r14]
mov rcx, rbx
call fcn.1401856b0
cmp dword [r14 + 4], 0x64
jl 0x1401883a1
mov edx, dword [r14 + 0x108]
mov rcx, rbx
call fcn.1401856b0
cmp dword [r14 + 0x108], 3
jne 0x1401880ab
mov rdx, qword [rbx + 0x18]
dec dword [rbx + 0x20]
add rdx, rdx
cmp dword [rbx + 0x20], 0x20
mov qword [rbx + 0x18], rdx
jne 0x1401880ab
mov eax, edx
mov ecx, edx
and eax, 0xff00
shl ecx, 0x10
add ecx, eax
mov eax, edx
shr eax, 8
and eax, 0xff00
shl ecx, 8
add ecx, eax
shr edx, 0x18
mov rax, qword [rbx + 8]
add ecx, edx
mov dword [rax], ecx
add qword [rbx + 8], 4
mov dword [rbx + 0x20], 0x40
mov edx, 2
mov rcx, rbx
call fcn.1401856b0
mov edx, 2
mov rcx, rbx
call fcn.1401856b0
mov eax, dword [r14 + 0x104]
mov rdx, qword [rbx + 0x18]
dec dword [rbx + 0x20]
add rdx, rdx
mov ecx, dword [rbx + 0x20]
or rdx, rax
mov qword [rbx + 0x18], rdx
cmp ecx, 0x20
jne 0x140188122
mov eax, edx
mov ecx, edx
shl ecx, 0x10
and eax, 0xff00
add ecx, eax
mov eax, edx
shl ecx, 8
shr eax, 8
and eax, 0xff00
shr edx, 0x18
add ecx, eax
mov rax, qword [rbx + 8]
add ecx, edx
mov dword [rax], ecx
mov ecx, 0x40
add qword [rbx + 8], 4
mov rdx, qword [rbx + 0x18]
mov dword [rbx + 0x20], 0x40
mov eax, dword [r14 + 0x10c]
add rdx, rdx
mov r8, qword [rbx + 8]
or rdx, rax
lea eax, [rcx - 1]
mov qword [rbx + 0x18], rdx
mov dword [rbx + 0x20], eax
cmp eax, 0x20
jne 0x140188173
mov ecx, edx
mov eax, edx
shl ecx, 0x10
and eax, 0xff00
add ecx, eax
mov eax, edx
shl ecx, 8
shr eax, 8
and eax, 0xff00
shr edx, 0x18
add ecx, eax
add ecx, edx
mov dword [r8], ecx
add qword [rbx + 8], 4
mov dword [rbx + 0x20], 0x40
cmp dword [r14 + 0x10c], 0
je 0x1401883a1
xor r8d, r8d
mov rdx, r14
mov rcx, rbx
call fcn.1401857c0
mov r8d, 2
mov rdx, r14
mov rcx, rbx
call fcn.1401857c0
mov r8d, 2
mov rdx, r14
mov rcx, rbx
call fcn.1401857c0
mov rax, qword [rbx + 0x18]
lea rdx, [rax + rax]
mov eax, dword [rbx + 0x20]
dec eax
mov qword [rbx + 0x18], rdx
cmp eax, 0x20
jne 0x1401881fd
mov eax, edx
mov ecx, edx
and eax, 0xff00
shl ecx, 0x10
add ecx, eax
mov eax, edx
shr eax, 8
and eax, 0xff00
shl ecx, 8
add ecx, eax
shr edx, 0x18
mov rax, qword [rbx + 8]
add ecx, edx
mov dword [rax], ecx
mov eax, 0x40
add qword [rbx + 8], 4
mov rdx, qword [rbx + 0x18]
mov r8, qword [rbx + 8]
add rdx, rdx
dec eax
mov qword [rbx + 0x18], rdx
cmp eax, 0x20
jne 0x140188246
mov ecx, edx
mov eax, edx
and eax, 0xff00
shl ecx, 0x10
add ecx, eax
mov eax, edx
shr eax, 8
and eax, 0xff00
shl ecx, 8
add ecx, eax
shr edx, 0x18
add ecx, edx
mov eax, 0x40
mov dword [r8], ecx
add qword [rbx + 8], 4
mov r8, qword [rbx + 8]
mov rdx, qword [rbx + 0x18]
add rdx, rdx
dec eax
mov qword [rbx + 0x18], rdx
mov dword [rbx + 0x20], eax
cmp eax, 0x20
jne 0x140188288
mov ecx, edx
mov eax, edx
shl ecx, 0x10
and eax, 0xff00
add ecx, eax
mov eax, edx
shl ecx, 8
shr eax, 8
and eax, 0xff00
shr edx, 0x18
add ecx, eax
add ecx, edx
mov dword [r8], ecx
add qword [rbx + 8], 4
mov dword [rbx + 0x20], 0x40
mov r8d, 4
mov rdx, r14
mov rcx, rbx
call fcn.1401857c0
mov rdx, qword [rbx + 0x18]
dec dword [rbx + 0x20]
add rdx, rdx
cmp dword [rbx + 0x20], 0x20
mov qword [rbx + 0x18], rdx
jne 0x1401882e1
mov eax, edx
mov ecx, edx
and eax, 0xff00
shl ecx, 0x10
add ecx, eax
mov eax, edx
shr eax, 8
and eax, 0xff00
shl ecx, 8
add ecx, eax
shr edx, 0x18
mov rax, qword [rbx + 8]
add ecx, edx
mov dword [rax], ecx
add qword [rbx + 8], 4
mov dword [rbx + 0x20], 0x40
cmp dword [r14 + 0x108], 3
jne 0x1401883a1
mov r8d, 6
mov rdx, r14
mov rcx, rbx
call fcn.1401857c0
mov rdx, qword [rbx + 0x18]
dec dword [rbx + 0x20]
add rdx, rdx
cmp dword [rbx + 0x20], 0x20
mov qword [rbx + 0x18], rdx
jne 0x140188348
mov eax, edx
mov ecx, edx
and eax, 0xff00
shl ecx, 0x10
add ecx, eax
mov eax, edx
shr eax, 8
and eax, 0xff00
shl ecx, 8
add ecx, eax
shr edx, 0x18
mov rax, qword [rbx + 8]
add ecx, edx
mov dword [rax], ecx
add qword [rbx + 8], 4
mov dword [rbx + 0x20], 0x40
mov r8d, 6
mov rdx, r14
mov rcx, rbx
call fcn.1401857c0
mov rdx, qword [rbx + 0x18]
dec dword [rbx + 0x20]
add rdx, rdx
cmp dword [rbx + 0x20], 0x20
mov qword [rbx + 0x18], rdx
jne 0x1401883a1
mov eax, edx
mov ecx, edx
and eax, 0xff00
shl ecx, 0x10
add ecx, eax
mov eax, edx
shr eax, 8
and eax, 0xff00
shl ecx, 8
add ecx, eax
shr edx, 0x18
mov rax, qword [rbx + 8]
add ecx, edx
mov dword [rax], ecx
add qword [rbx + 8], 4
mov dword [rbx + 0x20], 0x40
mov edx, dword [r14 + 0x1c]
mov rcx, rbx
sub edx, 4
call fcn.1401856b0
mov edx, dword [r14 + 0x20]
mov rcx, rbx
call fcn.1401856b0
cmp dword [r14 + 0x20], 0
jne 0x1401883d2
mov edx, dword [r14 + 0x24]
mov rcx, rbx
sub edx, 4
call fcn.1401856b0
mov edx, dword [r14 + 0x28]
mov rcx, rbx
call fcn.1401856b0
mov eax, dword [r14 + 0x2c]
mov rdx, qword [rbx + 0x18]
dec dword [rbx + 0x20]
add rdx, rdx
or rdx, rax
cmp dword [rbx + 0x20], 0x20
mov qword [rbx + 0x18], rdx
jne 0x14018842d
mov eax, edx
mov ecx, edx
and eax, 0xff00
shl ecx, 0x10
add ecx, eax
mov eax, edx
shr eax, 8
and eax, 0xff00
shl ecx, 8
add ecx, eax
shr edx, 0x18
mov rax, qword [rbx + 8]
add ecx, edx
mov dword [rax], ecx
add qword [rbx + 8], 4
mov dword [rbx + 0x20], 0x40
mov edx, dword [r14 + 0x30]
mov rcx, rbx
dec edx
call fcn.1401856b0
mov edx, dword [r14 + 0x34]
xor ebp, ebp
cmp dword [r14 + 0x38], ebp
sete cl
sar edx, cl
mov rcx, rbx
dec edx
call fcn.1401856b0
mov eax, dword [r14 + 0x38]
mov rdx, qword [rbx + 0x18]
mov r10d, dword [rbx + 0x20]
add rdx, rdx
or rdx, rax
dec r10d
mov qword [rbx + 0x18], rdx
mov dword [rbx + 0x20], r10d
cmp r10d, 0x20
jne 0x1401884b9
mov eax, edx
mov ecx, edx
shl ecx, 0x10
and eax, 0xff00
add ecx, eax
mov eax, edx
shl ecx, 8
shr eax, 8
and eax, 0xff00
shr edx, 0x18
add ecx, eax
mov rax, qword [rbx + 8]
add ecx, edx
mov dword [rax], ecx
mov ecx, 0x40
add qword [rbx + 8], 4
mov r10d, ecx
mov rdx, qword [rbx + 0x18]
mov dword [rbx + 0x20], 0x40
jmp 0x1401884bc
mov ecx, r10d
mov r8, qword [rbx + 8]
mov r9, r8
cmp dword [r14 + 0x38], ebp
jne 0x140188521
mov eax, dword [r14 + 0x3c]
lea ecx, [r10 - 1]
add rdx, rdx
mov dword [rbx + 0x20], ecx
or rdx, rax
mov qword [rbx + 0x18], rdx
cmp ecx, 0x20
jne 0x140188521
mov ecx, edx
mov eax, edx
shl ecx, 0x10
and eax, 0xff00
add ecx, eax
mov eax, edx
shl ecx, 8
shr edx, 0x18
shr eax, 8
and eax, 0xff00
add ecx, eax
add ecx, edx
mov dword [r8], ecx
mov ecx, 0x40
add qword [rbx + 8], 4
mov r9, qword [rbx + 8]
mov rdx, qword [rbx + 0x18]
mov dword [rbx + 0x20], 0x40
mov eax, dword [r14 + 0x40]
add rdx, rdx
or rdx, rax
dec ecx
mov qword [rbx + 0x18], rdx
mov dword [rbx + 0x20], ecx
cmp ecx, 0x20
jne 0x140188577
mov ecx, edx
mov eax, edx
shl ecx, 0x10
and eax, 0xff00
add ecx, eax
mov eax, edx
shl ecx, 8
shr edx, 0x18
shr eax, 8
and eax, 0xff00
add ecx, eax
add ecx, edx
mov dword [r9], ecx
mov ecx, 0x40
add qword [rbx + 8], 4
mov r9, qword [rbx + 8]
mov rdx, qword [rbx + 0x18]
mov dword [rbx + 0x20], 0x40
mov eax, dword [r14 + 0x44]
add rdx, rdx
or rdx, rax
dec ecx
mov qword [rbx + 0x18], rdx
mov dword [rbx + 0x20], ecx
cmp ecx, 0x20
jne 0x1401885c9
mov ecx, edx
mov eax, edx
shl ecx, 0x10
and eax, 0xff00
add ecx, eax
mov eax, edx
shl ecx, 8
shr eax, 8
and eax, 0xff00
shr edx, 0x18
add ecx, eax
add ecx, edx
mov dword [r9], ecx
mov ecx, 0x40
add qword [rbx + 8], 4
mov r9, qword [rbx + 8]
mov dword [rbx + 0x20], 0x40
cmp dword [r14 + 0x44], ebp
je 0x140188655
mov edx, dword [r14 + 0x108]
mov qword [rsp + 0x30], rsi
mov esi, ebp
mov qword [rsp + 0x38], rdi
mov edi, ebp
lea eax, [rdx - 1]
cmp eax, 1
mov eax, ebp
setbe dil
cmp dword [r14 + 0x38], ebp
mov ecx, edi
sete sil
cmp edx, 1
mov edx, dword [r14 + 0x48]
sete al
sar edx, cl
mov rcx, rbx
add esi, eax
call fcn.1401856b0
mov edx, dword [r14 + 0x4c]
mov ecx, edi
sar edx, cl
mov rcx, rbx
call fcn.1401856b0
mov edx, dword [r14 + 0x50]
mov ecx, esi
sar edx, cl
mov rcx, rbx
call fcn.1401856b0
mov edx, dword [r14 + 0x54]
mov ecx, esi
sar edx, cl
mov rcx, rbx
call fcn.1401856b0
mov ecx, dword [rbx + 0x20]
mov r9, qword [rbx + 8]
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov eax, dword [r14 + 0x58]
mov rdx, qword [rbx + 0x18]
add rdx, rdx
or rdx, rax
dec ecx
mov qword [rbx + 0x18], rdx
mov dword [rbx + 0x20], ecx
cmp ecx, 0x20
jne 0x1401886ab
mov ecx, edx
mov eax, edx
shl ecx, 0x10
and eax, 0xff00
add ecx, eax
mov eax, edx
shl ecx, 8
shr eax, 8
and eax, 0xff00
shr edx, 0x18
add ecx, eax
add ecx, edx
mov dword [r9], ecx
mov ecx, 0x40
add qword [rbx + 8], 4
mov r9, qword [rbx + 8]
mov dword [rbx + 0x20], 0x40
cmp dword [r14 + 0x58], ebp
je 0x1401892ab
mov eax, dword [r14 + 0x5c]
mov rdx, qword [rbx + 0x18]
add rdx, rdx
or rdx, rax
dec ecx
mov qword [rbx + 0x18], rdx
mov dword [rbx + 0x20], ecx
cmp ecx, 0x20
jne 0x14018870f
mov ecx, edx
mov eax, edx
shl ecx, 0x10
and eax, 0xff00
add ecx, eax
mov eax, edx
shl ecx, 8
shr edx, 0x18
shr eax, 8
and eax, 0xff00
add ecx, eax
add ecx, edx
mov dword [r9], ecx
mov ecx, 0x40
add qword [rbx + 8], 4
mov r9, qword [rbx + 8]
mov rdx, qword [rbx + 0x18]
mov dword [rbx + 0x20], 0x40
cmp dword [r14 + 0x5c], ebp
je 0x140188883
mov r8d, dword [r14 + 0x60]
lea r9, [0x140326290]
mov rdx, rbp
mov rcx, rbp
nop word [rax + rax]
movzx eax, byte [rcx + r9]
cmp eax, r8d
jne 0x140188746
movzx eax, byte [rcx + r9 + 1]
cmp eax, dword [r14 + 0x64]
je 0x140188757
inc rdx
inc ebp
lea rcx, [rdx + rdx*2]
cmp byte [rcx + r9 + 2], 0xff
jne 0x140188730
mov rdx, qword [rbx + 0x18]
movsxd rax, ebp
shl rdx, 8
lea r8, [rax + rax*2]
add r8, r9
movzx eax, byte [r8 + 2]
add dword [rbx + 0x20], 0xfffffff8
or rdx, rax
mov ecx, dword [rbx + 0x20]
mov qword [rbx + 0x18], rdx
cmp ecx, 0x20
jg 0x1401887c0
shl rdx, cl
shr rdx, 0x20
mov eax, edx
mov ecx, edx
shl ecx, 0x10
and eax, 0xff00
add ecx, eax
mov eax, edx
shl ecx, 8
shr eax, 8
and eax, 0xff00
shr edx, 0x18
add ecx, eax
mov rax, qword [rbx + 8]
add ecx, edx
mov dword [rax], ecx
add dword [rbx + 0x20], 0x20
add qword [rbx + 8], 4
mov ecx, dword [rbx + 0x20]
mov rdx, qword [rbx + 0x18]
cmp byte [r8 + 2], 0xff
mov r9, qword [rbx + 8]
jne 0x140188883
mov eax, dword [r14 + 0x60]
add ecx, 0xfffffff0
shl rdx, 0x10
or rdx, rax
mov dword [rbx + 0x20], ecx
mov qword [rbx + 0x18], rdx
cmp ecx, 0x20
jg 0x140188829
shl rdx, cl
shr rdx, 0x20
mov ecx, edx
mov eax, edx
shl ecx, 0x10
and eax, 0xff00
add ecx, eax
mov eax, edx
shl ecx, 8
shr edx, 0x18
shr eax, 8
and eax, 0xff00
add ecx, eax
add ecx, edx
mov dword [r9], ecx
add dword [rbx + 0x20], 0x20
add qword [rbx + 8], 4
mov r9, qword [rbx + 8]
mov ecx, dword [rbx + 0x20]
mov rdx, qword [rbx + 0x18]
mov eax, dword [r14 + 0x64]
add ecx, 0xfffffff0
shl rdx, 0x10
or rdx, rax
mov dword [rbx + 0x20], ecx
mov qword [rbx + 0x18], rdx
cmp ecx, 0x20
jg 0x140188883
shl rdx, cl
shr rdx, 0x20
mov ecx, edx
mov eax, edx
shl ecx, 0x10
and eax, 0xff00
add ecx, eax
mov eax, edx
shl ecx, 8
shr edx, 0x18
shr eax, 8
and eax, 0xff00
add ecx, eax
add ecx, edx
mov dword [r9], ecx
add dword [rbx + 0x20], 0x20
add qword [rbx + 8], 4
mov r9, qword [rbx + 8]
mov ecx, dword [rbx + 0x20]
mov rdx, qword [rbx + 0x18]
mov eax, dword [r14 + 0x68]
lea r10d, [rcx - 1]
add rdx, rdx
mov dword [rbx + 0x20], r10d
or rdx, rax
mov qword [rbx + 0x18], rdx
cmp r10d, 0x20
jne 0x1401888e2
mov ecx, edx
mov eax, edx
shl ecx, 0x10
and eax, 0xff00
add ecx, eax
mov eax, edx
shl ecx, 8
shr edx, 0x18
shr eax, 8
and eax, 0xff00
add ecx, eax
add ecx, edx
mov dword [r9], ecx
mov ecx, 0x40
add qword [rbx + 8], 4
mov r10d, ecx
mov r9, qword [rbx + 8]
mov rdx, qword [rbx + 0x18]
mov dword [rbx + 0x20], 0x40
jmp 0x1401888e5
mov ecx, r10d
cmp dword [r14 + 0x68], 0
mov r8, r9
je 0x140188947
mov eax, dword [r14 + 0x6c]
lea ecx, [r10 - 1]
add rdx, rdx
mov dword [rbx + 0x20], ecx
or rdx, rax
mov qword [rbx + 0x18], rdx
cmp ecx, 0x20
jne 0x140188947
mov ecx, edx
mov eax, edx
shl ecx, 0x10
and eax, 0xff00
add ecx, eax
mov eax, edx
shl ecx, 8
shr edx, 0x18
shr eax, 8
and eax, 0xff00
add ecx, eax
add ecx, edx
mov dword [r9], ecx
mov ecx, 0x40
add qword [rbx + 8], 4
mov r8, qword [rbx + 8]
mov rdx, qword [rbx + 0x18]
mov dword [rbx + 0x20], 0x40
mov eax, dword [r14 + 0x70]
add rdx, rdx
or rdx, rax
dec ecx
mov qword [rbx + 0x18], rdx
mov dword [rbx + 0x20], ecx
cmp ecx, 0x20
jne 0x14018899d
mov ecx, edx
mov eax, edx
shl ecx, 0x10
and eax, 0xff00
add ecx, eax
mov eax, edx
shl ecx, 8
shr edx, 0x18
shr eax, 8
and eax, 0xff00
add ecx, eax
add ecx, edx
mov dword [r8], ecx
mov ecx, 0x40
add qword [rbx + 8], 4
mov r8, qword [rbx + 8]
mov rdx, qword [rbx + 0x18]
mov dword [rbx + 0x20], 0x40
cmp dword [r14 + 0x70], 0
je 0x140188be4
mov r9d, dword [r14 + 0x74]
lea rax, [rdx*8]
or r9, rax
add ecx, 0xfffffffd
mov qword [rbx + 0x18], r9
mov dword [rbx + 0x20], ecx
cmp ecx, 0x20
jg 0x140188a0b
shl r9, cl
shr r9, 0x20
mov ecx, r9d
mov eax, r9d
shl ecx, 0x10
and eax, 0xff00
add ecx, eax
mov eax, r9d
shl ecx, 8
shr r9d, 0x18
shr eax, 8
and eax, 0xff00
add ecx, eax
add ecx, r9d
mov dword [r8], ecx
add dword [rbx + 0x20], 0x20
add qword [rbx + 8], 4
mov r8, qword [rbx + 8]
mov ecx, dword [rbx + 0x20]
mov r9, qword [rbx + 0x18]
mov eax, dword [r14 + 0x78]
lea rdx, [r9 + r9]
or rdx, rax
dec ecx
mov qword [rbx + 0x18], rdx
mov dword [rbx + 0x20], ecx
cmp ecx, 0x20
jne 0x140188a62
mov ecx, edx
mov eax, edx
shl ecx, 0x10
and eax, 0xff00
add ecx, eax
mov eax, edx
shl ecx, 8
shr edx, 0x18
shr eax, 8
and eax, 0xff00
add ecx, eax
add ecx, edx
mov dword [r8], ecx
mov ecx, 0x40
add qword [rbx + 8], 4
mov r8, qword [rbx + 8]
mov rdx, qword [rbx + 0x18]
mov dword [rbx + 0x20], 0x40
mov eax, dword [r14 + 0x7c]
add rdx, rdx
or rdx, rax
dec ecx
mov qword [rbx + 0x18], rdx
mov dword [rbx + 0x20], ecx
cmp ecx, 0x20
jne 0x140188ab8
mov ecx, edx
mov eax, edx
shl ecx, 0x10
and eax, 0xff00
add ecx, eax
mov eax, edx
shl ecx, 8
shr edx, 0x18
shr eax, 8
and eax, 0xff00
add ecx, eax
add ecx, edx
mov dword [r8], ecx
mov ecx, 0x40
add qword [rbx + 8], 4
mov r8, qword [rbx + 8]
mov rdx, qword [rbx + 0x18]
mov dword [rbx + 0x20], 0x40
cmp dword [r14 + 0x7c], 0
je 0x140188be4
mov r9d, dword [r14 + 0x80]
add ecx, 0xfffffff8
shl rdx, 8
or r9, rdx
mov dword [rbx + 0x20], ecx
mov qword [rbx + 0x18], r9
cmp ecx, 0x20
jg 0x140188b25
shl r9, cl
shr r9, 0x20
mov ecx, r9d
mov eax, r9d
shl ecx, 0x10
and eax, 0xff00
add ecx, eax
mov eax, r9d
shl ecx, 8
shr r9d, 0x18
shr eax, 8
and eax, 0xff00
add ecx, eax
add ecx, r9d
mov dword [r8], ecx
add dword [rbx + 0x20], 0x20
add qword [rbx + 8], 4
mov r8, qword [rbx + 8]
mov ecx, dword [rbx + 0x20]
mov r9, qword [rbx + 0x18]
mov r10d, dword [r14 + 0x84]
add ecx, 0xfffffff8
shl r9, 8
or r10, r9
mov dword [rbx + 0x20], ecx
mov qword [rbx + 0x18], r10
cmp ecx, 0x20
jg 0x140188b87
shl r10, cl
shr r10, 0x20
mov ecx, r10d
mov eax, r10d
shl ecx, 0x10
and eax, 0xff00
add ecx, eax
mov eax, r10d
shl ecx, 8
shr r10d, 0x18
shr eax, 8
and eax, 0xff00
add ecx, eax
add ecx, r10d
mov dword [r8], ecx
add dword [rbx + 0x20], 0x20
add qword [rbx + 8], 4
mov r8, qword [rbx + 8]
mov ecx, dword [rbx + 0x20]
mov r10, qword [rbx + 0x18]
mov edx, dword [r14 + 0x88]
add ecx, 0xfffffff8
shl r10, 8
or rdx, r10
mov dword [rbx + 0x20], ecx
mov qword [rbx + 0x18], rdx
cmp ecx, 0x20
jg 0x140188be4
shl rdx, cl
shr rdx, 0x20
mov ecx, edx
mov eax, edx
shl ecx, 0x10
and eax, 0xff00
add ecx, eax
mov eax, edx
shl ecx, 8
shr edx, 0x18
shr eax, 8
and eax, 0xff00
add ecx, eax
add ecx, edx
mov dword [r8], ecx
add dword [rbx + 0x20], 0x20
add qword [rbx + 8], 4
mov r8, qword [rbx + 8]
mov ecx, dword [rbx + 0x20]
mov rdx, qword [rbx + 0x18]
mov eax, dword [r14 + 0x8c]
add rdx, rdx
or rdx, rax
dec ecx
mov qword [rbx + 0x18], rdx
mov dword [rbx + 0x20], ecx
cmp ecx, 0x20
jne 0x140188c39
mov ecx, edx
mov eax, edx
shl ecx, 0x10
and eax, 0xff00
add ecx, eax
mov eax, edx
shl ecx, 8
shr eax, 8
and eax, 0xff00
shr edx, 0x18
add ecx, eax
add ecx, edx
mov dword [r8], ecx
mov ecx, 0x40
add qword [rbx + 8], 4
mov r8, qword [rbx + 8]
mov dword [rbx + 0x20], 0x40
cmp dword [r14 + 0x8c], 0
je 0x140188c68
mov edx, dword [r14 + 0x90]
mov rcx, rbx
call fcn.1401856b0
mov edx, dword [r14 + 0x94]
mov rcx, rbx
call fcn.1401856b0
mov ecx, dword [rbx + 0x20]
mov r8, qword [rbx + 8]
mov eax, dword [r14 + 0x98]
mov rdx, qword [rbx + 0x18]
add rdx, rdx
or rdx, rax
dec ecx
mov qword [rbx + 0x18], rdx
mov dword [rbx + 0x20], ecx
cmp ecx, 0x20
jne 0x140188cc1
mov ecx, edx
mov eax, edx
shl ecx, 0x10
and eax, 0xff00
add ecx, eax
mov eax, edx
shl ecx, 8
shr edx, 0x18
shr eax, 8
and eax, 0xff00
add ecx, eax
add ecx, edx
mov dword [r8], ecx
mov ecx, 0x40
add qword [rbx + 8], 4
mov rdx, qword [rbx + 0x18]
mov dword [rbx + 0x20], 0x40
cmp dword [r14 + 0x98], 0
je 0x140188d46
mov edx, dword [r14 + 0x9c]
mov rcx, rbx
call fcn.140115f80
mov edx, dword [r14 + 0xa0]
mov rcx, rbx
call fcn.140115f80
mov eax, dword [r14 + 0xa4]
mov rdx, qword [rbx + 0x18]
dec dword [rbx + 0x20]
add rdx, rdx
mov ecx, dword [rbx + 0x20]
or rdx, rax
mov qword [rbx + 0x18], rdx
cmp ecx, 0x20
jne 0x140188d46
mov eax, edx
mov ecx, edx
shl ecx, 0x10
and eax, 0xff00
add ecx, eax
mov eax, edx
shl ecx, 8
shr eax, 8
and eax, 0xff00
shr edx, 0x18
add ecx, eax
mov rax, qword [rbx + 8]
add ecx, edx
mov dword [rax], ecx
mov ecx, 0x40
add qword [rbx + 8], 4
mov rdx, qword [rbx + 0x18]
mov dword [rbx + 0x20], 0x40
mov eax, dword [r14 + 0xa8]
add rdx, rdx
or rdx, rax
dec ecx
mov qword [rbx + 0x18], rdx
mov dword [rbx + 0x20], ecx
cmp ecx, 0x20
jne 0x140188d9a
mov eax, edx
mov ecx, edx
shl ecx, 0x10
and eax, 0xff00
add ecx, eax
mov eax, edx
shl ecx, 8
shr eax, 8
and eax, 0xff00
shr edx, 0x18
add ecx, eax
mov rax, qword [rbx + 8]
add ecx, edx
mov dword [rax], ecx
mov ecx, 0x40
add qword [rbx + 8], 4
mov dword [rbx + 0x20], 0x40
cmp dword [r14 + 0xa8], 0
mov r8, qword [rbx + 8]
je 0x14018907e
mov edx, dword [r14 + 0xb0]
mov rcx, rbx
dec edx
call fcn.1401856b0
mov edx, dword [r14 + 0xb4]
mov rax, qword [rbx + 0x18]
add dword [rbx + 0x20], 0xfffffffc
mov ecx, dword [rbx + 0x20]
shl rax, 4
or rdx, rax
mov qword [rbx + 0x18], rdx
cmp ecx, 0x20
jg 0x140188e1e
shl rdx, cl
shr rdx, 0x20
mov eax, edx
mov ecx, edx
shl ecx, 0x10
and eax, 0xff00
add ecx, eax
mov eax, edx
shl ecx, 8
shr eax, 8
and eax, 0xff00
shr edx, 0x18
add ecx, eax
mov rax, qword [rbx + 8]
add ecx, edx
mov dword [rax], ecx
add dword [rbx + 0x20], 0x20
add qword [rbx + 8], 4
mov ecx, dword [rbx + 0x20]
mov rdx, qword [rbx + 0x18]
mov r8d, dword [r14 + 0xb8]
add ecx, 0xfffffffc
mov r9, qword [rbx + 8]
shl rdx, 4
or r8, rdx
mov dword [rbx + 0x20], ecx
mov qword [rbx + 0x18], r8
cmp ecx, 0x20
jg 0x140188e79
shl r8, cl
shr r8, 0x20
mov ecx, r8d
mov eax, r8d
shl ecx, 0x10
and eax, 0xff00
add ecx, eax
mov eax, r8d
shl ecx, 8
shr eax, 8
and eax, 0xff00
shr r8d, 0x18
add ecx, eax
add ecx, r8d
mov dword [r9], ecx
add dword [rbx + 0x20], 0x20
add qword [rbx + 8], 4
mov edx, dword [r14 + 0xbc]
mov rcx, rbx
dec edx
call fcn.1401856b0
mov edx, dword [r14 + 0xc0]
mov rcx, rbx
dec edx
call fcn.1401856b0
mov eax, dword [r14 + 0xcc]
mov rdx, qword [rbx + 0x18]
dec dword [rbx + 0x20]
add rdx, rdx
mov ecx, dword [rbx + 0x20]
or rdx, rax
mov qword [rbx + 0x18], rdx
cmp ecx, 0x20
jne 0x140188ef8
mov eax, edx
mov ecx, edx
shl ecx, 0x10
and eax, 0xff00
add ecx, eax
mov eax, edx
shl ecx, 8
shr eax, 8
and eax, 0xff00
shr edx, 0x18
add ecx, eax
mov rax, qword [rbx + 8]
add ecx, edx
mov dword [rax], ecx
mov ecx, 0x40
add qword [rbx + 8], 4
mov rdx, qword [rbx + 0x18]
mov dword [rbx + 0x20], 0x40
mov r9d, dword [r14 + 0xd0]
add ecx, 0xfffffffb
mov r8, qword [rbx + 8]
dec r9d
shl rdx, 5
or r9, rdx
mov dword [rbx + 0x20], ecx
mov qword [rbx + 0x18], r9
cmp ecx, 0x20
jg 0x140188f61
shl r9, cl
shr r9, 0x20
mov ecx, r9d
mov eax, r9d
shl ecx, 0x10
and eax, 0xff00
add ecx, eax
mov eax, r9d
shl ecx, 8
shr r9d, 0x18
shr eax, 8
and eax, 0xff00
add ecx, eax
add ecx, r9d
mov dword [r8], ecx
add dword [rbx + 0x20], 0x20
add qword [rbx + 8], 4
mov r8, qword [rbx + 8]
mov ecx, dword [rbx + 0x20]
mov r9, qword [rbx + 0x18]
mov edx, dword [r14 + 0xd4]
add ecx, 0xfffffffb
dec edx
shl r9, 5
or rdx, r9
mov dword [rbx + 0x20], ecx
mov qword [rbx + 0x18], rdx
cmp ecx, 0x20
jg 0x140188fc0
shl rdx, cl
shr rdx, 0x20
mov ecx, edx
mov eax, edx
shl ecx, 0x10
and eax, 0xff00
add ecx, eax
mov eax, edx
shl ecx, 8
shr edx, 0x18
shr eax, 8
and eax, 0xff00
add ecx, eax
add ecx, edx
mov dword [r8], ecx
add dword [rbx + 0x20], 0x20
add qword [rbx + 8], 4
mov r8, qword [rbx + 8]
mov ecx, dword [rbx + 0x20]
mov rdx, qword [rbx + 0x18]
mov r9d, dword [r14 + 0xd8]
add ecx, 0xfffffffb
dec r9d
shl rdx, 5
or r9, rdx
mov dword [rbx + 0x20], ecx
mov qword [rbx + 0x18], r9
cmp ecx, 0x20
jg 0x140189025
shl r9, cl
shr r9, 0x20
mov ecx, r9d
mov eax, r9d
shl ecx, 0x10
and eax, 0xff00
add ecx, eax
mov eax, r9d
shl ecx, 8
shr r9d, 0x18
shr eax, 8
and eax, 0xff00
add ecx, eax
add ecx, r9d
mov dword [r8], ecx
add dword [rbx + 0x20], 0x20
add qword [rbx + 8], 4
mov r8, qword [rbx + 8]
mov ecx, dword [rbx + 0x20]
mov r9, qword [rbx + 0x18]
mov edx, dword [r14 + 0xdc]
add ecx, 0xfffffffb
shl r9, 5
or rdx, r9
mov dword [rbx + 0x20], ecx
mov qword [rbx + 0x18], rdx
cmp ecx, 0x20
jg 0x14018907e
shl rdx, cl
shr rdx, 0x20
mov ecx, edx
mov eax, edx
shl ecx, 0x10
and eax, 0xff00
add ecx, eax
mov eax, edx
shl ecx, 8
shr eax, 8
and eax, 0xff00
shr edx, 0x18
add ecx, eax
add ecx, edx
mov dword [r8], ecx
add dword [rbx + 0x20], 0x20
add qword [rbx + 8], 4
mov r8, qword [rbx + 8]
mov ecx, dword [rbx + 0x20]
mov eax, dword [r14 + 0xac]
mov rdx, qword [rbx + 0x18]
add rdx, rdx
or rdx, rax
dec ecx
mov qword [rbx + 0x18], rdx
mov dword [rbx + 0x20], ecx
cmp ecx, 0x20
jne 0x1401890db
mov ecx, edx
mov eax, edx
shl ecx, 0x10
and eax, 0xff00
add ecx, eax
mov eax, edx
shl ecx, 8
shr edx, 0x18
shr eax, 8
and eax, 0xff00
add ecx, eax
add ecx, edx
mov dword [r8], ecx
mov ecx, 0x40
add qword [rbx + 8], 4
mov r8, qword [rbx + 8]
mov rdx, qword [rbx + 0x18]
mov dword [rbx + 0x20], 0x40
cmp dword [r14 + 0xa8], 0
mov r9, r8
mov eax, ecx
jne 0x1401890f4
cmp dword [r14 + 0xac], 0
je 0x140189144
add rdx, rdx
lea ecx, [rax - 1]
mov qword [rbx + 0x18], rdx
mov dword [rbx + 0x20], ecx
cmp ecx, 0x20
jne 0x140189144
mov ecx, edx
mov eax, edx
shl ecx, 0x10
and eax, 0xff00
add ecx, eax
mov eax, edx
shl ecx, 8
shr edx, 0x18
shr eax, 8
and eax, 0xff00
add ecx, eax
add ecx, edx
mov dword [r9], ecx
mov ecx, 0x40
add qword [rbx + 8], 4
mov r8, qword [rbx + 8]
mov rdx, qword [rbx + 0x18]
mov dword [rbx + 0x20], 0x40
mov eax, dword [r14 + 0xe0]
add rdx, rdx
or rdx, rax
dec ecx
mov qword [rbx + 0x18], rdx
mov dword [rbx + 0x20], ecx
cmp ecx, 0x20
jne 0x14018919d
mov ecx, edx
mov eax, edx
shl ecx, 0x10
and eax, 0xff00
add ecx, eax
mov eax, edx
shl ecx, 8
shr edx, 0x18
shr eax, 8
and eax, 0xff00
add ecx, eax
add ecx, edx
mov dword [r8], ecx
mov ecx, 0x40
add qword [rbx + 8], 4
mov r8, qword [rbx + 8]
mov rdx, qword [rbx + 0x18]
mov dword [rbx + 0x20], 0x40
mov eax, dword [r14 + 0xe4]
add rdx, rdx
or rdx, rax
dec ecx
mov qword [rbx + 0x18], rdx
mov dword [rbx + 0x20], ecx
cmp ecx, 0x20
jne 0x1401891f6
mov ecx, edx
mov eax, edx
shl ecx, 0x10
and eax, 0xff00
add ecx, eax
mov eax, edx
shl ecx, 8
shr edx, 0x18
shr eax, 8
and eax, 0xff00
add ecx, eax
add ecx, edx
mov dword [r8], ecx
mov ecx, 0x40
add qword [rbx + 8], 4
mov r8, qword [rbx + 8]
mov rdx, qword [rbx + 0x18]
mov dword [rbx + 0x20], 0x40
cmp dword [r14 + 0xe4], 0
je 0x1401892ab
mov eax, dword [r14 + 0xe8]
add rdx, rdx
or rdx, rax
lea eax, [rcx - 1]
mov qword [rbx + 0x18], rdx
mov dword [rbx + 0x20], eax
cmp eax, 0x20
jne 0x140189251
mov ecx, edx
mov eax, edx
shl ecx, 0x10
and eax, 0xff00
add ecx, eax
mov eax, edx
shl ecx, 8
shr eax, 8
and eax, 0xff00
shr edx, 0x18
add ecx, eax
add ecx, edx
mov dword [r8], ecx
add qword [rbx + 8], 4
mov dword [rbx + 0x20], 0x40
mov edx, dword [r14 + 0xec]
mov rcx, rbx
call fcn.1401856b0
mov edx, dword [r14 + 0xf0]
mov rcx, rbx
call fcn.1401856b0
mov edx, dword [r14 + 0xf4]
mov rcx, rbx
call fcn.1401856b0
mov edx, dword [r14 + 0xf8]
mov rcx, rbx
call fcn.1401856b0
mov edx, dword [r14 + 0xfc]
mov rcx, rbx
call fcn.1401856b0
mov edx, dword [r14 + 0x100]
mov rcx, rbx
call fcn.1401856b0
mov rcx, rbx
call fcn.1400c6cb0
mov ecx, dword [rbx + 0x20]
mov rdx, qword [rbx + 0x18]
and ecx, 0x1f
mov rbp, qword [rsp + 0x48]
shl rdx, cl
mov ecx, edx
mov eax, edx
and eax, 0xff00
shl ecx, 0x10
add ecx, eax
mov eax, edx
shr eax, 8
and eax, 0xff00
shl ecx, 8
add ecx, eax
shr edx, 0x18
mov rax, qword [rbx + 8]
add ecx, edx
mov dword [rax], ecx
mov eax, dword [rbx + 0x20]
sar eax, 3
movsxd rcx, eax
mov eax, 8
sub rax, rcx
mov dword [rbx + 0x20], 0x40
add qword [rbx + 8], rax
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret