Function at 0x4f8080
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 [0x644040]
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 0x4f94e9
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x24]
test al, 1
jne 0x4f964b
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.004f9850
xor ecx, ecx
cmp eax, 0x40
jb 0x4f8122
mov edx, eax
and edx, 7
jne 0x4f8122
add ebx, 0x10
mov edx, eax
add edx, ebx
jb 0x4f8122
mov edi, dword [esi + 0xc]
cmp edx, edi
ja 0x4f8122
mov edx, dword [esi + 4]
mov esi, dword [edx + eax + 4]
cmp esi, 0xc8799269
jne 0x4f8122
add edx, eax
mov esi, dword [edx]
cmp esi, ebx
jb 0x4f8122
mov esi, dword [edx]
add esi, eax
jb 0x4f8122
cmp esi, edi
ja 0x4f8122
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 - 0x9c], edi
je 0x4f94df
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.00569390
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 0x4f81e3
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 0x4f94e9
mov dword [ebp - 0x98], ecx
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4f8e61
test edi, edi
je 0x4f94e9
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 0x4f9445
mov dword [ebp - 0xcc], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0xd0], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0xa8], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0xc4], eax
mov edx, dword [edi + 0x10]
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0xb0], ecx
xor esi, esi
cmp eax, 0x40
mov dword [ebp - 0xa4], edx
jb 0x4f943e
mov ecx, eax
mov ebx, 0
and ecx, 7
jne 0x4f832f
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 0x4f82a6
mov ecx, dword [ebp - 0x98]
mov esi, dword [ecx + 0xc]
cmp edx, esi
ja 0x4f82a6
mov ecx, dword [ebp - 0x98]
mov edx, dword [ecx + 4]
mov ecx, dword [edx + eax + 4]
cmp ecx, 0xc8799269
jne 0x4f82a6
add edx, eax
mov ecx, dword [edx]
cmp ecx, 0x14
jb 0x4f82a6
mov ebx, dword [edx]
add ebx, eax
jb 0x4f82a6
cmp ebx, esi
ja 0x4f82a6
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 0x4f9438
mov edx, dword [ebp - 0x98]
mov ecx, dword [edx + 0xc]
cmp edi, ecx
ja 0x4f9438
mov edi, dword [edx + 4]
mov edx, dword [edi + eax + 4]
cmp edx, 0xc8799269
jne 0x4f9438
add edi, eax
mov edx, dword [edi]
cmp edx, 0x10
jb 0x4f9438
mov ebx, dword [edi]
add ebx, eax
setb dl
test edi, edi
je 0x4f9438
test dl, dl
jne 0x4f9438
cmp ebx, ecx
mov edx, dword [ebp - 0xa4]
ja 0x4f943e
mov edi, dword [edi]
cmp edi, 0x11
jb 0x4f942b
add eax, edi
jb 0x4f942b
cmp eax, ecx
ja 0x4f942b
add edi, 0xfffffff0
mov ebx, edi
test esi, esi
je 0x4f95fb
cmp edx, 2
jb 0x4f95fb
cmp edx, 0x3ffffffe
ja 0x4f95fb
lea edi, [edx*4 + 4]
cmp ebx, edi
jb 0x4f95fb
lea eax, [edx + 1]
mov dword [ebp - 0xac], eax
push 0x14
call fcn.00564ea5
add esp, 4
mov ebx, eax
push edi
call fcn.00564ea5
add esp, 4
mov ecx, eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0xac]
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 0x4f95ce
mov dword [eax], 0
add edx, 4
cmp edi, edx
jne 0x4f83a0
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 - 0xac], 0
je 0x4f95bf
mov eax, dword [esi]
mov dword [ecx], eax
mov eax, dword [ebp - 0xa4]
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 0x4f9585
mov ebx, dword [ebp - 0x98]
mov edi, dword [ebx]
mov ebx, dword [ebx + 4]
sub ebx, edi
sar ebx, 2
cmp ebx, ecx
jbe 0x4f95bf
mov dword [edi + ecx*4], edx
lea edx, [eax + ecx]
inc edx
inc ecx
cmp edx, 1
jne 0x4f83f0
mov eax, dword [ebp - 0x98]
mov ebx, dword [eax]
mov edx, dword [eax + 4]
mov esi, edx
sub esi, ebx
mov dword [ebp - 0xa0], ebx
je 0x4f960f
js 0x4f9616
mov ecx, esi
shr ecx, 2
mov edi, esi
and edi, 3
jne 0x4f93fe
mov eax, ebx
mov edi, ebx
sub edi, edx
cmp edi, 0xfffffffc
ja 0x4f84b2
nop
movzx edi, byte [eax]
movzx ebx, cl
xor ebx, edi
shr ecx, 8
xor ecx, dword [ebx*4 + 0x630a84]
movzx edi, byte [eax + 1]
movzx ebx, cl
xor ebx, edi
shr ecx, 8
xor ecx, dword [ebx*4 + 0x630a84]
movzx edi, byte [eax + 2]
movzx ebx, cl
xor ebx, edi
shr ecx, 8
xor ecx, dword [ebx*4 + 0x630a84]
movzx edi, byte [eax + 3]
movzx ebx, cl
xor ebx, edi
shr ecx, 8
xor ecx, dword [ebx*4 + 0x630a84]
add eax, 4
cmp eax, edx
jne 0x4f8460
mov eax, dword [ebp - 0x98]
mov dword [eax + 0xc], ecx
cmp ecx, dword [ebp - 0xb0]
jne 0x4f9585
cmp dword [ebp - 0x98], 0
je 0x4f962a
sar esi, 2
cmp esi, dword [ebp - 0xac]
mov edi, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ebp - 0xa0]
jne 0x4f9619
test ecx, ecx
mov esi, dword [ebp - 0x98]
je 0x4f95dd
mov eax, dword [ebp - 0xa8]
cmp dword [edx + 4], eax
jne 0x4f959c
lea eax, [ecx - 1]
cmp dword [ebp - 0xac], eax
jbe 0x4f95dd
mov eax, dword [ebp - 0xc4]
cmp dword [edx + ecx*4 - 4], eax
jne 0x4f959c
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4f8f81
mov eax, dword [0x64a734]
cmp eax, 1
jbe 0x4f9529
mov dword [ebp - 0xc4], eax
push eax
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x4f94f7
mov eax, dword [0x64a734]
cmp eax, 1
jbe 0x4f9557
mov eax, dword [0x64a73c]
mov dword [ebp - 0xa8], eax
test eax, eax
je 0x4f9508
mov eax, esi
shr eax, 0xe
mov ecx, esi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x64c804]
bt ecx, eax
jae 0x4f8f70
push esi
call fcn.004f0de0
add esp, 4
mov eax, dword [ebp - 0xa8]
lea ecx, [eax + 0x38]
mov dword [ebp - 0xb0], ecx
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0xa0], ecx
mov edx, dword [eax + 0x3c]
test edx, edx
mov dword [ebp - 0xb8], edx
je 0x4f90a3
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 0x4f93f2
mov eax, dword [ebp - 0xa0]
mov ebx, eax
cmp eax, edx
mov ecx, edx
mov edx, eax
jb 0x4f862b
xor edx, edx
div ecx
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax]
mov eax, dword [eax + edx*4]
test eax, eax
mov dword [ebp - 0xc0], edx
je 0x4f9104
mov edx, dword [eax]
test edx, edx
je 0x4f9104
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0xa0]
cmp eax, ecx
mov dword [ebp - 0xbc], edx
jne 0x4f90b9
mov eax, dword [edx + 8]
mov dword [ebp - 0xac], eax
cmp dword [eax + 0xc], ecx
jne 0x4f90da
mov ecx, dword [ebp - 0xac]
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 0x4f90da
cmp edx, eax
je 0x4f86c9
sar ecx, 2
cmp ecx, 1
mov edx, ecx
adc edx, 0
xor esi, esi
nop dword [eax]
cmp ecx, esi
je 0x4f95dd
mov ebx, dword [eax + esi*4]
cmp ebx, dword [edi + esi*4]
jne 0x4f90da
inc esi
cmp edx, esi
jne 0x4f86b0
mov esi, dword [ebp - 0x98]
mov eax, esi
mov edi, dword [ebp - 0x9c]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x64c804]
bt edx, ecx
jae 0x4f86f6
push eax
call fcn.004f1260
add esp, 4
push dword [ebp - 0xc4]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
xor ebx, ebx
cmp dword [ebp - 0xac], esi
je 0x4f9058
mov eax, dword [esi]
test eax, eax
je 0x4f873a
mov ecx, dword [esi + 4]
nop dword [eax]
cmp ecx, eax
je 0x4f872e
add ecx, 0xfffffffc
jne 0x4f8720
jmp 0x4f95ec
mov dword [esi + 4], eax
push eax
call fcn.00564ea0
add esp, 4
push esi
call fcn.00564ea0
add esp, 4
mov eax, dword [edi + 0x1c]
mov edx, dword [ebp - 0xa4]
lea ecx, [edx - 0x20000000]
cmp ecx, 0xe0000001
jb 0x4f9637
lea esi, [edx*8]
mov ecx, dword [ebp - 0xb4]
mov edi, dword [ecx + 4]
test eax, eax
mov dword [ebp - 0xa0], esi
mov dword [ebp - 0xa8], ebx
jne 0x4f8f99
mov eax, dword [ebp - 0x9c]
add eax, 0x1c
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x70], 0xffffffff
mov eax, edi
shr eax, 0xe
mov ecx, edi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x64c804]
bt ecx, eax
jb 0x4f8f34
mov eax, edi
shr eax, 0x15
mov byte [eax + 0x654804], 1
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], 0x53215531
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x74], 0
mov esi, dword [ebp - 0x98]
mov edi, esi
shr edi, 0xe
mov ebx, esi
shr ebx, 0x13
mov eax, dword [ebx*4 + 0x64c804]
bt eax, edi
jb 0x4f9684
mov eax, esi
shr eax, 0x15
mov byte [eax + 0x654804], 1
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 + 0x64c804]
bt ecx, eax
jb 0x4f8f56
mov eax, esi
shr eax, 0x15
mov byte [eax + 0x654804], 1
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x90], 0x53215531
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], edx
mov eax, dword [ebx*4 + 0x64c804]
bt eax, edi
jb 0x4f9698
mov esi, dword [ebp - 0x98]
mov eax, esi
shr eax, 0x15
mov byte [eax + 0x654804], 1
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0x84], esi
lea esi, [ecx + 0x60]
mov eax, dword [ebp - 0xcc]
test eax, eax
jne 0x4f8dcf
push 0x14
call fcn.00564ea5
add esp, 4
mov dword [eax + 4], esi
xor ecx, ecx
mov dword [eax + 8], ecx
mov dword [eax], 0x6234e4
mov dword [eax + 0xc], ecx
mov dword [ebp - 0x98], eax
mov dword [eax + 0x10], ecx
test esi, esi
je 0x4f9675
push esi
call fcn.0057f420
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 [0x62f520]
movups xmmword [ebx - 0x18], xmm0
test eax, eax
je 0x4f8929
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 0x4f93ca
mov eax, edi
mov dword [ebp - 0x14], eax
push eax
push esi
push ebx
call fcn.00569390
add esp, 0xc
mov eax, dword [ebp - 0x9c]
lea esi, [eax + 0x20]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0xa0], eax
mov byte [ebp + ecx - 0x54], 0x80
lea eax, [ecx + 1]
cmp eax, 0x39
jae 0x4f906e
cmp eax, 0x38
je 0x4f8972
mov ecx, 0x38
sub ecx, eax
add eax, ebx
push ecx
push 0
push eax
call fcn.00569910
add esp, 0xc
lea edi, [ebp - 0x6c]
mov eax, dword [ebp - 0xa4]
mov dword [edi + 0x50], eax
mov eax, dword [ebp - 0xa0]
mov dword [edi + 0x54], eax
push 1
push ebx
push edi
call fcn.004dde80
add esp, 0xc
mov eax, dword [edi]
mov dword [ebp - 0xa4], eax
mov ebx, dword [edi + 4]
push 0x2c
call fcn.00564ea5
add esp, 4
mov edi, eax
mov dword [eax], 0x622580
mov dword [eax + 4], 0
mov eax, esi
shr eax, 0xe
mov ecx, esi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x64c804]
bt ecx, eax
jb 0x4f904a
mov eax, esi
shr eax, 0x15
mov byte [eax + 0x654804], 1
mov dword [edi + 8], esi
mov eax, dword [esi]
or eax, dword [esi + 4]
jne 0x4f89f6
mov eax, dword [ebp - 0xa4]
bswap eax
bswap ebx
mov dword [esi], ebx
mov dword [esi + 4], eax
mov dword [edi], 0x622180
mov esi, dword [ebp - 0xac]
mov ecx, esi
shr ecx, 0xe
mov eax, esi
shr eax, 0x13
mov dword [ebp - 0xa0], eax
mov eax, dword [eax*4 + 0x64c804]
mov dword [ebp - 0xa4], ecx
bt eax, ecx
jb 0x4f8a32
mov eax, esi
shr eax, 0x15
mov byte [eax + 0x654804], 1
jmp 0x4f8a3b
push esi
call fcn.004f0de0
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 0x4f9624
lea esi, [ebp - 0x7c]
mov dword [edi], 0x622200
mov ebx, dword [esi - 4]
mov eax, ebx
shr eax, 0xe
mov ecx, ebx
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x64c804]
bt ecx, eax
jb 0x4f8f48
mov eax, ebx
shr eax, 0x15
mov byte [eax + 0x654804], 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 + 0x64c804]
bt ecx, eax
jb 0x4f96ac
mov eax, esi
shr eax, 0x15
mov byte [eax + 0x654804], 1
mov dword [edi + 0x28], esi
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x1c]
cmp eax, 0xffffffff
je 0x4f9328
mov eax, dword [ebp - 0x9c]
lea ebx, [eax + 0x40]
mov eax, dword [ebp - 0x98]
mov esi, dword [eax + 0xc]
mov dword [eax + 0xc], edi
test esi, esi
jne 0x4f96c8
mov eax, dword [edi + 8]
mov esi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0xb0], eax
push 0x2c
call fcn.00564ea5
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 + 0x64c804]
bt ecx, eax
jb 0x4f8e53
mov eax, ebx
shr eax, 0x15
mov byte [eax + 0x654804], 1
mov dword [edi + 8], ebx
mov eax, dword [ebx]
or eax, dword [ebx + 4]
jne 0x4f8b4f
mov dword [ebx], esi
mov eax, dword [ebp - 0xb0]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax*4 + 0x64c804]
mov ecx, dword [ebp - 0xa4]
bt eax, ecx
jb 0x4f8b7b
mov esi, dword [ebp - 0xac]
mov eax, esi
shr eax, 0x15
mov byte [eax + 0x654804], 1
jmp 0x4f8b8a
mov esi, dword [ebp - 0xac]
push esi
call fcn.004f0de0
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 0x4f9627
lea esi, [ebp - 0x90]
mov dword [edi], 0x622200
mov ebx, dword [esi - 4]
mov eax, ebx
shr eax, 0xe
mov ecx, ebx
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x64c804]
bt ecx, eax
jb 0x4f8dc1
mov eax, ebx
shr eax, 0x15
mov byte [eax + 0x654804], 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 + 0x64c804]
bt ecx, eax
jb 0x4f96ba
mov eax, esi
shr eax, 0x15
mov byte [eax + 0x654804], 1
mov ebx, dword [ebp - 0xa8]
mov dword [edi + 0x28], esi
mov eax, dword [ebp - 0x9c]
mov eax, dword [eax + 0x5c]
cmp eax, 0xffffffff
je 0x4f9379
mov eax, dword [ebp - 0x98]
mov esi, dword [eax + 0x10]
mov dword [eax + 0x10], edi
test esi, esi
jne 0x4f96e7
mov edi, eax
xor ecx, ecx
test edi, edi
je 0x4f8c5c
mov eax, dword [ebp - 0xd0]
lock or dword [edi + 8], eax
mov ecx, edi
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov eax, dword [ebp - 0x84]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x64c804]
bt edx, ecx
mov edi, dword [ebp - 0x9c]
jb 0x4f9659
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 + 0x64c804]
bt edx, ecx
jae 0x4f8cb6
push eax
call fcn.004f0f10
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 + 0x64c804]
bt edx, ecx
jb 0x4f9667
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 + 0x64c804]
bt edx, ecx
jae 0x4f8cfc
push eax
call fcn.004f0f10
add esp, 4
test ebx, ebx
jne 0x4f8d90
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 0x4f8d67
sub edi, edx
cmp edi, 0x10
jb 0x4f8d67
mov ebx, edi
mov edi, dword [esi + 0xc]
cmp ebx, edi
jae 0x4f8d67
lea esi, [ebx - 0x10]
cmp esi, 0x40
jb 0x4f8d67
and ebx, 7
jne 0x4f8d67
mov ebx, dword [edx + esi + 4]
cmp ebx, 0xc8799269
jne 0x4f8d67
add edx, esi
mov ebx, dword [edx]
cmp ebx, 0x11
jb 0x4f8d67
mov ebx, dword [edx]
add ebx, esi
jb 0x4f8d67
cmp ebx, edi
ja 0x4f8d67
mov edi, dword [edx + 8]
cmp edi, 0xf1645914
jne 0x4f8d67
test edx, edx
cmove esi, edx
mov ecx, esi
test eax, eax
je 0x4f8d6d
mov dword [eax], ecx
mov eax, dword [ebp - 0xb4]
mov dword [eax + 0x2c], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00568175
mov eax, dword [ebp + 8]
add esp, 0xcc
pop esi
pop edi
pop ebx
pop ebp
ret 0x24
mov eax, dword [ebx]
test eax, eax
je 0x4f8db3
mov ecx, dword [ebx + 4]
cmp ecx, eax
je 0x4f8da7
add ecx, 0xfffffffc
jne 0x4f8d99
jmp 0x4f95ec
mov dword [ebx + 4], eax
push eax
call fcn.00564ea0
add esp, 4
push ebx
call fcn.00564ea0
add esp, 4
jmp 0x4f8d04
push ebx
call fcn.004f0de0
add esp, 4
jmp 0x4f8bdb
cmp eax, 1
jne 0x4f8e07
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
push dword [ebp - 0xac]
push esi
push ebx
call fcn.004fa200
add esp, 0x1c
mov edi, dword [ebx]
mov ebx, dword [ebp - 0xa8]
jmp 0x4f8c4a
cmp eax, 2
jne 0x4f949e
lea edi, [ecx + 0x40]
lea ebx, [ecx + 0x20]
push 0x20
call fcn.00564ea5
add esp, 4
mov ecx, eax
lea eax, [ebp - 0x94]
lea edx, [ebp - 0x80]
push edi
mov edi, ecx
push ebx
push eax
push edx
push dword [ebp - 0xac]
push esi
call fcn.00408720
lea eax, [edi + 0x18]
xor ecx, ecx
mov dword [edi + 0x18], ecx
mov dword [edi + 0x1c], ecx
mov dword [edi + 0x14], eax
mov dword [edi], 0x6235a4
jmp 0x4f8dfc
push ebx
call fcn.004f0de0
add esp, 4
jmp 0x4f8b3a
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax + 4]
push 0xbcea225b
push ebx
call fcn.004f9850
test eax, eax
je 0x4f94e9
cmp eax, 0x40
jb 0x4f94e9
mov ecx, eax
and ecx, 7
jne 0x4f94e9
add ebx, 0x10
mov edx, eax
add edx, ebx
jb 0x4f94e9
mov ecx, dword [ebp - 0xb4]
mov ecx, dword [ecx + 4]
mov edi, dword [ecx + 0xc]
cmp edx, edi
ja 0x4f94e9
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + eax + 4]
cmp edx, 0xc8799269
jne 0x4f94e9
add ecx, eax
mov edx, dword [ecx]
cmp edx, ebx
jb 0x4f94e9
mov edx, dword [ecx]
add edx, eax
jb 0x4f94e9
cmp edx, edi
ja 0x4f94e9
mov edx, dword [ecx + 8]
cmp edx, 0xbcea225b
jne 0x4f94e9
test ecx, ecx
je 0x4f94e9
mov edx, dword [esi]
cmp dword [esi + 4], edx
je 0x4f8f26
xor ebx, ebx
nop word cs:[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 0x4f8f10
mov dword [esi + 0x10], eax
mov edi, dword [ebp - 0x9c]
jmp 0x4f81bc
push edi
call fcn.004f0de0
mov edx, dword [ebp - 0xa4]
add esp, 4
jmp 0x4f87be
push ebx
call fcn.004f0de0
add esp, 4
jmp 0x4f8a89
push esi
mov dword [ebp - 0xa4], edx
call fcn.004f0de0
mov edx, dword [ebp - 0xa4]
add esp, 4
jmp 0x4f883d
mov eax, esi
shr eax, 0x15
mov byte [eax + 0x654804], 1
jmp 0x4f85a9
push esi
call fcn.0053c690
xor ebx, ebx
mov dword [ebp - 0xac], eax
cmp eax, esi
cmovne ebx, esi
jmp 0x4f8743
xor edx, edx
cmp eax, 0x40
jb 0x4f902e
mov ecx, eax
and ecx, 7
jne 0x4f95b8
mov edx, eax
add edx, 0x10
jb 0x4f95b8
mov ecx, dword [edi + 0xc]
cmp edx, ecx
ja 0x4f95b2
mov edx, dword [edi + 4]
mov esi, dword [edx + eax + 4]
cmp esi, 0xc8799269
jne 0x4f95b2
add edx, eax
mov esi, dword [edx]
cmp esi, 0x10
jb 0x4f95ac
mov esi, dword [edx]
add esi, eax
setb bl
test edx, edx
je 0x4f95ac
test bl, bl
jne 0x4f95ac
cmp esi, ecx
mov ebx, dword [ebp - 0xa8]
ja 0x4f95b2
mov edx, dword [edx]
cmp edx, 0x11
mov esi, dword [ebp - 0xa0]
jb 0x4f9704
add eax, edx
jb 0x4f9704
cmp eax, ecx
ja 0x4f9704
add edx, 0xfffffff0
cmp edx, esi
mov edx, dword [ebp - 0xa4]
jb 0x4f9637
mov eax, dword [ebp - 0xb4]
mov edi, dword [eax + 4]
jmp 0x4f8782
push esi
call fcn.004f0de0
add esp, 4
jmp 0x4f89dd
mov dword [ebp - 0xac], esi
jmp 0x4f8743
mov byte [eax + 2], 0
mov word [eax], 0
jmp 0x4f908d
cmp ecx, 0x3f
je 0x4f908d
add eax, ebx
cmp ecx, 0x3c
je 0x4f9063
mov edx, 0x3f
sub edx, ecx
push edx
push 0
push eax
call fcn.00569910
add esp, 0xc
lea eax, [ebp - 0x6c]
push 1
push ebx
push eax
call fcn.004dde80
add esp, 0xc
xor eax, eax
jmp 0x4f895d
xor eax, eax
dec eax
mov dword [ebp - 0xc0], eax
jmp 0x4f9104
mov ecx, dword [ebp - 0xb8]
dec ecx
and eax, ecx
jmp 0x4f90d2
cmp dword [ebp - 0xc8], 1
jbe 0x4f90ae
mov ecx, dword [ebp - 0xb8]
cmp eax, ecx
jb 0x4f90d2
xor edx, edx
div ecx
mov eax, edx
cmp eax, dword [ebp - 0xc0]
jne 0x4f90f8
mov edx, dword [ebp - 0xbc]
mov edx, dword [edx]
test edx, edx
mov edi, dword [ebp - 0x9c]
mov esi, dword [ebp - 0x98]
jne 0x4f864e
jmp 0x4f9104
mov edi, dword [ebp - 0x9c]
mov esi, dword [ebp - 0x98]
push 0xc
call fcn.00564ea5
add esp, 4
test eax, eax
je 0x4f95ce
mov ecx, eax
mov eax, dword [ebp - 0xa0]
mov dword [ecx + 4], eax
mov dword [ebp - 0xbc], ecx
mov dword [ecx + 8], esi
mov ecx, dword [ebp - 0xa8]
mov eax, dword [ecx + 0x44]
inc eax
movd xmm0, eax
movq xmm2, qword [0x6271a0]
por xmm0, xmm2
subsd xmm0, xmm2
cvtsd2ss xmm0, xmm0
movss xmm1, dword [ecx + 0x48]
mov ebx, dword [ebp - 0xb8]
test ebx, ebx
je 0x4f9245
movd xmm3, ebx
por xmm3, xmm2
subsd xmm3, xmm2
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm3
mulss xmm2, xmm1
ucomiss xmm0, xmm2
ja 0x4f9245
mov eax, dword [ebp - 0xb0]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc0]
mov eax, dword [ecx + edx*4]
test eax, eax
jne 0x4f9224
mov dword [ebp - 0xb8], ebx
mov eax, dword [ebp - 0xbc]
mov ebx, dword [ebp - 0xa8]
mov dword [ebp - 0xac], ecx
lea ecx, [ebx + 0x40]
mov dword [ebp - 0x98], ecx
mov ecx, dword [ebx + 0x40]
mov dword [eax], ecx
mov dword [ebx + 0x40], eax
mov eax, ecx
mov ecx, dword [ebp - 0x98]
mov ebx, dword [ebp - 0xac]
mov dword [ebx + edx*4], ecx
mov dword [ebp - 0xac], esi
test eax, eax
je 0x4f9214
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0xb8]
lea ecx, [edx - 1]
test edx, ecx
je 0x4f9230
cmp eax, edx
jb 0x4f91f8
mov ecx, edx
xor edx, edx
div ecx
mov eax, edx
shl eax, 2
mov ecx, dword [ebp - 0xb0]
add eax, dword [ecx]
mov edx, dword [ebp - 0xbc]
mov dword [eax], edx
mov eax, dword [edx + 8]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xa8]
inc dword [eax + 0x44]
xor eax, eax
jmp 0x4f86d7
mov ecx, dword [eax]
mov edx, dword [ebp - 0xbc]
mov dword [edx], ecx
jmp 0x4f9209
and eax, ecx
jmp 0x4f91f8
and eax, dword [ebp - 0xa0]
mov dword [ebp - 0xc0], eax
jmp 0x4f917f
divss xmm0, xmm1
cvtss2sd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
call fcn.00591490
add esp, 8
fstp dword [ebp - 0xd8]
movss xmm0, dword [ebp - 0xd8]
cvttss2si ecx, xmm0
mov edx, ecx
sar edx, 0x1f
subss xmm0, dword [0x6271a8]
cvttss2si eax, xmm0
and eax, edx
mov ebx, dword [ebp - 0xb8]
or eax, ecx
lea ecx, [ebx + ebx]
cmp ebx, 3
jae 0x4f9308
xor edx, edx
inc edx
or edx, ecx
cmp edx, eax
cmovbe edx, eax
cmp edx, 1
je 0x4f9301
lea eax, [edx - 1]
test edx, eax
je 0x4f92bc
push edx
call fcn.0053cc50
add esp, 4
mov edx, eax
mov eax, dword [ebp - 0xa8]
mov ebx, dword [eax + 0x3c]
cmp edx, ebx
jbe 0x4f972b
mov ecx, dword [ebp - 0xb0]
push edx
call fcn.0053caf0
mov eax, dword [ebp - 0xa8]
mov ebx, dword [eax + 0x3c]
lea eax, [ebx - 1]
test ebx, eax
je 0x4f9234
mov eax, dword [ebp - 0xa0]
cmp eax, ebx
jb 0x4f923a
xor edx, edx
div ebx
mov dword [ebp - 0xc0], edx
jmp 0x4f917f
mov edx, 2
jmp 0x4f92bc
mov edx, dword [ebp - 0xb8]
dec edx
test dword [ebp - 0xb8], edx
mov edx, 0
mov ebx, dword [ebp - 0xb8]
setne dl
jmp 0x4f9295
mov eax, dword [edi + 0x28]
mov eax, dword [eax]
test eax, eax
je 0x4f8ad6
test byte [edi + 0x24], 3
jne 0x4f9712
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.00537650
mov eax, dword [ebp - 0x68]
cmp eax, 4
jb 0x4f8ad6
shr eax, 2
cmp eax, dword [edi + 0x10]
jb 0x4f9715
mov eax, dword [ebp - 0x6c]
mov dword [edi + 0x14], eax
jmp 0x4f8ad6
mov eax, dword [edi + 0x28]
mov eax, dword [eax]
test eax, eax
je 0x4f8c34
test byte [edi + 0x24], 3
jne 0x4f9718
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.00537650
mov eax, dword [ebp - 0x68]
cmp eax, 4
jb 0x4f8c34
shr eax, 2
cmp eax, dword [edi + 0x10]
jb 0x4f971b
mov eax, dword [ebp - 0x6c]
mov dword [edi + 0x14], eax
jmp 0x4f8c34
mov eax, edi
shr eax, 6
lea ecx, [ebp - 0x6c]
push eax
push esi
push ecx
call fcn.004dde80
add esp, 0xc
mov eax, edi
and eax, 0x3f
je 0x4f8929
and edi, 0xffffffc0
add esi, edi
jmp 0x4f891b
dec edx
and edx, dword [ebp - 0xa0]
jmp 0x4f862b
mov eax, ebx
movzx ebx, byte [eax]
mov dword [ebp - 0xbc], ebx
movzx ebx, cl
xor ebx, dword [ebp - 0xbc]
shr ecx, 8
xor ecx, dword [ebx*4 + 0x630a84]
mov ebx, dword [ebp - 0xa0]
inc eax
dec edi
jne 0x4f9400
jmp 0x4f8455
mov ecx, dword [ebp - 0x98]
push 1
call fcn.00592910
mov edx, dword [ebp - 0xa4]
xor ebx, ebx
jmp 0x4f832f
mov eax, dword [ebp - 0x9c]
lea edi, [eax + 0x40]
mov eax, dword [ebp - 0x9c]
lea ebx, [eax + 0x20]
mov eax, dword [ebp - 0x9c]
add eax, 0x60
mov dword [ebp - 0x98], eax
push 0x1c
call fcn.00564ea5
add esp, 4
mov esi, eax
mov ecx, eax
push edi
mov edi, dword [ebp - 0x9c]
push ebx
push dword [ebp - 0x98]
push dword [ebp - 0xb4]
call fcn.0040d070
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov eax, dword [edi + 4]
lock or dword [esi + 8], eax
jmp 0x4f8d04
cmp eax, 3
jne 0x4f971e
lea edi, [ecx + 0x40]
lea ebx, [ecx + 0x20]
push 0x14
call fcn.00564ea5
add esp, 4
mov ecx, eax
lea eax, [ebp - 0x94]
lea edx, [ebp - 0x80]
push edi
mov edi, ecx
push ebx
push eax
push edx
push dword [ebp - 0xac]
push esi
call fcn.00408720
mov dword [edi], 0x623604
jmp 0x4f8dfc
cmp dword [ebp + 0xc], 4
jne 0x4f818d
mov eax, dword [ebp + 8]
mov dword [eax], 0
jmp 0x4f8d76
push dword [ebp - 0xc4]
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x4f8565
push 0x58
call fcn.00564ea5
add esp, 4
mov ecx, eax
call fcn.00402890
mov eax, dword [0x64a73c]
mov dword [ebp - 0xa8], eax
jmp 0x4f8586
push 0x64a734
call fcn.00409590
add esp, 4
test al, al
je 0x4f9813
mov dword [0x64a738], 0
mov eax, 0x64a738
mov dword [0x64a734], eax
jmp 0x4f8550
push 0x64a734
call fcn.00409590
add esp, 4
test al, al
je 0x4f981d
mov dword [0x64a738], 0
mov eax, 0x64a738
mov dword [0x64a734], eax
jmp 0x4f8573
cmp dword [ebp - 0x98], 0
jne 0x4f9827
mov edi, dword [ebp - 0x9c]
xor ebx, ebx
jmp 0x4f959e
mov ebx, esi
mov eax, dword [ebp + 8]
mov dword [eax], 0
jmp 0x4f8cfc
mov ebx, dword [ebp - 0xa8]
mov esi, dword [ebp - 0xa0]
xor edx, edx
jmp 0x4f902e
push str....._third_partylibc_srcinclude_vector:1411:_assertion___n___size___failed:_vector___index_out_of_bounds_n
push 0x624173
call fcn.00591ed0
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
push 0x624173
call fcn.00591ed0
push str....._third_partylibc_srcinclude_vector:1418:_assertion___n___size___failed:_vector___index_out_of_bounds_n
push 0x624173
call fcn.00591ed0
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
push 0x624173
call fcn.00591ed0
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov edi, dword [ebp - 0x9c]
jmp 0x4f8d04
xor ecx, ecx
jmp 0x4f84b2
int3
mov ebx, dword [ebp - 0x98]
jmp 0x4f959e
int3
int3
xor ebx, ebx
mov edi, dword [ebp - 0x9c]
jmp 0x4f959e
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov edi, dword [ebp - 0x9c]
jmp 0x4f8cfc
mov ecx, esi
push 0
call fcn.00592910
jmp 0x4f94e9
push eax
call fcn.004f0f10
add esp, 4
jmp 0x4f8c87
push eax
call fcn.004f0f10
add esp, 4
jmp 0x4f8cd3
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 0x624173
call fcn.00591ed0
push esi
call fcn.004f0de0
mov edx, dword [ebp - 0xa4]
add esp, 4
jmp 0x4f87fe
mov esi, dword [ebp - 0x98]
push esi
call fcn.004f0de0
add esp, 4
jmp 0x4f8881
push esi
call fcn.004f0de0
add esp, 4
jmp 0x4f8ac4
push esi
call fcn.004f0de0
add esp, 4
jmp 0x4f8c19
mov eax, dword [esi]
mov ecx, dword [eax]
mov dword [ebp - 0xb0], ecx
call dword [0x63e63c]
mov ecx, esi
push 1
call dword [ebp - 0xb0]
jmp 0x4f8af3
mov eax, dword [esi]
mov edi, dword [eax]
mov ecx, edi
call dword [0x63e63c]
mov ecx, esi
push 1
call edi
mov edi, dword [ebp - 0x98]
jmp 0x4f8c4a
mov ecx, edi
push 1
call fcn.00592910
jmp 0x4f95b8
int3
int3
int3
int3
mov ebx, dword [ebp - 0xa8]
xor ecx, ecx
jmp 0x4f8c5c
jae 0x4f92d0
mov esi, edx
mov eax, dword [ebp - 0xa8]
movss xmm0, dword [eax + 0x44]
orpd xmm0, xmmword [0x627190]
subsd xmm0, qword [0x6271a0]
cvtsd2ss xmm0, xmm0
divss xmm0, dword [eax + 0x48]
cvtss2sd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
call fcn.00591490
add esp, 8
fstp dword [ebp - 0xd4]
movss xmm0, dword [ebp - 0xd4]
cvttss2si eax, xmm0
mov ecx, eax
subss xmm0, dword [0x6271a8]
cvttss2si edx, xmm0
sar ecx, 0x1f
and edx, ecx
or edx, eax
cmp ebx, 3
jb 0x4f97ea
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 0x4f97ea
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 0x4f97f3
push edx
call fcn.0053cc50
add esp, 4
mov edx, esi
cmp esi, eax
cmovbe edx, eax
cmp edx, ebx
mov edi, dword [ebp - 0x9c]
mov esi, dword [ebp - 0x98]
jb 0x4f92c4
jmp 0x4f92d0
mov eax, dword [0x64a734]
jmp 0x4f8550
mov eax, dword [0x64a734]
jmp 0x4f8573
mov esi, dword [ebp - 0x98]
mov ecx, esi
call fcn.00558b00
push esi
call fcn.00564ea0
add esp, 4
jmp 0x4f9592