Function at 0x1800562d0
Capabilities:
Encode data using base64

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x48
movzx edx, word [rcx + 0x104]
mov rbx, rcx
mov r8d, dword [rcx + 0x22c]
xor r14d, r14d
mov eax, 0x1e
mov dword [rsp + 0x90], r14d
mov esi, 0xffff
lea ecx, [rdx + r8]
add ecx, ecx
cmp ecx, eax
cmovb ecx, eax
movzx eax, word [rbx + 0x144]
cmp eax, ecx
jbe 0x180056329
cmp ecx, esi
cmova ecx, esi
mov word [rbx + 0x144], cx
mov dword [rbx + 0x3b0], r14d
mov dword [rbx + 0x3b8], r14d
test dx, dx
je 0x180056366
lea ecx, [rdx + rdx*4]
mov r9d, 0x32
add ecx, ecx
mov eax, 0xcccccccd
cmp ecx, r9d
cmovb ecx, r9d
mul r8d
shr edx, 3
cmp edx, r9d
cmovb edx, r9d
lea r8d, [rdx + rcx]
jmp 0x180056371
imul r8d, r8d, 0x16
add r8d, 0x12c
mov dword [rbx + 0x3b4], r8d
mov rax, qword [rbx]
imul ecx, dword [rax + 0x10], 0x64
cmp r8d, ecx
jbe 0x18005638d
mov dword [rbx + 0x3b4], ecx
mov r8d, ecx
movzx r10d, word [rbx + 0x17e]
lea rax, [0x180053fd0]
cmp word [rbx + 0x17c], r10w
lea r11, [0x180051e50]
mov dword [rbx + 0x3bc], r8d
lea rdx, [0x180059b40]
mov dword [rbx + 0x1a4], r14d
lea r8, [0x180053fe0]
cmove r8, rax
lea rcx, [0x180053eb0]
lea rax, [0x180059b00]
cmove rdx, rax
lea rax, [0x180053e70]
cmove rcx, rax
lea rax, [0x180051e60]
cmove rax, r11
mov qword [rbx + 0x388], rax
mov qword [rbx + 0x390], r8
mov qword [rbx + 0x398], rdx
mov qword [rbx + 0x3a0], rcx
mov rcx, rbx
mov rax, qword [rbx + 0x230]
mov qword [rbx + 0x248], rax
mov rax, qword [rbx + 0x2d8]
mov qword [rbx + 0x2f0], rax
mov eax, dword [rbx + 0x208]
mov dword [rbx + 0x204], eax
call fcn.180051d00
movzx eax, byte [rbx + 0x1dc]
lea r9, [0x180054180]
lea r11, [0x180054200]
lea rsi, [0x180054010]
lea r8, [0x1800541c0]
lea rdx, [0x180054140]
lea rbp, [0x180054070]
lea r15, [0x1800540d0]
lea r10, [0x180054040]
lea rdi, [0x180000000]
cmp eax, 7
ja case.default.0x180056494
mov ecx, dword [rdi + rax*4 + 0x58dec]
add rcx, rdi
jmp rcx
mov qword [rbx + 0x358], r10
jmp case.default.0x180056494
mov qword [rbx + 0x358], r9
jmp case.default.0x180056494
mov qword [rbx + 0x358], r11
jmp case.default.0x180056494
mov qword [rbx + 0x358], rsi
jmp case.default.0x180056494
mov qword [rbx + 0x358], r8
jmp case.default.0x180056494
mov qword [rbx + 0x358], rdx
jmp case.default.0x180056494
mov qword [rbx + 0x358], rbp
jmp case.default.0x180056494
mov qword [rbx + 0x358], r15
mov esi, 2
mov word [rbx + 0x3ac], r14w
lea r11, [rbx + 0x18]
lea r15, [rbx + 0x21c]
mov r12, r11
lea r13d, [rsi + 0x7f]
movsxd rdx, dword [rbx + 0x218]
mov ebp, 0x100
mov r9, rdx
mov qword [rsp + 0x30], r15
add r9, qword [rbx + 0x210]
movzx r8d, byte [r9]
mov byte [rbx + 0x220], r8b
movsx ecx, byte [r8 + rdi + 0x13abe0]
mov dword [rbx + 0x224], ecx
test ecx, ecx
jns 0x180056555
lea eax, [rdx + 1]
mov r12, r11
cmp eax, dword [r15]
jge 0x180058db0
movzx eax, byte [r9 + 1]
imul eax, ecx
mov ecx, esi
sub ecx, eax
mov dword [rbx + 0x224], ecx
lea eax, [rdx + rcx]
cmp eax, dword [r15]
jg 0x180058db0
movzx ecx, byte [r8 + rdi + 0x13aae0]
mov edx, dword [rbx + 0x1c]
mov eax, ecx
shr eax, 4
sub edx, eax
mov dword [rbx + 0x30], edx
jns 0x1800565c1
cmp byte [rbx + 0x34d], 0
jne 0x180058d1f
movzx edx, r14w
test cl, 0xf0
jbe 0x1800565ba
nop
mov rax, qword [rbx + 0x28]
movzx ecx, dx
inc dx
mov dword [rax + rcx*4], r14d
movzx r8d, byte [rbx + 0x220]
movzx eax, byte [r8 + rdi + 0x13aae0]
shr al, 4
movzx eax, al
cmp dx, ax
jb 0x180056590
mov dword [rbx + 0x30], r14d
mov edx, r14d
cmp r8b, 0x91
jne 0x1800565df
mov rax, qword [rbx]
mov rcx, qword [rax + 0x410]
test rcx, rcx
je 0x1800565da
mov ecx, dword [rcx]
jmp 0x1800565ee
mov ecx, dword [rbx + 0x34]
jmp 0x1800565f3
movzx eax, r8b
movzx ecx, byte [rax + rdi + 0x13aae0]
and ecx, 0xf
add ecx, edx
mov dword [rbx + 0x34], ecx
mov r10d, dword [rbx + 0x20]
lea r12, [rbx + 0x18]
cmp ecx, r10d
jg 0x180058da0
mov r9, qword [rbx + 0x28]
mov eax, edx
movzx r11d, r8b
mov byte [rbx + 0x228], 1
mov dword [r12], r14d
lea rsi, [r9 + rax*4]
cmp r11d, 0x92
ja case.default.0x180056635
mov ecx, dword [rdi + r11*4 + 0x58e0c]
add rcx, rdi
jmp rcx
movzx eax, r8b
mov edx, 0x4000
and al, 1
movzx ecx, al
shl cx, 0xe
movzx eax, cx
xor ax, dx
cmp r8b, 4
jae 0x180056671
mov word [rbx + 0x1ca], cx
mov word [rbx + 0x1cc], ax
mov word [rbx + 0x1c6], cx
mov word [rbx + 0x1c8], ax
test r8b, 2
jne 0x1800566ae
mov word [rbx + 0x1ce], cx
mov word [rbx + 0x1d0], ax
jmp 0x1800566ae
movzx r8d, word [rsi]
lea r9, [rbx + 0x1ca]
movzx edx, word [rsi + 4]
mov rcx, rbx
call fcn.180053bc0
test al, al
jne case.0x180056635.33
mov eax, dword [rbx + 0x1ca]
mov dword [rbx + 0x1c6], eax
mov rcx, rbx
call fcn.180051d00
mov r10d, 1
mov esi, 2
xor ebp, ebp
mov eax, dword [r12]
test eax, eax
je 0x180058cc1
cmp eax, 0x80
jne 0x180058d62
mov r8, qword [rbx + 0x278]
test r8, r8
je 0x180058c0f
mov eax, dword [rbx + 0x270]
lea rcx, [rax + rax*2]
lea rdx, [r8 + rcx*8]
jmp 0x180058c12
movzx r8d, word [rsi]
lea r9, [rbx + 0x1ce]
movzx edx, word [rsi + 4]
mov rcx, rbx
call fcn.180053bc0
test al, al
je 0x1800566ae
xor ebp, ebp
lea r10d, [rbp + 1]
lea esi, [rbp + 2]
jmp 0x1800566c3
movsx ecx, word [rsi]
movsx eax, word [rsi + 4]
test ecx, ecx
jne 0x180056736
test eax, eax
je 0x1800566a2
mov dword [rsp + 0xa0], ecx
lea rcx, [rsp + 0xa0]
mov dword [rsp + 0xa4], eax
call fcn.1800430d0
mov eax, dword [rsp + 0xa0]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov word [rbx + 0x1ca], ax
mov eax, dword [rsp + 0xa4]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov word [rbx + 0x1cc], ax
jmp 0x1800566a2
movsx ecx, word [rsi]
movsx eax, word [rsi + 4]
test ecx, ecx
jne 0x180056797
test eax, eax
je 0x1800566ae
mov dword [rsp + 0xa8], ecx
lea rcx, [rsp + 0xa8]
mov dword [rsp + 0xac], eax
call fcn.1800430d0
mov eax, dword [rsp + 0xa8]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov word [rbx + 0x1ce], ax
mov eax, dword [rsp + 0xac]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov word [rbx + 0x1d0], ax
jmp 0x1800566ae
movsx eax, word [rbx + 0x1ca]
mov dword [rsi], eax
movsx eax, word [rbx + 0x1cc]
mov dword [rsi + 4], eax
jmp case.0x180056635.33
movsx eax, word [rbx + 0x1ce]
mov dword [rsi], eax
movsx eax, word [rbx + 0x1d0]
mov dword [rsi + 4], eax
jmp case.0x180056635.33
mov eax, dword [rbx + 0x1ca]
mov dword [rbx + 0x1ce], eax
jmp 0x1800566ae
mov rdx, rsi
mov rcx, rbx
call fcn.1800526f0
jmp case.0x180056635.33
movzx eax, word [rsi]
mov word [rbx + 0x1c0], ax
jmp case.0x180056635.33
movzx eax, word [rsi]
mov word [rbx + 0x1c2], ax
jmp case.0x180056635.33
movzx eax, word [rsi]
mov word [rbx + 0x1c4], ax
jmp case.0x180056635.33
mov ecx, dword [rsi]
test ecx, ecx
je 0x1800568bb
cmp ecx, 1
je 0x180056895
mov r10d, 1
xor ebp, ebp
mov esi, 2
cmp byte [rbx + 0x34d], bpl
je 0x1800566c3
mov dword [r12], 0x86
jmp 0x1800566c3
movups xmm0, xmmword [rbx + 0xf8]
movups xmm1, xmmword [rbx + 0x108]
movups xmmword [rbx + 0x38], xmm0
movups xmm0, xmmword [rbx + 0x118]
movups xmmword [rbx + 0x48], xmm1
movups xmm1, xmmword [rbx + 0x128]
jmp 0x1800568df
movups xmm0, xmmword [rbx + 0x138]
movups xmm1, xmmword [rbx + 0x148]
movups xmmword [rbx + 0x38], xmm0
movups xmm0, xmmword [rbx + 0x158]
movups xmmword [rbx + 0x48], xmm1
movups xmm1, xmmword [rbx + 0x168]
movups xmmword [rbx + 0x58], xmm0
movups xmmword [rbx + 0x68], xmm1
movzx eax, word [rsi]
mov word [rbx + 0x1fc], ax
jmp case.0x180056635.33
mov ecx, dword [rsi]
test ecx, ecx
je 0x18005692e
cmp ecx, 1
jne 0x18005686e
movups xmm0, xmmword [rbx + 0xf8]
movups xmm1, xmmword [rbx + 0x108]
movups xmmword [rbx + 0x78], xmm0
movups xmm0, xmmword [rbx + 0x118]
movups xmmword [rbx + 0x88], xmm1
movups xmm1, xmmword [rbx + 0x128]
jmp 0x180056955
movups xmm0, xmmword [rbx + 0x138]
movups xmm1, xmmword [rbx + 0x148]
movups xmmword [rbx + 0x78], xmm0
movups xmm0, xmmword [rbx + 0x158]
movups xmmword [rbx + 0x88], xmm1
movups xmm1, xmmword [rbx + 0x168]
movups xmmword [rbx + 0x98], xmm0
movups xmmword [rbx + 0xa8], xmm1
movzx eax, word [rsi]
mov word [rbx + 0x1fe], ax
jmp case.0x180056635.33
mov ecx, dword [rsi]
test ecx, ecx
je 0x1800569ad
cmp ecx, 1
jne 0x18005686e
movups xmm0, xmmword [rbx + 0xf8]
movups xmm1, xmmword [rbx + 0x108]
movups xmmword [rbx + 0xb8], xmm0
movups xmm0, xmmword [rbx + 0x118]
movups xmmword [rbx + 0xc8], xmm1
movups xmm1, xmmword [rbx + 0x128]
jmp 0x1800569d7
movups xmm0, xmmword [rbx + 0x138]
movups xmm1, xmmword [rbx + 0x148]
movups xmmword [rbx + 0xb8], xmm0
movups xmm0, xmmword [rbx + 0x158]
movups xmmword [rbx + 0xc8], xmm1
movups xmm1, xmmword [rbx + 0x168]
movups xmmword [rbx + 0xd8], xmm0
movups xmmword [rbx + 0xe8], xmm1
movzx eax, word [rsi]
mov word [rbx + 0x200], ax
jmp case.0x180056635.33
mov ecx, dword [rsi]
test ecx, ecx
je 0x180056a29
cmp ecx, 1
jne 0x18005686e
movups xmm0, xmmword [rbx + 0xf8]
movups xmm1, xmmword [rbx + 0x108]
movups xmmword [rbx + 0x38], xmm0
movups xmm0, xmmword [rbx + 0x118]
movups xmmword [rbx + 0x48], xmm1
movups xmm1, xmmword [rbx + 0x128]
jmp 0x180056a4d
movups xmm0, xmmword [rbx + 0x138]
movups xmm1, xmmword [rbx + 0x148]
movups xmmword [rbx + 0x38], xmm0
movups xmm0, xmmword [rbx + 0x158]
movups xmmword [rbx + 0x48], xmm1
movups xmm1, xmmword [rbx + 0x168]
movups xmmword [rbx + 0x58], xmm0
movups xmmword [rbx + 0x68], xmm1
movups xmm0, xmmword [rbx + 0x38]
movups xmm1, xmmword [rbx + 0x48]
movups xmmword [rbx + 0x78], xmm0
movups xmm0, xmmword [rbx + 0x58]
movups xmmword [rbx + 0x88], xmm1
movups xmm1, xmmword [rbx + 0x68]
movups xmmword [rbx + 0x98], xmm0
movups xmm0, xmmword [rbx + 0x38]
movups xmmword [rbx + 0xa8], xmm1
movups xmm1, xmmword [rbx + 0x48]
movups xmmword [rbx + 0xb8], xmm0
movups xmm0, xmmword [rbx + 0x58]
movups xmmword [rbx + 0xc8], xmm1
movups xmm1, xmmword [rbx + 0x68]
movups xmmword [rbx + 0xd8], xmm0
movups xmmword [rbx + 0xe8], xmm1
movzx eax, word [rsi]
mov word [rbx + 0x1fc], ax
movzx eax, word [rsi]
mov word [rbx + 0x1fe], ax
movzx eax, word [rsi]
mov word [rbx + 0x200], ax
jmp case.0x180056635.33
mov eax, dword [rsi]
mov esi, 2
lea r10d, [rsi - 1]
test eax, eax
jns 0x180056ae9
mov dword [r12], 0x84
jmp 0x1800566c1
mov ecx, 0xffff
cmp eax, ecx
cmovg eax, ecx
mov dword [rbx + 0x1d4], eax
jmp 0x1800566c1
mov r10d, 1
lea rax, [0x180054180]
mov dword [rbx + 0x1dc], r10d
mov qword [rbx + 0x358], rax
jmp 0x1800566bc
lea rax, [0x1800541c0]
mov dword [rbx + 0x1dc], r14d
mov qword [rbx + 0x358], rax
jmp case.0x180056635.33
mov eax, dword [rsi]
mov dword [rbx + 0x1d8], eax
jmp case.0x180056635.33
mov edi, 1
nop word [rax + rax]
mov rcx, rbx
call fcn.180054240
cmp al, 1
je case.0x180056635.33
movzx ecx, byte [rbx + 0x220]
sub ecx, 0x58
je 0x180056b75
cmp ecx, 1
jne 0x180056b77
dec edi
jmp 0x180056b77
inc edi
test edi, edi
jne 0x180056b50
jmp case.0x180056635.33
mov ecx, dword [rsi]
test ecx, ecx
jne 0x180056b8a
test edx, edx
je 0x180056bf8
mov edx, dword [rbx + 0x218]
add edx, ecx
mov dword [rbx + 0x218], edx
js 0x180056bf8
movsxd rax, dword [rbx + 0x288]
test eax, eax
jle 0x180056bba
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x290]
mov rcx, qword [rax + rcx*8 - 8]
cmp edx, dword [rcx + 8]
jg 0x180056bf8
mov byte [rbx + 0x228], 0
cmp dword [rsi], 0
jge case.0x180056635.33
inc dword [rbx + 0x3b8]
xor ebp, ebp
mov eax, dword [rbx + 0x3b8]
lea esi, [rbp + 2]
lea r10d, [rbp + 1]
cmp eax, dword [rbx + 0x3bc]
jbe 0x1800566c3
mov dword [r12], 0x8b
jmp 0x1800566c3
mov dword [r12], 0x84
jmp case.0x180056635.33
mov eax, dword [rsi]
mov dword [rbx + 0x1e4], eax
jmp case.0x180056635.33
mov eax, dword [rsi]
mov dword [rbx + 0x1e8], eax
jmp case.0x180056635.33
mov edx, dword [rbx + 0x1a8]
mov ecx, dword [rsi]
call fcn.18003fc80
mov dword [rbx + 0x1ec], eax
jmp case.0x180056635.33
mov eax, dword [rsi]
mov dword [rsi + 4], eax
jmp case.0x180056635.33
mov dword [rbx + 0x34], r14d
jmp case.0x180056635.33
mov ecx, dword [rsi]
mov eax, dword [rsi + 4]
mov dword [rsi], eax
mov dword [rsi + 4], ecx
jmp case.0x180056635.33
mov eax, dword [rbx + 0x1c]
mov dword [rsi], eax
jmp case.0x180056635.33
mov eax, dword [rsi]
test eax, eax
jle 0x180056c7d
cmp eax, edx
jg 0x180056c7d
sub edx, eax
movsxd rax, edx
mov ecx, dword [r9 + rax*4]
mov dword [rsi], ecx
jmp case.0x180056635.33
cmp byte [rbx + 0x34d], 0
je 0x180056c8e
mov dword [r12], 0x86
mov ecx, r14d
mov dword [rsi], ecx
jmp case.0x180056635.33
mov r8d, dword [rsi]
test r8d, r8d
jle 0x18005686e
cmp r8d, edx
jg 0x18005686e
sub edx, r8d
movsxd rax, edx
mov edi, dword [r9 + rax*4]
lea rcx, [r9 + rax*4]
lea eax, [r8 - 1]
movsxd r8, eax
lea eax, [rdx + 1]
movsxd rdx, eax
shl r8, 2
lea rdx, [r9 + rdx*4]
call fcn.180131050
movsxd rcx, dword [rbx + 0x30]
mov rax, qword [rbx + 0x28]
mov dword [rax + rcx*4 - 4], edi
jmp case.0x180056635.33
movzx ebp, word [rsi]
cmp bp, word [rbx + 0x84]
jae 0x18005686e
movzx esi, word [rsi + 4]
cmp si, word [rbx + 0x44]
jae 0x18005686e
mov rax, qword [rbx + 0x90]
mov rcx, rbx
lea r9, [rax + rbp*8]
mov rax, qword [rbx + 0x50]
mov r8d, dword [rax + rsi*8 + 4]
mov edx, dword [rax + rsi*8]
sub r8d, dword [r9 + 4]
sub edx, dword [r9]
call qword [rbx + 0x360]
movzx r8d, bp
mov rcx, rbx
cdq
sub eax, edx
lea rdx, [rbx + 0x78]
sar eax, 1
mov r9d, eax
mov edi, eax
call qword [rbx + 0x378]
neg edi
lea rdx, [rbx + 0x38]
mov r9d, edi
movzx r8d, si
mov rcx, rbx
call qword [rbx + 0x378]
jmp case.0x180056635.33
movzx ecx, word [rsi]
cmp cx, word [rbx + 0x44]
jae 0x18005686e
cmp word [rbx + 0x1ce], 0
mov edx, 0xff
mov eax, 0xf7
cmove eax, edx
mov rdx, qword [rbx + 0x60]
add rdx, rcx
movzx r8d, al
movzx eax, r8b
and al, 0xef
cmp word [rbx + 0x1d0], 0
movzx ecx, al
cmove ecx, r8d
and byte [rdx], cl
jmp case.0x180056635.33
mov r10d, dword [rbx + 0x280]
mov r8d, dword [rsi + 4]
inc r10d
cmp r8d, r10d
jae 0x180056ec1
mov r9, qword [rbx + 0x268]
test r9, r9
je 0x180056dd7
lea rcx, [r8 + r8*2]
lea rdx, [r9 + rcx*8]
jmp 0x180056dda
mov rdx, r14
mov eax, dword [rbx + 0x260]
cmp r10d, eax
jne 0x180056deb
cmp dword [rdx + 0xc], r8d
je 0x180056e19
mov rdx, r9
test r9, r9
je 0x180056ec1
lea rcx, [rax + rax*2]
lea rax, [r9 + rcx*8]
cmp rdx, rax
jae 0x180056e13
cmp dword [rdx + 0xc], r8d
je 0x180056e19
add rdx, 0x18
cmp rdx, rax
jb 0x180056e04
je 0x180056ec1
cmp byte [rdx + 0x10], 0
je 0x180056ec1
movsxd rax, dword [rbx + 0x288]
cmp eax, dword [rbx + 0x28c]
jl 0x180056e3f
mov dword [r12], 0x82
jmp case.0x180056635.33
cmp dword [rsi], 0
jle case.0x180056635.33
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x290]
lea r8, [rax + rcx*8]
mov eax, dword [rbx + 0x208]
mov dword [r8], eax
mov rcx, rbx
mov eax, dword [rbx + 0x218]
inc eax
mov dword [r8 + 4], eax
mov eax, dword [rsi]
mov dword [r8 + 8], eax
mov qword [r8 + 0x10], rdx
inc dword [rbx + 0x288]
mov r8d, dword [rdx + 4]
mov edx, dword [rdx]
call fcn.1800523b0
xor ebp, ebp
mov byte [rbx + 0x228], 0
mov eax, dword [rsi]
add dword [rbx + 0x3b0], eax
mov eax, dword [rbx + 0x3b0]
lea esi, [rbp + 2]
lea r10d, [rbp + 1]
cmp eax, dword [rbx + 0x3b4]
jbe 0x1800566c3
mov dword [r12], 0x8b
jmp 0x1800566c3
mov dword [r12], 0x86
jmp case.0x180056635.33
mov r10d, dword [rbx + 0x280]
mov r8d, dword [rsi]
inc r10d
cmp r8d, r10d
jae 0x180056ec1
mov r9, qword [rbx + 0x268]
test r9, r9
je 0x180056ec1
mov eax, dword [rbx + 0x260]
lea rcx, [r8 + r8*2]
lea rdx, [r9 + rcx*8]
cmp r10d, eax
jne 0x180056f05
cmp dword [rdx + 0xc], r8d
je 0x180056f29
lea rcx, [rax + rax*2]
mov rdx, r9
lea rax, [r9 + rcx*8]
cmp r9, rax
jae 0x180056f24
cmp dword [rdx + 0xc], r8d
je 0x180056f29
add rdx, 0x18
cmp rdx, rax
jb 0x180056f15
cmp rdx, rax
je 0x180056ec1
cmp byte [rdx + 0x10], 0
je 0x180056ec1
movsxd rax, dword [rbx + 0x288]
mov r10d, 1
cmp eax, dword [rbx + 0x28c]
jl 0x180056f51
mov dword [r12], 0x82
jmp 0x1800566bc
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x290]
lea r8, [rax + rcx*8]
mov eax, dword [rbx + 0x208]
mov dword [r8], eax
mov rcx, rbx
mov eax, dword [rbx + 0x218]
mov dword [r8 + 8], r10d
inc eax
mov dword [r8 + 4], eax
mov qword [r8 + 0x10], rdx
inc dword [rbx + 0x288]
mov r8d, dword [rdx + 4]
mov edx, dword [rdx]
call fcn.1800523b0
mov byte [rbx + 0x228], 0
jmp 0x1800566bc
mov rdx, rsi
mov rcx, rbx
call fcn.180052210
jmp case.0x180056635.33
movsxd rcx, dword [rbx + 0x288]
test ecx, ecx
jg 0x180056fc5
mov dword [r12], 0x88
jmp case.0x180056635.33
lea eax, [rcx - 1]
mov dword [rbx + 0x288], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x290]
dec dword [rax + rcx*8 - 0x10]
lea rdx, [rax + rcx*8]
mov byte [rbx + 0x228], 0
cmp dword [rdx - 0x10], 0
jle 0x180057006
inc dword [rbx + 0x288]
mov rax, qword [rdx - 8]
mov ecx, dword [rax + 4]
mov dword [rbx + 0x218], ecx
jmp case.0x180056635.33
mov r8d, dword [rdx - 0x14]
mov rcx, rbx
mov edx, dword [rdx - 0x18]
call fcn.1800523b0
jmp case.0x180056635.33
movzx esi, word [rsi]
cmp si, word [rbx + 0x44]
jae 0x18005686e
test r8b, 1
je 0x1800570a1
mov rax, qword [rbx + 0x50]
mov rcx, rbx
mov r8d, dword [rax + rsi*8 + 4]
mov edx, dword [rax + rsi*8]
call qword [rbx + 0x360]
mov edi, eax
lea rcx, [0x1800541c0]
mov rax, qword [rbx + 0x358]
cmp rax, rcx
jne 0x180057090
mov ecx, dword [rbx + 0x1b8]
test edi, edi
js 0x180057079
lea edx, [rcx + rdi]
mov eax, 0x20
and edx, 0xffffffc0
cmp edx, 0xffffffe0
lea ecx, [rdx + 0x20]
cmovge eax, ecx
sub eax, edi
jmp 0x1800570a4
sub ecx, edi
mov edx, 0xffffffe0
and ecx, 0xffffffc0
mov eax, edx
sub eax, ecx
test eax, eax
cmovg eax, edx
sub eax, edi
jmp 0x1800570a4
mov r8d, 3
mov edx, edi
mov rcx, rbx
call rax
sub eax, edi
jmp 0x1800570a4
mov eax, r14d
lea rdx, [rbx + 0x38]
mov r9d, eax
movzx r8d, si
mov rcx, rbx
call qword [rbx + 0x378]
mov word [rbx + 0x1c0], si
mov word [rbx + 0x1c2], si
jmp case.0x180056635.33
mov rcx, rbx
call fcn.1800529d0
jmp case.0x180056635.33
mov rcx, rbx
call fcn.1800534e0
jmp case.0x180056635.33
mov rdx, rsi
mov rcx, rbx
call fcn.180053270
jmp case.0x180056635.33
mov rdx, rsi
mov rcx, rbx
call fcn.1800539a0
jmp case.0x180056635.33
mov rdx, rsi
mov rcx, rbx
call fcn.1800536e0
jmp case.0x180056635.33
mov rcx, rbx
call fcn.180052420
jmp case.0x180056635.33
movzx edi, word [rsi]
cmp di, word [rbx + 0x84]
jae 0x18005686e
movzx eax, word [rbx + 0x1c0]
cmp ax, word [rbx + 0x44]
jae 0x18005686e
cmp word [rbx + 0x1fe], 0
jne 0x18005718d
mov rcx, qword [rbx + 0x88]
mov edx, eax
mov rax, qword [rbx + 0x48]
movzx r8d, di
mov rax, qword [rax + rdx*8]
lea rdx, [rbx + 0x78]
mov qword [rcx + rdi*8], rax
mov rcx, rbx
mov r9d, dword [rsi + 4]
call qword [rbx + 0x380]
mov rax, qword [rbx + 0x88]
mov rcx, qword [rbx + 0x90]
mov rax, qword [rax + rdi*8]
mov qword [rcx + rdi*8], rax
movzx ecx, word [rbx + 0x1c0]
mov rax, qword [rbx + 0x50]
lea r9, [rax + rcx*8]
mov rax, qword [rbx + 0x90]
mov rcx, rbx
mov r8d, dword [rax + rdi*8 + 4]
mov edx, dword [rax + rdi*8]
sub r8d, dword [r9 + 4]
sub edx, dword [r9]
call qword [rbx + 0x360]
mov r9d, dword [rsi + 4]
lea rdx, [rbx + 0x78]
sub r9d, eax
movzx r8d, di
mov rcx, rbx
call qword [rbx + 0x378]
movzx eax, word [rbx + 0x1c0]
xor ebp, ebp
mov word [rbx + 0x1c2], ax
mov word [rbx + 0x1c4], di
lea r10d, [rbp + 1]
lea esi, [rbp + 2]
test byte [rbx + 0x220], r10b
je 0x1800566c3
mov word [rbx + 0x1c0], di
jmp 0x1800566c3
mov r8d, dword [rbx + 0x1d4]
cmp dword [rbx + 0x1c], r8d
jl 0x1800572c9
movzx eax, word [rbx + 0x44]
cmp word [rbx + 0x1c0], ax
jae 0x1800572c9
mov ecx, edx
test r8d, r8d
jle 0x1800572dc
nop word [rax + rax]
movsxd rax, edx
lea ecx, [rdx - 1]
mov dword [rbx + 0x30], ecx
movzx edi, word [r9 + rax*4 - 4]
cmp di, word [rbx + 0x84]
jb 0x180057267
cmp byte [rbx + 0x34d], 0
jne 0x180056ec1
jmp 0x1800572b2
movzx ecx, word [rbx + 0x1c0]
mov rax, qword [rbx + 0x50]
lea r9, [rax + rcx*8]
mov rax, qword [rbx + 0x90]
mov rcx, rbx
mov r8d, dword [rax + rdi*8 + 4]
mov edx, dword [rax + rdi*8]
sub r8d, dword [r9 + 4]
sub edx, dword [r9]
call qword [rbx + 0x360]
lea rdx, [rbx + 0x78]
movzx r8d, di
neg eax
mov rcx, rbx
mov r9d, eax
call qword [rbx + 0x378]
mov ecx, dword [rbx + 0x30]
mov r9, qword [rbx + 0x28]
dec dword [rbx + 0x1d4]
mov edx, ecx
cmp dword [rbx + 0x1d4], 0
jg 0x180057240
jmp 0x1800572dc
cmp byte [rbx + 0x34d], 0
mov ecx, edx
je 0x1800572dc
mov dword [r12], 0x86
mov r10d, 1
mov dword [rbx + 0x34], ecx
mov dword [rbx + 0x1d4], r10d
jmp 0x1800566bc
mov esi, 2
lea rax, [0x180054140]
mov dword [rbx + 0x1dc], esi
mov qword [rbx + 0x358], rax
lea r10d, [rsi - 1]
jmp 0x1800566c1
movzx ebp, word [rsi]
cmp bp, word [rbx + 0x44]
jae 0x180057443
mov edx, dword [rsi + 4]
cmp edx, dword [rbx + 0x22c]
jae 0x180057443
mov rax, qword [rbx + 0x390]
lea rcx, [0x180053fd0]
cmp rax, rcx
jne 0x18005734e
mov rax, qword [rbx + 0x230]
mov edi, dword [rax + rdx*4]
jmp 0x180057355
mov rcx, rbx
call rax
mov edi, eax
cmp word [rbx + 0x1fc], 0
jne 0x18005739a
movsx edx, word [rbx + 0x1ce]
mov ecx, edi
call fcn.180055a20
mov rcx, qword [rbx + 0x48]
mov dword [rcx + rbp*8], eax
mov ecx, edi
movsx edx, word [rbx + 0x1d0]
call fcn.180055a20
mov rcx, qword [rbx + 0x48]
mov dword [rcx + rbp*8 + 4], eax
mov rax, qword [rbx + 0x48]
mov rcx, qword [rbx + 0x50]
mov rax, qword [rax + rbp*8]
mov qword [rcx + rbp*8], rax
mov rax, qword [rbx + 0x50]
mov rcx, rbx
mov r8d, dword [rax + rbp*8 + 4]
mov edx, dword [rax + rbp*8]
call qword [rbx + 0x360]
test byte [rbx + 0x220], 1
mov esi, eax
je 0x18005741a
mov eax, edi
lea rcx, [0x180054140]
sub eax, esi
cdq
xor eax, edx
sub eax, edx
cmp eax, dword [rbx + 0x1e4]
mov rax, qword [rbx + 0x358]
cmovg edi, esi
mov edx, edi
cmp rax, rcx
jne 0x18005740d
mov edi, dword [rbx + 0x1b8]
test edx, edx
js 0x1800573fb
lea eax, [rdi + 0x10]
mov edi, r14d
add eax, edx
and eax, 0xffffffe0
cmovge edi, eax
jmp 0x18005741a
sub edi, edx
add edi, 0x10
and edi, 0xffffffe0
neg edi
test edi, edi
cmovg edi, r14d
jmp 0x18005741a
mov r8d, 3
mov rcx, rbx
call rax
mov edi, eax
sub edi, esi
lea rdx, [rbx + 0x38]
mov r9d, edi
movzx r8d, bp
mov rcx, rbx
call qword [rbx + 0x378]
mov word [rbx + 0x1c0], bp
mov word [rbx + 0x1c2], bp
jmp case.0x180056635.33
cmp byte [rbx + 0x34d], 0
je 0x180057454
mov dword [r12], 0x86
mov word [rbx + 0x1c0], bp
mov word [rbx + 0x1c2], bp
jmp case.0x180056635.33
sub r10d, dword [rbx + 0x1c]
movsxd rcx, dword [rbx + 0x218]
inc r10d
mov rax, qword [rbx + 0x210]
movzx r11d, byte [rcx + rax + 1]
cmp r11d, r10d
mov r10d, 1
jb 0x18005749a
mov dword [r12], 0x82
jmp 0x1800566bc
movzx r9d, r10w
cmp r10w, r11w
ja 0x1800574db
nop dword [rax]
nop dword [rax + rax]
mov eax, dword [rbx + 0x218]
movzx r8d, r9w
inc r9w
add eax, r8d
movsxd rcx, eax
mov rax, qword [rbx + 0x210]
movzx edx, byte [rcx + rax + 1]
mov dword [rsi + r8*4 - 4], edx
cmp r9w, r11w
jbe 0x1800574b0
add dword [rbx + 0x34], r11d
jmp 0x1800566bc
sub r10d, dword [rbx + 0x1c]
movsxd rdx, dword [rbx + 0x218]
inc r10d
mov rax, qword [rbx + 0x210]
movzx r11d, byte [rdx + rax + 1]
cmp r11d, r10d
jb 0x180057511
mov dword [r12], 0x82
jmp case.0x180056635.33
lea eax, [rdx + 2]
mov dword [rbx + 0x218], eax
test r11b, r11b
je 0x18005755b
mov r9, r11
movsxd rcx, dword [rbx + 0x218]
lea rsi, [rsi + 4]
lea eax, [rcx + 2]
mov dword [rbx + 0x218], eax
mov rax, qword [rbx + 0x210]
movzx r8d, byte [rcx + rax + 1]
movzx edx, byte [rcx + rax]
movsx eax, bp
imul eax, edx
add ax, r8w
cwde
mov dword [rsi - 4], eax
sub r9, 1
jne 0x180057522
add dword [rbx + 0x34], r11d
mov byte [rbx + 0x228], 0
jmp case.0x180056635.33
mov r14d, dword [rsi]
movzx ebp, word [rbx + 0x2d0]
cmp r14d, ebp
jae 0x18005686e
cmp dword [rbx + 0x204], 3
jne 0x18005763d
mov rax, qword [rbx + 0x2f0]
cmp qword [rbx + 0x2d8], rax
jne 0x18005763d
movzx edi, word [rbx + 0x2e0]
cmp edi, ebp
jae 0x180057605
mov rcx, qword [rbx + 0x10]
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
lea r9d, [rbp*4]
mov rax, qword [rbx + 0x2e8]
lea r8d, [rdi*4]
mov edx, 1
mov qword [rsp + 0x20], rax
call fcn.180044f80
mov qword [rbx + 0x2e8], rax
mov eax, dword [rsp + 0x98]
test eax, eax
je 0x180057603
mov dword [r12], eax
mov word [rbx + 0x2e0], di
jmp case.0x180056635.33
mov edi, ebp
mov rdx, qword [rbx + 0x2d8]
xor ebp, ebp
mov rcx, qword [rbx + 0x2e8]
movzx r8d, di
shl r8, 2
mov dword [r12], ebp
mov word [rbx + 0x2e0], di
call fcn.180131050
mov rax, qword [rbx + 0x2e8]
mov qword [rbx + 0x2d8], rax
jmp 0x18005763f
xor ebp, ebp
mov eax, dword [rsi + 4]
mov esi, 2
mov rcx, qword [rbx + 0x2d8]
lea r10d, [rsi - 1]
mov dword [rcx + r14*4], eax
jmp 0x1800566c3
mov ecx, dword [rsi]
movzx eax, word [rbx + 0x2d0]
cmp ecx, eax
jb 0x180057696
xor ebp, ebp
lea r10d, [rbp + 1]
cmp byte [rbx + 0x34d], bpl
je 0x180057689
mov dword [r12], 0x86
mov esi, 2
jmp 0x1800566c3
mov dword [rsi], r14d
mov esi, 2
jmp 0x1800566c3
mov rax, qword [rbx + 0x2d8]
mov ecx, dword [rax + rcx*4]
mov dword [rsi], ecx
jmp case.0x180056635.33
mov edi, dword [rsi]
cmp edi, dword [rbx + 0x22c]
jae 0x18005686e
mov rax, qword [rbx + 0x398]
lea rcx, [0x180059b00]
mov esi, dword [rsi + 4]
cmp rax, rcx
mov rcx, rbx
jne 0x1800576f1
call fcn.180053dd0
xor ebp, ebp
lea r10d, [rbp + 1]
cmp dword [r12], ebp
jne 0x18005767f
mov rax, qword [rbx + 0x230]
mov dword [rax + rdi*4], esi
lea esi, [rbp + 2]
jmp 0x1800566c3
mov r8d, esi
mov edx, edi
call rax
jmp case.0x180056635.33
mov edx, dword [rsi]
cmp edx, dword [rbx + 0x22c]
jae 0x180057668
mov rax, qword [rbx + 0x390]
lea rcx, [0x180053fd0]
cmp rax, rcx
jne 0x18005772f
mov rax, qword [rbx + 0x230]
mov eax, dword [rax + rdx*4]
mov dword [rsi], eax
jmp case.0x180056635.33
mov rcx, rbx
call rax
mov dword [rsi], eax
jmp case.0x180056635.33
mov ecx, dword [rsi]
movzx eax, word [rbx + 0xc4]
cmp ecx, eax
jb 0x180057763
cmp byte [rbx + 0x34d], 0
je 0x180057759
mov dword [r12], 0x86
mov eax, r14d
mov dword [rsi], eax
jmp case.0x180056635.33
test r8b, 1
je 0x180057788
mov rax, qword [rbx + 0xc8]
mov r8d, dword [rax + rcx*8 + 4]
mov edx, dword [rax + rcx*8]
mov rcx, rbx
call qword [rbx + 0x368]
mov dword [rsi], eax
jmp case.0x180056635.33
mov rax, qword [rbx + 0xd0]
mov r8d, dword [rax + rcx*8 + 4]
mov edx, dword [rax + rcx*8]
mov rcx, rbx
call qword [rbx + 0x360]
mov dword [rsi], eax
jmp case.0x180056635.33
movzx edi, word [rsi]
cmp di, word [rbx + 0xc4]
jae 0x18005686e
mov rax, qword [rbx + 0xd0]
lea r14, [rdi*8]
mov rcx, rbx
mov r8d, dword [r14 + rax + 4]
mov edx, dword [r14 + rax]
call qword [rbx + 0x360]
mov r9d, dword [rsi + 4]
lea rdx, [rbx + 0xb8]
sub r9d, eax
movzx r8d, di
mov rcx, rbx
call qword [rbx + 0x378]
xor ebp, ebp
lea esi, [rbp + 2]
lea r10d, [rbp + 1]
cmp word [rbx + 0x200], bp
jne 0x1800566c3
mov rax, qword [rbx + 0xd0]
mov rcx, qword [rbx + 0xc8]
mov rax, qword [r14 + rax]
mov qword [r14 + rcx], rax
jmp 0x1800566c3
movzx edx, word [rsi]
movzx r9d, word [rsi + 4]
cmp dx, word [rbx + 0x44]
jae 0x180057943
cmp r9w, word [rbx + 0x84]
jae 0x180057943
test r8b, 1
je 0x180057878
mov rax, qword [rbx + 0x90]
mov rcx, rbx
lea r9, [rax + r9*8]
mov rax, qword [rbx + 0x50]
mov r8d, dword [rax + rdx*8 + 4]
mov edx, dword [rax + rdx*8]
sub edx, dword [r9]
sub r8d, dword [r9 + 4]
call qword [rbx + 0x360]
mov dword [rsi], eax
jmp case.0x180056635.33
cmp word [rbx + 0x1fc], 0
je 0x180057914
cmp word [rbx + 0x1fe], 0
je 0x180057914
mov rax, qword [rbx + 0x58]
lea r14, [rax + rdx*8]
mov rax, qword [rbx + 0x98]
mov edx, dword [rbx + 0x180]
lea rbp, [rax + r9*8]
cmp edx, dword [rbx + 0x184]
jne 0x1800578e0
mov r8d, dword [r14 + 4]
mov rcx, rbx
mov edx, dword [r14]
sub r8d, dword [rbp + 4]
sub edx, dword [rbp]
call qword [rbx + 0x368]
mov edx, dword [rbx + 0x180]
mov ecx, eax
call fcn.18003fc80
mov dword [rsi], eax
jmp case.0x180056635.33
mov ecx, dword [r14]
sub ecx, dword [rbp]
call fcn.18003fc80
mov ecx, dword [r14 + 4]
mov edi, eax
sub ecx, dword [rbp + 4]
mov edx, dword [rbx + 0x184]
call fcn.18003fc80
mov r8d, eax
mov edx, edi
mov rcx, rbx
call qword [rbx + 0x368]
mov dword [rsi], eax
jmp case.0x180056635.33
mov rax, qword [rbx + 0x48]
mov rcx, rbx
mov r8d, dword [rax + rdx*8 + 4]
lea rdx, [rax + rdx*8]
mov rax, qword [rbx + 0x88]
mov edx, dword [rdx]
sub r8d, dword [rax + r9*8 + 4]
sub edx, dword [rax + r9*8]
call qword [rbx + 0x368]
mov dword [rsi], eax
jmp case.0x180056635.33
cmp byte [rbx + 0x34d], 0
je 0x180057954
mov dword [r12], 0x86
mov eax, r14d
mov dword [rsi], eax
jmp case.0x180056635.33
mov rax, qword [rbx + 0x388]
lea rcx, [0x180051e50]
cmp rax, rcx
jne 0x18005797f
movzx eax, word [rbx + 0x1a0]
mov dword [rsi], eax
jmp case.0x180056635.33
mov rcx, rbx
call rax
mov dword [rsi], eax
jmp case.0x180056635.33
mov rax, qword [rbx]
mov rcx, qword [rax + 0x90]
cmp dword [rcx + 0x78], 0x23
jne 0x1800579c8
mov rax, qword [rbx + 0x388]
lea rcx, [0x180051e50]
cmp rax, rcx
jne 0x1800579bc
movzx eax, word [rbx + 0x1a0]
mov dword [rsi], eax
jmp case.0x180056635.33
mov rcx, rbx
call rax
mov dword [rsi], eax
jmp case.0x180056635.33
mov eax, dword [rbx + 0x178]
mov dword [rsi], eax
jmp case.0x180056635.33
mov byte [rbx + 0x1e0], 1
jmp case.0x180056635.33
mov byte [rbx + 0x1e0], 0
jmp case.0x180056635.33
mov dword [r12], 0x87
jmp case.0x180056635.33
mov eax, dword [rsi + 4]
mov ecx, r14d
cmp dword [rsi], eax
setl cl
mov dword [rsi], ecx
jmp case.0x180056635.33
mov eax, dword [rsi + 4]
mov ecx, r14d
cmp dword [rsi], eax
setle cl
mov dword [rsi], ecx
jmp case.0x180056635.33
mov eax, dword [rsi + 4]
mov ecx, r14d
cmp dword [rsi], eax
setg cl
mov dword [rsi], ecx
jmp case.0x180056635.33
mov eax, dword [rsi + 4]
mov ecx, r14d
cmp dword [rsi], eax
setge cl
mov dword [rsi], ecx
jmp case.0x180056635.33
mov eax, dword [rsi + 4]
mov ecx, r14d
cmp dword [rsi], eax
sete cl
mov dword [rsi], ecx
jmp case.0x180056635.33
mov eax, dword [rsi + 4]
mov ecx, r14d
cmp dword [rsi], eax
setne cl
mov dword [rsi], ecx
jmp case.0x180056635.33
mov r9, qword [rbx + 0x358]
lea rcx, [0x180054140]
mov eax, dword [rsi]
cmp r9, rcx
jne 0x180057ac9
mov edx, dword [rbx + 0x1b8]
test eax, eax
js 0x180057aa6
add edx, 0x10
mov ecx, r14d
add eax, edx
mov edx, r14d
and eax, 0xffffffe0
cmovge edx, eax
and dl, 0x7f
cmp dl, 0x40
sete cl
mov dword [rsi], ecx
jmp case.0x180056635.33
sub edx, eax
mov ecx, r14d
add edx, 0x10
and edx, 0xffffffe0
neg edx
test edx, edx
cmovg edx, r14d
and dl, 0x7f
cmp dl, 0x40
sete cl
mov dword [rsi], ecx
jmp case.0x180056635.33
mov r8d, 3
mov edx, eax
mov rcx, rbx
call r9
mov ecx, r14d
mov edx, eax
and dl, 0x7f
cmp dl, 0x40
sete cl
mov dword [rsi], ecx
jmp case.0x180056635.33
mov rax, qword [rbx + 0x358]
lea rcx, [0x180054140]
mov edx, dword [rsi]
cmp rax, rcx
jne 0x180057b49
mov ecx, dword [rbx + 0x1b8]
test edx, edx
js 0x180057b29
lea eax, [rcx + 0x10]
mov ecx, r14d
add eax, edx
and eax, 0xffffffe0
cmovge ecx, eax
mov eax, r14d
test cl, 0x7f
sete al
mov dword [rsi], eax
jmp case.0x180056635.33
sub ecx, edx
mov eax, r14d
add ecx, 0x10
and ecx, 0xffffffe0
neg ecx
test ecx, ecx
cmovg ecx, r14d
test cl, 0x7f
sete al
mov dword [rsi], eax
jmp case.0x180056635.33
mov r8d, 3
mov rcx, rbx
call rax
mov ecx, eax
mov eax, r14d
test cl, 0x7f
sete al
mov dword [rsi], eax
jmp case.0x180056635.33
cmp dword [rsi], 0
jne case.0x180056635.33
mov edi, 1
xor sil, sil
mov rcx, rbx
call fcn.180054240
cmp al, 1
je case.0x180056635.33
movzx ecx, byte [rbx + 0x220]
sub ecx, 0x1b
je 0x180057ba5
sub ecx, 0x3d
je 0x180057ba1
cmp ecx, 1
jne 0x180057bac
sub edi, ecx
jmp 0x180057ba8
inc edi
jmp 0x180057bac
cmp edi, 1
sete sil
test sil, sil
je 0x180057b77
jmp case.0x180056635.33
cmp dword [rsi], 0
je 0x180057bd1
cmp dword [rsi + 4], 0
je 0x180057bd1
mov r10d, 1
mov eax, r10d
mov dword [rsi], eax
jmp 0x1800566bc
mov eax, r14d
mov r10d, 1
mov dword [rsi], eax
jmp 0x1800566bc
cmp dword [rsi], 0
jne 0x180057bfc
cmp dword [rsi + 4], 0
jne 0x180057bfc
mov eax, r14d
mov r10d, 1
mov dword [rsi], eax
jmp 0x1800566bc
mov r10d, 1
mov eax, r10d
mov dword [rsi], eax
jmp 0x1800566bc
cmp dword [rsi], 0
mov eax, r14d
sete al
mov dword [rsi], eax
jmp case.0x180056635.33
mov rax, qword [rbx + 0x388]
lea rcx, [0x180051e50]
cmp rax, rcx
jne 0x180057c38
movzx ebp, word [rbx + 0x1a0]
jmp 0x180057c42
mov rcx, rbx
call rax
mov edx, dword [rbx + 0x30]
mov ebp, eax
mov esi, dword [rsi]
mov r10d, 1
mov edi, r10d
cmp esi, r10d
jb 0x180057d80
lea rcx, [rbx + 0x34d]
nop dword [rax]
movsxd rax, dword [rbx + 0x30]
cmp eax, 2
jl 0x180057d6a
mov rcx, qword [rbx + 0x28]
lea edx, [rax - 2]
mov dword [rbx + 0x30], edx
movzx r8d, word [rcx + rax*4 - 4]
cmp r8w, word [rbx + 0x44]
jae 0x180057d3e
movsxd rax, edx
movzx edx, byte [rbx + 0x220]
mov r9d, dword [rcx + rax*4]
mov ecx, r9d
shr ecx, 4
and ecx, 0xf
sub edx, 0x71
je 0x180057cae
cmp edx, 1
jne 0x180057cb1
add ecx, 0x20
jmp 0x180057cb1
add ecx, 0x10
movzx eax, word [rbx + 0x1f0]
add eax, ecx
cmp ebp, eax
jne 0x180057d32
and r9d, 0xf
sub r9d, 8
js 0x180057ccb
inc r9d
movzx eax, word [rbx + 0x1f2]
mov ecx, 6
sub ecx, eax
mov rax, qword [rbx]
shl r9d, cl
mov rcx, qword [rax + 0x90]
cmp dword [rcx + 0x78], 0x28
jne 0x180057d25
cmp byte [rbx + 0x3ab], 0
je 0x180057d25
cmp byte [rbx + 0x3ac], 0
je 0x180057d07
cmp byte [rbx + 0x3ad], 0
jne 0x180057d32
cmp byte [rbx + 0x34c], 0
je 0x180057d1a
cmp word [rbx + 0x1d0], 0
jne 0x180057d25
mov rax, qword [rbx + 0x60]
test byte [r8 + rax], 0x10
je 0x180057d32
lea rdx, [rbx + 0x38]
mov rcx, rbx
call qword [rbx + 0x378]
mov edx, dword [rbx + 0x30]
lea rcx, [rbx + 0x34d]
jmp 0x180057d52
lea rcx, [rbx + 0x34d]
cmp byte [rcx], 0
je 0x180057d52
mov dword [r12], 0x86
inc edi
cmp edi, esi
jbe 0x180057c60
mov r10d, 1
mov dword [rbx + 0x34], edx
jmp 0x1800566bc
cmp byte [rcx], 0
je 0x180057d73
mov dword [r12], r13d
mov dword [rbx + 0x30], r14d
mov edx, r14d
mov r10d, 1
mov dword [rbx + 0x34], edx
jmp 0x1800566bc
movzx eax, word [rsi]
mov word [rbx + 0x1f0], ax
jmp case.0x180056635.33
mov eax, dword [rsi]
xor ebp, ebp
lea esi, [rbp + 2]
lea r10d, [rbp + 1]
cmp eax, 6
jbe 0x180057db4
mov dword [r12], 0x84
jmp 0x1800566c3
mov word [rbx + 0x1f2], ax
jmp 0x1800566c3
mov eax, dword [rsi + 4]
add dword [rsi], eax
jmp case.0x180056635.33
mov eax, dword [rsi + 4]
sub dword [rsi], eax
jmp case.0x180056635.33
mov r8d, dword [rsi + 4]
test r8d, r8d
jne 0x180057dea
mov dword [r12], 0x85
jmp case.0x180056635.33
mov ecx, dword [rsi]
mov edx, 0x40
call fcn.18003fbf0
mov dword [rsi], eax
jmp case.0x180056635.33
mov edx, dword [rsi + 4]
mov r8d, 0x40
mov ecx, dword [rsi]
call fcn.18003fb50
mov dword [rsi], eax
jmp case.0x180056635.33
mov eax, dword [rsi]
mov r10d, 1
test eax, eax
jns 0x1800566bc
neg eax
mov dword [rsi], eax
jmp 0x1800566bc
mov eax, dword [rsi]
neg eax
mov dword [rsi], eax
jmp case.0x180056635.33
and dword [rsi], 0xffffffc0
jmp case.0x180056635.33
mov eax, dword [rsi]
add eax, 0x3f
and eax, 0xffffffc0
mov dword [rsi], eax
jmp case.0x180056635.33
mov rax, qword [rbx + 0x358]
lea rcx, [0x180054140]
mov edx, dword [rsi]
and r11d, 3
cmp rax, rcx
jne 0x180057ea0
mov ecx, dword [rbx + r11*4 + 0x1ac]
test edx, edx
js 0x180057e89
lea eax, [rcx + 0x10]
mov ecx, r14d
add eax, edx
and eax, 0xffffffe0
cmovge ecx, eax
mov dword [rsi], ecx
jmp case.0x180056635.33
sub ecx, edx
add ecx, 0x10
and ecx, 0xffffffe0
neg ecx
test ecx, ecx
cmovg ecx, r14d
mov dword [rsi], ecx
jmp case.0x180056635.33
mov r8d, r11d
mov rcx, rbx
call rax
mov ecx, eax
mov dword [rsi], eax
jmp case.0x180056635.33
mov ecx, dword [rsi]
movzx eax, r8b
and eax, 3
mov edx, dword [rbx + rax*4 + 0x1ac]
test ecx, ecx
js 0x180057ed7
lea eax, [rdx + rcx]
mov ecx, r14d
test eax, eax
cmovns ecx, eax
mov dword [rsi], ecx
jmp case.0x180056635.33
sub ecx, edx
test ecx, ecx
cmovg ecx, r14d
mov dword [rsi], ecx
jmp case.0x180056635.33
mov edi, dword [rsi]
cmp edi, dword [rbx + 0x22c]
jae 0x18005686e
mov edx, dword [rbx + 0x1a8]
mov ecx, dword [rsi + 4]
call fcn.18003fc80
mov rcx, qword [rbx + 0x230]
mov dword [rcx + rdi*4], eax
jmp case.0x180056635.33
mov rax, qword [rbx + 0x388]
lea rcx, [0x180051e50]
cmp rax, rcx
jne 0x180057f2d
movzx ebp, word [rbx + 0x1a0]
jmp 0x180057f37
mov rcx, rbx
call rax
mov edx, dword [rbx + 0x30]
mov ebp, eax
mov esi, dword [rsi]
mov r10d, 1
mov edi, r10d
cmp esi, r10d
jb 0x180057d80
lea rcx, [rbx + 0x34d]
movsxd rax, dword [rbx + 0x30]
cmp eax, 2
jl 0x180057d6a
mov rcx, qword [rbx + 0x28]
lea edx, [rax - 2]
mov dword [rbx + 0x30], edx
movzx r8d, word [rcx + rax*4 - 4]
cmp r8w, word [rbx + 0x44]
jae 0x180058030
movsxd rax, edx
movzx edx, byte [rbx + 0x220]
mov r9d, dword [rcx + rax*4]
mov ecx, r9d
shr ecx, 4
and ecx, 0xf
sub edx, 0x71
je 0x180057fa0
cmp edx, 1
jne 0x180057fa3
add ecx, 0x20
jmp 0x180057fa3
add ecx, 0x10
movzx eax, word [rbx + 0x1f0]
add eax, ecx
cmp ebp, eax
jne 0x180058024
and r9d, 0xf
sub r9d, 8
js 0x180057fbd
inc r9d
movzx eax, word [rbx + 0x1f2]
mov ecx, 6
sub ecx, eax
mov rax, qword [rbx]
shl r9d, cl
mov rcx, qword [rax + 0x90]
cmp dword [rcx + 0x78], 0x28
jne 0x180058017
cmp byte [rbx + 0x3ab], 0
je 0x180058017
cmp byte [rbx + 0x3ac], 0
je 0x180057ff9
cmp byte [rbx + 0x3ad], 0
jne 0x180058024
cmp byte [rbx + 0x34c], 0
je 0x18005800c
cmp word [rbx + 0x1d0], 0
jne 0x180058017
mov rax, qword [rbx + 0x60]
test byte [r8 + rax], 0x10
je 0x180058024
lea rdx, [rbx + 0x38]
mov rcx, rbx
call qword [rbx + 0x378]
mov edx, dword [rbx + 0x30]
lea rcx, [rbx + 0x34d]
jmp 0x180058044
lea rcx, [rbx + 0x34d]
cmp byte [rcx], 0
je 0x180058044
mov dword [r12], 0x86
inc edi
cmp edi, esi
jbe 0x180057f52
mov r10d, 1
mov dword [rbx + 0x34], edx
jmp 0x1800566bc
mov rax, qword [rbx + 0x388]
lea rcx, [0x180051e50]
cmp rax, rcx
jne 0x180058079
movzx r15d, word [rbx + 0x1a0]
jmp 0x180058081
mov rcx, rbx
call rax
mov r15d, eax
mov r14d, dword [rsi]
mov r10d, 1
mov ebp, r10d
cmp r14d, r10d
jb 0x180058175
nop word [rax + rax]
movsxd rcx, dword [rbx + 0x30]
cmp ecx, 2
jl 0x18005818a
mov rdx, qword [rbx + 0x28]
lea eax, [rcx - 2]
mov dword [rbx + 0x30], eax
mov esi, dword [rdx + rcx*4 - 4]
cmp esi, dword [rbx + 0x22c]
jb 0x1800580e2
cmp byte [rbx + 0x34d], 0
je 0x180058164
mov r15, qword [rsp + 0x30]
mov dword [r12], 0x86
jmp case.0x180056635.33
mov edi, dword [rdx + rcx*4 - 8]
mov ecx, edi
movzx edx, byte [rbx + 0x220]
shr ecx, 4
and ecx, 0xf
sub edx, 0x74
je 0x180058104
cmp edx, 1
jne 0x180058107
add ecx, 0x20
jmp 0x180058107
add ecx, 0x10
movzx eax, word [rbx + 0x1f0]
add eax, ecx
cmp r15d, eax
jne 0x180058164
and edi, 0xf
sub edi, 8
js 0x18005811f
inc edi
movzx eax, word [rbx + 0x1f2]
mov ecx, 6
sub ecx, eax
mov rax, qword [rbx + 0x3a0]
shl edi, cl
lea rcx, [0x180053e70]
cmp rax, rcx
mov rcx, rbx
jne 0x18005815d
call fcn.180053dd0
cmp dword [r12], 0
jne 0x180058164
mov rax, qword [rbx + 0x230]
add dword [rax + rsi*4], edi
jmp 0x180058164
mov r8d, edi
mov edx, esi
call rax
inc ebp
cmp ebp, r14d
jbe 0x1800580a0
mov r10d, 1
xor ebp, ebp
mov eax, dword [rbx + 0x30]
lea esi, [rbp + 2]
mov r15, qword [rsp + 0x30]
mov dword [rbx + 0x34], eax
jmp 0x1800566c3
cmp byte [rbx + 0x34d], 0
je 0x180058197
mov dword [r12], r13d
mov r15, qword [rsp + 0x30]
xor ebp, ebp
mov eax, ebp
mov dword [rbx + 0x30], ebp
mov dword [rbx + 0x34], eax
lea r10d, [rbp + 1]
lea esi, [rbp + 2]
jmp 0x1800566c3
mov r8d, dword [rsi]
mov ecx, r8d
and ecx, 0xc0
je 0x1800581e8
sub ecx, 0x40
je 0x1800581cf
sub ecx, 0x40
je 0x1800581dc
cmp ecx, 0x40
jne 0x1800581f2
mov eax, 0x4000
mov dword [rbx + 0x2f8], eax
jmp 0x1800581f2
mov dword [rbx + 0x2f8], 0x8000
jmp 0x1800581f2
mov dword [rbx + 0x2f8], 0x2000
mov eax, r8d
and eax, 0x30
je 0x18005824d
cmp eax, 0x10
je 0x180058236
cmp eax, 0x20
je 0x180058223
cmp eax, 0x30
jne 0x180058254
mov eax, dword [rbx + 0x2f8]
lea eax, [rax + rax*2]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [rbx + 0x2fc], eax
jmp 0x180058254
mov eax, dword [rbx + 0x2f8]
cdq
sub eax, edx
sar eax, 1
mov dword [rbx + 0x2fc], eax
jmp 0x180058254
mov eax, dword [rbx + 0x2f8]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [rbx + 0x2fc], eax
jmp 0x180058254
mov dword [rbx + 0x2fc], r14d
mov ecx, dword [rbx + 0x2f8]
and r8d, 0xf
jne 0x180058265
lea eax, [rcx - 1]
jmp 0x180058275
lea eax, [r8 - 4]
imul eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
sar ecx, 8
mov dword [rbx + 0x2f8], ecx
sar dword [rbx + 0x2fc], 8
sar eax, 8
mov dword [rbx + 0x300], eax
lea rax, [0x180054070]
mov qword [rbx + 0x358], rax
mov dword [rbx + 0x1dc], 6
jmp case.0x180056635.33
mov r8d, dword [rsi]
mov ecx, r8d
and ecx, 0xc0
je 0x1800582e0
sub ecx, 0x40
je 0x1800582c8
sub ecx, 0x40
je 0x1800582d4
cmp ecx, 0x40
jne 0x1800582ea
mov dword [rbx + 0x2f8], 0x2d41
jmp 0x1800582ea
mov dword [rbx + 0x2f8], 0x5a82
jmp 0x1800582ea
mov dword [rbx + 0x2f8], 0x16a0
mov eax, r8d
and eax, 0x30
je 0x180058345
cmp eax, 0x10
je 0x18005832e
cmp eax, 0x20
je 0x18005831b
cmp eax, 0x30
jne 0x18005834c
mov eax, dword [rbx + 0x2f8]
lea eax, [rax + rax*2]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [rbx + 0x2fc], eax
jmp 0x18005834c
mov eax, dword [rbx + 0x2f8]
cdq
sub eax, edx
sar eax, 1
mov dword [rbx + 0x2fc], eax
jmp 0x18005834c
mov eax, dword [rbx + 0x2f8]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [rbx + 0x2fc], eax
jmp 0x18005834c
mov dword [rbx + 0x2fc], r14d
mov ecx, dword [rbx + 0x2f8]
and r8d, 0xf
jne 0x18005835d
lea eax, [rcx - 1]
jmp 0x18005836d
lea eax, [r8 - 4]
imul eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
sar ecx, 8
mov dword [rbx + 0x2f8], ecx
sar dword [rbx + 0x2fc], 8
sar eax, 8
mov dword [rbx + 0x300], eax
lea rax, [0x1800540d0]
mov qword [rbx + 0x358], rax
mov dword [rbx + 0x1dc], 7
jmp case.0x180056635.33
cmp dword [rsi + 4], 0
je case.0x180056635.33
jmp case.0x180056635.28
cmp dword [rsi + 4], 0
jne case.0x180056635.33
jmp case.0x180056635.28
lea rax, [0x180054040]
mov dword [rbx + 0x1dc], 5
mov qword [rbx + 0x358], rax
jmp case.0x180056635.33
lea rax, [0x180054200]
mov dword [rbx + 0x1dc], 4
mov qword [rbx + 0x358], rax
jmp case.0x180056635.33
lea rax, [0x180054010]
mov dword [rbx + 0x1dc], 3
mov qword [rbx + 0x358], rax
jmp case.0x180056635.33
mov rax, qword [rbx]
mov rcx, qword [rax + 0x90]
cmp dword [rcx + 0x78], 0x28
jne 0x180058449
cmp byte [rbx + 0x3ab], 0
je 0x180058449
cmp byte [rbx + 0x3ac], 0
je 0x180058449
cmp byte [rbx + 0x3ad], 0
mov ecx, edx
jne 0x1800572dc
mov eax, dword [rbx + 0x1d4]
mov ecx, edx
cmp dword [rbx + 0x1c], eax
jge 0x18005846c
cmp byte [rbx + 0x34d], 0
je 0x1800572dc
mov dword [r12], r13d
jmp 0x1800572dc
test eax, eax
jle 0x1800572dc
nop dword [rax]
nop dword [rax + rax]
lea ecx, [rdx - 1]
movsxd rax, edx
mov dword [rbx + 0x30], ecx
movzx edx, word [r9 + rax*4 - 4]
cmp dx, word [rbx + 0x104]
jb 0x1800584a7
cmp byte [rbx + 0x34d], 0
jne 0x180056ec1
jmp 0x1800584b9
mov rax, qword [rbx + 0x120]
xor byte [rax + rdx], 1
mov ecx, dword [rbx + 0x30]
mov r9, qword [rbx + 0x28]
dec dword [rbx + 0x1d4]
mov edx, ecx
cmp dword [rbx + 0x1d4], 0
jg 0x180058480
jmp 0x1800572dc
mov rax, qword [rbx]
mov rcx, qword [rax + 0x90]
cmp dword [rcx + 0x78], 0x28
jne 0x1800584fe
cmp byte [rbx + 0x3ab], 0
je 0x1800584fe
cmp byte [rbx + 0x3ac], 0
je 0x1800584fe
cmp byte [rbx + 0x3ad], 0
jne case.0x180056635.33
movzx r8d, word [rsi + 4]
movzx eax, word [rbx + 0x104]
cmp r8w, ax
jae 0x18005686e
movzx edx, word [rsi]
cmp dx, ax
jae 0x18005686e
cmp dx, r8w
ja case.0x180056635.33
nop word [rax + rax]
mov rax, qword [rbx + 0x120]
movzx ecx, dx
inc dx
or byte [rcx + rax], 1
cmp dx, r8w
jbe 0x180058530
jmp case.0x180056635.33
mov rax, qword [rbx]
mov rcx, qword [rax + 0x90]
cmp dword [rcx + 0x78], 0x28
jne 0x18005857b
cmp byte [rbx + 0x3ab], 0
je 0x18005857b
cmp byte [rbx + 0x3ac], 0
je 0x18005857b
cmp byte [rbx + 0x3ad], 0
jne case.0x180056635.33
movzx r8d, word [rsi + 4]
movzx eax, word [rbx + 0x104]
cmp r8w, ax
jae 0x18005686e
movzx edx, word [rsi]
cmp dx, ax
jae 0x18005686e
cmp dx, r8w
ja case.0x180056635.33
nop word [rax + rax]
mov rax, qword [rbx + 0x120]
movzx ecx, dx
inc dx
and byte [rcx + rax], 0xfe
cmp dx, r8w
jbe 0x1800585b0
jmp case.0x180056635.33
mov eax, dword [rsi]
mov edx, 0xff
movzx ecx, al
cmp ecx, edx
jne 0x1800585e6
mov byte [rbx + 0x1f5], 1
jmp case.0x180056635.33
test al, al
je 0x18005867f
test ebp, eax
je 0x180058604
movzx eax, word [rbx + 0x1a0]
cmp eax, ecx
ja 0x180058604
mov byte [rbx + 0x1f5], 1
test dword [rsi], 0x200
je 0x18005861c
cmp byte [rbx + 0x1bd], 0
je 0x18005861c
mov byte [rbx + 0x1f5], 1
test dword [rsi], 0x400
je 0x180058634
cmp byte [rbx + 0x1be], 0
je 0x180058634
mov byte [rbx + 0x1f5], 1
test dword [rsi], 0x800
je 0x18005864e
movzx eax, word [rbx + 0x1a0]
cmp eax, ecx
jbe 0x18005864e
mov byte [rbx + 0x1f5], 0
test dword [rsi], 0x1000
je 0x180058666
cmp byte [rbx + 0x1bd], 0
je 0x180058666
mov byte [rbx + 0x1f5], 0
test dword [rsi], 0x2000
je case.0x180056635.33
cmp byte [rbx + 0x1be], 0
je case.0x180056635.33
mov byte [rbx + 0x1f5], 0
jmp case.0x180056635.33
mov rdx, rsi
mov rcx, rbx
call fcn.1800530c0
jmp case.0x180056635.33
mov r9d, dword [rsi]
mov ecx, r14d
mov rdx, qword [rbx]
test r9b, 1
je 0x1800586b4
mov rax, qword [rdx + 0x90]
mov ecx, dword [rax + 0x78]
mov rax, rdx
test r9b, 2
je 0x1800586c8
cmp byte [rbx + 0x1bd], 0
je 0x1800586c8
or ecx, ebp
test r9b, 4
je 0x1800586db
cmp byte [rbx + 0x1be], 0
je 0x1800586db
bts ecx, 9
test r9b, 8
je 0x1800586f2
cmp qword [rax + 0x410], 0
mov rdx, rax
je 0x1800586f2
bts ecx, 0xa
test r9b, 0x20
je 0x180058705
cmp byte [rbx + 0x3a8], 0
je 0x180058705
bts ecx, 0xc
mov rax, qword [rdx + 0x90]
cmp dword [rax + 0x78], 0x28
jne 0x180058772
cmp byte [rbx + 0x3a9], 0
je 0x180058772
mov edx, ecx
bts edx, 0xd
test r9b, 0x40
cmove edx, ecx
mov r8d, edx
test ebp, r9d
je 0x18005873e
cmp byte [rbx + 0x3aa], 0
je 0x18005873e
bts r8d, 0xf
mov ecx, r8d
bts ecx, 0x11
bt r9d, 0xa
cmovae ecx, r8d
mov edx, ecx
bts edx, 0x12
bt r9d, 0xb
cmovae edx, ecx
mov ecx, edx
bt r9d, 0xc
jae 0x180058772
cmp byte [rbx + 0x3ae], 0
je 0x180058772
bts ecx, 0x13
mov dword [rsi], ecx
jmp case.0x180056635.33
cmp dword [rbx + 0x204], 3
jne 0x18005878f
mov dword [r12], 0x9c
jmp case.0x180056635.33
mov rdi, qword [rbx + 0x278]
test rdi, rdi
je 0x1800587c3
mov eax, dword [rbx + 0x270]
lea rcx, [rax + rax*2]
lea rax, [rdi + rcx*8]
cmp rdi, rax
jae 0x1800587c1
mov ecx, dword [rsi]
cmp dword [rdi + 0xc], ecx
je 0x1800587be
add rdi, 0x18
cmp rdi, rax
jb 0x1800587b0
cmp rdi, rax
jne 0x1800587dd
mov eax, dword [rbx + 0x270]
cmp eax, dword [rbx + 0x274]
jae 0x180058872
inc eax
mov dword [rbx + 0x270], eax
mov eax, dword [rsi]
mov ecx, 0xff
cmp eax, ecx
ja 0x180058872
movzx eax, al
mov dword [rdi + 0xc], eax
mov eax, dword [rbx + 0x218]
inc eax
mov dword [rdi + 4], eax
mov eax, dword [rbx + 0x208]
mov dword [rdi], eax
mov byte [rdi + 0x10], 1
mov eax, dword [rsi]
cmp eax, dword [rbx + 0x284]
jbe 0x18005881c
movzx eax, al
mov dword [rbx + 0x284], eax
mov rcx, rbx
call fcn.180054240
test al, al
jne case.0x180056635.33
nop dword [rax]
movzx ecx, byte [rbx + 0x220]
sub ecx, 0x2c
je 0x180058865
sub ecx, 1
je 0x180058857
cmp ecx, 0x5c
je 0x180058865
mov rcx, rbx
call fcn.180054240
test al, al
je 0x180058830
jmp case.0x180056635.33
mov eax, dword [rbx + 0x218]
mov dword [rdi + 8], eax
jmp case.0x180056635.33
mov dword [r12], 0x89
jmp case.0x180056635.33
mov dword [r12], 0x8d
jmp case.0x180056635.33
mov edx, dword [rsi + 8]
mov ecx, dword [rsi + 4]
mov eax, dword [rsi]
mov dword [rsi + 8], eax
mov dword [rsi + 4], edx
mov dword [rsi], ecx
jmp case.0x180056635.33
mov eax, dword [rsi + 4]
xor ebp, ebp
lea r10d, [rbp + 1]
cmp eax, dword [rsi]
jle 0x18005767f
mov dword [rsi], eax
lea esi, [rbp + 2]
jmp 0x1800566c3
mov eax, dword [rsi + 4]
xor ebp, ebp
lea r10d, [rbp + 1]
cmp eax, dword [rsi]
jge 0x18005767f
mov dword [rsi], eax
lea esi, [rbp + 2]
jmp 0x1800566c3
mov eax, dword [rsi]
xor ebp, ebp
lea esi, [rbp + 2]
lea r10d, [rbp + 1]
test eax, eax
js 0x1800566c3
movzx eax, ax
mov dword [rbx + 0x1f8], eax
jmp 0x1800566c3
mov r8d, dword [rsi + 4]
mov r10d, 1
mov edx, dword [rsi]
lea ecx, [r8 - 1]
cmp ecx, 2
ja 0x180058973
mov eax, r10d
shl eax, cl
test edx, edx
je 0x180058911
cmp edx, eax
jne 0x180056874
mov ecx, dword [rbx + 0x204]
cmp ecx, 2
jne 0x180058931
not al
and al, byte [rbx + 0x1f4]
or al, dl
mov byte [rbx + 0x1f4], al
jmp 0x1800566bc
cmp ecx, 3
jne 0x180058965
cmp r8d, ecx
jne 0x180058965
mov rax, qword [rbx]
mov esi, 2
mov rcx, qword [rax + 0x90]
cmp dword [rcx + 0x78], 0x28
jne 0x1800566c1
cmp edx, 4
setne al
mov byte [rbx + 0x3ab], al
jmp 0x1800566c1
cmp byte [rbx + 0x34d], 0
jne 0x180058980
jmp 0x1800566bc
cmp byte [rbx + 0x34d], 0
je 0x1800566bc
mov dword [r12], 0x86
jmp 0x1800566bc
mov rax, qword [rbx]
mov r8, qword [rax + 0x410]
test r8, r8
je case.0x180056635.40
sub r10d, dword [rbx + 0x1c]
mov r11d, dword [r8]
inc r10d
mov r8, qword [r8 + 0x10]
cmp r11d, r10d
jb 0x1800589c0
mov dword [r12], 0x82
jmp case.0x180056635.33
test r8, r8
je 0x180058a99
mov edx, r14d
test r11d, r11d
je case.0x180056635.33
cmp r11d, 0x10
jb 0x180058a6c
lea eax, [r11 - 1]
lea r9, [rsi + rax*4]
lea rax, [r8 + rax*4]
cmp rsi, rax
ja 0x1800589f5
cmp r9, r8
jae 0x180058a6c
mov r10d, r11d
and r10d, 0xfffffff0
mov eax, 2
mov r9d, 8
movd xmm1, eax
nop dword [rax + rax]
movdqu xmm0, xmmword [r8 + rdx*4]
lea eax, [r9 - 4]
psrad xmm0, xmm1
movdqu xmmword [rsi + rdx*4], xmm0
add edx, 0x10
movdqu xmm0, xmmword [r8 + rax*4]
psrad xmm0, xmm1
movdqu xmmword [rsi + rax*4], xmm0
mov eax, r9d
movdqu xmm0, xmmword [r8 + rax*4]
psrad xmm0, xmm1
movdqu xmmword [rsi + rax*4], xmm0
lea eax, [r9 + 4]
add r9d, 0x10
movdqu xmm0, xmmword [r8 + rax*4]
psrad xmm0, xmm1
movdqu xmmword [rsi + rax*4], xmm0
cmp edx, r10d
jb 0x180058a10
cmp edx, r11d
jae case.0x180056635.33
mov eax, edx
sub r8, rsi
sub r11d, edx
mov edx, r11d
lea rcx, [rsi + rax*4]
nop dword [rax + rax]
mov eax, dword [r8 + rcx]
lea rcx, [rcx + 4]
sar eax, 2
mov dword [rcx - 4], eax
sub rdx, 1
jne 0x180058a80
jmp case.0x180056635.33
test r11d, r11d
je case.0x180056635.33
mov r8, r11
xor edx, edx
shl r8, 2
mov rcx, rsi
call fcn.1801316f0
jmp case.0x180056635.33
mov rcx, rbx
call fcn.180053ca0
jmp case.0x180056635.33
mov rax, qword [rbx]
cmp qword [rax + 0x410], 0
je case.0x180056635.40
mov dword [rsi], reloc.WS2_32.dll_recvfrom
jmp case.0x180056635.33
cmp r8b, 0xe0
jb 0x180058af3
mov rdx, rsi
mov rcx, rbx
call fcn.180052e50
jmp case.0x180056635.33
cmp r8b, 0xc0
jb 0x180058b09
mov rdx, rsi
mov rcx, rbx
call fcn.180052c30
jmp case.0x180056635.33
cmp r8b, 0xb8
jb 0x180058b95
sub r10d, dword [rbx + 0x1c]
mov eax, 0xb7
movzx ecx, r8b
inc r10d
sub cx, ax
movzx eax, cx
cmp eax, r10d
jb 0x180058b3b
mov dword [r12], 0x82
jmp case.0x180056635.33
inc dword [rbx + 0x218]
cmp r14w, cx
jae 0x180058b89
movzx r9d, cx
nop dword [rax + rax]
movsxd rcx, dword [rbx + 0x218]
lea rsi, [rsi + 4]
lea eax, [rcx + 2]
mov dword [rbx + 0x218], eax
mov rax, qword [rbx + 0x210]
movzx r8d, byte [rcx + rax + 1]
movzx edx, byte [rcx + rax]
movsx eax, bp
imul eax, edx
add ax, r8w
cwde
mov dword [rsi - 4], eax
sub r9, 1
jne 0x180058b50
mov byte [rbx + 0x228], 0
jmp case.0x180056635.33
cmp r8b, 0xb0
jb case.0x180056635.40
sub r10d, dword [rbx + 0x1c]
mov eax, 0xaf
inc r10d
movzx r11d, r8b
sub r11w, ax
movzx eax, r11w
cmp eax, r10d
mov r10d, 1
jb 0x180058bcf
mov dword [r12], 0x82
jmp 0x1800566bc
movzx r9d, r10w
cmp r10w, r11w
ja 0x1800566bc
nop dword [rax]
mov eax, dword [rbx + 0x218]
movzx r8d, r9w
inc r9w
add eax, r8d
movsxd rcx, eax
mov rax, qword [rbx + 0x210]
movzx edx, byte [rcx + rax]
mov dword [rsi + r8*4 - 4], edx
cmp r9w, r11w
jbe 0x180058be0
jmp 0x1800566bc
mov rdx, rbp
cmp r8, rdx
jae 0x180058d52
cmp byte [r8 + 0x10], 0
je 0x180058c2f
movzx eax, byte [r8 + 0xc]
cmp byte [rbx + 0x220], al
je 0x180058c35
add r8, 0x18
jmp 0x180058c12
movsxd rax, dword [rbx + 0x288]
cmp eax, dword [rbx + 0x28c]
jge 0x180058d42
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x290]
lea rdx, [rax + rcx*8]
mov eax, dword [rbx + 0x208]
mov dword [rdx], eax
mov eax, dword [rbx + 0x218]
inc eax
mov dword [rdx + 8], r10d
mov dword [rdx + 4], eax
mov qword [rdx + 0x10], r8
movsxd rcx, dword [r8]
mov r9d, dword [r8 + 4]
lea eax, [rcx - 1]
cmp eax, 2
ja 0x180058d32
lea rax, [rcx + 0x29]
add rax, rax
mov rdx, qword [rbx + rax*8]
test rdx, rdx
je 0x180058d27
cmp r9d, dword [rbx + rax*8 + 8]
jg 0x180058db0
mov qword [rbx + 0x210], rdx
mov eax, dword [rbx + rax*8 + 8]
mov dword [r15], eax
mov dword [rbx + 0x218], r9d
mov dword [rbx + 0x208], ecx
jmp 0x180058cf8
cmp byte [rbx + 0x228], 0
mov eax, dword [rbx + 0x34]
mov dword [rbx + 0x1c], eax
je 0x180058cdc
mov eax, dword [rbx + 0x224]
add dword [rbx + 0x218], eax
mov edi, dword [rsp + 0x90]
inc edi
mov dword [rsp + 0x90], edi
cmp edi, 0xf4240
ja 0x180058d90
mov eax, dword [r15]
cmp dword [rbx + 0x218], eax
jge 0x180058d67
cmp byte [rbx + 0x304], 0
jne 0x180058d70
lea r11, [rbx + 0x18]
xor r14d, r14d
lea rdi, [0x180000000]
jmp 0x1800564fb
mov dword [r11], r13d
jmp 0x180058dba
mov r13d, 0x8a
jmp 0x180058db6
mov dword [r12], 0x84
mov r13d, 0x84
jmp 0x180058dba
mov dword [r12], 0x86
mov r13d, 0x86
jmp 0x180058dba
mov dword [r12], 0x80
mov r13d, 0x80
jmp 0x180058dba
mov r13d, eax
jmp 0x180058dba
cmp dword [rbx + 0x288], 0
jg 0x180058db0
mov rax, qword [rbx + 0x248]
mov qword [rbx + 0x230], rax
mov rax, qword [rbx + 0x2f0]
mov qword [rbx + 0x2d8], rax
xor eax, eax
jmp 0x180058dd9
mov dword [r12], 0x8b
mov r13d, 0x8b
jmp 0x180058dba
mov dword [r12], 0x82
mov r13d, 0x82
jmp 0x180058dba
mov r13d, 0x83
mov dword [r12], r13d
mov rcx, qword [rbx + 0x248]
mov eax, r13d
mov qword [rbx + 0x230], rcx
mov rcx, qword [rbx + 0x2f0]
mov qword [rbx + 0x2d8], rcx
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret