Function at 0x4bcd30
Capabilities:
Get thread local storage value
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov edi, ecx
mov eax, dword [0x597010]
xor eax, ebp
mov dword [esp + 0x68], eax
lea esi, [ecx + 0xc]
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
sub esp, 4
test al, al
jne 0x4bcd68
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
sub esp, 4
mov ebx, edi
mov edi, dword [edi + 0x20]
call fcn.00463d50
mov edx, dword [eax]
test edx, edx
mov dword [esp + 0x14], ebx
je 0x4bcdb5
mov eax, 1
mov ecx, 1
lock xadd dword [edx + 4], ecx
cmp ecx, 0x7fffffff
je 0x4bd576
mov ebx, dword [esp + 0x14]
mov ecx, dword [ebx + 0x10]
inc ecx
mov dword [esp + 0x20], ecx
mov dword [ebx + 0x10], ecx
lock xadd dword [edx + 4], eax
cmp eax, 0x7fffffff
jne 0x4bcdc0
int3
mov eax, dword [ebx + 0x10]
inc eax
mov dword [esp + 0x20], eax
mov dword [ebx + 0x10], eax
imul eax, dword [ebp + 8], 0x5bd1e995
mov ecx, eax
shr ecx, 0x18
xor ecx, eax
imul eax, ecx, 0x5bd1e995
xor eax, 0x6f47a654
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ecx, eax
shr ecx, 0xf
xor ecx, eax
mov dword [esp + 0x18], ecx
mov ebx, dword [ebx + 0x18]
test ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], edx
je 0x4bce4f
mov ecx, ebx
shr ecx, 1
and ecx, 0x55555555
mov eax, ebx
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 ecx, ecx, 0x1010101
shr ecx, 0x18
cmp ecx, 1
ja 0x4bce60
lea esi, [ebx - 1]
and esi, dword [esp + 0x18]
mov ebx, dword [ebp + 8]
jmp 0x4bce75
mov esi, 0xffffffff
mov edi, dword [esp + 0x14]
mov ebx, dword [ebp + 8]
jmp 0x4bcef5
mov eax, dword [esp + 0x18]
mov esi, eax
cmp eax, ebx
mov ebx, dword [ebp + 8]
jb 0x4bce75
xor edx, edx
div dword [esp + 0x1c]
mov esi, edx
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 0x14]
mov edx, dword [eax + esi*4]
test edx, edx
je 0x4bcef5
mov eax, dword [esp + 0x1c]
dec eax
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x18]
jmp 0x4bceb0
and eax, dword [esp + 0x10]
cmp eax, esi
je 0x4bcee7
jmp 0x4bcef1
mov edx, dword [edx]
test edx, edx
je 0x4bcef1
mov eax, dword [edx + 4]
cmp eax, edi
je 0x4bcee7
cmp ecx, 1
jbe 0x4bcea0
mov ebx, ecx
mov ecx, esi
mov esi, dword [esp + 0x1c]
cmp eax, esi
jb 0x4bcedc
mov edi, edx
xor edx, edx
div esi
mov eax, edx
mov edx, edi
mov edi, dword [esp + 0x18]
mov esi, ecx
mov ecx, ebx
mov ebx, dword [ebp + 8]
cmp eax, esi
jne 0x4bcef1
cmp dword [edx + 8], ebx
jne 0x4bceb0
jmp 0x4bd2ff
mov edi, dword [esp + 0x14]
mov dword [esp], 0x14
call fcn.005283f4
mov edx, eax
mov dword [eax + 8], ebx
mov dword [eax + 0x10], 0
mov dword [eax + 0xc], 0
mov eax, dword [esp + 0x18]
mov dword [edx + 4], eax
mov dword [edx], 0
mov eax, dword [edi + 0x20]
inc eax
movd xmm0, eax
movq xmm2, qword [0x57cf98]
por xmm0, xmm2
subsd xmm0, xmm2
cvtsd2ss xmm0, xmm0
movss xmm1, dword [edi + 0x24]
mov ebx, dword [esp + 0x1c]
test ebx, ebx
mov dword [esp + 0x10], edx
je 0x4bcf6e
movd xmm3, ebx
por xmm3, xmm2
subsd xmm3, xmm2
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm3
mulss xmm2, xmm1
ucomiss xmm0, xmm2
jbe 0x4bd2b4
divss xmm0, xmm1
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.00556560
fstp dword [esp + 0x3c]
movss xmm0, dword [esp + 0x3c]
cvttss2si eax, xmm0
mov edx, eax
subss xmm0, dword [0x56b4f8]
sar edx, 0x1f
cvttss2si ecx, xmm0
and ecx, edx
or ecx, eax
lea edx, [ebx + ebx]
mov eax, 1
cmp ebx, 3
jb 0x4bcfba
lea esi, [ebx - 1]
xor eax, eax
test ebx, esi
setne al
or eax, edx
cmp eax, ecx
cmovbe eax, ecx
mov esi, 2
cmp eax, 1
je 0x4bcfe3
lea ecx, [eax - 1]
test eax, ecx
jne 0x4bcfd6
mov esi, eax
jmp 0x4bcfe3
mov dword [esp], eax
call fcn.004352a4
mov esi, eax
mov ebx, dword [edi + 0x18]
mov edx, dword [esp + 0x10]
cmp esi, ebx
jbe 0x4bd0f3
mov ebx, esi
cmp ebx, 0x40000000
jae 0x4bd571
lea eax, [ebx*4]
mov dword [esp], eax
call fcn.005283f4
mov ecx, dword [edi + 0x14]
mov dword [edi + 0x14], eax
test ecx, ecx
je 0x4bd01e
mov dword [esp], ecx
call fcn.00528424
mov dword [edi + 0x18], ebx
lea edx, [ebx - 1]
mov eax, ebx
and eax, 3
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp edx, 3
jb 0x4bd072
mov edx, ebx
and edx, 0xfffffffc
xor ecx, ecx
nop dword [eax + eax]
mov esi, dword [edi + 0x14]
mov dword [esi + ecx*4], 0
mov esi, dword [edi + 0x14]
mov dword [esi + ecx*4 + 4], 0
mov esi, dword [edi + 0x14]
mov dword [esi + ecx*4 + 8], 0
mov esi, dword [edi + 0x14]
mov dword [esi + ecx*4 + 0xc], 0
add ecx, 4
cmp edx, ecx
jne 0x4bd040
test eax, eax
je 0x4bd08e
nop word cs:[eax + eax]
mov edx, dword [edi + 0x14]
mov dword [edx + ecx*4], 0
inc ecx
dec eax
jne 0x4bd080
mov edi, dword [edi + 0x1c]
test edi, edi
mov edx, dword [esp + 0x10]
je 0x4bd28c
mov eax, dword [esp + 0x14]
lea esi, [eax + 0x1c]
mov ecx, ebx
shr ecx, 1
and ecx, 0x55555555
mov eax, ebx
sub eax, ecx
mov ecx, eax
and ecx, 0x33333333
shr eax, 2
and eax, 0x33333333
add eax, ecx
mov edx, eax
shr edx, 4
add edx, eax
mov ecx, dword [edi + 4]
and edx, 0xf0f0f0f
imul eax, edx, 0x1010101
shr eax, 0x18
mov dword [esp + 0x1c], eax
cmp eax, 1
ja 0x4bd1b2
and ecx, dword [esp + 0x28]
jmp 0x4bd1be
jae 0x4bd28c
mov eax, dword [esp + 0x14]
movss xmm0, dword [eax + 0x20]
orpd xmm0, xmmword [0x57cfa0]
subsd xmm0, qword [0x57cf98]
cvtsd2ss xmm0, xmm0
divss xmm0, dword [eax + 0x24]
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.00556560
fstp dword [esp + 0x38]
movss xmm0, dword [esp + 0x38]
cvttss2si ecx, xmm0
mov edx, ecx
subss xmm0, dword [0x56b4f8]
cvttss2si edi, xmm0
sar edx, 0x1f
and edi, edx
or edi, ecx
cmp ebx, 3
jb 0x4bd248
mov edx, ebx
shr edx, 1
and edx, 0x55555555
mov ecx, ebx
sub ecx, edx
mov edx, ecx
and edx, 0x33333333
shr ecx, 2
and ecx, 0x33333333
add ecx, edx
mov edx, ecx
shr edx, 4
add edx, ecx
and edx, 0xf0f0f0f
imul ecx, edx, 0x1010101
shr ecx, 0x18
cmp ecx, 1
ja 0x4bd248
lea ecx, [edi - 1]
bsr ecx, ecx
xor ecx, 0x1f
neg cl
mov eax, 1
shl eax, cl
cmp edi, 2
cmovb eax, edi
jmp 0x4bd250
cmp ecx, ebx
jb 0x4bd1be
mov eax, ecx
xor edx, edx
div ebx
mov ecx, edx
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x14]
mov dword [eax + ecx*4], esi
mov esi, dword [edi]
test esi, esi
je 0x4bd28c
mov dword [esp + 0x24], ebx
jmp 0x4bd1f0
mov eax, ecx
mov edi, esi
mov esi, dword [esi]
mov ecx, eax
test esi, esi
je 0x4bd28c
mov eax, dword [esi + 4]
cmp dword [esp + 0x1c], 1
ja 0x4bd200
and eax, dword [esp + 0x28]
jmp 0x4bd20e
cmp eax, ebx
jb 0x4bd20e
xor edx, edx
div ebx
mov eax, edx
mov edx, dword [esp + 0x10]
cmp eax, ecx
je 0x4bd1e0
mov ebx, dword [esp + 0x14]
mov edx, dword [ebx + 0x14]
cmp dword [edx + eax*4], 0
je 0x4bd23b
mov edx, dword [esi]
mov dword [edi], edx
mov edx, dword [ebx + 0x14]
mov edx, dword [edx + eax*4]
mov edx, dword [edx]
mov dword [esi], edx
mov edx, dword [ebx + 0x14]
mov eax, dword [edx + eax*4]
mov dword [eax], esi
mov esi, edi
mov eax, ecx
jmp 0x4bd23e
mov dword [edx + eax*4], edi
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x24]
jmp 0x4bd1e2
mov dword [esp], edi
call fcn.004352a4
cmp esi, eax
cmova eax, esi
cmp eax, ebx
mov edx, dword [esp + 0x10]
jae 0x4bd28c
mov ebx, eax
test eax, eax
mov edi, dword [esp + 0x14]
jne 0x4bcff1
mov eax, dword [edi + 0x14]
mov dword [edi + 0x14], 0
test eax, eax
je 0x4bd285
mov dword [esp], eax
call fcn.00528424
mov edx, dword [esp + 0x10]
mov dword [edi + 0x18], 0
mov edi, dword [esp + 0x14]
mov ebx, dword [edi + 0x18]
lea esi, [ebx - 1]
test ebx, esi
jne 0x4bd2a0
and esi, dword [esp + 0x18]
jmp 0x4bd2b4
mov esi, dword [esp + 0x18]
cmp esi, ebx
jb 0x4bd2b4
mov eax, esi
xor edx, edx
div ebx
mov esi, edx
mov edx, dword [esp + 0x10]
mov ecx, dword [edi + 0x14]
mov eax, dword [ecx + esi*4]
test eax, eax
je 0x4bd2c4
mov ecx, dword [eax]
mov dword [edx], ecx
jmp 0x4bd2fa
mov eax, dword [edi + 0x1c]
mov dword [edx], eax
lea eax, [edi + 0x1c]
mov dword [edi + 0x1c], edx
mov dword [ecx + esi*4], eax
mov eax, dword [edx]
test eax, eax
je 0x4bd2fc
mov eax, dword [eax + 4]
lea ecx, [ebx - 1]
test ebx, ecx
jne 0x4bd2e6
and eax, ecx
jmp 0x4bd2f4
cmp eax, ebx
jb 0x4bd2f4
xor edx, edx
div ebx
mov eax, edx
mov edx, dword [esp + 0x10]
shl eax, 2
add eax, dword [edi + 0x14]
mov dword [eax], edx
inc dword [edi + 0x20]
mov esi, dword [edx + 0xc]
mov eax, dword [esp + 0x2c]
mov dword [edx + 0xc], eax
test esi, esi
je 0x4bd332
lock dec dword [esi + 4]
jne 0x4bd332
mov eax, dword [esi]
mov ebx, dword [eax + 4]
mov ecx, ebx
mov edi, edx
call dword [section..00cfg]
mov dword [esp], 1
mov ecx, esi
call ebx
sub esp, 4
mov edx, edi
mov eax, dword [esp + 0x20]
mov dword [edx + 0x10], eax
mov eax, dword [esp + 0x14]
cmp dword [eax + 8], 0
mov edi, dword [esp + 0x2c]
je 0x4bd39d
test edi, edi
je 0x4bd36c
lock dec dword [edi + 4]
jne 0x4bd36c
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [section..00cfg]
mov dword [esp], 1
mov ecx, edi
call esi
sub esp, 4
xor ebx, ebx
cmp dword [esp + 0x30], 0
setne bl
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
sub esp, 4
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.00528e13
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov esi, dword [0x5aac00]
cmp esi, 1
ja 0x4bd3f3
mov dword [esp], 0x5aac00
call fcn.00473460
test al, al
je 0x4bd3ed
mov dword [0x5aac08], 0
mov dword [0x5aac04], 0xffffffff
mov dword [esp], 0
mov esi, 0x5aac04
mov ecx, 0x5aac04
call fcn.004624b0
sub esp, 4
mov dword [0x5aac00], esi
jmp 0x4bd3f3
mov esi, dword [0x5aac00]
mov eax, dword [0x599b44]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
and eax, 0xfffffffc
je 0x4bd347
mov ecx, dword [esi]
mov edx, dword [eax + ecx*8 + 4]
cmp edx, dword [esi + 4]
jne 0x4bd347
mov esi, dword [eax + ecx*8]
test esi, esi
je 0x4bd347
mov eax, dword [esp + 0x14]
cmp dword [esi], eax
jne 0x4bd347
lea ebx, [esi + 4]
mov edx, dword [esp + 0x14]
mov eax, edx
shr eax, 0xe
mov ecx, edx
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x59f9d0]
bt ecx, eax
jae 0x4bd45a
mov dword [esp], edx
call fcn.0042f0b8
jmp 0x4bd466
mov eax, edx
shr eax, 0x15
mov byte [eax + 0x5a79d0], 1
movups xmm0, xmmword [ebx]
movaps xmmword [esp + 0x40], xmm0
mov esi, dword [esi + 0x14]
test esi, esi
je 0x4bd491
mov eax, 1
lock xadd dword [esi], eax
test eax, eax
jle 0x4bd579
cmp eax, 0x7fffffff
je 0x4bd57c
mov edx, dword [ebp + 8]
mov eax, edx
shr eax, 0xe
mov ecx, edx
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x59f9d0]
bt ecx, eax
jae 0x4bd4b4
mov dword [esp], edx
call fcn.0042f0b8
jmp 0x4bd4c0
mov eax, edx
shr eax, 0x15
mov byte [eax + 0x5a79d0], 1
mov dword [esp], 0x40
call fcn.005283f4
mov dword [eax], 1
mov dword [eax + 4], 0x4bda20
mov dword [eax + 8], 0x4bda90
mov dword [eax + 0xc], 0x474eb0
mov dword [eax + 0x10], 0x4bd760
mov dword [eax + 0x14], 0
mov edx, dword [esp + 0x14]
mov dword [eax + 0x18], edx
test edx, edx
je 0x4bd512
mov ecx, 1
lock xadd dword [edx + 4], ecx
cmp ecx, 0x7fffffff
je 0x4bd57f
mov ecx, dword [ebp + 8]
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], edx
movaps xmm0, xmmword [esp + 0x40]
movups xmmword [eax + 0x24], xmm0
mov dword [eax + 0x34], esi
mov ecx, dword [esp + 0x20]
mov dword [eax + 0x38], ecx
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], eax
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [section..00cfg]
movsd xmm0, qword [esp + 0x60]
movsd qword [esp + 8], xmm0
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
mov dword [esp], ebx
mov ecx, edi
call esi
sub esp, 0x10
jmp 0x4bd347
call fcn.0042d55a
int3
int3
int3
int3