Function at 0x180058320
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 0x180058379
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 0x1800583b6
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 0x1800583c1
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 0x1800583dd
mov dword [rbx + 0x3b4], ecx
mov r8d, ecx
movzx r10d, word [rbx + 0x17e]
lea rax, [0x180056020]
cmp word [rbx + 0x17c], r10w
lea r11, [0x180053ea0]
mov dword [rbx + 0x3bc], r8d
lea rdx, [0x18005bb90]
mov dword [rbx + 0x1a4], r14d
lea r8, [0x180056030]
cmove r8, rax
lea rcx, [0x180055f00]
lea rax, [0x18005bb50]
cmove rdx, rax
lea rax, [0x180055ec0]
cmove rcx, rax
lea rax, [0x180053eb0]
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.180053d50
movzx eax, byte [rbx + 0x1dc]
lea r9, [0x1800561d0]
lea r11, [0x180056250]
lea rsi, [0x180056060]
lea r8, [0x180056210]
lea rdx, [0x180056190]
lea rbp, [0x1800560c0]
lea r15, [0x180056120]
lea r10, [0x180056090]
lea rdi, [0x180000000]
cmp eax, 7
ja case.default.0x1800584e4
mov ecx, dword [rdi + rax*4 + 0x5ae3c]
add rcx, rdi
jmp rcx
mov qword [rbx + 0x358], r10
jmp case.default.0x1800584e4
mov qword [rbx + 0x358], r9
jmp case.default.0x1800584e4
mov qword [rbx + 0x358], r11
jmp case.default.0x1800584e4
mov qword [rbx + 0x358], rsi
jmp case.default.0x1800584e4
mov qword [rbx + 0x358], r8
jmp case.default.0x1800584e4
mov qword [rbx + 0x358], rdx
jmp case.default.0x1800584e4
mov qword [rbx + 0x358], rbp
jmp case.default.0x1800584e4
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 + 0xb1ab0]
mov dword [rbx + 0x224], ecx
test ecx, ecx
jns 0x1800585a5
lea eax, [rdx + 1]
mov r12, r11
cmp eax, dword [r15]
jge 0x18005ae00
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 0x18005ae00
movzx ecx, byte [r8 + rdi + 0xb19b0]
mov edx, dword [rbx + 0x1c]
mov eax, ecx
shr eax, 4
sub edx, eax
mov dword [rbx + 0x30], edx
jns 0x180058611
cmp byte [rbx + 0x34d], 0
jne 0x18005ad6f
movzx edx, r14w
test cl, 0xf0
jbe 0x18005860a
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 + 0xb19b0]
shr al, 4
movzx eax, al
cmp dx, ax
jb 0x1800585e0
mov dword [rbx + 0x30], r14d
mov edx, r14d
cmp r8b, 0x91
jne 0x18005862f
mov rax, qword [rbx]
mov rcx, qword [rax + 0x410]
test rcx, rcx
je 0x18005862a
mov ecx, dword [rcx]
jmp 0x18005863e
mov ecx, dword [rbx + 0x34]
jmp 0x180058643
movzx eax, r8b
movzx ecx, byte [rax + rdi + 0xb19b0]
and ecx, 0xf
add ecx, edx
mov dword [rbx + 0x34], ecx
mov r10d, dword [rbx + 0x20]
lea r12, [rbx + 0x18]
cmp ecx, r10d
jg 0x18005adf0
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.0x180058685
mov ecx, dword [rdi + r11*4 + 0x5ae5c]
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 0x1800586c1
mov word [rbx + 0x1ca], cx
mov word [rbx + 0x1cc], ax
mov word [rbx + 0x1c6], cx
mov word [rbx + 0x1c8], ax
test r8b, 2
jne 0x1800586fe
mov word [rbx + 0x1ce], cx
mov word [rbx + 0x1d0], ax
jmp 0x1800586fe
movzx r8d, word [rsi]
lea r9, [rbx + 0x1ca]
movzx edx, word [rsi + 4]
mov rcx, rbx
call fcn.180055c10
test al, al
jne case.0x180058685.33
mov eax, dword [rbx + 0x1ca]
mov dword [rbx + 0x1c6], eax
mov rcx, rbx
call fcn.180053d50
mov r10d, 1
mov esi, 2
xor ebp, ebp
mov eax, dword [r12]
test eax, eax
je 0x18005ad11
cmp eax, 0x80
jne 0x18005adb2
mov r8, qword [rbx + 0x278]
test r8, r8
je 0x18005ac5f
mov eax, dword [rbx + 0x270]
lea rcx, [rax + rax*2]
lea rdx, [r8 + rcx*8]
jmp 0x18005ac62
movzx r8d, word [rsi]
lea r9, [rbx + 0x1ce]
movzx edx, word [rsi + 4]
mov rcx, rbx
call fcn.180055c10
test al, al
je 0x1800586fe
xor ebp, ebp
lea r10d, [rbp + 1]
lea esi, [rbp + 2]
jmp 0x180058713
movsx ecx, word [rsi]
movsx eax, word [rsi + 4]
test ecx, ecx
jne 0x180058786
test eax, eax
je 0x1800586f2
mov dword [rsp + 0xa0], ecx
lea rcx, [rsp + 0xa0]
mov dword [rsp + 0xa4], eax
call fcn.180045890
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 0x1800586f2
movsx ecx, word [rsi]
movsx eax, word [rsi + 4]
test ecx, ecx
jne 0x1800587e7
test eax, eax
je 0x1800586fe
mov dword [rsp + 0xa8], ecx
lea rcx, [rsp + 0xa8]
mov dword [rsp + 0xac], eax
call fcn.180045890
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 0x1800586fe
movsx eax, word [rbx + 0x1ca]
mov dword [rsi], eax
movsx eax, word [rbx + 0x1cc]
mov dword [rsi + 4], eax
jmp case.0x180058685.33
movsx eax, word [rbx + 0x1ce]
mov dword [rsi], eax
movsx eax, word [rbx + 0x1d0]
mov dword [rsi + 4], eax
jmp case.0x180058685.33
mov eax, dword [rbx + 0x1ca]
mov dword [rbx + 0x1ce], eax
jmp 0x1800586fe
mov rdx, rsi
mov rcx, rbx
call fcn.180054740
jmp case.0x180058685.33
movzx eax, word [rsi]
mov word [rbx + 0x1c0], ax
jmp case.0x180058685.33
movzx eax, word [rsi]
mov word [rbx + 0x1c2], ax
jmp case.0x180058685.33
movzx eax, word [rsi]
mov word [rbx + 0x1c4], ax
jmp case.0x180058685.33
mov ecx, dword [rsi]
test ecx, ecx
je 0x18005890b
cmp ecx, 1
je 0x1800588e5
mov r10d, 1
xor ebp, ebp
mov esi, 2
cmp byte [rbx + 0x34d], bpl
je 0x180058713
mov dword [r12], 0x86
jmp 0x180058713
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 0x18005892f
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.0x180058685.33
mov ecx, dword [rsi]
test ecx, ecx
je 0x18005897e
cmp ecx, 1
jne 0x1800588be
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 0x1800589a5
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.0x180058685.33
mov ecx, dword [rsi]
test ecx, ecx
je 0x1800589fd
cmp ecx, 1
jne 0x1800588be
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 0x180058a27
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.0x180058685.33
mov ecx, dword [rsi]
test ecx, ecx
je 0x180058a79
cmp ecx, 1
jne 0x1800588be
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 0x180058a9d
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.0x180058685.33
mov eax, dword [rsi]
mov esi, 2
lea r10d, [rsi - 1]
test eax, eax
jns 0x180058b39
mov dword [r12], 0x84
jmp 0x180058711
mov ecx, 0xffff
cmp eax, ecx
cmovg eax, ecx
mov dword [rbx + 0x1d4], eax
jmp 0x180058711
mov r10d, 1
lea rax, [0x1800561d0]
mov dword [rbx + 0x1dc], r10d
mov qword [rbx + 0x358], rax
jmp 0x18005870c
lea rax, [0x180056210]
mov dword [rbx + 0x1dc], r14d
mov qword [rbx + 0x358], rax
jmp case.0x180058685.33
mov eax, dword [rsi]
mov dword [rbx + 0x1d8], eax
jmp case.0x180058685.33
mov edi, 1
nop word [rax + rax]
mov rcx, rbx
call fcn.180056290
cmp al, 1
je case.0x180058685.33
movzx ecx, byte [rbx + 0x220]
sub ecx, 0x58
je 0x180058bc5
cmp ecx, 1
jne 0x180058bc7
dec edi
jmp 0x180058bc7
inc edi
test edi, edi
jne 0x180058ba0
jmp case.0x180058685.33
mov ecx, dword [rsi]
test ecx, ecx
jne 0x180058bda
test edx, edx
je 0x180058c48
mov edx, dword [rbx + 0x218]
add edx, ecx
mov dword [rbx + 0x218], edx
js 0x180058c48
movsxd rax, dword [rbx + 0x288]
test eax, eax
jle 0x180058c0a
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x290]
mov rcx, qword [rax + rcx*8 - 8]
cmp edx, dword [rcx + 8]
jg 0x180058c48
mov byte [rbx + 0x228], 0
cmp dword [rsi], 0
jge case.0x180058685.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 0x180058713
mov dword [r12], 0x8b
jmp 0x180058713
mov dword [r12], 0x84
jmp case.0x180058685.33
mov eax, dword [rsi]
mov dword [rbx + 0x1e4], eax
jmp case.0x180058685.33
mov eax, dword [rsi]
mov dword [rbx + 0x1e8], eax
jmp case.0x180058685.33
mov edx, dword [rbx + 0x1a8]
mov ecx, dword [rsi]
call fcn.180042440
mov dword [rbx + 0x1ec], eax
jmp case.0x180058685.33
mov eax, dword [rsi]
mov dword [rsi + 4], eax
jmp case.0x180058685.33
mov dword [rbx + 0x34], r14d
jmp case.0x180058685.33
mov ecx, dword [rsi]
mov eax, dword [rsi + 4]
mov dword [rsi], eax
mov dword [rsi + 4], ecx
jmp case.0x180058685.33
mov eax, dword [rbx + 0x1c]
mov dword [rsi], eax
jmp case.0x180058685.33
mov eax, dword [rsi]
test eax, eax
jle 0x180058ccd
cmp eax, edx
jg 0x180058ccd
sub edx, eax
movsxd rax, edx
mov ecx, dword [r9 + rax*4]
mov dword [rsi], ecx
jmp case.0x180058685.33
cmp byte [rbx + 0x34d], 0
je 0x180058cde
mov dword [r12], 0x86
mov ecx, r14d
mov dword [rsi], ecx
jmp case.0x180058685.33
mov r8d, dword [rsi]
test r8d, r8d
jle 0x1800588be
cmp r8d, edx
jg 0x1800588be
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 sub.VCRUNTIME140.dll_memmove
movsxd rcx, dword [rbx + 0x30]
mov rax, qword [rbx + 0x28]
mov dword [rax + rcx*4 - 4], edi
jmp case.0x180058685.33
movzx ebp, word [rsi]
cmp bp, word [rbx + 0x84]
jae 0x1800588be
movzx esi, word [rsi + 4]
cmp si, word [rbx + 0x44]
jae 0x1800588be
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.0x180058685.33
movzx ecx, word [rsi]
cmp cx, word [rbx + 0x44]
jae 0x1800588be
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.0x180058685.33
mov r10d, dword [rbx + 0x280]
mov r8d, dword [rsi + 4]
inc r10d
cmp r8d, r10d
jae 0x180058f11
mov r9, qword [rbx + 0x268]
test r9, r9
je 0x180058e27
lea rcx, [r8 + r8*2]
lea rdx, [r9 + rcx*8]
jmp 0x180058e2a
mov rdx, r14
mov eax, dword [rbx + 0x260]
cmp r10d, eax
jne 0x180058e3b
cmp dword [rdx + 0xc], r8d
je 0x180058e69
mov rdx, r9
test r9, r9
je 0x180058f11
lea rcx, [rax + rax*2]
lea rax, [r9 + rcx*8]
cmp rdx, rax
jae 0x180058e63
cmp dword [rdx + 0xc], r8d
je 0x180058e69
add rdx, 0x18
cmp rdx, rax
jb 0x180058e54
je 0x180058f11
cmp byte [rdx + 0x10], 0
je 0x180058f11
movsxd rax, dword [rbx + 0x288]
cmp eax, dword [rbx + 0x28c]
jl 0x180058e8f
mov dword [r12], 0x82
jmp case.0x180058685.33
cmp dword [rsi], 0
jle case.0x180058685.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.180054400
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 0x180058713
mov dword [r12], 0x8b
jmp 0x180058713
mov dword [r12], 0x86
jmp case.0x180058685.33
mov r10d, dword [rbx + 0x280]
mov r8d, dword [rsi]
inc r10d
cmp r8d, r10d
jae 0x180058f11
mov r9, qword [rbx + 0x268]
test r9, r9
je 0x180058f11
mov eax, dword [rbx + 0x260]
lea rcx, [r8 + r8*2]
lea rdx, [r9 + rcx*8]
cmp r10d, eax
jne 0x180058f55
cmp dword [rdx + 0xc], r8d
je 0x180058f79
lea rcx, [rax + rax*2]
mov rdx, r9
lea rax, [r9 + rcx*8]
cmp r9, rax
jae 0x180058f74
cmp dword [rdx + 0xc], r8d
je 0x180058f79
add rdx, 0x18
cmp rdx, rax
jb 0x180058f65
cmp rdx, rax
je 0x180058f11
cmp byte [rdx + 0x10], 0
je 0x180058f11
movsxd rax, dword [rbx + 0x288]
mov r10d, 1
cmp eax, dword [rbx + 0x28c]
jl 0x180058fa1
mov dword [r12], 0x82
jmp 0x18005870c
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.180054400
mov byte [rbx + 0x228], 0
jmp 0x18005870c
mov rdx, rsi
mov rcx, rbx
call fcn.180054260
jmp case.0x180058685.33
movsxd rcx, dword [rbx + 0x288]
test ecx, ecx
jg 0x180059015
mov dword [r12], 0x88
jmp case.0x180058685.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 0x180059056
inc dword [rbx + 0x288]
mov rax, qword [rdx - 8]
mov ecx, dword [rax + 4]
mov dword [rbx + 0x218], ecx
jmp case.0x180058685.33
mov r8d, dword [rdx - 0x14]
mov rcx, rbx
mov edx, dword [rdx - 0x18]
call fcn.180054400
jmp case.0x180058685.33
movzx esi, word [rsi]
cmp si, word [rbx + 0x44]
jae 0x1800588be
test r8b, 1
je 0x1800590f1
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, [0x180056210]
mov rax, qword [rbx + 0x358]
cmp rax, rcx
jne 0x1800590e0
mov ecx, dword [rbx + 0x1b8]
test edi, edi
js 0x1800590c9
lea edx, [rcx + rdi]
mov eax, 0x20
and edx, 0xffffffc0
cmp edx, 0xffffffe0
lea ecx, [rdx + 0x20]
cmovge eax, ecx
sub eax, edi
jmp 0x1800590f4
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 0x1800590f4
mov r8d, 3
mov edx, edi
mov rcx, rbx
call rax
sub eax, edi
jmp 0x1800590f4
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.0x180058685.33
mov rcx, rbx
call fcn.180054a20
jmp case.0x180058685.33
mov rcx, rbx
call fcn.180055530
jmp case.0x180058685.33
mov rdx, rsi
mov rcx, rbx
call fcn.1800552c0
jmp case.0x180058685.33
mov rdx, rsi
mov rcx, rbx
call fcn.1800559f0
jmp case.0x180058685.33
mov rdx, rsi
mov rcx, rbx
call fcn.180055730
jmp case.0x180058685.33
mov rcx, rbx
call fcn.180054470
jmp case.0x180058685.33
movzx edi, word [rsi]
cmp di, word [rbx + 0x84]
jae 0x1800588be
movzx eax, word [rbx + 0x1c0]
cmp ax, word [rbx + 0x44]
jae 0x1800588be
cmp word [rbx + 0x1fe], 0
jne 0x1800591dd
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 0x180058713
mov word [rbx + 0x1c0], di
jmp 0x180058713
mov r8d, dword [rbx + 0x1d4]
cmp dword [rbx + 0x1c], r8d
jl 0x180059319
movzx eax, word [rbx + 0x44]
cmp word [rbx + 0x1c0], ax
jae 0x180059319
mov ecx, edx
test r8d, r8d
jle 0x18005932c
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 0x1800592b7
cmp byte [rbx + 0x34d], 0
jne 0x180058f11
jmp 0x180059302
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 0x180059290
jmp 0x18005932c
cmp byte [rbx + 0x34d], 0
mov ecx, edx
je 0x18005932c
mov dword [r12], 0x86
mov r10d, 1
mov dword [rbx + 0x34], ecx
mov dword [rbx + 0x1d4], r10d
jmp 0x18005870c
mov esi, 2
lea rax, [0x180056190]
mov dword [rbx + 0x1dc], esi
mov qword [rbx + 0x358], rax
lea r10d, [rsi - 1]
jmp 0x180058711
movzx ebp, word [rsi]
cmp bp, word [rbx + 0x44]
jae 0x180059493
mov edx, dword [rsi + 4]
cmp edx, dword [rbx + 0x22c]
jae 0x180059493
mov rax, qword [rbx + 0x390]
lea rcx, [0x180056020]
cmp rax, rcx
jne 0x18005939e
mov rax, qword [rbx + 0x230]
mov edi, dword [rax + rdx*4]
jmp 0x1800593a5
mov rcx, rbx
call rax
mov edi, eax
cmp word [rbx + 0x1fc], 0
jne 0x1800593ea
movsx edx, word [rbx + 0x1ce]
mov ecx, edi
call fcn.180057a70
mov rcx, qword [rbx + 0x48]
mov dword [rcx + rbp*8], eax
mov ecx, edi
movsx edx, word [rbx + 0x1d0]
call fcn.180057a70
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 0x18005946a
mov eax, edi
lea rcx, [0x180056190]
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 0x18005945d
mov edi, dword [rbx + 0x1b8]
test edx, edx
js 0x18005944b
lea eax, [rdi + 0x10]
mov edi, r14d
add eax, edx
and eax, 0xffffffe0
cmovge edi, eax
jmp 0x18005946a
sub edi, edx
add edi, 0x10
and edi, 0xffffffe0
neg edi
test edi, edi
cmovg edi, r14d
jmp 0x18005946a
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.0x180058685.33
cmp byte [rbx + 0x34d], 0
je 0x1800594a4
mov dword [r12], 0x86
mov word [rbx + 0x1c0], bp
mov word [rbx + 0x1c2], bp
jmp case.0x180058685.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 0x1800594ea
mov dword [r12], 0x82
jmp 0x18005870c
movzx r9d, r10w
cmp r10w, r11w
ja 0x18005952b
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 0x180059500
add dword [rbx + 0x34], r11d
jmp 0x18005870c
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 0x180059561
mov dword [r12], 0x82
jmp case.0x180058685.33
lea eax, [rdx + 2]
mov dword [rbx + 0x218], eax
test r11b, r11b
je 0x1800595ab
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 0x180059572
add dword [rbx + 0x34], r11d
mov byte [rbx + 0x228], 0
jmp case.0x180058685.33
mov r14d, dword [rsi]
movzx ebp, word [rbx + 0x2d0]
cmp r14d, ebp
jae 0x1800588be
cmp dword [rbx + 0x204], 3
jne 0x18005968d
mov rax, qword [rbx + 0x2f0]
cmp qword [rbx + 0x2d8], rax
jne 0x18005968d
movzx edi, word [rbx + 0x2e0]
cmp edi, ebp
jae 0x180059655
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.180047740
mov qword [rbx + 0x2e8], rax
mov eax, dword [rsp + 0x98]
test eax, eax
je 0x180059653
mov dword [r12], eax
mov word [rbx + 0x2e0], di
jmp case.0x180058685.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 sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rbx + 0x2e8]
mov qword [rbx + 0x2d8], rax
jmp 0x18005968f
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 0x180058713
mov ecx, dword [rsi]
movzx eax, word [rbx + 0x2d0]
cmp ecx, eax
jb 0x1800596e6
xor ebp, ebp
lea r10d, [rbp + 1]
cmp byte [rbx + 0x34d], bpl
je 0x1800596d9
mov dword [r12], 0x86
mov esi, 2
jmp 0x180058713
mov dword [rsi], r14d
mov esi, 2
jmp 0x180058713
mov rax, qword [rbx + 0x2d8]
mov ecx, dword [rax + rcx*4]
mov dword [rsi], ecx
jmp case.0x180058685.33
mov edi, dword [rsi]
cmp edi, dword [rbx + 0x22c]
jae 0x1800588be
mov rax, qword [rbx + 0x398]
lea rcx, [0x18005bb50]
mov esi, dword [rsi + 4]
cmp rax, rcx
mov rcx, rbx
jne 0x180059741
call fcn.180055e20
xor ebp, ebp
lea r10d, [rbp + 1]
cmp dword [r12], ebp
jne 0x1800596cf
mov rax, qword [rbx + 0x230]
mov dword [rax + rdi*4], esi
lea esi, [rbp + 2]
jmp 0x180058713
mov r8d, esi
mov edx, edi
call rax
jmp case.0x180058685.33
mov edx, dword [rsi]
cmp edx, dword [rbx + 0x22c]
jae 0x1800596b8
mov rax, qword [rbx + 0x390]
lea rcx, [0x180056020]
cmp rax, rcx
jne 0x18005977f
mov rax, qword [rbx + 0x230]
mov eax, dword [rax + rdx*4]
mov dword [rsi], eax
jmp case.0x180058685.33
mov rcx, rbx
call rax
mov dword [rsi], eax
jmp case.0x180058685.33
mov ecx, dword [rsi]
movzx eax, word [rbx + 0xc4]
cmp ecx, eax
jb 0x1800597b3
cmp byte [rbx + 0x34d], 0
je 0x1800597a9
mov dword [r12], 0x86
mov eax, r14d
mov dword [rsi], eax
jmp case.0x180058685.33
test r8b, 1
je 0x1800597d8
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.0x180058685.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.0x180058685.33
movzx edi, word [rsi]
cmp di, word [rbx + 0xc4]
jae 0x1800588be
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 0x180058713
mov rax, qword [rbx + 0xd0]
mov rcx, qword [rbx + 0xc8]
mov rax, qword [r14 + rax]
mov qword [r14 + rcx], rax
jmp 0x180058713
movzx edx, word [rsi]
movzx r9d, word [rsi + 4]
cmp dx, word [rbx + 0x44]
jae 0x180059993
cmp r9w, word [rbx + 0x84]
jae 0x180059993
test r8b, 1
je 0x1800598c8
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.0x180058685.33
cmp word [rbx + 0x1fc], 0
je 0x180059964
cmp word [rbx + 0x1fe], 0
je 0x180059964
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 0x180059930
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.180042440
mov dword [rsi], eax
jmp case.0x180058685.33
mov ecx, dword [r14]
sub ecx, dword [rbp]
call fcn.180042440
mov ecx, dword [r14 + 4]
mov edi, eax
sub ecx, dword [rbp + 4]
mov edx, dword [rbx + 0x184]
call fcn.180042440
mov r8d, eax
mov edx, edi
mov rcx, rbx
call qword [rbx + 0x368]
mov dword [rsi], eax
jmp case.0x180058685.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.0x180058685.33
cmp byte [rbx + 0x34d], 0
je 0x1800599a4
mov dword [r12], 0x86
mov eax, r14d
mov dword [rsi], eax
jmp case.0x180058685.33
mov rax, qword [rbx + 0x388]
lea rcx, [0x180053ea0]
cmp rax, rcx
jne 0x1800599cf
movzx eax, word [rbx + 0x1a0]
mov dword [rsi], eax
jmp case.0x180058685.33
mov rcx, rbx
call rax
mov dword [rsi], eax
jmp case.0x180058685.33
mov rax, qword [rbx]
mov rcx, qword [rax + 0x90]
cmp dword [rcx + 0x78], 0x23
jne 0x180059a18
mov rax, qword [rbx + 0x388]
lea rcx, [0x180053ea0]
cmp rax, rcx
jne 0x180059a0c
movzx eax, word [rbx + 0x1a0]
mov dword [rsi], eax
jmp case.0x180058685.33
mov rcx, rbx
call rax
mov dword [rsi], eax
jmp case.0x180058685.33
mov eax, dword [rbx + 0x178]
mov dword [rsi], eax
jmp case.0x180058685.33
mov byte [rbx + 0x1e0], 1
jmp case.0x180058685.33
mov byte [rbx + 0x1e0], 0
jmp case.0x180058685.33
mov dword [r12], 0x87
jmp case.0x180058685.33
mov eax, dword [rsi + 4]
mov ecx, r14d
cmp dword [rsi], eax
setl cl
mov dword [rsi], ecx
jmp case.0x180058685.33
mov eax, dword [rsi + 4]
mov ecx, r14d
cmp dword [rsi], eax
setle cl
mov dword [rsi], ecx
jmp case.0x180058685.33
mov eax, dword [rsi + 4]
mov ecx, r14d
cmp dword [rsi], eax
setg cl
mov dword [rsi], ecx
jmp case.0x180058685.33
mov eax, dword [rsi + 4]
mov ecx, r14d
cmp dword [rsi], eax
setge cl
mov dword [rsi], ecx
jmp case.0x180058685.33
mov eax, dword [rsi + 4]
mov ecx, r14d
cmp dword [rsi], eax
sete cl
mov dword [rsi], ecx
jmp case.0x180058685.33
mov eax, dword [rsi + 4]
mov ecx, r14d
cmp dword [rsi], eax
setne cl
mov dword [rsi], ecx
jmp case.0x180058685.33
mov r9, qword [rbx + 0x358]
lea rcx, [0x180056190]
mov eax, dword [rsi]
cmp r9, rcx
jne 0x180059b19
mov edx, dword [rbx + 0x1b8]
test eax, eax
js 0x180059af6
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.0x180058685.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.0x180058685.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.0x180058685.33
mov rax, qword [rbx + 0x358]
lea rcx, [0x180056190]
mov edx, dword [rsi]
cmp rax, rcx
jne 0x180059b99
mov ecx, dword [rbx + 0x1b8]
test edx, edx
js 0x180059b79
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.0x180058685.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.0x180058685.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.0x180058685.33
cmp dword [rsi], 0
jne case.0x180058685.33
mov edi, 1
xor sil, sil
mov rcx, rbx
call fcn.180056290
cmp al, 1
je case.0x180058685.33
movzx ecx, byte [rbx + 0x220]
sub ecx, 0x1b
je 0x180059bf5
sub ecx, 0x3d
je 0x180059bf1
cmp ecx, 1
jne 0x180059bfc
sub edi, ecx
jmp 0x180059bf8
inc edi
jmp 0x180059bfc
cmp edi, 1
sete sil
test sil, sil
je 0x180059bc7
jmp case.0x180058685.33
cmp dword [rsi], 0
je 0x180059c21
cmp dword [rsi + 4], 0
je 0x180059c21
mov r10d, 1
mov eax, r10d
mov dword [rsi], eax
jmp 0x18005870c
mov eax, r14d
mov r10d, 1
mov dword [rsi], eax
jmp 0x18005870c
cmp dword [rsi], 0
jne 0x180059c4c
cmp dword [rsi + 4], 0
jne 0x180059c4c
mov eax, r14d
mov r10d, 1
mov dword [rsi], eax
jmp 0x18005870c
mov r10d, 1
mov eax, r10d
mov dword [rsi], eax
jmp 0x18005870c
cmp dword [rsi], 0
mov eax, r14d
sete al
mov dword [rsi], eax
jmp case.0x180058685.33
mov rax, qword [rbx + 0x388]
lea rcx, [0x180053ea0]
cmp rax, rcx
jne 0x180059c88
movzx ebp, word [rbx + 0x1a0]
jmp 0x180059c92
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 0x180059dd0
lea rcx, [rbx + 0x34d]
nop dword [rax]
movsxd rax, dword [rbx + 0x30]
cmp eax, 2
jl 0x180059dba
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 0x180059d8e
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 0x180059cfe
cmp edx, 1
jne 0x180059d01
add ecx, 0x20
jmp 0x180059d01
add ecx, 0x10
movzx eax, word [rbx + 0x1f0]
add eax, ecx
cmp ebp, eax
jne 0x180059d82
and r9d, 0xf
sub r9d, 8
js 0x180059d1b
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 0x180059d75
cmp byte [rbx + 0x3ab], 0
je 0x180059d75
cmp byte [rbx + 0x3ac], 0
je 0x180059d57
cmp byte [rbx + 0x3ad], 0
jne 0x180059d82
cmp byte [rbx + 0x34c], 0
je 0x180059d6a
cmp word [rbx + 0x1d0], 0
jne 0x180059d75
mov rax, qword [rbx + 0x60]
test byte [r8 + rax], 0x10
je 0x180059d82
lea rdx, [rbx + 0x38]
mov rcx, rbx
call qword [rbx + 0x378]
mov edx, dword [rbx + 0x30]
lea rcx, [rbx + 0x34d]
jmp 0x180059da2
lea rcx, [rbx + 0x34d]
cmp byte [rcx], 0
je 0x180059da2
mov dword [r12], 0x86
inc edi
cmp edi, esi
jbe 0x180059cb0
mov r10d, 1
mov dword [rbx + 0x34], edx
jmp 0x18005870c
cmp byte [rcx], 0
je 0x180059dc3
mov dword [r12], r13d
mov dword [rbx + 0x30], r14d
mov edx, r14d
mov r10d, 1
mov dword [rbx + 0x34], edx
jmp 0x18005870c
movzx eax, word [rsi]
mov word [rbx + 0x1f0], ax
jmp case.0x180058685.33
mov eax, dword [rsi]
xor ebp, ebp
lea esi, [rbp + 2]
lea r10d, [rbp + 1]
cmp eax, 6
jbe 0x180059e04
mov dword [r12], 0x84
jmp 0x180058713
mov word [rbx + 0x1f2], ax
jmp 0x180058713
mov eax, dword [rsi + 4]
add dword [rsi], eax
jmp case.0x180058685.33
mov eax, dword [rsi + 4]
sub dword [rsi], eax
jmp case.0x180058685.33
mov r8d, dword [rsi + 4]
test r8d, r8d
jne 0x180059e3a
mov dword [r12], 0x85
jmp case.0x180058685.33
mov ecx, dword [rsi]
mov edx, 0x40
call fcn.1800423b0
mov dword [rsi], eax
jmp case.0x180058685.33
mov edx, dword [rsi + 4]
mov r8d, 0x40
mov ecx, dword [rsi]
call fcn.180042310
mov dword [rsi], eax
jmp case.0x180058685.33
mov eax, dword [rsi]
mov r10d, 1
test eax, eax
jns 0x18005870c
neg eax
mov dword [rsi], eax
jmp 0x18005870c
mov eax, dword [rsi]
neg eax
mov dword [rsi], eax
jmp case.0x180058685.33
and dword [rsi], 0xffffffc0
jmp case.0x180058685.33
mov eax, dword [rsi]
add eax, 0x3f
and eax, 0xffffffc0
mov dword [rsi], eax
jmp case.0x180058685.33
mov rax, qword [rbx + 0x358]
lea rcx, [0x180056190]
mov edx, dword [rsi]
and r11d, 3
cmp rax, rcx
jne 0x180059ef0
mov ecx, dword [rbx + r11*4 + 0x1ac]
test edx, edx
js 0x180059ed9
lea eax, [rcx + 0x10]
mov ecx, r14d
add eax, edx
and eax, 0xffffffe0
cmovge ecx, eax
mov dword [rsi], ecx
jmp case.0x180058685.33
sub ecx, edx
add ecx, 0x10
and ecx, 0xffffffe0
neg ecx
test ecx, ecx
cmovg ecx, r14d
mov dword [rsi], ecx
jmp case.0x180058685.33
mov r8d, r11d
mov rcx, rbx
call rax
mov ecx, eax
mov dword [rsi], eax
jmp case.0x180058685.33
mov ecx, dword [rsi]
movzx eax, r8b
and eax, 3
mov edx, dword [rbx + rax*4 + 0x1ac]
test ecx, ecx
js 0x180059f27
lea eax, [rdx + rcx]
mov ecx, r14d
test eax, eax
cmovns ecx, eax
mov dword [rsi], ecx
jmp case.0x180058685.33
sub ecx, edx
test ecx, ecx
cmovg ecx, r14d
mov dword [rsi], ecx
jmp case.0x180058685.33
mov edi, dword [rsi]
cmp edi, dword [rbx + 0x22c]
jae 0x1800588be
mov edx, dword [rbx + 0x1a8]
mov ecx, dword [rsi + 4]
call fcn.180042440
mov rcx, qword [rbx + 0x230]
mov dword [rcx + rdi*4], eax
jmp case.0x180058685.33
mov rax, qword [rbx + 0x388]
lea rcx, [0x180053ea0]
cmp rax, rcx
jne 0x180059f7d
movzx ebp, word [rbx + 0x1a0]
jmp 0x180059f87
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 0x180059dd0
lea rcx, [rbx + 0x34d]
movsxd rax, dword [rbx + 0x30]
cmp eax, 2
jl 0x180059dba
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 0x18005a080
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 0x180059ff0
cmp edx, 1
jne 0x180059ff3
add ecx, 0x20
jmp 0x180059ff3
add ecx, 0x10
movzx eax, word [rbx + 0x1f0]
add eax, ecx
cmp ebp, eax
jne 0x18005a074
and r9d, 0xf
sub r9d, 8
js 0x18005a00d
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 0x18005a067
cmp byte [rbx + 0x3ab], 0
je 0x18005a067
cmp byte [rbx + 0x3ac], 0
je 0x18005a049
cmp byte [rbx + 0x3ad], 0
jne 0x18005a074
cmp byte [rbx + 0x34c], 0
je 0x18005a05c
cmp word [rbx + 0x1d0], 0
jne 0x18005a067
mov rax, qword [rbx + 0x60]
test byte [r8 + rax], 0x10
je 0x18005a074
lea rdx, [rbx + 0x38]
mov rcx, rbx
call qword [rbx + 0x378]
mov edx, dword [rbx + 0x30]
lea rcx, [rbx + 0x34d]
jmp 0x18005a094
lea rcx, [rbx + 0x34d]
cmp byte [rcx], 0
je 0x18005a094
mov dword [r12], 0x86
inc edi
cmp edi, esi
jbe 0x180059fa2
mov r10d, 1
mov dword [rbx + 0x34], edx
jmp 0x18005870c
mov rax, qword [rbx + 0x388]
lea rcx, [0x180053ea0]
cmp rax, rcx
jne 0x18005a0c9
movzx r15d, word [rbx + 0x1a0]
jmp 0x18005a0d1
mov rcx, rbx
call rax
mov r15d, eax
mov r14d, dword [rsi]
mov r10d, 1
mov ebp, r10d
cmp r14d, r10d
jb 0x18005a1c5
nop word [rax + rax]
movsxd rcx, dword [rbx + 0x30]
cmp ecx, 2
jl 0x18005a1da
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 0x18005a132
cmp byte [rbx + 0x34d], 0
je 0x18005a1b4
mov r15, qword [rsp + 0x30]
mov dword [r12], 0x86
jmp case.0x180058685.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 0x18005a154
cmp edx, 1
jne 0x18005a157
add ecx, 0x20
jmp 0x18005a157
add ecx, 0x10
movzx eax, word [rbx + 0x1f0]
add eax, ecx
cmp r15d, eax
jne 0x18005a1b4
and edi, 0xf
sub edi, 8
js 0x18005a16f
inc edi
movzx eax, word [rbx + 0x1f2]
mov ecx, 6
sub ecx, eax
mov rax, qword [rbx + 0x3a0]
shl edi, cl
lea rcx, [0x180055ec0]
cmp rax, rcx
mov rcx, rbx
jne 0x18005a1ad
call fcn.180055e20
cmp dword [r12], 0
jne 0x18005a1b4
mov rax, qword [rbx + 0x230]
add dword [rax + rsi*4], edi
jmp 0x18005a1b4
mov r8d, edi
mov edx, esi
call rax
inc ebp
cmp ebp, r14d
jbe 0x18005a0f0
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 0x180058713
cmp byte [rbx + 0x34d], 0
je 0x18005a1e7
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 0x180058713
mov r8d, dword [rsi]
mov ecx, r8d
and ecx, 0xc0
je 0x18005a238
sub ecx, 0x40
je 0x18005a21f
sub ecx, 0x40
je 0x18005a22c
cmp ecx, 0x40
jne 0x18005a242
mov eax, 0x4000
mov dword [rbx + 0x2f8], eax
jmp 0x18005a242
mov dword [rbx + 0x2f8], 0x8000
jmp 0x18005a242
mov dword [rbx + 0x2f8], 0x2000
mov eax, r8d
and eax, 0x30
je 0x18005a29d
cmp eax, 0x10
je 0x18005a286
cmp eax, 0x20
je 0x18005a273
cmp eax, 0x30
jne 0x18005a2a4
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 0x18005a2a4
mov eax, dword [rbx + 0x2f8]
cdq
sub eax, edx
sar eax, 1
mov dword [rbx + 0x2fc], eax
jmp 0x18005a2a4
mov eax, dword [rbx + 0x2f8]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [rbx + 0x2fc], eax
jmp 0x18005a2a4
mov dword [rbx + 0x2fc], r14d
mov ecx, dword [rbx + 0x2f8]
and r8d, 0xf
jne 0x18005a2b5
lea eax, [rcx - 1]
jmp 0x18005a2c5
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, [0x1800560c0]
mov qword [rbx + 0x358], rax
mov dword [rbx + 0x1dc], 6
jmp case.0x180058685.33
mov r8d, dword [rsi]
mov ecx, r8d
and ecx, 0xc0
je 0x18005a330
sub ecx, 0x40
je 0x18005a318
sub ecx, 0x40
je 0x18005a324
cmp ecx, 0x40
jne 0x18005a33a
mov dword [rbx + 0x2f8], 0x2d41
jmp 0x18005a33a
mov dword [rbx + 0x2f8], 0x5a82
jmp 0x18005a33a
mov dword [rbx + 0x2f8], 0x16a0
mov eax, r8d
and eax, 0x30
je 0x18005a395
cmp eax, 0x10
je 0x18005a37e
cmp eax, 0x20
je 0x18005a36b
cmp eax, 0x30
jne 0x18005a39c
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 0x18005a39c
mov eax, dword [rbx + 0x2f8]
cdq
sub eax, edx
sar eax, 1
mov dword [rbx + 0x2fc], eax
jmp 0x18005a39c
mov eax, dword [rbx + 0x2f8]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [rbx + 0x2fc], eax
jmp 0x18005a39c
mov dword [rbx + 0x2fc], r14d
mov ecx, dword [rbx + 0x2f8]
and r8d, 0xf
jne 0x18005a3ad
lea eax, [rcx - 1]
jmp 0x18005a3bd
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, [0x180056120]
mov qword [rbx + 0x358], rax
mov dword [rbx + 0x1dc], 7
jmp case.0x180058685.33
cmp dword [rsi + 4], 0
je case.0x180058685.33
jmp case.0x180058685.28
cmp dword [rsi + 4], 0
jne case.0x180058685.33
jmp case.0x180058685.28
lea rax, [0x180056090]
mov dword [rbx + 0x1dc], 5
mov qword [rbx + 0x358], rax
jmp case.0x180058685.33
lea rax, [0x180056250]
mov dword [rbx + 0x1dc], 4
mov qword [rbx + 0x358], rax
jmp case.0x180058685.33
lea rax, [0x180056060]
mov dword [rbx + 0x1dc], 3
mov qword [rbx + 0x358], rax
jmp case.0x180058685.33
mov rax, qword [rbx]
mov rcx, qword [rax + 0x90]
cmp dword [rcx + 0x78], 0x28
jne 0x18005a499
cmp byte [rbx + 0x3ab], 0
je 0x18005a499
cmp byte [rbx + 0x3ac], 0
je 0x18005a499
cmp byte [rbx + 0x3ad], 0
mov ecx, edx
jne 0x18005932c
mov eax, dword [rbx + 0x1d4]
mov ecx, edx
cmp dword [rbx + 0x1c], eax
jge 0x18005a4bc
cmp byte [rbx + 0x34d], 0
je 0x18005932c
mov dword [r12], r13d
jmp 0x18005932c
test eax, eax
jle 0x18005932c
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 0x18005a4f7
cmp byte [rbx + 0x34d], 0
jne 0x180058f11
jmp 0x18005a509
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 0x18005a4d0
jmp 0x18005932c
mov rax, qword [rbx]
mov rcx, qword [rax + 0x90]
cmp dword [rcx + 0x78], 0x28
jne 0x18005a54e
cmp byte [rbx + 0x3ab], 0
je 0x18005a54e
cmp byte [rbx + 0x3ac], 0
je 0x18005a54e
cmp byte [rbx + 0x3ad], 0
jne case.0x180058685.33
movzx r8d, word [rsi + 4]
movzx eax, word [rbx + 0x104]
cmp r8w, ax
jae 0x1800588be
movzx edx, word [rsi]
cmp dx, ax
jae 0x1800588be
cmp dx, r8w
ja case.0x180058685.33
nop word [rax + rax]
mov rax, qword [rbx + 0x120]
movzx ecx, dx
inc dx
or byte [rcx + rax], 1
cmp dx, r8w
jbe 0x18005a580
jmp case.0x180058685.33
mov rax, qword [rbx]
mov rcx, qword [rax + 0x90]
cmp dword [rcx + 0x78], 0x28
jne 0x18005a5cb
cmp byte [rbx + 0x3ab], 0
je 0x18005a5cb
cmp byte [rbx + 0x3ac], 0
je 0x18005a5cb
cmp byte [rbx + 0x3ad], 0
jne case.0x180058685.33
movzx r8d, word [rsi + 4]
movzx eax, word [rbx + 0x104]
cmp r8w, ax
jae 0x1800588be
movzx edx, word [rsi]
cmp dx, ax
jae 0x1800588be
cmp dx, r8w
ja case.0x180058685.33
nop word [rax + rax]
mov rax, qword [rbx + 0x120]
movzx ecx, dx
inc dx
and byte [rcx + rax], 0xfe
cmp dx, r8w
jbe 0x18005a600
jmp case.0x180058685.33
mov eax, dword [rsi]
mov edx, 0xff
movzx ecx, al
cmp ecx, edx
jne 0x18005a636
mov byte [rbx + 0x1f5], 1
jmp case.0x180058685.33
test al, al
je 0x18005a6cf
test ebp, eax
je 0x18005a654
movzx eax, word [rbx + 0x1a0]
cmp eax, ecx
ja 0x18005a654
mov byte [rbx + 0x1f5], 1
test dword [rsi], 0x200
je 0x18005a66c
cmp byte [rbx + 0x1bd], 0
je 0x18005a66c
mov byte [rbx + 0x1f5], 1
test dword [rsi], 0x400
je 0x18005a684
cmp byte [rbx + 0x1be], 0
je 0x18005a684
mov byte [rbx + 0x1f5], 1
test dword [rsi], 0x800
je 0x18005a69e
movzx eax, word [rbx + 0x1a0]
cmp eax, ecx
jbe 0x18005a69e
mov byte [rbx + 0x1f5], 0
test dword [rsi], 0x1000
je 0x18005a6b6
cmp byte [rbx + 0x1bd], 0
je 0x18005a6b6
mov byte [rbx + 0x1f5], 0
test dword [rsi], 0x2000
je case.0x180058685.33
cmp byte [rbx + 0x1be], 0
je case.0x180058685.33
mov byte [rbx + 0x1f5], 0
jmp case.0x180058685.33
mov rdx, rsi
mov rcx, rbx
call fcn.180055110
jmp case.0x180058685.33
mov r9d, dword [rsi]
mov ecx, r14d
mov rdx, qword [rbx]
test r9b, 1
je 0x18005a704
mov rax, qword [rdx + 0x90]
mov ecx, dword [rax + 0x78]
mov rax, rdx
test r9b, 2
je 0x18005a718
cmp byte [rbx + 0x1bd], 0
je 0x18005a718
or ecx, ebp
test r9b, 4
je 0x18005a72b
cmp byte [rbx + 0x1be], 0
je 0x18005a72b
bts ecx, 9
test r9b, 8
je 0x18005a742
cmp qword [rax + 0x410], 0
mov rdx, rax
je 0x18005a742
bts ecx, 0xa
test r9b, 0x20
je 0x18005a755
cmp byte [rbx + 0x3a8], 0
je 0x18005a755
bts ecx, 0xc
mov rax, qword [rdx + 0x90]
cmp dword [rax + 0x78], 0x28
jne 0x18005a7c2
cmp byte [rbx + 0x3a9], 0
je 0x18005a7c2
mov edx, ecx
bts edx, 0xd
test r9b, 0x40
cmove edx, ecx
mov r8d, edx
test ebp, r9d
je 0x18005a78e
cmp byte [rbx + 0x3aa], 0
je 0x18005a78e
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 0x18005a7c2
cmp byte [rbx + 0x3ae], 0
je 0x18005a7c2
bts ecx, 0x13
mov dword [rsi], ecx
jmp case.0x180058685.33
cmp dword [rbx + 0x204], 3
jne 0x18005a7df
mov dword [r12], 0x9c
jmp case.0x180058685.33
mov rdi, qword [rbx + 0x278]
test rdi, rdi
je 0x18005a813
mov eax, dword [rbx + 0x270]
lea rcx, [rax + rax*2]
lea rax, [rdi + rcx*8]
cmp rdi, rax
jae 0x18005a811
mov ecx, dword [rsi]
cmp dword [rdi + 0xc], ecx
je 0x18005a80e
add rdi, 0x18
cmp rdi, rax
jb 0x18005a800
cmp rdi, rax
jne 0x18005a82d
mov eax, dword [rbx + 0x270]
cmp eax, dword [rbx + 0x274]
jae 0x18005a8c2
inc eax
mov dword [rbx + 0x270], eax
mov eax, dword [rsi]
mov ecx, 0xff
cmp eax, ecx
ja 0x18005a8c2
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 0x18005a86c
movzx eax, al
mov dword [rbx + 0x284], eax
mov rcx, rbx
call fcn.180056290
test al, al
jne case.0x180058685.33
nop dword [rax]
movzx ecx, byte [rbx + 0x220]
sub ecx, 0x2c
je 0x18005a8b5
sub ecx, 1
je 0x18005a8a7
cmp ecx, 0x5c
je 0x18005a8b5
mov rcx, rbx
call fcn.180056290
test al, al
je 0x18005a880
jmp case.0x180058685.33
mov eax, dword [rbx + 0x218]
mov dword [rdi + 8], eax
jmp case.0x180058685.33
mov dword [r12], 0x89
jmp case.0x180058685.33
mov dword [r12], 0x8d
jmp case.0x180058685.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.0x180058685.33
mov eax, dword [rsi + 4]
xor ebp, ebp
lea r10d, [rbp + 1]
cmp eax, dword [rsi]
jle 0x1800596cf
mov dword [rsi], eax
lea esi, [rbp + 2]
jmp 0x180058713
mov eax, dword [rsi + 4]
xor ebp, ebp
lea r10d, [rbp + 1]
cmp eax, dword [rsi]
jge 0x1800596cf
mov dword [rsi], eax
lea esi, [rbp + 2]
jmp 0x180058713
mov eax, dword [rsi]
xor ebp, ebp
lea esi, [rbp + 2]
lea r10d, [rbp + 1]
test eax, eax
js 0x180058713
movzx eax, ax
mov dword [rbx + 0x1f8], eax
jmp 0x180058713
mov r8d, dword [rsi + 4]
mov r10d, 1
mov edx, dword [rsi]
lea ecx, [r8 - 1]
cmp ecx, 2
ja 0x18005a9c3
mov eax, r10d
shl eax, cl
test edx, edx
je 0x18005a961
cmp edx, eax
jne 0x1800588c4
mov ecx, dword [rbx + 0x204]
cmp ecx, 2
jne 0x18005a981
not al
and al, byte [rbx + 0x1f4]
or al, dl
mov byte [rbx + 0x1f4], al
jmp 0x18005870c
cmp ecx, 3
jne 0x18005a9b5
cmp r8d, ecx
jne 0x18005a9b5
mov rax, qword [rbx]
mov esi, 2
mov rcx, qword [rax + 0x90]
cmp dword [rcx + 0x78], 0x28
jne 0x180058711
cmp edx, 4
setne al
mov byte [rbx + 0x3ab], al
jmp 0x180058711
cmp byte [rbx + 0x34d], 0
jne 0x18005a9d0
jmp 0x18005870c
cmp byte [rbx + 0x34d], 0
je 0x18005870c
mov dword [r12], 0x86
jmp 0x18005870c
mov rax, qword [rbx]
mov r8, qword [rax + 0x410]
test r8, r8
je case.0x180058685.40
sub r10d, dword [rbx + 0x1c]
mov r11d, dword [r8]
inc r10d
mov r8, qword [r8 + 0x10]
cmp r11d, r10d
jb 0x18005aa10
mov dword [r12], 0x82
jmp case.0x180058685.33
test r8, r8
je 0x18005aae9
mov edx, r14d
test r11d, r11d
je case.0x180058685.33
cmp r11d, 0x10
jb 0x18005aabc
lea eax, [r11 - 1]
lea r9, [rsi + rax*4]
lea rax, [r8 + rax*4]
cmp rsi, rax
ja 0x18005aa45
cmp r9, r8
jae 0x18005aabc
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 0x18005aa60
cmp edx, r11d
jae case.0x180058685.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 0x18005aad0
jmp case.0x180058685.33
test r11d, r11d
je case.0x180058685.33
mov r8, r11
xor edx, edx
shl r8, 2
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
jmp case.0x180058685.33
mov rcx, rbx
call fcn.180055cf0
jmp case.0x180058685.33
mov rax, qword [rbx]
cmp qword [rax + 0x410], 0
je case.0x180058685.40
mov dword [rsi], 0x11
jmp case.0x180058685.33
cmp r8b, 0xe0
jb 0x18005ab43
mov rdx, rsi
mov rcx, rbx
call fcn.180054ea0
jmp case.0x180058685.33
cmp r8b, 0xc0
jb 0x18005ab59
mov rdx, rsi
mov rcx, rbx
call fcn.180054c80
jmp case.0x180058685.33
cmp r8b, 0xb8
jb 0x18005abe5
sub r10d, dword [rbx + 0x1c]
mov eax, 0xb7
movzx ecx, r8b
inc r10d
sub cx, ax
movzx eax, cx
cmp eax, r10d
jb 0x18005ab8b
mov dword [r12], 0x82
jmp case.0x180058685.33
inc dword [rbx + 0x218]
cmp r14w, cx
jae 0x18005abd9
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 0x18005aba0
mov byte [rbx + 0x228], 0
jmp case.0x180058685.33
cmp r8b, 0xb0
jb case.0x180058685.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 0x18005ac1f
mov dword [r12], 0x82
jmp 0x18005870c
movzx r9d, r10w
cmp r10w, r11w
ja 0x18005870c
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 0x18005ac30
jmp 0x18005870c
mov rdx, rbp
cmp r8, rdx
jae 0x18005ada2
cmp byte [r8 + 0x10], 0
je 0x18005ac7f
movzx eax, byte [r8 + 0xc]
cmp byte [rbx + 0x220], al
je 0x18005ac85
add r8, 0x18
jmp 0x18005ac62
movsxd rax, dword [rbx + 0x288]
cmp eax, dword [rbx + 0x28c]
jge 0x18005ad92
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 0x18005ad82
lea rax, [rcx + 0x29]
add rax, rax
mov rdx, qword [rbx + rax*8]
test rdx, rdx
je 0x18005ad77
cmp r9d, dword [rbx + rax*8 + 8]
jg 0x18005ae00
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 0x18005ad48
cmp byte [rbx + 0x228], 0
mov eax, dword [rbx + 0x34]
mov dword [rbx + 0x1c], eax
je 0x18005ad2c
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 0x18005ade0
mov eax, dword [r15]
cmp dword [rbx + 0x218], eax
jge 0x18005adb7
cmp byte [rbx + 0x304], 0
jne 0x18005adc0
lea r11, [rbx + 0x18]
xor r14d, r14d
lea rdi, [0x180000000]
jmp 0x18005854b
mov dword [r11], r13d
jmp 0x18005ae0a
mov r13d, 0x8a
jmp 0x18005ae06
mov dword [r12], 0x84
mov r13d, 0x84
jmp 0x18005ae0a
mov dword [r12], 0x86
mov r13d, 0x86
jmp 0x18005ae0a
mov dword [r12], 0x80
mov r13d, 0x80
jmp 0x18005ae0a
mov r13d, eax
jmp 0x18005ae0a
cmp dword [rbx + 0x288], 0
jg 0x18005ae00
mov rax, qword [rbx + 0x248]
mov qword [rbx + 0x230], rax
mov rax, qword [rbx + 0x2f0]
mov qword [rbx + 0x2d8], rax
xor eax, eax
jmp 0x18005ae29
mov dword [r12], 0x8b
mov r13d, 0x8b
jmp 0x18005ae0a
mov dword [r12], 0x82
mov r13d, 0x82
jmp 0x18005ae0a
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