Function at 0x18005b5d0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movzx edx, word [rcx + 0x104]
mov rbx, rcx
mov r8d, dword [rcx + 0x22c]
xor r15d, r15d
mov eax, 0x1e
mov r13d, r15d
mov esi, 0xffff
lea ecx, [r8 + rdx]
add ecx, ecx
cmp ecx, eax
cmovb ecx, eax
movzx eax, word [rbx + 0x144]
cmp eax, ecx
jbe 0x18005b627
cmp ecx, esi
cmova ecx, esi
mov word [rbx + 0x144], cx
mov dword [rbx + 0x3a0], r15d
mov dword [rbx + 0x3a8], r15d
test dx, dx
je 0x18005b664
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 0x18005b66f
imul r8d, r8d, 0x16
add r8d, 0x12c
mov dword [rbx + 0x3a4], r8d
mov rax, qword [rbx]
imul ecx, dword [rax + 0x10], 0x64
cmp r8d, ecx
jbe 0x18005b68b
mov dword [rbx + 0x3a4], ecx
mov r8d, ecx
movzx edx, word [rbx + 0x17e]
lea rax, [0x180057220]
cmp word [rbx + 0x17c], dx
mov rcx, rbx
mov dword [rbx + 0x3ac], r8d
lea r8, [0x180057210]
cmove rax, r8
mov dword [rbx + 0x1a4], r15d
mov qword [rbx + 0x378], rax
lea r8, [0x180059560]
lea rax, [0x180059570]
cmove rax, r8
lea r8, [0x18005ea40]
mov qword [rbx + 0x380], rax
lea rax, [0x18005ea80]
cmove rax, r8
lea r8, [0x180059400]
mov qword [rbx + 0x388], rax
lea rax, [0x180059440]
cmove rax, r8
mov qword [rbx + 0x390], rax
mov eax, dword [rbx + 0x208]
mov dword [rbx + 0x204], eax
call fcn.1800570c0
movzx eax, byte [rbx + 0x1dc]
lea r9, [0x180059710]
lea rdi, [0x180059790]
lea rsi, [0x1800595a0]
lea r10, [0x180059750]
lea r8, [0x1800596d0]
lea r14, [0x180059600]
lea rdx, [fcn.180059660]
lea r11, [0x1800595d0]
lea rbp, [0x180000000]
cmp eax, 7
ja case.default.0x18005b774
mov ecx, dword [rbp + rax*4 + 0x5ddcc]
add rcx, rbp
jmp rcx
mov qword [rbx + 0x348], r11
jmp case.default.0x18005b774
mov qword [rbx + 0x348], r9
jmp case.default.0x18005b774
mov qword [rbx + 0x348], rdi
jmp case.default.0x18005b774
mov qword [rbx + 0x348], rsi
jmp case.default.0x18005b774
mov qword [rbx + 0x348], r10
jmp case.default.0x18005b774
mov qword [rbx + 0x348], r8
jmp case.default.0x18005b774
mov qword [rbx + 0x348], r14
jmp case.default.0x18005b774
mov qword [rbx + 0x348], rdx
mov word [rbx + 0x39c], r15w
mov r12d, 0x81
nop word [rax + rax]
movsxd rdx, dword [rbx + 0x218]
mov r8, rdx
add r8, qword [rbx + 0x210]
movzx eax, byte [r8]
mov byte [rbx + 0x220], al
mov r9d, eax
movsx ecx, byte [rax + rbp + 0x1500d0]
mov dword [rbx + 0x224], ecx
test ecx, ecx
jns 0x18005b824
lea eax, [rdx + 1]
cmp eax, dword [rbx + 0x21c]
jge 0x18005dda5
movzx eax, byte [r8 + 1]
imul eax, ecx
mov ecx, 2
sub ecx, eax
mov dword [rbx + 0x224], ecx
lea eax, [rdx + rcx]
cmp eax, dword [rbx + 0x21c]
jg 0x18005dda5
movzx ecx, byte [r9 + rbp + 0x14ffd0]
mov edx, dword [rbx + 0x1c]
mov eax, ecx
shr eax, 4
sub edx, eax
mov dword [rbx + 0x30], edx
jns 0x18005b890
cmp byte [rbx + 0x33d], 0
jne 0x18005ddab
movzx edx, r15w
test cl, 0xf0
jbe 0x18005b889
mov rax, qword [rbx + 0x28]
movzx ecx, dx
inc dx
mov dword [rax + rcx*4], r15d
movzx eax, byte [rbx + 0x220]
movzx eax, byte [rax + rbp + 0x14ffd0]
shr al, 4
movzx eax, al
cmp dx, ax
jb 0x18005b861
mov dword [rbx + 0x30], r15d
mov edx, r15d
movzx r10d, byte [rbx + 0x220]
lea r11, [rbx + 0x34]
cmp r10b, 0x91
jne 0x18005b8c7
mov rax, qword [rbx]
mov rax, qword [rax + 0x410]
test rax, rax
je 0x18005b8be
mov ecx, dword [rax]
add ecx, edx
mov dword [r11], ecx
lea r11, [rbx + 0x34]
jmp 0x18005b8db
mov ecx, dword [r11]
lea r11, [rbx + 0x34]
jmp 0x18005b8db
movzx eax, r10b
movzx ecx, byte [rax + rbp + 0x14ffd0]
and ecx, 0xf
add ecx, edx
mov dword [r11], ecx
mov r8d, dword [rbx + 0x20]
cmp ecx, r8d
jg 0x18005dd96
mov r9, qword [rbx + 0x28]
lea r14, [rbx + 0x228]
mov eax, edx
movzx edi, r10b
mov byte [r14], 1
mov dword [rbx + 0x18], r15d
lea rsi, [r9 + rax*4]
cmp edi, 0x92
ja case.default.0x18005b91b
mov ecx, dword [rbp + rdi*4 + 0x5ddec]
add rcx, rbp
jmp rcx
movzx eax, r10b
mov edx, 0x4000
and al, 1
movzx ecx, al
shl cx, 0xe
movzx eax, cx
xor ax, dx
cmp r10b, 4
jae 0x18005b957
mov word [rbx + 0x1ca], cx
mov word [rbx + 0x1cc], ax
mov word [rbx + 0x1c6], cx
mov word [rbx + 0x1c8], ax
test r10b, 2
jne 0x18005ba9a
mov word [rbx + 0x1ce], cx
mov rcx, rbx
mov word [rbx + 0x1d0], ax
call fcn.1800570c0
jmp case.0x18005b91b.33
movzx r8d, word [rsi]
lea r9, [rbx + 0x1ca]
movzx edx, word [rsi + 4]
mov rcx, rbx
call fcn.1800591b0
test al, al
jne case.0x18005b91b.33
mov eax, dword [rbx + 0x1ca]
mov rcx, rbx
mov dword [rbx + 0x1c6], eax
call fcn.1800570c0
jmp case.0x18005b91b.33
movzx r8d, word [rsi]
lea r9, [rbx + 0x1ce]
movzx edx, word [rsi + 4]
mov rcx, rbx
call fcn.1800591b0
test al, al
jne case.0x18005b91b.33
mov rcx, rbx
call fcn.1800570c0
jmp case.0x18005b91b.33
movsx ecx, word [rsi]
movsx eax, word [rsi + 4]
test ecx, ecx
jne 0x18005b9ef
test eax, eax
je 0x18005ba29
mov dword [rsp + 0x78], ecx
lea rcx, [rsp + 0x78]
mov dword [rsp + 0x7c], eax
call fcn.180047700
mov eax, dword [rsp + 0x78]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov word [rbx + 0x1ca], ax
mov eax, dword [rsp + 0x7c]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov word [rbx + 0x1cc], ax
mov eax, dword [rbx + 0x1ca]
mov rcx, rbx
mov dword [rbx + 0x1c6], eax
call fcn.1800570c0
jmp case.0x18005b91b.33
movsx ecx, word [rsi]
movsx eax, word [rsi + 4]
test ecx, ecx
jne 0x18005ba51
test eax, eax
je 0x18005ba9a
mov dword [rsp + 0x80], ecx
lea rcx, [rsp + 0x80]
mov dword [rsp + 0x84], eax
call fcn.180047700
mov eax, dword [rsp + 0x80]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov word [rbx + 0x1ce], ax
mov eax, dword [rsp + 0x84]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov word [rbx + 0x1d0], ax
mov rcx, rbx
call fcn.1800570c0
jmp case.0x18005b91b.33
movsx eax, word [rbx + 0x1ca]
mov dword [rsi], eax
movsx eax, word [rbx + 0x1cc]
mov dword [rsi + 4], eax
jmp case.0x18005b91b.33
movsx eax, word [rbx + 0x1ce]
mov dword [rsi], eax
movsx eax, word [rbx + 0x1d0]
mov dword [rsi + 4], eax
jmp case.0x18005b91b.33
mov eax, dword [rbx + 0x1ca]
mov rcx, rbx
mov dword [rbx + 0x1ce], eax
call fcn.1800570c0
jmp case.0x18005b91b.33
mov rdx, rsi
mov rcx, rbx
call fcn.180057d80
jmp case.0x18005b91b.33
movzx eax, word [rsi]
mov word [rbx + 0x1c0], ax
jmp case.0x18005b91b.33
movzx eax, word [rsi]
mov word [rbx + 0x1c2], ax
jmp case.0x18005b91b.33
movzx eax, word [rsi]
mov word [rbx + 0x1c4], ax
jmp case.0x18005b91b.33
mov ecx, dword [rsi]
test ecx, ecx
je 0x18005bb7c
cmp ecx, 1
je 0x18005bb56
mov edi, 1
cmp byte [rbx + 0x33d], 0
je 0x18005dc09
mov dword [rbx + 0x18], 0x86
jmp 0x18005dc09
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 0x18005bba0
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.0x18005b91b.33
mov ecx, dword [rsi]
test ecx, ecx
je 0x18005bbef
cmp ecx, 1
jne 0x18005bb38
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 0x18005bc16
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.0x18005b91b.33
mov ecx, dword [rsi]
test ecx, ecx
je 0x18005bc6e
cmp ecx, 1
jne 0x18005bb38
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 0x18005bc98
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.0x18005b91b.33
mov ecx, dword [rsi]
test ecx, ecx
je 0x18005bcea
cmp ecx, 1
jne 0x18005bb38
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 0x18005bd0e
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.0x18005b91b.33
mov eax, dword [rsi]
mov edi, 1
test eax, eax
jns 0x18005bda5
mov dword [rbx + 0x18], 0x84
jmp 0x18005dc09
mov ecx, 0xffff
cmp eax, ecx
cmovg eax, ecx
mov dword [rbx + 0x1d4], eax
jmp 0x18005dc09
mov edi, 1
lea rax, [0x180059710]
mov dword [rbx + 0x1dc], edi
mov qword [rbx + 0x348], rax
jmp 0x18005dc09
lea rax, [0x180059750]
mov dword [rbx + 0x1dc], r15d
mov qword [rbx + 0x348], rax
jmp case.0x18005b91b.33
mov eax, dword [rsi]
mov dword [rbx + 0x1d8], eax
jmp case.0x18005b91b.33
mov edi, 1
mov rcx, rbx
call fcn.1800597d0
cmp al, 1
je case.0x18005b91b.33
movzx ecx, byte [rbx + 0x220]
sub ecx, 0x58
je 0x18005be29
cmp ecx, 1
jne 0x18005be2b
dec edi
jmp 0x18005be2b
inc edi
test edi, edi
jne 0x18005be04
jmp case.0x18005b91b.33
mov r8d, dword [rsi]
mov rcx, r14
test r8d, r8d
jne 0x18005be56
test edx, edx
jne 0x18005be4f
mov dword [rbx + 0x18], 0x84
jmp case.0x18005b91b.33
lea rcx, [rbx + 0x228]
mov edx, dword [rbx + 0x218]
add edx, r8d
mov dword [rbx + 0x218], edx
js 0x18005be43
movsxd rax, dword [rbx + 0x280]
test eax, eax
jle 0x18005be8a
mov r14, rcx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x288]
mov rcx, qword [rax + rcx*8 - 8]
cmp edx, dword [rcx + 8]
jg 0x18005be43
mov byte [r14], 0
cmp dword [rsi], 0
jge case.0x18005b91b.33
inc dword [rbx + 0x3a8]
mov edi, 1
mov eax, dword [rbx + 0x3a8]
cmp eax, dword [rbx + 0x3ac]
jbe 0x18005dc09
mov dword [rbx + 0x18], 0x8b
jmp 0x18005dc09
mov eax, dword [rsi]
mov dword [rbx + 0x1e4], eax
jmp case.0x18005b91b.33
mov eax, dword [rsi]
mov dword [rbx + 0x1e8], eax
jmp case.0x18005b91b.33
mov edx, dword [rbx + 0x1a8]
mov ecx, dword [rsi]
call fcn.1800442f0
mov dword [rbx + 0x1ec], eax
jmp case.0x18005b91b.33
mov eax, dword [rsi]
mov dword [rsi + 4], eax
jmp case.0x18005b91b.33
mov dword [r11], r15d
jmp case.0x18005b91b.33
mov ecx, dword [rsi]
mov eax, dword [rsi + 4]
mov dword [rsi], eax
mov dword [rsi + 4], ecx
jmp case.0x18005b91b.33
mov eax, dword [rbx + 0x1c]
mov dword [rsi], eax
jmp case.0x18005b91b.33
mov eax, dword [rsi]
test eax, eax
jle 0x18005bf37
cmp eax, edx
jg 0x18005bf37
sub edx, eax
movsxd rax, edx
mov ecx, dword [r9 + rax*4]
mov dword [rsi], ecx
jmp case.0x18005b91b.33
cmp byte [rbx + 0x33d], 0
je 0x18005bf47
mov dword [rbx + 0x18], 0x86
mov ecx, r15d
mov dword [rsi], ecx
jmp case.0x18005b91b.33
mov r8d, dword [rsi]
test r8d, r8d
jle 0x18005bb38
cmp r8d, edx
jg 0x18005bb38
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.0x18005b91b.33
movzx ebp, word [rsi]
cmp bp, word [rbx + 0x84]
jae 0x18005bb38
movzx esi, word [rsi + 4]
cmp si, word [rbx + 0x44]
jae 0x18005bb38
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 + 0x350]
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 + 0x368]
neg edi
lea rdx, [rbx + 0x38]
mov r9d, edi
movzx r8d, si
mov rcx, rbx
call qword [rbx + 0x368]
jmp case.0x18005b91b.33
movzx ecx, word [rsi]
cmp cx, word [rbx + 0x44]
jae 0x18005bb38
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.0x18005b91b.33
mov r10d, dword [rbx + 0x278]
mov r8d, dword [rsi + 4]
inc r10d
cmp r8d, r10d
jae 0x18005c177
mov r9, qword [rbx + 0x260]
test r9, r9
je 0x18005c090
lea rcx, [r8 + r8*4]
lea rdx, [r9 + rcx*4]
jmp 0x18005c093
mov rdx, r15
mov eax, dword [rbx + 0x258]
cmp r10d, eax
jne 0x18005c0a4
cmp dword [rdx + 0xc], r8d
je 0x18005c0d5
mov rdx, r9
test r9, r9
je 0x18005c177
lea rcx, [rax + rax*4]
lea rax, [r9 + rcx*4]
cmp rdx, rax
jae 0x18005c0cf
nop dword [rax]
cmp dword [rdx + 0xc], r8d
je 0x18005c0d5
add rdx, 0x14
cmp rdx, rax
jb 0x18005c0c0
je 0x18005c177
cmp byte [rdx + 0x10], 0
je 0x18005c177
movsxd rax, dword [rbx + 0x280]
cmp eax, dword [rbx + 0x284]
jl 0x18005c0fa
mov dword [rbx + 0x18], 0x82
jmp case.0x18005b91b.33
cmp dword [rsi], 0
jle case.0x18005b91b.33
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x288]
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 + 0x280]
mov r8d, dword [rdx + 4]
mov edx, dword [rdx]
call fcn.180057a40
mov byte [rbx + 0x228], 0
mov edi, 1
mov eax, dword [rsi]
add dword [rbx + 0x3a0], eax
mov eax, dword [rbx + 0x3a0]
cmp eax, dword [rbx + 0x3a4]
jbe 0x18005dc09
mov dword [rbx + 0x18], 0x8b
jmp 0x18005dc09
mov dword [rbx + 0x18], 0x86
jmp case.0x18005b91b.33
mov r10d, dword [rbx + 0x278]
mov r8d, dword [rsi]
inc r10d
cmp r8d, r10d
jae 0x18005c177
mov r9, qword [rbx + 0x260]
test r9, r9
je 0x18005c177
mov eax, dword [rbx + 0x258]
lea rcx, [r8 + r8*4]
lea rdx, [r9 + rcx*4]
cmp r10d, eax
jne 0x18005c1ba
cmp dword [rdx + 0xc], r8d
je 0x18005c1e4
lea rcx, [rax + rax*4]
mov rdx, r9
lea rax, [r9 + rcx*4]
cmp r9, rax
jae 0x18005c1df
nop word [rax + rax]
cmp dword [rdx + 0xc], r8d
je 0x18005c1e4
add rdx, 0x14
cmp rdx, rax
jb 0x18005c1d0
cmp rdx, rax
je 0x18005c177
cmp byte [rdx + 0x10], 0
je 0x18005c177
movsxd rax, dword [rbx + 0x280]
mov edi, 1
cmp eax, dword [rbx + 0x284]
jl 0x18005c20a
mov dword [rbx + 0x18], 0x82
jmp 0x18005dc09
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x288]
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], edi
inc eax
mov dword [r8 + 4], eax
mov qword [r8 + 0x10], rdx
inc dword [rbx + 0x280]
mov r8d, dword [rdx + 4]
mov edx, dword [rdx]
call fcn.180057a40
mov byte [rbx + 0x228], 0
jmp 0x18005dc09
mov rdx, rsi
mov rcx, rbx
call fcn.180057730
jmp case.0x18005b91b.33
movsxd rcx, dword [rbx + 0x280]
test ecx, ecx
jg 0x18005c27d
mov dword [rbx + 0x18], 0x88
jmp case.0x18005b91b.33
lea eax, [rcx - 1]
mov dword [rbx + 0x280], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x288]
dec dword [rax + rcx*8 - 0x10]
lea rdx, [rax + rcx*8]
mov byte [r14], 0
cmp dword [rdx - 0x10], 0
jle 0x18005c2bb
inc dword [rbx + 0x280]
mov rax, qword [rdx - 8]
mov ecx, dword [rax + 4]
mov dword [rbx + 0x218], ecx
jmp case.0x18005b91b.33
mov r8d, dword [rdx - 0x14]
mov rcx, rbx
mov edx, dword [rdx - 0x18]
call fcn.180057a40
jmp case.0x18005b91b.33
movzx edi, word [rsi]
cmp di, word [rbx + 0x44]
jae 0x18005bb38
test r10b, 1
je 0x18005c326
mov rax, qword [rbx + 0x50]
mov rcx, rbx
mov r8d, dword [rax + rdi*8 + 4]
mov edx, dword [rax + rdi*8]
call qword [rbx + 0x350]
lea rcx, [fcn.180059660]
mov r8d, 3
mov esi, eax
mov rax, qword [rbx + 0x348]
cmp rax, rcx
mov edx, esi
mov rcx, rbx
jne 0x18005c320
call fcn.180059660
sub eax, esi
jmp 0x18005c329
call rax
sub eax, esi
jmp 0x18005c329
mov eax, r15d
lea rdx, [rbx + 0x38]
mov r9d, eax
movzx r8d, di
mov rcx, rbx
call qword [rbx + 0x368]
mov word [rbx + 0x1c0], di
mov word [rbx + 0x1c2], di
jmp case.0x18005b91b.33
mov rcx, rbx
call fcn.180058050
jmp case.0x18005b91b.33
mov rcx, rbx
call fcn.180058bb0
jmp case.0x18005b91b.33
mov rdx, rsi
mov rcx, rbx
call fcn.180058950
jmp case.0x18005b91b.33
mov rdx, rsi
mov rcx, rbx
call fcn.180058fa0
jmp case.0x18005b91b.33
mov rdx, rsi
mov rcx, rbx
call fcn.180058db0
jmp case.0x18005b91b.33
mov rcx, rbx
call fcn.180057ab0
jmp case.0x18005b91b.33
movzx ebp, word [rsi]
cmp bp, word [rbx + 0x84]
jae 0x18005bb38
movzx ecx, word [rbx + 0x1c0]
cmp cx, word [rbx + 0x44]
jae 0x18005bb38
cmp word [rbx + 0x1fe], 0
lea r14, [rbx + 0x78]
jne 0x18005c41d
mov rax, qword [rbx + 0x48]
lea rdi, [rbp*8]
mov edx, ecx
movzx r8d, bp
mov rcx, qword [rbx + 0x88]
mov rax, qword [rax + rdx*8]
mov rdx, r14
mov qword [rdi + rcx], rax
mov rcx, rbx
mov r9d, dword [rsi + 4]
call qword [rbx + 0x370]
mov rax, qword [rbx + 0x88]
mov rcx, qword [rbx + 0x90]
mov rax, qword [rdi + rax]
mov qword [rdi + rcx], 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 + rbp*8 + 4]
mov edx, dword [rax + rbp*8]
sub r8d, dword [r9 + 4]
sub edx, dword [r9]
call qword [rbx + 0x350]
mov r9d, dword [rsi + 4]
movzx r8d, bp
sub r9d, eax
mov rdx, r14
mov rcx, rbx
call qword [rbx + 0x368]
movzx eax, word [rbx + 0x1c0]
mov edi, 1
mov word [rbx + 0x1c2], ax
mov word [rbx + 0x1c4], bp
test byte [rbx + 0x220], dil
je 0x18005dc09
mov word [rbx + 0x1c0], bp
jmp 0x18005dc09
lea rsi, [rbx + 0x1d4]
mov rcx, r11
mov edx, dword [rsi]
cmp dword [rbx + 0x1c], edx
jl 0x18005c567
movzx eax, word [rbx + 0x44]
cmp word [rbx + 0x1c0], ax
jae 0x18005c563
mov rax, rsi
test edx, edx
jle 0x18005c57d
nop word [rax + rax]
movsxd rcx, dword [rbx + 0x30]
lea eax, [rcx - 1]
mov dword [rbx + 0x30], eax
mov rax, qword [rbx + 0x28]
movzx edi, word [rax + rcx*4 - 4]
cmp di, word [rbx + 0x84]
jb 0x18005c4fb
cmp byte [rbx + 0x33d], 0
jne 0x18005c177
jmp 0x18005c53f
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 + 0x350]
lea rdx, [rbx + 0x78]
movzx r8d, di
neg eax
mov rcx, rbx
mov r9d, eax
call qword [rbx + 0x368]
dec dword [rsi]
cmp dword [rsi], 0
jg 0x18005c4d0
lea rax, [rbx + 0x1d4]
mov edi, 1
mov dword [rax], edi
lea r11, [rbx + 0x34]
mov eax, dword [rbx + 0x30]
mov dword [r11], eax
jmp 0x18005dc09
lea rcx, [rbx + 0x34]
cmp byte [rbx + 0x33d], 0
mov rax, rsi
je 0x18005c57d
mov dword [rbx + 0x18], 0x86
mov r11, rcx
mov edi, 1
mov dword [rax], edi
mov eax, dword [rbx + 0x30]
mov dword [r11], eax
jmp 0x18005dc09
lea rax, [0x1800596d0]
mov dword [rbx + 0x1dc], 2
mov qword [rbx + 0x348], rax
jmp case.0x18005b91b.33
movzx ebp, word [rsi]
cmp bp, word [rbx + 0x44]
jae 0x18005c6c0
mov edx, dword [rsi + 4]
cmp edx, dword [rbx + 0x22c]
jae 0x18005c6c0
mov rax, qword [rbx + 0x380]
lea rcx, [0x180059560]
cmp rax, rcx
jne 0x18005c5e7
mov rax, qword [rbx + 0x230]
mov esi, dword [rax + rdx*4]
jmp 0x18005c5ee
mov rcx, rbx
call rax
mov esi, eax
cmp word [rbx + 0x1fc], 0
jne 0x18005c63b
movsx edx, word [rbx + 0x1ce]
lea rdi, [rbp*8]
mov ecx, esi
call fcn.18005ae40
mov rcx, qword [rbx + 0x48]
mov dword [rdi + rcx], eax
mov ecx, esi
movsx edx, word [rbx + 0x1d0]
call fcn.18005ae40
mov rcx, qword [rbx + 0x48]
mov dword [rdi + rcx + 4], eax
mov rax, qword [rbx + 0x48]
mov rcx, qword [rbx + 0x50]
mov rax, qword [rdi + rax]
mov qword [rdi + rcx], 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 + 0x350]
test byte [rbx + 0x220], 1
mov edi, eax
je 0x18005c697
mov ecx, esi
sub ecx, eax
jns 0x18005c665
mov ecx, eax
sub ecx, esi
cmp ecx, dword [rbx + 0x1e4]
mov r8d, 3
mov rax, qword [rbx + 0x348]
lea rcx, [fcn.180059660]
cmovg esi, edi
cmp rax, rcx
mov edx, esi
mov rcx, rbx
jne 0x18005c693
call fcn.180059660
jmp 0x18005c695
call rax
mov esi, eax
sub esi, edi
lea rdx, [rbx + 0x38]
mov r9d, esi
movzx r8d, bp
mov rcx, rbx
call qword [rbx + 0x368]
mov word [rbx + 0x1c0], bp
mov word [rbx + 0x1c2], bp
jmp case.0x18005b91b.33
cmp byte [rbx + 0x33d], 0
je 0x18005c6d0
mov dword [rbx + 0x18], 0x86
mov word [rbx + 0x1c0], bp
mov word [rbx + 0x1c2], bp
jmp case.0x18005b91b.33
sub r8d, dword [rbx + 0x1c]
mov edi, 1
movsxd rcx, dword [rbx + 0x218]
inc r8d
mov rax, qword [rbx + 0x210]
movzx r10d, byte [rcx + rax + 1]
cmp r10d, r8d
jb 0x18005c714
mov dword [rbx + 0x18], 0x82
jmp 0x18005dc09
movzx r9d, di
cmp di, r10w
ja 0x18005c74f
nop
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, r10w
jbe 0x18005c720
lea r11, [rbx + 0x34]
movzx eax, r10w
add dword [r11], eax
jmp 0x18005dc09
sub r8d, dword [rbx + 0x1c]
movsxd rdx, dword [rbx + 0x218]
inc r8d
mov rax, qword [rbx + 0x210]
movzx r10d, byte [rdx + rax + 1]
cmp r10d, r8d
jb 0x18005c787
mov dword [rbx + 0x18], 0x82
jmp case.0x18005b91b.33
lea eax, [rdx + 2]
mov dword [rbx + 0x218], eax
test r10b, r10b
je 0x18005c7ea
mov r9, r10
mov r15d, 0x100
nop
movsxd rcx, dword [rbx + 0x218]
lea rsi, [rsi + 4]
mov r8, rcx
lea eax, [rcx + 2]
mov dword [rbx + 0x218], eax
mov rax, qword [rbx + 0x210]
movzx edx, byte [rcx + rax]
movzx eax, byte [r8 + rax + 1]
movsx ecx, r15w
imul edx, ecx
add ax, dx
cwde
mov dword [rsi - 4], eax
sub r9, 1
jne 0x18005c7a0
xor r15d, r15d
lea r14, [rbx + 0x228]
lea r11, [rbx + 0x34]
add dword [r11], r10d
mov byte [r14], 0
jmp case.0x18005b91b.33
mov edi, dword [rsi]
movzx r9d, word [rbx + 0x2c8]
cmp edi, r9d
jae 0x18005bb38
cmp dword [rbx + 0x204], 3
jne 0x18005c88e
mov rax, qword [rbx + 0x2e0]
cmp qword [rbx + 0x2d0], rax
je 0x18005c88e
movzx r8d, word [rbx + 0x2d8]
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x28], rcx
mov edx, 4
mov rcx, qword [rbx + 0x10]
mov qword [rsp + 0x20], rax
call fcn.180049800
mov ecx, dword [rsp + 0x70]
mov qword [rbx + 0x2e0], rax
mov dword [rbx + 0x18], ecx
test ecx, ecx
jne case.0x18005b91b.33
movzx r8d, word [rbx + 0x2c8]
mov rcx, rax
mov rdx, qword [rbx + 0x2d0]
mov word [rbx + 0x2d8], r8w
shl r8, 2
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rbx + 0x2e0]
mov qword [rbx + 0x2d0], rax
mov rcx, qword [rbx + 0x2d0]
mov eax, dword [rsi + 4]
mov dword [rcx + rdi*4], eax
jmp case.0x18005b91b.33
mov ecx, dword [rsi]
movzx eax, word [rbx + 0x2c8]
cmp ecx, eax
jb 0x18005c8c7
cmp byte [rbx + 0x33d], 0
mov edi, 1
jne 0x18005bb4a
mov dword [rsi], r15d
jmp 0x18005dc09
mov rax, qword [rbx + 0x2d0]
mov ecx, dword [rax + rcx*4]
mov dword [rsi], ecx
jmp case.0x18005b91b.33
mov edi, dword [rsi]
cmp edi, dword [rbx + 0x22c]
jae 0x18005bb38
mov rax, qword [rbx + 0x388]
lea rcx, [0x18005ea40]
mov esi, dword [rsi + 4]
cmp rax, rcx
mov rcx, rbx
jne 0x18005c91d
call fcn.180059360
cmp dword [rbx + 0x18], 0
jne case.0x18005b91b.33
mov rax, qword [rbx + 0x230]
mov dword [rax + rdi*4], esi
jmp case.0x18005b91b.33
mov r8d, esi
mov edx, edi
call rax
jmp case.0x18005b91b.33
mov edx, dword [rsi]
cmp edx, dword [rbx + 0x22c]
jae 0x18005c8ad
mov rax, qword [rbx + 0x380]
lea rcx, [0x180059560]
cmp rax, rcx
jne 0x18005c95b
mov rax, qword [rbx + 0x230]
mov eax, dword [rax + rdx*4]
mov dword [rsi], eax
jmp case.0x18005b91b.33
mov rcx, rbx
call rax
mov dword [rsi], eax
jmp case.0x18005b91b.33
mov ecx, dword [rsi]
movzx eax, word [rbx + 0xc4]
cmp ecx, eax
jb 0x18005c98e
cmp byte [rbx + 0x33d], 0
je 0x18005c984
mov dword [rbx + 0x18], 0x86
mov eax, r15d
mov dword [rsi], eax
jmp case.0x18005b91b.33
lea rdx, [rcx*8]
mov rcx, rbx
test r10b, 1
je 0x18005c9bb
mov rax, qword [rbx + 0xc8]
mov r8d, dword [rax + rdx + 4]
mov edx, dword [rax + rdx]
call qword [rbx + 0x358]
mov dword [rsi], eax
jmp case.0x18005b91b.33
mov rax, qword [rbx + 0xd0]
mov r8d, dword [rax + rdx + 4]
mov edx, dword [rax + rdx]
call qword [rbx + 0x350]
mov dword [rsi], eax
jmp case.0x18005b91b.33
movzx edi, word [rsi]
cmp di, word [rbx + 0xc4]
jae 0x18005bb38
mov rax, qword [rbx + 0xd0]
lea r14, [rdi*8]
mov rcx, rbx
mov r8d, dword [rax + r14 + 4]
mov edx, dword [rax + r14]
call qword [rbx + 0x350]
mov r9d, dword [rsi + 4]
lea rdx, [rbx + 0xb8]
sub r9d, eax
movzx r8d, di
mov rcx, rbx
call qword [rbx + 0x368]
cmp word [rbx + 0x200], 0
mov edi, 1
jne 0x18005dc09
mov rax, qword [rbx + 0xd0]
mov rcx, qword [rbx + 0xc8]
mov rax, qword [r14 + rax]
mov qword [r14 + rcx], rax
jmp 0x18005dc09
movzx edx, word [rsi]
movzx r8d, word [rsi + 4]
cmp dx, word [rbx + 0x44]
jae 0x18005cb72
cmp r8w, word [rbx + 0x84]
jae 0x18005cb72
test r10b, 1
je 0x18005caa5
mov rax, qword [rbx + 0x90]
mov rcx, rbx
lea r9, [rax + r8*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 + 0x350]
mov dword [rsi], eax
jmp case.0x18005b91b.33
cmp word [rbx + 0x1fc], 0
je 0x18005cb41
cmp word [rbx + 0x1fe], 0
je 0x18005cb41
mov rax, qword [rbx + 0x58]
lea r14, [rax + rdx*8]
mov rax, qword [rbx + 0x98]
mov edx, dword [rbx + 0x180]
lea rbp, [rax + r8*8]
cmp edx, dword [rbx + 0x184]
jne 0x18005cb0d
mov r8d, dword [r14 + 4]
mov rcx, rbx
mov edx, dword [r14]
sub r8d, dword [rbp + 4]
sub edx, dword [rbp]
call qword [rbx + 0x358]
mov edx, dword [rbx + 0x180]
mov ecx, eax
call fcn.1800442f0
mov dword [rsi], eax
jmp case.0x18005b91b.33
mov ecx, dword [r14]
sub ecx, dword [rbp]
call fcn.1800442f0
mov ecx, dword [r14 + 4]
mov edi, eax
sub ecx, dword [rbp + 4]
mov edx, dword [rbx + 0x184]
call fcn.1800442f0
mov r8d, eax
mov edx, edi
mov rcx, rbx
call qword [rbx + 0x358]
mov dword [rsi], eax
jmp case.0x18005b91b.33
mov rax, qword [rbx + 0x48]
mov rcx, r8
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 + rcx*8 + 4]
sub edx, dword [rax + rcx*8]
mov rcx, rbx
call qword [rbx + 0x358]
mov dword [rsi], eax
jmp case.0x18005b91b.33
cmp byte [rbx + 0x33d], 0
je 0x18005cb82
mov dword [rbx + 0x18], 0x86
mov eax, r15d
mov dword [rsi], eax
jmp case.0x18005b91b.33
mov rax, qword [rbx + 0x378]
lea rcx, [0x180057210]
cmp rax, rcx
jne 0x18005cbad
movzx eax, word [rbx + 0x1a0]
mov dword [rsi], eax
jmp case.0x18005b91b.33
mov rcx, rbx
call rax
mov dword [rsi], eax
jmp case.0x18005b91b.33
mov rax, qword [rbx]
mov rcx, qword [rax + 0x90]
cmp dword [rcx + 0x78], 0x23
jne 0x18005cbf6
mov rax, qword [rbx + 0x378]
lea rcx, [0x180057210]
cmp rax, rcx
jne 0x18005cbea
movzx eax, word [rbx + 0x1a0]
mov dword [rsi], eax
jmp case.0x18005b91b.33
mov rcx, rbx
call rax
mov dword [rsi], eax
jmp case.0x18005b91b.33
mov eax, dword [rbx + 0x178]
mov dword [rsi], eax
jmp case.0x18005b91b.33
mov byte [rbx + 0x1e0], 1
jmp case.0x18005b91b.33
mov byte [rbx + 0x1e0], 0
jmp case.0x18005b91b.33
mov dword [rbx + 0x18], 0x87
jmp case.0x18005b91b.33
mov eax, dword [rsi + 4]
mov ecx, r15d
cmp dword [rsi], eax
setl cl
mov dword [rsi], ecx
jmp case.0x18005b91b.33
mov eax, dword [rsi + 4]
mov ecx, r15d
cmp dword [rsi], eax
setle cl
mov dword [rsi], ecx
jmp case.0x18005b91b.33
mov eax, dword [rsi + 4]
mov ecx, r15d
cmp dword [rsi], eax
setg cl
mov dword [rsi], ecx
jmp case.0x18005b91b.33
mov eax, dword [rsi + 4]
mov ecx, r15d
cmp dword [rsi], eax
setge cl
mov dword [rsi], ecx
jmp case.0x18005b91b.33
mov eax, dword [rsi + 4]
mov ecx, r15d
cmp dword [rsi], eax
sete cl
mov dword [rsi], ecx
jmp case.0x18005b91b.33
mov eax, dword [rsi + 4]
mov ecx, r15d
cmp dword [rsi], eax
setne cl
mov dword [rsi], ecx
jmp case.0x18005b91b.33
mov r9, qword [rbx + 0x348]
lea rcx, [0x1800596d0]
mov eax, dword [rsi]
cmp r9, rcx
jne 0x18005ccf6
mov edx, dword [rbx + 0x1b8]
test eax, eax
js 0x18005ccd3
add edx, 0x10
mov ecx, r15d
add eax, edx
mov edx, r15d
and eax, 0xffffffe0
cmovge edx, eax
and dl, 0x7f
cmp dl, 0x40
sete cl
mov dword [rsi], ecx
jmp case.0x18005b91b.33
sub edx, eax
mov ecx, r15d
add edx, 0x10
and edx, 0xffffffe0
neg edx
test edx, edx
cmovg edx, r15d
and dl, 0x7f
cmp dl, 0x40
sete cl
mov dword [rsi], ecx
jmp case.0x18005b91b.33
mov r8d, 3
mov edx, eax
mov rcx, rbx
call r9
mov ecx, r15d
mov edx, eax
and dl, 0x7f
cmp dl, 0x40
sete cl
mov dword [rsi], ecx
jmp case.0x18005b91b.33
mov rax, qword [rbx + 0x348]
lea rcx, [0x1800596d0]
mov edx, dword [rsi]
cmp rax, rcx
jne 0x18005cd76
mov ecx, dword [rbx + 0x1b8]
test edx, edx
js 0x18005cd56
lea eax, [rcx + 0x10]
mov ecx, r15d
add eax, edx
and eax, 0xffffffe0
cmovge ecx, eax
mov eax, r15d
test cl, 0x7f
sete al
mov dword [rsi], eax
jmp case.0x18005b91b.33
sub ecx, edx
mov eax, r15d
add ecx, 0x10
and ecx, 0xffffffe0
neg ecx
test ecx, ecx
cmovg ecx, r15d
test cl, 0x7f
sete al
mov dword [rsi], eax
jmp case.0x18005b91b.33
mov r8d, 3
mov rcx, rbx
call rax
mov ecx, eax
mov eax, r15d
test cl, 0x7f
sete al
mov dword [rsi], eax
jmp case.0x18005b91b.33
cmp dword [rsi], 0
mov edi, 1
jne 0x18005dc09
xor sil, sil
mov rcx, rbx
call fcn.1800597d0
cmp al, 1
je case.0x18005b91b.33
movzx ecx, byte [rbx + 0x220]
sub ecx, 0x1b
je 0x18005cdd2
sub ecx, 0x3d
je 0x18005cdce
cmp ecx, 1
jne 0x18005cdd9
sub edi, ecx
jmp 0x18005cdd5
inc edi
jmp 0x18005cdd9
cmp edi, 1
sete sil
test sil, sil
je 0x18005cda4
jmp case.0x18005b91b.33
cmp dword [rsi], 0
je 0x18005cdfc
cmp dword [rsi + 4], 0
je 0x18005cdfc
mov edi, 1
mov eax, edi
mov dword [rsi], eax
jmp 0x18005dc09
mov eax, r15d
mov edi, 1
mov dword [rsi], eax
jmp 0x18005dc09
cmp dword [rsi], 0
jne 0x18005ce25
cmp dword [rsi + 4], 0
jne 0x18005ce25
mov eax, r15d
mov edi, 1
mov dword [rsi], eax
jmp 0x18005dc09
mov edi, 1
mov eax, edi
mov dword [rsi], eax
jmp 0x18005dc09
cmp dword [rsi], 0
mov eax, r15d
sete al
mov dword [rsi], eax
jmp case.0x18005b91b.33
mov rax, qword [rbx + 0x378]
lea rcx, [0x180057210]
cmp rax, rcx
jne 0x18005ce5f
movzx ebp, word [rbx + 0x1a0]
jmp 0x18005ce66
mov rcx, rbx
call rax
mov ebp, eax
mov esi, dword [rsi]
mov edi, 1
cmp esi, edi
jb 0x18005cf9e
lea rcx, [rbx + 0x33d]
nop dword [rax]
movsxd rdx, dword [rbx + 0x30]
cmp edx, 2
jl 0x18005cf91
lea eax, [rdx - 2]
mov dword [rbx + 0x30], eax
mov rax, qword [rbx + 0x28]
movzx r10d, word [rax + rdx*4 - 4]
mov r8d, dword [rax + rdx*4 - 8]
cmp r10w, word [rbx + 0x44]
jae 0x18005cf69
movzx edx, byte [rbx + 0x220]
mov ecx, r8d
shr ecx, 4
and ecx, 0xf
sub edx, 0x71
je 0x18005cecc
cmp edx, 1
jne 0x18005cecf
add ecx, 0x20
jmp 0x18005cecf
add ecx, 0x10
movzx eax, word [rbx + 0x1f0]
add eax, ecx
cmp ebp, eax
jne 0x18005cf60
movzx eax, word [rbx + 0x1f2]
and r8d, 0xf
mov ecx, 6
sub ecx, eax
mov rax, qword [rbx]
cmp r8d, 8
sbb r9d, r9d
add r9d, 0xfffffff9
add r9d, r8d
shl r9d, cl
mov rcx, qword [rax + 0x90]
cmp dword [rcx + 0x78], 0x28
jne 0x18005cf4f
cmp byte [rbx + 0x39b], 0
je 0x18005cf4f
cmp byte [rbx + 0x39c], 0
je 0x18005cf2e
cmp byte [rbx + 0x39d], 0
jne 0x18005cf60
cmp byte [rbx + 0x33c], 0
je 0x18005cf41
cmp word [rbx + 0x1d0], 0
jne 0x18005cf4f
mov rax, qword [rbx + 0x60]
movzx ecx, r10w
test byte [rcx + rax], 0x10
je 0x18005cf60
movzx r8d, r10w
lea rdx, [rbx + 0x38]
mov rcx, rbx
call qword [rbx + 0x368]
lea rcx, [rbx + 0x33d]
jmp 0x18005cf7c
lea rcx, [rbx + 0x33d]
cmp byte [rcx], 0
je 0x18005cf7c
mov dword [rbx + 0x18], 0x86
inc edi
cmp edi, esi
jbe 0x18005ce80
mov eax, dword [rbx + 0x30]
mov dword [rbx + 0x34], eax
jmp case.0x18005b91b.33
cmp byte [rcx], 0
je 0x18005cf9a
mov dword [rbx + 0x18], r12d
mov dword [rbx + 0x30], r15d
mov eax, dword [rbx + 0x30]
mov dword [rbx + 0x34], eax
jmp case.0x18005b91b.33
movzx eax, word [rsi]
mov word [rbx + 0x1f0], ax
jmp case.0x18005b91b.33
mov eax, dword [rsi]
mov edi, 1
cmp eax, 6
jbe 0x18005cfd0
mov dword [rbx + 0x18], 0x84
jmp 0x18005dc09
mov word [rbx + 0x1f2], ax
jmp 0x18005dc09
mov eax, dword [rsi + 4]
add dword [rsi], eax
jmp case.0x18005b91b.33
mov eax, dword [rsi + 4]
sub dword [rsi], eax
jmp case.0x18005b91b.33
mov r8d, dword [rsi + 4]
test r8d, r8d
jne 0x18005d005
mov dword [rbx + 0x18], 0x85
jmp case.0x18005b91b.33
mov ecx, dword [rsi]
mov edx, 0x40
call fcn.180044270
mov dword [rsi], eax
jmp case.0x18005b91b.33
mov edx, dword [rsi + 4]
mov r8d, 0x40
mov ecx, dword [rsi]
call fcn.1800441e0
mov dword [rsi], eax
jmp case.0x18005b91b.33
mov eax, dword [rsi]
mov edi, 1
test eax, eax
jns 0x18005dc09
neg eax
mov dword [rsi], eax
jmp 0x18005dc09
mov eax, dword [rsi]
neg eax
mov dword [rsi], eax
jmp case.0x18005b91b.33
and dword [rsi], 0xffffffc0
jmp case.0x18005b91b.33
mov eax, dword [rsi]
add eax, 0x3f
and eax, 0xffffffc0
mov dword [rsi], eax
jmp case.0x18005b91b.33
mov rax, qword [rbx + 0x348]
lea rcx, [fcn.180059660]
mov edx, dword [rsi]
and edi, 3
cmp rax, rcx
jne 0x18005d0e7
mov eax, dword [rbx + 0x2f0]
mov r8d, dword [rbx + 0x2ec]
sub eax, r8d
mov ecx, dword [rbx + rdi*4 + 0x1ac]
mov r9d, dword [rbx + 0x2e8]
test edx, edx
js 0x18005d0c2
add eax, edx
add ecx, eax
mov eax, ecx
cdq
idiv r9d
mov eax, r8d
sub eax, edx
add ecx, eax
cmovns r8d, ecx
mov eax, r8d
mov dword [rsi], eax
jmp case.0x18005b91b.33
sub eax, edx
add ecx, eax
mov eax, ecx
cdq
idiv r9d
mov eax, edx
sub eax, r8d
sub eax, ecx
test eax, eax
jle 0x18005c960
mov eax, r8d
neg eax
mov dword [rsi], eax
jmp case.0x18005b91b.33
mov r8d, edi
mov rcx, rbx
call rax
mov dword [rsi], eax
jmp case.0x18005b91b.33
mov ecx, dword [rsi]
and r10d, 3
mov eax, dword [rbx + r10*4 + 0x1ac]
test ecx, ecx
js 0x18005d117
add eax, ecx
mov ecx, r15d
cmovns ecx, eax
mov dword [rsi], ecx
jmp case.0x18005b91b.33
sub ecx, eax
test ecx, ecx
cmovg ecx, r15d
mov dword [rsi], ecx
jmp case.0x18005b91b.33
mov edi, dword [rsi]
cmp edi, dword [rbx + 0x22c]
jae 0x18005bb38
mov edx, dword [rbx + 0x1a8]
mov ecx, dword [rsi + 4]
call fcn.1800442f0
mov rcx, qword [rbx + 0x230]
mov dword [rcx + rdi*4], eax
jmp case.0x18005b91b.33
mov rdx, rsi
mov rcx, rbx
call fcn.1800575c0
jmp case.0x18005b91b.33
mov rax, qword [rbx + 0x378]
lea rcx, [0x180057210]
cmp rax, rcx
jne 0x18005d17e
movzx r15d, word [rbx + 0x1a0]
jmp 0x18005d186
mov rcx, rbx
call rax
mov r15d, eax
mov r14d, dword [rsi]
mov edi, 1
mov ebp, edi
cmp r14d, edi
jb 0x18005d278
nop dword [rax]
movsxd rcx, dword [rbx + 0x30]
cmp ecx, 2
jl 0x18005d286
lea eax, [rcx - 2]
mov dword [rbx + 0x30], eax
mov rax, qword [rbx + 0x28]
mov esi, dword [rax + rcx*4 - 4]
mov r8d, dword [rax + rcx*4 - 8]
cmp esi, dword [rbx + 0x22c]
jb 0x18005d1e4
cmp byte [rbx + 0x33d], 0
je 0x18005d268
mov dword [rbx + 0x18], 0x86
xor r15d, r15d
jmp case.0x18005b91b.33
movzx edx, byte [rbx + 0x220]
mov ecx, r8d
shr ecx, 4
and ecx, 0xf
sub edx, 0x74
je 0x18005d203
cmp edx, 1
jne 0x18005d206
add ecx, 0x20
jmp 0x18005d206
add ecx, 0x10
movzx eax, word [rbx + 0x1f0]
add eax, ecx
cmp r15d, eax
jne 0x18005d268
movzx eax, word [rbx + 0x1f2]
and r8d, 0xf
mov ecx, 6
sub ecx, eax
mov rax, qword [rbx + 0x390]
cmp r8d, 8
sbb edi, edi
add edi, 0xfffffff9
add edi, r8d
shl edi, cl
lea rcx, [0x180059400]
cmp rax, rcx
mov rcx, rbx
jne 0x18005d261
call fcn.180059360
cmp dword [rbx + 0x18], 0
jne 0x18005d268
mov rax, qword [rbx + 0x230]
add dword [rax + rsi*4], edi
jmp 0x18005d268
mov r8d, edi
mov edx, esi
call rax
inc ebp
cmp ebp, r14d
jbe 0x18005d1a0
mov edi, 1
xor r15d, r15d
mov eax, dword [rbx + 0x30]
mov dword [rbx + 0x34], eax
jmp 0x18005dc09
cmp byte [rbx + 0x33d], 0
je 0x18005d293
mov dword [rbx + 0x18], r12d
xor r15d, r15d
mov edi, 1
mov eax, r15d
mov dword [rbx + 0x30], r15d
mov dword [rbx + 0x34], eax
jmp 0x18005dc09
mov r8d, dword [rsi]
mov ecx, r8d
and ecx, 0xc0
je 0x18005d2df
sub ecx, 0x40
je 0x18005d2c7
sub ecx, 0x40
je 0x18005d2d3
cmp ecx, 0x40
jne 0x18005d2e9
mov dword [rbx + 0x2e8], 0x4000
jmp 0x18005d2e9
mov dword [rbx + 0x2e8], 0x8000
jmp 0x18005d2e9
mov dword [rbx + 0x2e8], 0x2000
mov eax, r8d
and eax, 0x30
je 0x18005d344
cmp eax, 0x10
je 0x18005d32d
cmp eax, 0x20
je 0x18005d31a
cmp eax, 0x30
jne 0x18005d34b
mov eax, dword [rbx + 0x2e8]
lea eax, [rax + rax*2]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [rbx + 0x2ec], eax
jmp 0x18005d34b
mov eax, dword [rbx + 0x2e8]
cdq
sub eax, edx
sar eax, 1
mov dword [rbx + 0x2ec], eax
jmp 0x18005d34b
mov eax, dword [rbx + 0x2e8]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [rbx + 0x2ec], eax
jmp 0x18005d34b
mov dword [rbx + 0x2ec], r15d
mov ecx, dword [rbx + 0x2e8]
and r8d, 0xf
jne 0x18005d35c
lea eax, [rcx - 1]
jmp 0x18005d36c
lea eax, [r8 - 4]
imul eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
sar ecx, 8
mov dword [rbx + 0x2e8], ecx
sar dword [rbx + 0x2ec], 8
sar eax, 8
mov dword [rbx + 0x2f0], eax
lea rax, [0x180059600]
mov qword [rbx + 0x348], rax
mov dword [rbx + 0x1dc], 6
jmp case.0x18005b91b.33
mov r8d, dword [rsi]
mov ecx, r8d
and ecx, 0xc0
je 0x18005d3d7
sub ecx, 0x40
je 0x18005d3bf
sub ecx, 0x40
je 0x18005d3cb
cmp ecx, 0x40
jne 0x18005d3e1
mov dword [rbx + 0x2e8], 0x2d41
jmp 0x18005d3e1
mov dword [rbx + 0x2e8], 0x5a82
jmp 0x18005d3e1
mov dword [rbx + 0x2e8], 0x16a0
mov eax, r8d
and eax, 0x30
je 0x18005d43c
cmp eax, 0x10
je 0x18005d425
cmp eax, 0x20
je 0x18005d412
cmp eax, 0x30
jne 0x18005d443
mov eax, dword [rbx + 0x2e8]
lea eax, [rax + rax*2]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [rbx + 0x2ec], eax
jmp 0x18005d443
mov eax, dword [rbx + 0x2e8]
cdq
sub eax, edx
sar eax, 1
mov dword [rbx + 0x2ec], eax
jmp 0x18005d443
mov eax, dword [rbx + 0x2e8]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [rbx + 0x2ec], eax
jmp 0x18005d443
mov dword [rbx + 0x2ec], r15d
mov ecx, dword [rbx + 0x2e8]
and r8d, 0xf
jne 0x18005d454
lea eax, [rcx - 1]
jmp 0x18005d464
lea eax, [r8 - 4]
imul eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
sar ecx, 8
mov dword [rbx + 0x2e8], ecx
sar dword [rbx + 0x2ec], 8
sar eax, 8
mov dword [rbx + 0x2f0], eax
lea rax, [fcn.180059660]
mov qword [rbx + 0x348], rax
mov dword [rbx + 0x1dc], 7
jmp case.0x18005b91b.33
cmp dword [rsi + 4], 0
je case.0x18005b91b.33
mov ecx, dword [rsi]
test ecx, ecx
jne 0x18005d4c1
test edx, edx
jne 0x18005d4ba
mov dword [rbx + 0x18], 0x84
jmp case.0x18005b91b.33
lea r14, [rbx + 0x228]
mov edx, dword [rbx + 0x218]
add edx, ecx
mov dword [rbx + 0x218], edx
js 0x18005be43
movsxd rax, dword [rbx + 0x280]
test eax, eax
jle 0x18005be8a
jmp 0x18005be75
cmp dword [rsi + 4], 0
jne case.0x18005b91b.33
jmp 0x18005d4a4
lea rax, [0x1800595d0]
mov dword [rbx + 0x1dc], 5
mov qword [rbx + 0x348], rax
jmp case.0x18005b91b.33
lea rax, [0x180059790]
mov dword [rbx + 0x1dc], 4
mov qword [rbx + 0x348], rax
jmp case.0x18005b91b.33
lea rax, [0x1800595a0]
mov dword [rbx + 0x1dc], 3
mov qword [rbx + 0x348], rax
jmp case.0x18005b91b.33
mov rax, qword [rbx]
mov rcx, qword [rax + 0x90]
cmp dword [rcx + 0x78], 0x28
jne 0x18005d579
cmp byte [rbx + 0x39b], 0
je 0x18005d579
cmp byte [rbx + 0x39c], 0
je 0x18005d579
cmp byte [rbx + 0x39d], 0
mov ecx, edx
jne 0x18005d593
mov eax, dword [rbx + 0x1d4]
cmp dword [rbx + 0x1c], eax
jge 0x18005d5a6
cmp byte [rbx + 0x33d], 0
je 0x18005d591
mov dword [rbx + 0x18], r12d
mov ecx, edx
mov edi, 1
mov dword [rbx + 0x34], ecx
mov dword [rbx + 0x1d4], edi
jmp 0x18005dc09
mov ecx, edx
test eax, eax
jle 0x18005d593
nop dword [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 0x18005d5d7
cmp byte [rbx + 0x33d], 0
jne 0x18005c177
jmp 0x18005d5e9
mov rax, qword [rbx + 0x120]
xor byte [rax + rdx], 1
mov ecx, dword [rbx + 0x30]
mov r9, qword [rbx + 0x28]
dec dword [rbx + 0x1d4]
cmp dword [rbx + 0x1d4], 0
jle 0x18005d593
mov edx, ecx
jmp 0x18005d5b0
mov rax, qword [rbx]
mov rcx, qword [rax + 0x90]
cmp dword [rcx + 0x78], 0x28
jne 0x18005d62b
cmp byte [rbx + 0x39b], 0
je 0x18005d62b
cmp byte [rbx + 0x39c], 0
je 0x18005d62b
cmp byte [rbx + 0x39d], 0
jne case.0x18005b91b.33
movzx r8d, word [rsi + 4]
movzx eax, word [rbx + 0x104]
cmp r8w, ax
jae 0x18005bb38
movzx edx, word [rsi]
cmp dx, ax
jae 0x18005bb38
cmp dx, r8w
ja case.0x18005b91b.33
nop word [rax + rax]
mov rax, qword [rbx + 0x120]
movzx ecx, dx
inc dx
or byte [rcx + rax], 1
cmp dx, r8w
jbe 0x18005d660
jmp case.0x18005b91b.33
mov rax, qword [rbx]
mov rcx, qword [rax + 0x90]
cmp dword [rcx + 0x78], 0x28
jne 0x18005d6ab
cmp byte [rbx + 0x39b], 0
je 0x18005d6ab
cmp byte [rbx + 0x39c], 0
je 0x18005d6ab
cmp byte [rbx + 0x39d], 0
jne case.0x18005b91b.33
movzx r8d, word [rsi + 4]
movzx eax, word [rbx + 0x104]
cmp r8w, ax
jae 0x18005bb38
movzx edx, word [rsi]
cmp dx, ax
jae 0x18005bb38
cmp dx, r8w
ja case.0x18005b91b.33
nop word [rax + rax]
mov rax, qword [rbx + 0x120]
movzx ecx, dx
inc dx
and byte [rcx + rax], 0xfe
cmp dx, r8w
jbe 0x18005d6e0
jmp case.0x18005b91b.33
mov eax, dword [rsi]
mov edx, 0xff
movzx ecx, al
cmp ecx, edx
jne 0x18005d716
mov byte [rbx + 0x1f5], 1
jmp case.0x18005b91b.33
test al, al
je 0x18005d7b1
bt eax, 8
jae 0x18005d736
movzx eax, word [rbx + 0x1a0]
cmp eax, ecx
ja 0x18005d736
mov byte [rbx + 0x1f5], 1
test dword [rsi], 0x200
je 0x18005d74e
cmp byte [rbx + 0x1bd], 0
je 0x18005d74e
mov byte [rbx + 0x1f5], 1
test dword [rsi], 0x400
je 0x18005d766
cmp byte [rbx + 0x1be], 0
je 0x18005d766
mov byte [rbx + 0x1f5], 1
test dword [rsi], 0x800
je 0x18005d780
movzx eax, word [rbx + 0x1a0]
cmp eax, ecx
jbe 0x18005d780
mov byte [rbx + 0x1f5], 0
test dword [rsi], 0x1000
je 0x18005d798
cmp byte [rbx + 0x1bd], 0
je 0x18005d798
mov byte [rbx + 0x1f5], 0
test dword [rsi], 0x2000
je case.0x18005b91b.33
cmp byte [rbx + 0x1be], 0
je case.0x18005b91b.33
mov byte [rbx + 0x1f5], 0
jmp case.0x18005b91b.33
mov rdx, rsi
mov rcx, rbx
call fcn.1800587a0
jmp case.0x18005b91b.33
mov edx, dword [rsi]
mov r8d, r15d
mov rcx, qword [rbx]
test dl, 1
je 0x18005d7e5
mov rax, qword [rcx + 0x90]
mov r8d, dword [rax + 0x78]
mov r9d, 0x100
test dl, 2
je 0x18005d7fc
cmp byte [rbx + 0x1bd], 0
je 0x18005d7fc
or r8d, r9d
test dl, 4
je 0x18005d80f
cmp byte [rbx + 0x1be], 0
je 0x18005d80f
bts r8d, 9
test dl, 8
je 0x18005d826
mov rcx, qword [rbx]
cmp qword [rcx + 0x410], 0
je 0x18005d826
bts r8d, 0xa
mov edx, dword [rsi]
test dl, 0x20
je 0x18005d83b
cmp byte [rbx + 0x398], 0
je 0x18005d83b
bts r8d, 0xc
mov rax, qword [rcx + 0x90]
cmp dword [rax + 0x78], 0x28
jne 0x18005d8a6
cmp byte [rbx + 0x399], 0
je 0x18005d8a6
test dl, 0x40
je 0x18005d85b
bts r8d, 0xd
test r9d, edx
je 0x18005d86e
cmp byte [rbx + 0x39a], 0
je 0x18005d86e
bts r8d, 0xf
mov edx, dword [rsi]
mov ecx, r8d
bts ecx, 0x11
bt edx, 0xa
cmovae ecx, r8d
mov r9d, ecx
bts r9d, 0x12
bt edx, 0xb
cmovae r9d, ecx
mov r8d, r9d
bt edx, 0xc
jae 0x18005d8a6
cmp byte [rbx + 0x39e], 0
je 0x18005d8a6
bts r8d, 0x13
mov dword [rsi], r8d
jmp case.0x18005b91b.33
cmp dword [rbx + 0x204], 3
jne 0x18005d8c3
mov dword [rbx + 0x18], 0x9c
jmp case.0x18005b91b.33
mov rdi, qword [rbx + 0x270]
test rdi, rdi
je 0x18005d8f4
mov eax, dword [rbx + 0x268]
lea rcx, [rax + rax*4]
lea rax, [rdi + rcx*4]
cmp rdi, rax
jae 0x18005d8f2
mov ecx, dword [rsi]
cmp dword [rdi + 0xc], ecx
je 0x18005d90e
add rdi, 0x14
cmp rdi, rax
jb 0x18005d8e4
jne 0x18005d90e
mov eax, dword [rbx + 0x268]
cmp eax, dword [rbx + 0x26c]
jae 0x18005d9a1
inc eax
mov dword [rbx + 0x268], eax
mov eax, dword [rsi]
mov ecx, 0xff
cmp eax, ecx
ja 0x18005d9a1
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 + 0x27c]
jbe 0x18005d94d
movzx eax, al
mov dword [rbx + 0x27c], eax
mov rcx, rbx
call fcn.1800597d0
test al, al
jne case.0x18005b91b.33
nop dword [rax]
movzx ecx, byte [rbx + 0x220]
sub ecx, 0x2c
je 0x18005d995
sub ecx, 1
je 0x18005d987
cmp ecx, 0x5c
je 0x18005d995
mov rcx, rbx
call fcn.1800597d0
test al, al
je 0x18005d960
jmp case.0x18005b91b.33
mov eax, dword [rbx + 0x218]
mov dword [rdi + 8], eax
jmp case.0x18005b91b.33
mov dword [rbx + 0x18], 0x89
jmp case.0x18005b91b.33
mov dword [rbx + 0x18], 0x8d
jmp case.0x18005b91b.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.0x18005b91b.33
mov eax, dword [rsi + 4]
mov edi, 1
cmp eax, dword [rsi]
jle 0x18005dc09
mov dword [rsi], eax
jmp 0x18005dc09
mov eax, dword [rsi + 4]
mov edi, 1
cmp eax, dword [rsi]
jge 0x18005dc09
mov dword [rsi], eax
jmp 0x18005dc09
mov eax, dword [rsi]
mov edi, 1
test eax, eax
js 0x18005dc09
movzx eax, ax
mov dword [rbx + 0x1f8], eax
jmp 0x18005dc09
mov r8d, dword [rsi + 4]
mov edx, dword [rsi]
lea ecx, [r8 - 1]
cmp ecx, 2
ja 0x18005bb38
mov edi, 1
mov eax, edi
shl eax, cl
test edx, edx
je 0x18005da35
cmp edx, eax
jne 0x18005bb3d
mov ecx, dword [rbx + 0x204]
cmp ecx, 2
jne 0x18005da55
not al
and al, byte [rbx + 0x1f4]
or al, dl
mov byte [rbx + 0x1f4], al
jmp 0x18005dc09
cmp ecx, 3
jne 0x18005bb3d
cmp r8d, ecx
jne 0x18005bb3d
mov rax, qword [rbx]
mov rcx, qword [rax + 0x90]
cmp dword [rcx + 0x78], 0x28
jne 0x18005dc09
cmp edx, 4
setne al
mov byte [rbx + 0x39b], al
jmp 0x18005dc09
mov rax, qword [rbx]
mov rcx, rbx
cmp qword [rax + 0x410], 0
je 0x18005dbff
mov rdx, rsi
call fcn.1800578d0
jmp case.0x18005b91b.33
mov rax, qword [rbx]
cmp qword [rax + 0x410], 0
je case.0x18005b91b.40
mov dword [rsi], reloc.WS2_32.dll_recvfrom
jmp case.0x18005b91b.33
cmp r10b, 0xe0
jb 0x18005dadf
mov rdx, rsi
mov rcx, rbx
call fcn.1800584f0
jmp case.0x18005b91b.33
cmp r10b, 0xc0
jb 0x18005daf5
mov rdx, rsi
mov rcx, rbx
call fcn.1800582e0
jmp case.0x18005b91b.33
cmp r10b, 0xb8
jb 0x18005db88
sub r8d, dword [rbx + 0x1c]
mov eax, 0xb7
movzx ecx, r10b
inc r8d
sub cx, ax
movzx eax, cx
cmp eax, r8d
jb 0x18005db26
mov dword [rbx + 0x18], 0x82
jmp case.0x18005b91b.33
inc dword [rbx + 0x218]
cmp r15w, cx
jae 0x18005db7f
movzx r9d, cx
mov r15d, 0x100
nop dword [rax]
movsxd rcx, dword [rbx + 0x218]
lea rsi, [rsi + 4]
mov r8, rcx
lea eax, [rcx + 2]
mov dword [rbx + 0x218], eax
mov rax, qword [rbx + 0x210]
movzx edx, byte [rcx + rax]
movzx eax, byte [r8 + rax + 1]
movsx ecx, r15w
imul edx, ecx
add ax, dx
cwde
mov dword [rsi - 4], eax
sub r9, 1
jne 0x18005db40
xor r15d, r15d
mov byte [rbx + 0x228], 0
jmp case.0x18005b91b.33
cmp r10b, 0xb0
jb case.0x18005b91b.40
sub r8d, dword [rbx + 0x1c]
mov eax, 0xaf
movzx r10d, byte [rbx + 0x220]
inc r8d
sub r10w, ax
mov edi, 1
movzx eax, r10w
cmp eax, r8d
jb 0x18005dbbd
mov dword [rbx + 0x18], 0x82
jmp 0x18005dc09
movzx r9d, di
cmp di, r10w
ja 0x18005dc09
nop word [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]
mov dword [rsi + r8*4 - 4], edx
cmp r9w, r10w
jbe 0x18005dbd0
jmp 0x18005dc09
mov rcx, rbx
call fcn.180059290
mov edi, 1
mov eax, dword [rbx + 0x18]
test eax, eax
je 0x18005dcf6
cmp eax, 0x80
jne 0x18005dd75
mov r8, qword [rbx + 0x270]
test r8, r8
je 0x18005dc3b
mov eax, dword [rbx + 0x268]
lea rcx, [rax + rax*4]
lea rdx, [r8 + rcx*4]
jmp 0x18005dc40
mov rdx, r15
nop
cmp r8, rdx
jae 0x18005dd66
cmp byte [r8 + 0x10], 0
je 0x18005dc5d
movzx eax, byte [r8 + 0xc]
cmp byte [rbx + 0x220], al
je 0x18005dc63
add r8, 0x14
jmp 0x18005dc40
movsxd rax, dword [rbx + 0x280]
cmp eax, dword [rbx + 0x284]
jge 0x18005dd57
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x288]
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], edi
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 0x18005dd48
mov rax, rcx
add rax, rax
mov rdx, qword [rbx + rax*8 + 0x288]
test rdx, rdx
je 0x18005dd40
cmp r9d, dword [rbx + rax*8 + 0x290]
jg 0x18005dda5
mov qword [rbx + 0x210], rdx
mov eax, dword [rbx + rax*8 + 0x290]
mov dword [rbx + 0x21c], eax
mov dword [rbx + 0x218], r9d
mov dword [rbx + 0x208], ecx
jmp 0x18005dd1d
cmp byte [rbx + 0x228], 0
mov eax, dword [rbx + 0x34]
mov dword [rbx + 0x1c], eax
je 0x18005dd11
mov eax, dword [rbx + 0x224]
add dword [rbx + 0x218], eax
inc r13d
cmp r13d, 0xf4240
ja 0x18005dd87
mov eax, dword [rbx + 0x21c]
cmp dword [rbx + 0x218], eax
jge 0x18005dd7a
cmp byte [rbx + 0x2f4], 0
jne 0x18005dd83
lea rbp, [0x180000000]
jmp 0x18005b7d0
mov r12d, 0x8a
jmp 0x18005ddab
mov dword [rbx + 0x18], 0x84
mov r12d, 0x84
jmp 0x18005ddaf
mov dword [rbx + 0x18], 0x86
mov r12d, 0x86
jmp 0x18005ddaf
mov dword [rbx + 0x18], 0x80
mov r12d, 0x80
jmp 0x18005ddaf
mov r12d, eax
jmp 0x18005ddaf
cmp dword [rbx + 0x280], 0
jg 0x18005dda5
xor eax, eax
jmp 0x18005ddb2
mov dword [rbx + 0x18], 0x8b
mov r12d, 0x8b
jmp 0x18005ddaf
mov dword [rbx + 0x18], 0x82
mov r12d, 0x82
jmp 0x18005ddaf
mov r12d, 0x83
mov dword [rbx + 0x18], r12d
mov eax, r12d
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret