Function at 0x50e2a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xcc
mov eax, dword [0x64a040]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xb4], ecx
mov esi, dword [ecx + 4]
mov al, byte [esi + 0x1c]
test al, 1
jne 0x50f6ee
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x24]
test al, 1
jne 0x50f6e5
mov eax, dword [ebp + 0x14]
add eax, 0x61
cmp eax, 0x69
mov ebx, 0x68
cmovae ebx, eax
mov ecx, esi
push 0xf1645914
push ebx
call fcn.0050fa40
xor ecx, ecx
cmp eax, 0x40
jb 0x50e342
mov edx, eax
and edx, 7
jne 0x50e342
add ebx, 0x10
mov edx, eax
add edx, ebx
jb 0x50e342
mov edi, dword [esi + 0xc]
cmp edx, edi
ja 0x50e342
mov edx, dword [esi + 4]
mov esi, dword [edx + eax + 4]
cmp esi, 0xc8799269
jne 0x50e342
add edx, eax
mov esi, dword [edx]
cmp esi, ebx
jb 0x50e342
mov esi, dword [edx]
add esi, eax
jb 0x50e342
cmp esi, edi
ja 0x50e342
mov eax, dword [edx + 8]
xor ecx, ecx
cmp eax, 0xf1645914
cmove ecx, edx
lea edi, [ecx + 0x10]
test ecx, ecx
cmove edi, ecx
test edi, edi
mov dword [ebp - 0xa0], edi
je 0x50f83f
mov ebx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x10]
xorps xmm0, xmm0
movsd qword [edi + 0x60], xmm0
xorps xmm0, xmm0
movups xmmword [edi + 0x50], xmm0
movups xmmword [edi + 0x40], xmm0
movups xmmword [edi + 0x30], xmm0
movups xmmword [edi + 0x20], xmm0
movups xmmword [edi + 0x10], xmm0
movups xmmword [edi], xmm0
lea ecx, [edi + 0x60]
mov esi, dword [ebp + 0x14]
push esi
push eax
push ecx
call fcn.005822f0
add esp, 0xc
mov byte [edi + esi + 0x60], 0
mov eax, dword [ebp + 0xc]
mov dword [edi], eax
or ebx, 0x40
mov dword [edi + 4], ebx
mov dword [edi + 0x1c], 0
cmp eax, 4
je 0x50e403
mov esi, dword [ebp + 0x20]
mov ebx, dword [esi + 4]
sub ebx, dword [esi]
mov ecx, ebx
sar ecx, 2
lea eax, [ecx - 0x20000001]
cmp eax, 0xe0000000
jbe 0x50f6ee
mov dword [ebp - 0x98], ecx
mov eax, dword [esi + 0x10]
test eax, eax
je 0x50f096
test edi, edi
je 0x50f6ee
mov ecx, dword [ebp + 0x18]
mov dword [edi + 8], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [edi + 0xc], ecx
mov ecx, dword [ebp - 0x98]
dec ecx
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0x18], eax
mov eax, dword [ebp + 8]
mov dword [eax], 0xffffffff
mov eax, dword [edi]
cmp eax, 4
je 0x50f64b
mov dword [ebp - 0xcc], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0xd0], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0xbc], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0xac], eax
mov edx, dword [edi + 0x10]
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0xb8], ecx
xor esi, esi
cmp eax, 0x40
mov dword [ebp - 0x9c], edx
jb 0x50f644
mov ecx, eax
mov ebx, 0
and ecx, 7
jne 0x50e54f
mov ecx, dword [ebp - 0xb4]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x98], ecx
mov edx, eax
mov edi, 0
add edx, 0x14
jb 0x50e4c6
mov ecx, dword [ebp - 0x98]
mov esi, dword [ecx + 0xc]
cmp edx, esi
ja 0x50e4c6
mov ecx, dword [ebp - 0x98]
mov edx, dword [ecx + 4]
mov ecx, dword [edx + eax + 4]
cmp ecx, 0xc8799269
jne 0x50e4c6
add edx, eax
mov ecx, dword [edx]
cmp ecx, 0x14
jb 0x50e4c6
mov ebx, dword [edx]
add ebx, eax
jb 0x50e4c6
cmp ebx, esi
ja 0x50e4c6
mov ecx, dword [edx + 8]
xor edi, edi
cmp ecx, 0xbcea225b
cmove edi, edx
lea esi, [edi + 0x10]
test edi, edi
cmove esi, edi
mov edi, eax
add edi, 0x10
jb 0x50f63e
mov edx, dword [ebp - 0x98]
mov ecx, dword [edx + 0xc]
cmp edi, ecx
ja 0x50f63e
mov edi, dword [edx + 4]
mov edx, dword [edi + eax + 4]
cmp edx, 0xc8799269
jne 0x50f63e
add edi, eax
mov edx, dword [edi]
cmp edx, 0x10
jb 0x50f63e
mov ebx, dword [edi]
add ebx, eax
setb dl
test edi, edi
je 0x50f63e
test dl, dl
jne 0x50f63e
cmp ebx, ecx
mov edx, dword [ebp - 0x9c]
ja 0x50f644
mov edi, dword [edi]
cmp edi, 0x11
jb 0x50f631
add eax, edi
jb 0x50f631
cmp eax, ecx
ja 0x50f631
add edi, 0xfffffff0
mov ebx, edi
test esi, esi
je 0x50f81a
cmp edx, 2
jb 0x50f81a
cmp edx, 0x3ffffffe
ja 0x50f81a
lea edi, [edx*4 + 4]
cmp ebx, edi
jb 0x50f81a
lea eax, [edx + 1]
mov dword [ebp - 0xa4], eax
push 0x14
call fcn.0057dc30
add esp, 4
mov ebx, eax
push edi
call fcn.0057dc30
add esp, 4
mov ecx, eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0xa4]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x98], ebx
mov dword [ebx + 8], eax
mov ebx, eax
xor edx, edx
nop word cs:[eax + eax]
mov eax, ecx
add eax, edx
je 0x50f7ed
mov dword [eax], 0
add edx, 4
cmp edi, edx
jne 0x50e5c0
mov edx, dword [ebp - 0x98]
mov dword [edx + 4], ebx
xor eax, eax
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
cmp dword [ebp - 0xa4], 0
je 0x50f7de
mov eax, dword [esi]
mov dword [ecx], eax
mov eax, dword [ebp - 0x9c]
neg eax
xor ecx, ecx
inc ecx
nop word cs:[eax + eax]
mov edx, dword [esi + ecx*4]
cmp edx, dword [esi + ecx*4 - 4]
jle 0x50f791
mov ebx, dword [ebp - 0x98]
mov edi, dword [ebx]
mov ebx, dword [ebx + 4]
sub ebx, edi
sar ebx, 2
cmp ebx, ecx
jbe 0x50f7de
mov dword [edi + ecx*4], edx
lea edx, [eax + ecx]
inc edx
inc ecx
cmp edx, 1
jne 0x50e610
mov eax, dword [ebp - 0x98]
mov ebx, dword [eax]
mov edx, dword [eax + 4]
mov esi, edx
sub esi, ebx
mov dword [ebp - 0xa8], ebx
je 0x50f82e
js 0x50f835
mov ecx, esi
shr ecx, 2
mov edi, esi
and edi, 3
jne 0x50f604
mov eax, ebx
mov edi, ebx
sub edi, edx
cmp edi, 0xfffffffc
ja 0x50e6d2
nop
movzx edi, byte [eax]
movzx ebx, cl
xor ebx, edi
shr ecx, 8
xor ecx, dword [ebx*4 + 0x636878]
movzx edi, byte [eax + 1]
movzx ebx, cl
xor ebx, edi
shr ecx, 8
xor ecx, dword [ebx*4 + 0x636878]
movzx edi, byte [eax + 2]
movzx ebx, cl
xor ebx, edi
shr ecx, 8
xor ecx, dword [ebx*4 + 0x636878]
movzx edi, byte [eax + 3]
movzx ebx, cl
xor ebx, edi
shr ecx, 8
xor ecx, dword [ebx*4 + 0x636878]
add eax, 4
cmp eax, edx
jne 0x50e680
mov eax, dword [ebp - 0x98]
mov dword [eax + 0xc], ecx
cmp ecx, dword [ebp - 0xb8]
jne 0x50f791
mov edx, dword [ebp - 0x98]
test edx, edx
je 0x50f838
sar esi, 2
cmp esi, dword [ebp - 0xa4]
mov esi, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0x9c]
mov edi, dword [ebp - 0xa8]
jne 0x50f7a1
test ecx, ecx
je 0x50f7fc
mov eax, dword [ebp - 0xbc]
cmp dword [edi + 4], eax
jne 0x50f7a1
lea eax, [ecx - 1]
cmp dword [ebp - 0xa4], eax
jbe 0x50f7fc
mov eax, dword [ebp - 0xac]
cmp dword [edi + ecx*4 - 4], eax
jne 0x50f7a1
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x50f252
mov eax, dword [0x65071c]
cmp eax, 1
jbe 0x50f763
mov dword [ebp - 0xbc], eax
push eax
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x50f6fc
mov eax, dword [0x65071c]
cmp eax, 1
mov edx, dword [ebp - 0x98]
jbe 0x50f72f
mov edi, dword [0x650724]
test edi, edi
je 0x50f70d
mov eax, edx
shr eax, 0xe
mov ecx, edx
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x6527ec]
bt ecx, eax
jae 0x50f1a0
push edx
call fcn.00506e00
mov edx, dword [ebp - 0x98]
add esp, 4
lea eax, [edi + 0x38]
mov dword [ebp - 0xac], eax
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xa8], eax
mov edx, dword [edi + 0x3c]
test edx, edx
mov dword [ebp - 0xc4], edi
mov dword [ebp - 0xb0], edx
je 0x50f2cb
mov ecx, edx
shr ecx, 1
and ecx, 0x55555555
mov eax, edx
sub eax, ecx
mov ecx, eax
and ecx, 0x33333333
shr eax, 2
and eax, 0x33333333
add eax, ecx
mov ecx, eax
shr ecx, 4
add ecx, eax
and ecx, 0xf0f0f0f
imul eax, ecx, 0x1010101
shr eax, 0x18
mov dword [ebp - 0xc8], eax
cmp eax, 1
jbe 0x50f5f8
mov eax, dword [ebp - 0xa8]
mov ebx, eax
cmp eax, edx
mov ecx, edx
mov edx, eax
jb 0x50e84d
xor edx, edx
div ecx
mov eax, dword [ebp - 0xac]
mov eax, dword [eax]
mov eax, dword [eax + edx*4]
test eax, eax
mov dword [ebp - 0xc0], edx
je 0x50f32c
mov edx, dword [eax]
test edx, edx
je 0x50f32c
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0xa8]
cmp eax, ecx
mov dword [ebp - 0xb8], edx
jne 0x50f2e1
mov eax, dword [edx + 8]
mov dword [ebp - 0xa4], eax
cmp dword [eax + 0xc], ecx
jne 0x50f302
mov ecx, dword [ebp - 0xa4]
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, edx
sub ecx, eax
mov esi, dword [ebp - 0x98]
mov edi, dword [esi]
mov esi, dword [esi + 4]
sub esi, edi
cmp ecx, esi
jne 0x50f302
cmp edx, eax
je 0x50e8e9
sar ecx, 2
cmp ecx, 1
mov edx, ecx
adc edx, 0
xor esi, esi
nop
cmp ecx, esi
je 0x50f7fc
mov ebx, dword [eax + esi*4]
cmp ebx, dword [edi + esi*4]
jne 0x50f302
inc esi
cmp edx, esi
jne 0x50e8d0
mov eax, dword [ebp - 0x98]
mov esi, dword [ebp - 0xa0]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x6527ec]
bt edx, ecx
jae 0x50e914
push eax
call fcn.00507280
add esp, 4
push dword [ebp - 0xbc]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov dword [ebp - 0xa8], 0
mov edx, dword [ebp - 0x98]
cmp dword [ebp - 0xa4], edx
je 0x50f280
mov eax, dword [edx]
test eax, eax
je 0x50e970
mov ecx, dword [edx + 4]
nop word cs:[eax + eax]
cmp ecx, eax
je 0x50e95e
add ecx, 0xfffffffc
jne 0x50e950
jmp 0x50f80b
mov dword [edx + 4], eax
push eax
call fcn.0057dc2b
mov edx, dword [ebp - 0x98]
add esp, 4
push edx
call fcn.0057dc2b
add esp, 4
mov eax, dword [esi + 0x1c]
mov edx, dword [ebp - 0x9c]
lea ecx, [edx - 0x20000000]
cmp ecx, 0xe0000001
jb 0x50f7b7
lea ebx, [edx*8]
mov ecx, dword [ebp - 0xb4]
mov edi, dword [ecx + 4]
test eax, eax
mov dword [ebp - 0x98], ebx
jne 0x50f1b1
mov eax, dword [ebp - 0xa0]
lea esi, [eax + 0x1c]
mov dword [ebp - 0x70], 0xffffffff
mov eax, edi
shr eax, 0xe
mov ecx, edi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x6527ec]
bt ecx, eax
jb 0x50f164
mov eax, edi
shr eax, 0x15
mov byte [eax + 0x65a7ec], 1
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], 0x53215531
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], 0
mov edi, esi
shr edi, 0xe
mov ebx, esi
shr ebx, 0x13
mov eax, dword [ebx*4 + 0x6527ec]
bt eax, edi
jb 0x50f87f
mov eax, esi
shr eax, 0x15
mov byte [eax + 0x65a7ec], 1
mov dword [ebp - 0xac], esi
mov dword [ebp - 0x70], esi
shl edx, 2
mov dword [ebp - 0x84], 0xffffffff
mov eax, dword [ebp - 0xb4]
mov esi, dword [eax + 4]
mov eax, esi
shr eax, 0xe
mov ecx, esi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x6527ec]
bt ecx, eax
jb 0x50f178
mov eax, esi
shr eax, 0x15
mov byte [eax + 0x65a7ec], 1
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x90], 0x53215531
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], edx
mov eax, dword [ebx*4 + 0x6527ec]
bt eax, edi
jb 0x50f893
mov esi, dword [ebp - 0xac]
mov eax, esi
shr eax, 0x15
mov byte [eax + 0x65a7ec], 1
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0x84], esi
lea esi, [ecx + 0x60]
mov eax, dword [ebp - 0xcc]
test eax, eax
jne 0x50eff7
push 0x14
call fcn.0057dc30
add esp, 4
mov dword [eax + 4], esi
xor ecx, ecx
mov dword [eax + 8], ecx
mov dword [eax], 0x6294f4
mov dword [eax + 0xc], ecx
mov dword [ebp - 0x98], eax
mov dword [eax + 0x10], ecx
test esi, esi
je 0x50f870
push esi
call fcn.00598320
add esp, 4
xorps xmm0, xmm0
lea ebx, [ebp - 0x54]
movups xmmword [ebx + 0x34], xmm0
movups xmmword [ebx + 0x28], xmm0
movups xmmword [ebx + 0x18], xmm0
movups xmmword [ebx + 8], xmm0
movups xmmword [ebx - 8], xmm0
movaps xmm0, xmmword [0x6354d0]
movups xmmword [ebx - 0x18], xmm0
test eax, eax
je 0x50eb53
mov edi, eax
lea eax, [eax*8]
mov ecx, edi
shr ecx, 0x1d
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x5c], eax
cmp edi, 0x40
jae 0x50f5d0
mov eax, edi
mov dword [ebp - 0x14], eax
push eax
push esi
push ebx
call fcn.005822f0
add esp, 0xc
mov eax, dword [ebp - 0xa0]
lea esi, [eax + 0x20]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0xac], eax
mov byte [ebp + ecx - 0x54], 0x80
lea eax, [ecx + 1]
cmp eax, 0x39
jae 0x50f296
cmp eax, 0x38
je 0x50eb9c
mov ecx, 0x38
sub ecx, eax
add eax, ebx
push ecx
push 0
push eax
call fcn.00582870
add esp, 0xc
lea edi, [ebp - 0x6c]
mov eax, dword [ebp - 0x9c]
mov dword [edi + 0x50], eax
mov eax, dword [ebp - 0xac]
mov dword [edi + 0x54], eax
push 1
push ebx
push edi
call fcn.004f3300
add esp, 0xc
mov eax, dword [edi]
mov dword [ebp - 0x9c], eax
mov ebx, dword [edi + 4]
push 0x2c
call fcn.0057dc30
add esp, 4
mov edi, eax
mov dword [eax], 0x628580
mov dword [eax + 4], 0
mov eax, esi
shr eax, 0xe
mov ecx, esi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x6527ec]
bt ecx, eax
jb 0x50f272
mov eax, esi
shr eax, 0x15
mov byte [eax + 0x65a7ec], 1
mov dword [edi + 8], esi
mov eax, dword [esi]
or eax, dword [esi + 4]
jne 0x50ec20
mov eax, dword [ebp - 0x9c]
bswap eax
bswap ebx
mov dword [esi], ebx
mov dword [esi + 4], eax
mov dword [edi], 0x628180
mov esi, dword [ebp - 0xa4]
mov ecx, esi
shr ecx, 0xe
mov eax, esi
shr eax, 0x13
mov dword [ebp - 0xac], eax
mov eax, dword [eax*4 + 0x6527ec]
mov dword [ebp - 0x9c], ecx
bt eax, ecx
jb 0x50ec5c
mov eax, esi
shr eax, 0x15
mov byte [eax + 0x65a7ec], 1
jmp 0x50ec65
push esi
call fcn.00506e00
add esp, 4
mov dword [edi + 0xc], esi
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 2
dec eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 0
je 0x50f84e
lea esi, [ebp - 0x7c]
mov dword [edi], 0x628200
mov ebx, dword [esi - 4]
mov eax, ebx
shr eax, 0xe
mov ecx, ebx
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x6527ec]
bt ecx, eax
jb 0x50f192
mov eax, ebx
shr eax, 0x15
mov byte [eax + 0x65a7ec], 1
mov dword [edi + 0x18], ebx
mov eax, dword [esi + 8]
mov dword [edi + 0x24], eax
movsd xmm0, qword [esi]
movsd qword [edi + 0x1c], xmm0
mov esi, dword [ebp - 0x70]
mov eax, esi
shr eax, 0xe
mov ecx, esi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x6527ec]
bt ecx, eax
jb 0x50f8a7
mov eax, esi
shr eax, 0x15
mov byte [eax + 0x65a7ec], 1
mov dword [edi + 0x28], esi
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x1c]
cmp eax, 0xffffffff
je 0x50f52e
mov eax, dword [ebp - 0xa0]
lea ebx, [eax + 0x40]
mov eax, dword [ebp - 0x98]
mov esi, dword [eax + 0xc]
mov dword [eax + 0xc], edi
test esi, esi
jne 0x50f8c3
mov eax, dword [edi + 8]
mov esi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0xbc], eax
push 0x2c
call fcn.0057dc30
add esp, 4
mov edi, eax
mov dword [eax + 4], 0
mov eax, ebx
shr eax, 0xe
mov ecx, ebx
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x6527ec]
bt ecx, eax
jb 0x50f088
mov eax, ebx
shr eax, 0x15
mov byte [eax + 0x65a7ec], 1
mov dword [edi + 8], ebx
mov eax, dword [ebx]
or eax, dword [ebx + 4]
jne 0x50ed79
mov dword [ebx], esi
mov eax, dword [ebp - 0xbc]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0xac]
mov eax, dword [eax*4 + 0x6527ec]
mov ecx, dword [ebp - 0x9c]
bt eax, ecx
jb 0x50eda5
mov esi, dword [ebp - 0xa4]
mov eax, esi
shr eax, 0x15
mov byte [eax + 0x65a7ec], 1
jmp 0x50edb4
mov esi, dword [ebp - 0xa4]
push esi
call fcn.00506e00
add esp, 4
mov dword [edi + 0xc], esi
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 2
dec eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 0
je 0x50f851
lea esi, [ebp - 0x90]
mov dword [edi], 0x628200
mov ebx, dword [esi - 4]
mov eax, ebx
shr eax, 0xe
mov ecx, ebx
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x6527ec]
bt ecx, eax
jb 0x50efe9
mov eax, ebx
shr eax, 0x15
mov byte [eax + 0x65a7ec], 1
mov dword [edi + 0x18], ebx
mov eax, dword [esi + 8]
mov dword [edi + 0x24], eax
movsd xmm0, qword [esi]
movsd qword [edi + 0x1c], xmm0
mov esi, dword [ebp - 0x84]
mov eax, esi
shr eax, 0xe
mov ecx, esi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x6527ec]
bt ecx, eax
jb 0x50f8b5
mov eax, esi
shr eax, 0x15
mov byte [eax + 0x65a7ec], 1
mov ebx, dword [ebp - 0x98]
mov dword [edi + 0x28], esi
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax + 0x5c]
cmp eax, 0xffffffff
je 0x50f57f
mov esi, dword [ebx + 0x10]
mov dword [ebx + 0x10], edi
test esi, esi
jne 0x50f8e2
mov esi, dword [ebp - 0xa8]
xor edi, edi
test ebx, ebx
je 0x50ee84
mov eax, dword [ebp - 0xd0]
lock or dword [ebx + 8], eax
mov edi, ebx
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov eax, dword [ebp - 0x84]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x6527ec]
bt edx, ecx
mov edi, dword [ebp - 0xa0]
jb 0x50f854
mov dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x94]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x6527ec]
bt edx, ecx
jae 0x50eede
push eax
call fcn.00506f30
add esp, 4
mov eax, dword [ebp - 0x70]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x6527ec]
bt edx, ecx
jb 0x50f862
mov dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x80]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x6527ec]
bt edx, ecx
jae 0x50ef24
push eax
call fcn.00506f30
add esp, 4
test esi, esi
jne 0x50efb8
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp - 0xb4]
mov esi, dword [ecx + 4]
mov edx, dword [esi + 4]
xor ecx, ecx
cmp edx, edi
ja 0x50ef8f
sub edi, edx
cmp edi, 0x10
jb 0x50ef8f
mov ebx, edi
mov edi, dword [esi + 0xc]
cmp ebx, edi
jae 0x50ef8f
lea esi, [ebx - 0x10]
cmp esi, 0x40
jb 0x50ef8f
and ebx, 7
jne 0x50ef8f
mov ebx, dword [edx + esi + 4]
cmp ebx, 0xc8799269
jne 0x50ef8f
add edx, esi
mov ebx, dword [edx]
cmp ebx, 0x11
jb 0x50ef8f
mov ebx, dword [edx]
add ebx, esi
jb 0x50ef8f
cmp ebx, edi
ja 0x50ef8f
mov edi, dword [edx + 8]
cmp edi, 0xf1645914
jne 0x50ef8f
test edx, edx
cmove esi, edx
mov ecx, esi
test eax, eax
je 0x50ef95
mov dword [eax], ecx
mov eax, dword [ebp - 0xb4]
mov dword [eax + 0x2c], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005810d5
mov eax, dword [ebp + 8]
add esp, 0xcc
pop esi
pop edi
pop ebx
pop ebp
ret 0x24
mov eax, dword [esi]
test eax, eax
je 0x50efdb
mov ecx, dword [esi + 4]
cmp ecx, eax
je 0x50efcf
add ecx, 0xfffffffc
jne 0x50efc1
jmp 0x50f80b
mov dword [esi + 4], eax
push eax
call fcn.0057dc2b
add esp, 4
push esi
call fcn.0057dc2b
add esp, 4
jmp 0x50ef2c
push ebx
call fcn.00506e00
add esp, 4
jmp 0x50ee05
cmp eax, 1
jne 0x50f031
lea eax, [ecx + 0x40]
add ecx, 0x20
lea edx, [ebp - 0x94]
lea edi, [ebp - 0x80]
lea ebx, [ebp - 0x6c]
push eax
push ecx
push edx
push edi
xor edi, edi
push dword [ebp - 0xa4]
push esi
push ebx
call fcn.00510400
add esp, 0x1c
mov ebx, dword [ebx]
mov esi, dword [ebp - 0xa8]
jmp 0x50ee74
cmp eax, 2
jne 0x50f6a4
lea edi, [ecx + 0x40]
lea ebx, [ecx + 0x20]
push 0x20
call fcn.0057dc30
add esp, 4
mov ecx, eax
lea eax, [ebp - 0x94]
lea edx, [ebp - 0x80]
push edi
xor edi, edi
push ebx
mov ebx, ecx
push eax
push edx
push dword [ebp - 0xa4]
push esi
call fcn.0040a1f0
lea eax, [ebx + 0x18]
xor ecx, ecx
mov dword [ebx + 0x18], ecx
mov dword [ebx + 0x1c], ecx
mov dword [ebx + 0x14], eax
mov dword [ebx], 0x6295b4
mov esi, dword [ebp - 0xa8]
jmp 0x50ee74
push ebx
call fcn.00506e00
add esp, 4
jmp 0x50ed64
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax + 4]
push 0xbcea225b
push ebx
call fcn.0050fa40
test eax, eax
je 0x50f6ee
cmp eax, 0x40
jb 0x50f6ee
mov ecx, eax
and ecx, 7
jne 0x50f6ee
add ebx, 0x10
mov edx, eax
add edx, ebx
jb 0x50f6ee
mov ecx, dword [ebp - 0xb4]
mov ecx, dword [ecx + 4]
mov edi, dword [ecx + 0xc]
cmp edx, edi
ja 0x50f6ee
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + eax + 4]
cmp edx, 0xc8799269
jne 0x50f6ee
add ecx, eax
mov edx, dword [ecx]
cmp edx, ebx
jb 0x50f6ee
mov edx, dword [ecx]
add edx, eax
jb 0x50f6ee
cmp edx, edi
ja 0x50f6ee
mov edx, dword [ecx + 8]
cmp edx, 0xbcea225b
jne 0x50f6ee
test ecx, ecx
je 0x50f6ee
mov edx, dword [esi]
cmp dword [esi + 4], edx
je 0x50f156
xor ebx, ebx
nop dword [eax + eax]
mov edx, dword [edx + ebx*4]
mov dword [ecx + ebx*4 + 0x10], edx
inc ebx
mov edx, dword [esi]
mov edi, dword [esi + 4]
sub edi, edx
sar edi, 2
cmp ebx, edi
jb 0x50f140
mov dword [esi + 0x10], eax
mov edi, dword [ebp - 0xa0]
jmp 0x50e3dc
push edi
call fcn.00506e00
mov edx, dword [ebp - 0x9c]
add esp, 4
jmp 0x50e9e8
push esi
mov dword [ebp - 0x9c], edx
call fcn.00506e00
mov edx, dword [ebp - 0x9c]
add esp, 4
jmp 0x50ea67
push ebx
call fcn.00506e00
add esp, 4
jmp 0x50ecb3
mov eax, edx
shr eax, 0x15
mov byte [eax + 0x65a7ec], 1
jmp 0x50e7cb
xor esi, esi
cmp eax, 0x40
jb 0x50f236
mov ecx, eax
and ecx, 7
jne 0x50f236
mov edx, eax
add edx, 0x10
jb 0x50f236
mov ecx, dword [edi + 0xc]
cmp edx, ecx
ja 0x50f7d7
mov edx, dword [edi + 4]
mov esi, dword [edx + eax + 4]
cmp esi, 0xc8799269
jne 0x50f7d7
add edx, eax
mov esi, dword [edx]
cmp esi, 0x10
jb 0x50f7d1
mov esi, dword [edx]
add esi, eax
setb bl
test edx, edx
je 0x50f7d1
test bl, bl
jne 0x50f7d1
cmp esi, ecx
mov ebx, dword [ebp - 0x98]
ja 0x50f7d7
mov edx, dword [edx]
cmp edx, 0x11
jb 0x50f8f9
add eax, edx
jb 0x50f8f9
cmp eax, ecx
ja 0x50f8f9
add edx, 0xfffffff0
mov esi, edx
cmp esi, ebx
mov edx, dword [ebp - 0x9c]
jb 0x50f7b7
mov eax, dword [ebp - 0xb4]
mov edi, dword [eax + 4]
jmp 0x50e9b2
push edx
mov edi, edx
call fcn.00550200
xor ecx, ecx
mov dword [ebp - 0xa4], eax
cmp eax, edi
cmovne ecx, edi
mov dword [ebp - 0xa8], ecx
jmp 0x50e979
push esi
call fcn.00506e00
add esp, 4
jmp 0x50ec07
mov dword [ebp - 0xa4], edx
jmp 0x50e979
mov byte [eax + 2], 0
mov word [eax], 0
jmp 0x50f2b5
cmp ecx, 0x3f
je 0x50f2b5
add eax, ebx
cmp ecx, 0x3c
je 0x50f28b
mov edx, 0x3f
sub edx, ecx
push edx
push 0
push eax
call fcn.00582870
add esp, 0xc
lea eax, [ebp - 0x6c]
push 1
push ebx
push eax
call fcn.004f3300
add esp, 0xc
xor eax, eax
jmp 0x50eb87
xor eax, eax
dec eax
mov dword [ebp - 0xc0], eax
jmp 0x50f32c
mov ecx, dword [ebp - 0xb0]
dec ecx
and eax, ecx
jmp 0x50f2fa
cmp dword [ebp - 0xc8], 1
jbe 0x50f2d6
mov ecx, dword [ebp - 0xb0]
cmp eax, ecx
jb 0x50f2fa
xor edx, edx
div ecx
mov eax, edx
cmp eax, dword [ebp - 0xc0]
jne 0x50f320
mov edx, dword [ebp - 0xb8]
mov edx, dword [edx]
test edx, edx
mov esi, dword [ebp - 0xa0]
mov edi, dword [ebp - 0xc4]
jne 0x50e870
jmp 0x50f32c
mov esi, dword [ebp - 0xa0]
mov edi, dword [ebp - 0xc4]
push 0xc
call fcn.0057dc30
add esp, 4
test eax, eax
je 0x50f7ed
mov ebx, eax
mov eax, dword [ebp - 0xa8]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x98]
mov dword [ebx + 8], eax
mov eax, dword [edi + 0x44]
inc eax
movd xmm0, eax
movq xmm2, qword [0x62d140]
por xmm0, xmm2
subsd xmm0, xmm2
cvtsd2ss xmm0, xmm0
movss xmm1, dword [edi + 0x48]
mov eax, dword [ebp - 0xb0]
test eax, eax
je 0x50f443
movd xmm3, eax
por xmm3, xmm2
subsd xmm3, xmm2
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm3
mulss xmm2, xmm1
ucomiss xmm0, xmm2
ja 0x50f443
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc0]
mov eax, dword [ecx + edx*4]
test eax, eax
jne 0x50f426
lea eax, [edi + 0x40]
mov dword [ebp - 0xa4], eax
mov eax, dword [edi + 0x40]
mov dword [ebx], eax
mov dword [ebp - 0xb8], ebx
mov dword [edi + 0x40], ebx
mov ebx, dword [ebp - 0xa4]
mov dword [ecx + edx*4], ebx
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0xa4], ecx
test eax, eax
je 0x50f41c
mov eax, dword [eax + 4]
mov ebx, dword [ebp - 0xb0]
lea ecx, [ebx - 1]
test ebx, ecx
je 0x50f42c
cmp eax, ebx
jb 0x50f400
xor edx, edx
div ebx
mov eax, edx
shl eax, 2
mov ecx, dword [ebp - 0xac]
add eax, dword [ecx]
mov ebx, dword [ebp - 0xb8]
mov dword [eax], ebx
mov eax, dword [ebx + 8]
mov dword [ebp - 0xa4], eax
inc dword [edi + 0x44]
xor eax, eax
jmp 0x50e8f5
mov ecx, dword [eax]
mov dword [ebx], ecx
jmp 0x50f411
and eax, ecx
jmp 0x50f400
and ecx, eax
mov dword [ebp - 0xc0], ecx
mov ebx, dword [ebp - 0xb8]
jmp 0x50f3a1
mov dword [ebp - 0xb8], ebx
divss xmm0, xmm1
cvtss2sd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
call fcn.005aa230
add esp, 8
fstp dword [ebp - 0xd8]
movss xmm0, dword [ebp - 0xd8]
cvttss2si ecx, xmm0
mov edx, ecx
sar edx, 0x1f
subss xmm0, dword [0x62d148]
cvttss2si eax, xmm0
and eax, edx
mov ebx, dword [ebp - 0xb0]
or eax, ecx
lea ecx, [ebx + ebx]
cmp ebx, 3
jae 0x50f50e
xor edx, edx
inc edx
or edx, ecx
cmp edx, eax
cmovbe edx, eax
cmp edx, 1
je 0x50f507
lea eax, [edx - 1]
test edx, eax
je 0x50f4ba
push edx
call fcn.005507c0
add esp, 4
mov edx, eax
mov ebx, dword [edi + 0x3c]
cmp edx, ebx
jbe 0x50f92b
mov ecx, dword [ebp - 0xac]
push edx
call fcn.00550660
mov edx, dword [edi + 0x3c]
lea ecx, [edx - 1]
test edx, ecx
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xb0], edx
je 0x50f430
cmp eax, edx
mov ebx, dword [ebp - 0xb8]
jb 0x50f913
mov ecx, edx
xor edx, edx
div ecx
mov dword [ebp - 0xc0], edx
jmp 0x50f3a1
mov edx, 2
jmp 0x50f4ba
mov edx, dword [ebp - 0xb0]
dec edx
test dword [ebp - 0xb0], edx
mov edx, 0
mov ebx, dword [ebp - 0xb0]
setne dl
jmp 0x50f499
mov eax, dword [edi + 0x28]
mov eax, dword [eax]
test eax, eax
je 0x50ed00
test byte [edi + 0x24], 3
jne 0x50f907
mov ecx, edi
add ecx, 0x18
xor eax, eax
dec eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x6c]
push eax
call fcn.00554b00
mov eax, dword [ebp - 0x68]
cmp eax, 4
jb 0x50ed00
shr eax, 2
cmp eax, dword [edi + 0x10]
jb 0x50f90a
mov eax, dword [ebp - 0x6c]
mov dword [edi + 0x14], eax
jmp 0x50ed00
mov eax, dword [edi + 0x28]
mov eax, dword [eax]
test eax, eax
je 0x50ee5e
test byte [edi + 0x24], 3
jne 0x50f90d
mov ecx, edi
add ecx, 0x18
xor eax, eax
dec eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x6c]
push eax
call fcn.00554b00
mov eax, dword [ebp - 0x68]
cmp eax, 4
jb 0x50ee5e
shr eax, 2
cmp eax, dword [edi + 0x10]
jb 0x50f910
mov eax, dword [ebp - 0x6c]
mov dword [edi + 0x14], eax
jmp 0x50ee5e
mov eax, edi
shr eax, 6
lea ecx, [ebp - 0x6c]
push eax
push esi
push ecx
call fcn.004f3300
add esp, 0xc
mov eax, edi
and eax, 0x3f
je 0x50eb53
and edi, 0xffffffc0
add esi, edi
jmp 0x50eb45
dec edx
and edx, dword [ebp - 0xa8]
jmp 0x50e84d
mov eax, ebx
movzx ebx, byte [eax]
mov dword [ebp - 0xb0], ebx
movzx ebx, cl
xor ebx, dword [ebp - 0xb0]
shr ecx, 8
xor ecx, dword [ebx*4 + 0x636878]
mov ebx, dword [ebp - 0xa8]
inc eax
dec edi
jne 0x50f606
jmp 0x50e675
mov ecx, dword [ebp - 0x98]
push 1
call fcn.005abbd0
mov edx, dword [ebp - 0x9c]
xor ebx, ebx
jmp 0x50e54f
mov eax, dword [ebp - 0xa0]
lea edi, [eax + 0x40]
mov eax, dword [ebp - 0xa0]
lea ebx, [eax + 0x20]
mov eax, dword [ebp - 0xa0]
add eax, 0x60
mov dword [ebp - 0x98], eax
push 0x1c
call fcn.0057dc30
add esp, 4
mov esi, eax
mov ecx, eax
push edi
mov edi, dword [ebp - 0xa0]
push ebx
push dword [ebp - 0x98]
push dword [ebp - 0xb4]
call fcn.004103b0
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov eax, dword [edi + 4]
lock or dword [esi + 8], eax
jmp 0x50ef2c
cmp eax, 3
jne 0x50f91e
lea edi, [ecx + 0x40]
lea ebx, [ecx + 0x20]
push 0x14
call fcn.0057dc30
add esp, 4
mov ecx, eax
lea eax, [ebp - 0x94]
lea edx, [ebp - 0x80]
push edi
push ebx
mov ebx, ecx
push eax
push edx
push dword [ebp - 0xa4]
push esi
call fcn.0040a1f0
mov dword [ebx], 0x629614
jmp 0x50ee6c
mov ecx, esi
push 0
call fcn.005abbd0
mov eax, dword [ebp + 8]
mov dword [eax], 0
jmp 0x50ef9e
push dword [ebp - 0xbc]
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x50e780
push 0x58
call fcn.0057dc30
add esp, 4
mov ecx, eax
call fcn.00402af0
mov edx, dword [ebp - 0x98]
mov edi, dword [0x650724]
jmp 0x50e7a2
push 0x65071c
call fcn.0040bbb0
add esp, 4
test al, al
je 0x50fa17
mov dword [0x650720], 0
mov eax, 0x650720
mov dword [0x65071c], eax
mov edx, dword [ebp - 0x98]
jmp 0x50e794
push 0x65071c
call fcn.0040bbb0
add esp, 4
test al, al
je 0x50fa0d
mov dword [0x650720], 0
mov eax, 0x650720
mov dword [0x65071c], eax
jmp 0x50e76b
xor esi, esi
cmp dword [ebp - 0x98], 0
je 0x50f7a3
jmp 0x50fa21
mov esi, edx
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov edi, dword [ebp - 0xa0]
jmp 0x50ef24
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov edi, dword [ebp - 0xa0]
mov esi, dword [ebp - 0xa8]
jmp 0x50ef24
mov ebx, dword [ebp - 0x98]
xor esi, esi
jmp 0x50f236
push str....._third_partylibc_srcinclude_vector:1411:_assertion___n___size___failed:_vector___index_out_of_bounds_n
push 0x62a183
call fcn.005aacb0
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
push 0x62a183
call fcn.005aacb0
push str....._third_partylibc_srcinclude_vector:1418:_assertion___n___size___failed:_vector___index_out_of_bounds_n
push 0x62a183
call fcn.005aacb0
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
push 0x62a183
call fcn.005aacb0
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov edi, dword [ebp - 0xa0]
jmp 0x50ef2c
xor ecx, ecx
jmp 0x50e6d2
int3
xor esi, esi
jmp 0x50f7a3
cmp dword [ebp + 0xc], 4
jne 0x50e3ad
jmp 0x50f6ee
int3
int3
push eax
call fcn.00506f30
add esp, 4
jmp 0x50eeaf
push eax
call fcn.00506f30
add esp, 4
jmp 0x50eefb
push str....._third_partylibc_srcinclude_string_view:267:_assertion___s___nullptr_failed:_null_pointer_passed_to_non_null_argument_of_char_traits_..._::length_n
push 0x62a183
call fcn.005aacb0
push esi
call fcn.00506e00
mov edx, dword [ebp - 0x9c]
add esp, 4
jmp 0x50ea22
mov esi, dword [ebp - 0xac]
push esi
call fcn.00506e00
add esp, 4
jmp 0x50eaab
push esi
call fcn.00506e00
add esp, 4
jmp 0x50ecee
push esi
call fcn.00506e00
add esp, 4
jmp 0x50ee43
mov eax, dword [esi]
mov ecx, dword [eax]
mov dword [ebp - 0xbc], ecx
call dword [0x6445dc]
mov ecx, esi
push 1
call dword [ebp - 0xbc]
jmp 0x50ed1d
mov eax, dword [esi]
mov edi, dword [eax]
mov ecx, edi
call dword [0x6445dc]
mov ecx, esi
push 1
call edi
jmp 0x50ee6c
mov ecx, edi
push 1
call fcn.005abbd0
jmp 0x50f7d7
int3
int3
int3
int3
mov dword [ebp - 0xc0], eax
jmp 0x50f3a1
mov esi, dword [ebp - 0xa8]
xor edi, edi
jmp 0x50ee84
jae 0x50f4ce
mov esi, edx
movss xmm0, dword [edi + 0x44]
orpd xmm0, xmmword [0x62d130]
subsd xmm0, qword [0x62d140]
cvtsd2ss xmm0, xmm0
divss xmm0, dword [edi + 0x48]
cvtss2sd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
call fcn.005aa230
add esp, 8
fstp dword [ebp - 0xd4]
movss xmm0, dword [ebp - 0xd4]
cvttss2si eax, xmm0
mov ecx, eax
subss xmm0, dword [0x62d148]
cvttss2si edx, xmm0
sar ecx, 0x1f
and edx, ecx
or edx, eax
cmp ebx, 3
jb 0x50f9e4
mov eax, ebx
mov ecx, ebx
shr ecx, 1
and ecx, 0x55555555
sub eax, ecx
mov ecx, eax
and ecx, 0x33333333
shr eax, 2
and eax, 0x33333333
add eax, ecx
mov ecx, eax
shr ecx, 4
add ecx, eax
and ecx, 0xf0f0f0f
imul eax, ecx, 0x1010101
shr eax, 0x18
cmp eax, 1
ja 0x50f9e4
lea eax, [edx - 1]
bsr ecx, eax
xor ecx, 0x1f
neg cl
xor eax, eax
inc eax
shl eax, cl
cmp edx, 2
cmovb eax, edx
jmp 0x50f9ed
push edx
call fcn.005507c0
add esp, 4
mov edx, esi
cmp esi, eax
cmovbe edx, eax
cmp edx, ebx
mov esi, dword [ebp - 0xa0]
mov edi, dword [ebp - 0xc4]
jb 0x50f4c2
jmp 0x50f4ce
mov eax, dword [0x65071c]
jmp 0x50e76b
mov eax, dword [0x65071c]
jmp 0x50f758
mov edi, dword [ebp - 0x98]
mov ecx, edi
call fcn.00573990
push edi
call fcn.0057dc2b
add esp, 4
jmp 0x50f7a3