Function at 0x457790
Capabilities:
Get thread local storage value
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x130
mov esi, esp
mov edx, ecx
mov eax, dword [0x511014]
xor eax, ebp
mov dword [esi + 0x128], eax
lea eax, [ebp + 0xc]
mov ecx, dword [eax - 4]
mov dword [esi + 0x14], ecx
mov eax, dword [eax]
movzx eax, byte [eax + 0x12]
and eax, 0x7f
mov cl, 1
mov dword [esi + 0x10], ecx
cmp eax, 1
mov dword [esi + 0xc], edx
jne 0x457fe0
mov eax, dword [edx + 0x18]
mov ecx, 2
lock xadd dword [eax], ecx
test cl, 1
jne 0x4587f6
pxor xmm0, xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0xe0], xmm0
movdqa xmmword [esi + 0xf0], xmm0
movdqa xmmword [esi + 0x100], xmm0
movdqu xmmword [esi + 0x10d], xmm0
xor eax, eax
mov byte [esi + 0xd0], al
mov dword [esi + 0xd5], eax
mov dword [esi + 0xd1], eax
mov dword [esi + 0xd9], 0x102
mov byte [esi + 0xdd], al
lea eax, [ebp + 0xc]
mov edi, dword [eax]
mov dword [esi + 0x64], edi
add edi, 0x18
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x4581ee
cmp byte [esi + 0x10], 0
je 0x4587cb
lea eax, [ebp + 0xc]
mov edi, dword [eax]
mov eax, dword [edi]
mov ebx, dword [eax + 0x18]
cmp ebx, 0x491dd0
je 0x457d9f
mov ecx, ebx
call dword [section..00cfg]
lea eax, [esi + 0x64]
lea edx, [esi + 0x70]
mov ecx, edi
push eax
push edx
call ebx
mov edx, dword [esi + 0x70]
movups xmm0, xmmword [esi + 0x74]
movaps xmmword [esi + 0x20], xmm0
lea ebx, [esi + 0xe4]
movups xmm0, xmmword [esi + 0x88]
movups xmmword [ebx], xmm0
movups xmm0, xmmword [esi + 0x98]
movups xmmword [ebx + 0x10], xmm0
movups xmm0, xmmword [esi + 0xa8]
movups xmmword [ebx + 0x20], xmm0
movups xmm0, xmmword [esi + 0xb1]
movups xmmword [ebx + 0x29], xmm0
mov eax, dword [esi + 0x64]
mov cl, byte [eax + 0x10]
mov byte [esi + 0x78], cl
movsd xmm0, qword [eax + 8]
movsd qword [esi + 0x70], xmm0
mov cl, byte [eax + 0x15]
mov byte [esi + 0x7d], cl
mov ecx, dword [eax + 0x11]
mov dword [esi + 0x79], ecx
movsd qword [esi + 0xd0], xmm0
movsd xmm0, qword [esi + 0x76]
movsd qword [esi + 0xd6], xmm0
test eax, eax
je 0x457905
add eax, 0x18
push eax
mov edi, edx
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov edx, edi
mov dword [esi + 0x18], esp
push eax
sub esp, 0x5c
mov ecx, esp
lea eax, [ebp + 0xc]
mov edi, dword [eax]
mov dword [ecx], edx
movaps xmm0, xmmword [esi + 0x20]
movups xmmword [ecx + 4], xmm0
movups xmm0, xmmword [ebx]
movups xmm1, xmmword [ebx + 0x10]
movups xmmword [ecx + 0x18], xmm0
movups xmmword [ecx + 0x28], xmm1
movups xmm0, xmmword [ebx + 0x20]
movups xmmword [ecx + 0x38], xmm0
movdqu xmm0, xmmword [ebx + 0x29]
movdqu xmmword [ecx + 0x41], xmm0
mov dword [ecx + 0x58], edi
lea eax, [esi + 0xd0]
mov dword [esi + 8], ecx
mov dword [ecx + 0x5c], eax
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
mov ebx, dword [eax + 4]
cmp ebx, 0x491500
jne 0x458023
xor eax, eax
dec eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov eax, dword [edi]
mov ebx, dword [eax]
cmp ebx, 0x4921f0
je 0x457ed1
mov ecx, ebx
call dword [section..00cfg]
lea eax, [esi + 0x48]
mov ecx, edi
push eax
call ebx
mov eax, dword [esi + 0x48]
mov dword [esi + 0x40], eax
xor eax, eax
inc eax
lock xadd dword [0x526204], eax
mov dword [esi + 0x44], eax
mov eax, dword [0x526200]
mov ecx, dword [0x514f00]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x458426
push dword [0x514c54]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 0xfffffffc
je 0x4586bf
mov ecx, dword [0x5261f8]
lea edx, [esi + 0x40]
mov dword [eax + ecx*8], edx
mov ecx, dword [0x5261fc]
mov edx, dword [0x5261f8]
mov dword [eax + edx*8 + 4], ecx
mov eax, dword [0x526210]
mov ecx, dword [0x514f00]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4584be
lea edi, [esi + 0x44]
push dword [0x514c54]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 0xfffffffc
je 0x4586c9
mov ecx, dword [0x526208]
mov dword [eax + ecx*8], edi
mov ecx, dword [0x52620c]
mov edx, dword [0x526208]
mov dword [eax + edx*8 + 4], ecx
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x5c]
mov al, byte [eax + 9]
mov byte [esi + 0x3c], al
mov edi, dword [0x526010]
cmp edi, 1
jbe 0x458556
push dword [0x514c54]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 0xfffffffc
je 0x4586d3
mov ecx, dword [edi]
lea edx, [esi + 0x3c]
mov dword [eax + ecx*8], edx
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov dword [eax + ecx*8 + 4], edx
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x70], xmm0
xor eax, eax
dec eax
mov dword [esi + 0x84], eax
mov dword [esi + 0x80], eax
mov byte [esi + 0x70], 0
mov edi, dword [esi + 0x4c]
test edi, edi
jne 0x457ab8
lea edi, [esi + 0x74]
xor eax, eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov byte [edi - 4], 1
mov ebx, dword [0x524bc0]
cmp ebx, 1
jbe 0x4586ef
push dword [0x514c54]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 0xfffffffc
je 0x4586dd
mov ecx, dword [ebx]
mov dword [eax + ecx*8], edi
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [eax + ecx*8 + 4], edx
xor eax, eax
dec eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], eax
xor eax, eax
mov byte [esi + 0x64], al
pcmpeqd xmm0, xmm0
lea ecx, [esi + 0x54]
movdqa xmmword [ecx - 4], xmm0
mov byte [ecx - 4], al
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x58]
mov ecx, dword [eax + 0x28]
cmp ecx, 1
je 0x457f77
cmp ecx, 2
je 0x45831a
mov edi, dword [esi + 8]
mov eax, dword [edi + 0x5c]
movzx eax, byte [eax + 0xa]
and eax, 0x7f
cmp eax, 1
jne 0x458006
sub esp, 0xc
push edi
call fcn.00458c70
mov ebx, dword [edi]
mov dword [edi], 0
test ebx, ebx
jne 0x4583b3
cmp byte [esi + 0x50], 0
jne 0x45830d
cmp byte [esi + 0x64], 0
jne 0x457f05
mov edi, dword [0x524bc0]
cmp edi, 1
jbe 0x458734
push dword [0x514c54]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 0xfffffffc
je 0x457b9a
mov ecx, dword [edi]
mov dword [eax + ecx*8], 0
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov dword [eax + ecx*8 + 4], edx
cmp byte [esi + 0x70], 0
je 0x457bab
mov edi, dword [esi + 0x78]
test edi, edi
jne 0x4582cb
mov edi, dword [0x526010]
cmp edi, 1
jbe 0x45859b
push dword [0x514c54]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 0xfffffffc
je 0x457bdd
mov ecx, dword [edi]
mov dword [eax + ecx*8], 0
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov dword [eax + ecx*8 + 4], edx
mov eax, dword [0x526200]
mov ecx, dword [0x514f00]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x458472
push dword [0x514c54]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 0xfffffffc
je 0x457c2c
mov ecx, dword [0x5261f8]
mov dword [eax + ecx*8], 0
mov ecx, dword [0x5261fc]
mov edx, dword [0x5261f8]
mov dword [eax + edx*8 + 4], ecx
mov eax, dword [0x526210]
mov ecx, dword [0x514f00]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x45850a
push dword [0x514c54]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 0xfffffffc
je 0x457c7b
mov ecx, dword [0x526208]
mov dword [eax + ecx*8], 0
mov ecx, dword [0x52620c]
mov edx, dword [0x526208]
mov dword [eax + edx*8 + 4], ecx
mov eax, dword [esi + 0x4c]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x518914]
bt edx, ecx
jae 0x457c9d
push eax
call fcn.00454d60
add esp, 4
mov eax, dword [esi + 8]
mov edi, dword [eax]
test edi, edi
jne 0x4580a2
mov esp, dword [esi + 0x18]
cmp byte [esi + 0x10], 0
je 0x457cd9
lea eax, [ebp + 0xc]
mov eax, dword [eax]
mov al, byte [eax + 0x12]
and al, 0x7f
cmp al, 1
jne 0x457cd9
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x18]
mov ecx, 0xfffffffe
lock xadd dword [eax], ecx
cmp ecx, 3
je 0x45878b
lea eax, [ebp + 0xc]
mov edi, dword [eax]
mov eax, dword [edi]
mov ebx, dword [eax + 0x1c]
cmp ebx, 0x4920c0
je 0x457d51
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
push 0
call ebx
test al, al
jne 0x45803c
xor eax, eax
mov ecx, dword [esi + 0x14]
mov dword [ecx], eax
mov dword [ecx + 4], eax
lea eax, [ebp + 0xc]
mov ebx, dword [eax]
test ebx, ebx
jne 0x45811c
mov dword [eax], 0
test ebx, ebx
jne 0x458147
lea eax, [ebp + 0xc]
mov ecx, dword [eax]
test ecx, ecx
jne 0x4587e0
lea eax, [ebp + 8]
mov edi, dword [eax]
mov ecx, dword [esi + 0x128]
xor ecx, ebp
call fcn.00496ce3
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
lea ebx, [edi + 0x18]
push ebx
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x4583a7
mov eax, dword [edi + 0x38]
cmp eax, dword [edi + 0x3c]
jne 0x458035
mov eax, dword [edi + 0x44]
cmp eax, dword [edi + 0x48]
jne 0x458035
mov edx, dword [edi + 0x24]
test edx, edx
je 0x457d8c
lock dec dword [edx + 4]
je 0x4581fa
mov dword [edi + 0x68], 0
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
jmp 0x457d01
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x70], xmm0
movdqa xmmword [esi + 0x80], xmm0
movdqa xmmword [esi + 0x90], xmm0
movdqa xmmword [esi + 0xa0], xmm0
movdqa xmmword [esi + 0xb0], xmm0
xor eax, eax
dec eax
mov dword [esi + 0xc4], eax
mov dword [esi + 0xc0], eax
lea eax, [edi + 0x30]
mov dword [esi + 8], eax
mov eax, dword [edi + 0x38]
lea ebx, [edi + 0x40]
cmp eax, dword [edi + 0x3c]
je 0x458854
mov edx, dword [edi + 0x34]
mov ecx, dword [edi + 0x44]
cmp ecx, dword [edi + 0x48]
jne 0x45880a
cmp edx, eax
jb 0x458866
mov ecx, dword [edi + 0x30]
imul eax, eax, 0x58
mov edx, dword [ecx + eax]
mov dword [esi + 0x70], edx
mov dword [ecx + eax], 0
movups xmm0, xmmword [ecx + eax + 4]
movups xmmword [esi + 0x74], xmm0
movups xmm0, xmmword [ecx + eax + 0x41]
movups xmmword [esi + 0xb1], xmm0
movups xmm0, xmmword [ecx + eax + 0x38]
movups xmmword [esi + 0xa8], xmm0
movdqu xmm0, xmmword [ecx + eax + 0x18]
movdqu xmm1, xmmword [ecx + eax + 0x28]
movdqu xmmword [esi + 0x98], xmm1
movdqu xmmword [esi + 0x88], xmm0
mov ecx, dword [edi + 0x34]
mov eax, dword [edi + 0x38]
lea edx, [eax + 1]
cmp ecx, edx
jb 0x458869
cmp ecx, eax
jb 0x45886c
cmp eax, 0x7fffffff
je 0x45886f
mov ecx, dword [esi + 8]
mov ecx, dword [ecx]
imul eax, eax, 0x58
mov ebx, dword [ecx + eax]
test ebx, ebx
jne 0x4581d1
mov eax, dword [edi + 0x34]
mov edx, dword [edi + 0x38]
inc edx
xor ecx, ecx
cmp edx, eax
cmove edx, ecx
mov dword [edi + 0x38], edx
cmp eax, 5
jae 0x4580db
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x44]
mov edx, dword [edi + 0x48]
cmp eax, dword [edi + 0x3c]
jne 0x45806b
cmp ecx, edx
je 0x457883
lea ebx, [esi + 0x50]
push ebx
call fcn.00493a40
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
jmp 0x45808c
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x48], eax
add edi, 0x58
mov eax, edi
shr eax, 0xe
mov ecx, edi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x518914]
bt ecx, eax
jae 0x45805a
push edi
call fcn.00455550
add esp, 4
mov dword [esi + 0x4c], edi
jmp 0x45798a
mov eax, dword [0x524b00]
mov ecx, dword [0x514f00]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x458627
push dword [0x514c54]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 0xfffffffc
je 0x457f54
mov ecx, dword [0x524af8]
mov dword [eax + ecx*8], 0
mov ecx, dword [0x524afc]
mov edx, dword [0x524af8]
mov dword [eax + edx*8 + 4], ecx
mov eax, dword [esi + 0x68]
test eax, eax
je 0x457b68
lock dec dword [eax + 4]
jne 0x457b68
push eax
call fcn.0046f8d0
add esp, 4
jmp 0x457b68
mov eax, dword [eax + 0x24]
test eax, eax
je 0x457f82
lock inc dword [eax + 4]
mov dword [esi + 0x68], eax
mov eax, dword [0x524b00]
mov ecx, dword [0x514f00]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x458673
lea ebx, [esi + 0x68]
push dword [0x514c54]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 0xfffffffc
je 0x458779
mov ecx, dword [0x524af8]
mov dword [eax + ecx*8], ebx
mov ecx, dword [0x524afc]
mov edx, dword [0x524af8]
mov dword [eax + edx*8 + 4], ecx
mov byte [esi + 0x64], 1
jmp 0x457b25
cmp eax, 2
je 0x4577e8
test eax, eax
jne 0x4587fe
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x18]
mov eax, dword [eax]
test al, 1
sete al
mov dword [esi + 0x10], eax
jmp 0x4577e8
cmp eax, 2
jne 0x4580bf
sub esp, 0xc
mov ecx, dword [esi + 0xc]
mov edi, dword [esi + 8]
push edi
call fcn.00403b20
jmp 0x457b44
mov ecx, ebx
call dword [section..00cfg]
mov ecx, dword [esi + 0xc]
call ebx
jmp 0x457caa
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
lea edi, [ebp + 8]
mov eax, dword [edi + 4]
mov edx, dword [esi + 0x14]
mov dword [edx], eax
xor eax, eax
mov dword [edi + 4], eax
mov ecx, dword [edi + 8]
mov dword [edi + 8], eax
mov dword [edx + 4], ecx
jmp 0x457d0b
mov eax, edi
shr eax, 0x15
mov byte [eax + 0x520914], 1
jmp 0x457efd
cmp ecx, edx
jne 0x458872
cmp dword [edi + 0x34], eax
jb 0x4588bd
mov ecx, dword [esi + 8]
mov ecx, dword [ecx]
imul edx, eax, 0x58
mov eax, dword [ecx + edx + 0x18]
mov ecx, dword [ecx + edx + 0x1c]
movd xmm0, eax
movd xmm1, ecx
punpckldq xmm0, xmm1
movq qword [edi + 0x50], xmm0
jmp 0x457883
lock dec dword [edi]
jne 0x457caa
mov ecx, dword [edi + 8]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
jmp 0x457caa
test eax, eax
mov edi, dword [esi + 8]
jne 0x457b44
sub esp, 0xc
mov ecx, dword [esi + 0xc]
push edi
call fcn.00403b70
jmp 0x457b44
mov ebx, dword [edi + 0x3c]
cmp ebx, edx
cmovb ecx, eax
sub ecx, edx
add ecx, ebx
dec eax
mov edx, eax
sub edx, ecx
cmp edx, ecx
jb 0x457ea4
mov ebx, ecx
shr ebx, 2
add ebx, ecx
cmp ebx, 4
mov edx, 3
cmovae edx, ebx
cmp edx, eax
jae 0x457ea4
mov ecx, dword [esi + 8]
push edx
call fcn.00470db0
jmp 0x457ea4
lea ecx, [ebp + 8]
mov edi, dword [ecx + 8]
test edi, edi
je 0x457d18
mov dword [eax], 0
mov al, byte [ebx + 0x12]
and al, 0x7f
cmp al, 2
je 0x458367
lock dec dword [edi + 0x1c]
je 0x458248
lock dec dword [ebx + 4]
jne 0x457d26
mov dword [ebx], 0x4ff360
mov edi, dword [ebx + 0x5c]
test edi, edi
jne 0x4585e0
lea ecx, [ebx + 0x44]
mov edi, dword [ebx + 0x44]
mov edx, dword [ebx + 0x48]
mov eax, edi
cmp edx, edi
jne 0x458999
mov dword [ebx + 0x48], edi
test eax, eax
jne 0x4589c2
mov eax, dword [ebx + 0x38]
mov edi, dword [ebx + 0x3c]
cmp edi, eax
jne 0x4589d9
push 0
push dword [ebx + 0x30]
push 0x504ee4
call fcn.004684e0
add esp, 0xc
mov dword [ebx], 0x4ff390
mov eax, dword [ebx + 0x24]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x518914]
bt edx, ecx
jb 0x458418
push ebx
call fcn.00494aa1
add esp, 4
jmp 0x457d26
lock dec dword [ebx]
jne 0x457e8a
mov ecx, dword [ebx + 8]
call dword [section..00cfg]
push ebx
call ecx
add esp, 4
jmp 0x457e8a
mov ecx, edi
call fcn.004597a0
jmp 0x45784f
mov eax, dword [edx]
mov ecx, dword [eax + 8]
cmp ecx, 0x48fb30
jne 0x458350
mov ecx, dword [eax + 4]
cmp ecx, 0x492530
jne 0x458337
mov eax, dword [edx + 0xc]
test eax, eax
je 0x45822a
lock dec dword [eax]
je 0x4587b7
mov eax, dword [edx + 8]
test eax, eax
je 0x45823a
lock dec dword [eax]
je 0x4583d0
push edx
call fcn.00494aa1
add esp, 4
jmp 0x457d8c
lea eax, [edi + 0x24]
mov dword [esi + 8], eax
push eax
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x4588c0
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_WakeAllConditionVariable]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x4588cd
mov eax, dword [edi + 0x2c]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x30]
mov dword [esi + 0x14], eax
pxor xmm0, xmm0
mov eax, dword [edi + 0x34]
mov ecx, dword [edi + 0x38]
mov dword [esi + 0x10], ecx
movdqu xmmword [edi + 0x2c], xmm0
mov edi, eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [esi + 0x10]
cmp edi, eax
jne 0x4588da
push 0
push dword [esi + 0xc]
push 0x504ee4
call fcn.004684e0
add esp, 0xc
jmp 0x457d1e
mov eax, dword [esi + 0x7c]
mov ecx, edi
cmp eax, edi
je 0x4582fc
lea ecx, [eax - 0xc]
mov ebx, dword [eax - 8]
test ebx, ebx
je 0x4582f3
mov dword [esi + 0x1c], ecx
mov ecx, dword [eax - 4]
call dword [section..00cfg]
push ebx
call ecx
mov ecx, dword [esi + 0x1c]
add esp, 4
mov eax, ecx
cmp ecx, edi
jne 0x4582d4
mov ecx, dword [esi + 0x78]
mov dword [esi + 0x7c], edi
push ecx
call fcn.00494aa1
add esp, 4
jmp 0x457bab
lea ecx, [esi + 0x54]
call fcn.00404440
jmp 0x457b5e
mov eax, dword [eax + 0x24]
test eax, eax
je 0x458325
lock inc dword [eax + 4]
lea ecx, [esi + 0x54]
push eax
call fcn.004042c0
mov byte [esi + 0x50], 1
jmp 0x457b25
mov dword [esi + 8], edx
mov dword [esi + 0xc], ecx
call dword [section..00cfg]
mov ecx, dword [esi + 8]
push 1
call dword [esi + 0xc]
jmp 0x457d8c
mov dword [esi + 8], edx
mov dword [esi + 0xc], ecx
call dword [section..00cfg]
mov ecx, dword [esi + 8]
call dword [esi + 0xc]
jmp 0x457d8c
mov eax, dword [edi + 0x18]
mov ecx, 0xfffffffe
lock xadd dword [eax], ecx
cmp ecx, 3
jne 0x45813d
lea eax, [edi + 0x3c]
mov dword [esi + 8], eax
push eax
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x458b7d
mov ecx, dword [edi + 0x40]
call fcn.004750a0
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
jmp 0x45813d
mov ecx, ebx
call fcn.004597a0
jmp 0x457d63
lock dec dword [ebx]
jne 0x457b54
mov ecx, dword [ebx + 8]
call dword [section..00cfg]
push ebx
call ecx
add esp, 4
jmp 0x457b54
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
mov eax, dword [eax + 0x10]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x518914]
bt edx, ecx
jb 0x458b13
mov eax, dword [esi + 0xc]
mov dword [eax + 0x10], 0
lea ecx, [eax + 4]
call fcn.0040a0c0
push dword [esi + 0xc]
call fcn.00494aa1
add esp, 4
mov edx, dword [esi + 8]
jmp 0x45823a
push eax
call fcn.004810e0
add esp, 4
jmp 0x4581c3
push 0x526200
call fcn.00494ba0
add esp, 4
cmp dword [0x526200], 0xffffffff
jne 0x4579bf
mov dword [0x5261fc], 0
mov dword [0x5261f8], 0xffffffff
mov ecx, 0x5261f8
push 0
call fcn.00404c70
push 0x526200
call fcn.00495b95
add esp, 4
jmp 0x4579bf
push 0x526200
call fcn.00494ba0
add esp, 4
cmp dword [0x526200], 0xffffffff
jne 0x457bfe
mov dword [0x5261fc], 0
mov dword [0x5261f8], 0xffffffff
mov ecx, 0x5261f8
push 0
call fcn.00404c70
push 0x526200
call fcn.00495b95
add esp, 4
jmp 0x457bfe
push 0x526210
call fcn.00494ba0
add esp, 4
cmp dword [0x526210], 0xffffffff
jne 0x457a11
mov dword [0x52620c], 0
mov dword [0x526208], 0xffffffff
mov ecx, 0x526208
push 0
call fcn.00404c70
push 0x526210
call fcn.00495b95
add esp, 4
jmp 0x457a11
push 0x526210
call fcn.00494ba0
add esp, 4
cmp dword [0x526210], 0xffffffff
jne 0x457c4d
mov dword [0x52620c], 0
mov dword [0x526208], 0xffffffff
mov ecx, 0x526208
push 0
call fcn.00404c70
push 0x526210
call fcn.00495b95
add esp, 4
jmp 0x457c4d
push 0x526010
call fcn.004099e0
add esp, 4
test al, al
je 0x458b45
mov dword [0x526018], 0
mov dword [0x526014], 0xffffffff
mov edi, 0x526014
mov ecx, 0x526014
push 0
call fcn.00404c70
mov dword [0x526010], edi
jmp 0x457a5d
push 0x526010
call fcn.004099e0
add esp, 4
test al, al
je 0x458b50
mov dword [0x526018], 0
mov dword [0x526014], 0xffffffff
mov edi, 0x526014
mov ecx, 0x526014
push 0
call fcn.00404c70
mov dword [0x526010], edi
jmp 0x457bba
mov eax, dword [ebx + 0x60]
mov ecx, edi
cmp eax, edi
je 0x458616
lea ecx, [eax - 0xc]
mov dword [esi + 8], ecx
mov ecx, dword [eax - 8]
mov dword [esi + 0xc], ecx
test ecx, ecx
je 0x45860a
mov ecx, dword [eax - 4]
call dword [section..00cfg]
push dword [esi + 0xc]
call ecx
add esp, 4
mov ecx, dword [esi + 8]
mov eax, ecx
cmp ecx, edi
jne 0x4585e9
mov ecx, dword [ebx + 0x5c]
mov dword [ebx + 0x60], edi
push ecx
call fcn.00494aa1
add esp, 4
jmp 0x458162
push 0x524b00
call fcn.00494ba0
add esp, 4
cmp dword [0x524b00], 0xffffffff
jne 0x457f26
mov dword [0x524afc], 0
mov dword [0x524af8], 0xffffffff
mov ecx, 0x524af8
push 0
call fcn.00404c70
push 0x524b00
call fcn.00495b95
add esp, 4
jmp 0x457f26
push 0x524b00
call fcn.00494ba0
add esp, 4
cmp dword [0x524b00], 0xffffffff
jne 0x457fa6
mov dword [0x524afc], 0
mov dword [0x524af8], 0xffffffff
mov ecx, 0x524af8
push 0
call fcn.00404c70
push 0x524b00
call fcn.00495b95
add esp, 4
jmp 0x457fa6
call fcn.004048c0
jmp 0x4579d4
call fcn.004048c0
jmp 0x457a29
call fcn.004048c0
jmp 0x457a72
test edi, edi
je 0x457aea
call fcn.004048c0
jmp 0x457adc
push 0x524bc0
call fcn.004099e0
add esp, 4
test al, al
je 0x458b5b
mov dword [0x524bc8], 0
mov dword [0x524bc4], 0xffffffff
mov ebx, 0x524bc4
mov ecx, 0x524bc4
push 0
call fcn.00404c70
mov dword [0x524bc0], ebx
jmp 0x457ac7
push 0x524bc0
call fcn.004099e0
add esp, 4
test al, al
je 0x458b66
mov dword [0x524bc8], 0
mov dword [0x524bc4], 0xffffffff
mov edi, 0x524bc4
mov ecx, 0x524bc4
push 0
call fcn.00404c70
mov dword [0x524bc0], edi
jmp 0x457b77
test ebx, ebx
je 0x457fd7
call fcn.004048c0
jmp 0x457fbe
mov eax, dword [esi + 0xc]
lea edi, [eax + 0x3c]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x458b71
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x40]
call fcn.004750a0
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
jmp 0x457cd9
push eax
mov dword [esi + 8], edx
call fcn.00494aa1
mov edx, dword [esi + 8]
add esp, 4
jmp 0x45822a
lea eax, [esi + 0x64]
lea edx, [esi + 0x70]
lea ecx, [ebp + 0xc]
push eax
push edx
call fcn.004ec440
jmp 0x457883
lock dec dword [ecx + 4]
jne 0x457d33
push 1
call fcn.0048a2d0
jmp 0x457d33
mov ecx, dword [esi + 0xc]
call fcn.004eb3e0
mov dword [esi + 0x10], 0
jmp 0x4577e8
cmp edx, eax
jb 0x458b8a
mov edx, dword [esi + 8]
mov edx, dword [edx]
mov dword [esi + 0x18], edx
imul eax, eax, 0x58
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x50]
push eax
call fcn.00493a40
lea eax, [esi + 0x50]
mov eax, dword [eax]
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
cmp eax, dword [ecx + edx + 0x18]
lea eax, [esi + 0x50]
mov eax, dword [eax + 4]
sbb eax, dword [ecx + edx + 0x1c]
jl 0x458854
lea eax, [esi + 0x70]
mov ecx, edi
push eax
call fcn.004eb4f0
jmp 0x457ea4
lea eax, [esi + 0x70]
mov ecx, ebx
push 0
push eax
call fcn.004ebee0
jmp 0x457ea4
int3
int3
int3
int3
lea eax, [esi + 0x50]
push eax
call fcn.00493a40
mov eax, dword [edi + 0x38]
cmp dword [edi + 0x34], eax
jb 0x458b8d
mov ecx, dword [esi + 8]
mov ecx, dword [ecx]
imul edx, eax, 0x58
mov eax, dword [ecx + edx + 0x18]
mov ecx, dword [ecx + edx + 0x1c]
mov edx, dword [esi + 0x50]
mov dword [esi + 0x18], edx
cmp edx, eax
mov ebx, eax
cmovb ebx, edx
mov edx, dword [esi + 0x54]
mov dword [esi + 8], edx
cmp dword [esi + 8], ecx
cmovl eax, dword [esi + 0x18]
cmove eax, ebx
cmovl ecx, dword [esi + 8]
jmp 0x45808c
int3
mov ecx, dword [esi + 8]
call fcn.004597a0
jmp 0x45825d
mov ecx, dword [esi + 8]
call fcn.004597a0
jmp 0x458280
mov eax, edi
mov dword [esi + 8], edi
cmp dword [esi + 0x14], edi
jb 0x458b90
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + edi*4]
mov dword [esi + 0x18], ecx
mov dword [eax + edi*4], 0
mov ecx, dword [ecx + 4]
call dword [section..00cfg]
push dword [esi + 0x18]
call ecx
add esp, 4
mov ecx, dword [esi + 0x18]
test ecx, ecx
jne 0x458af2
inc edi
cmp edi, dword [esi + 0x14]
mov eax, 0
cmove edi, eax
cmp edi, dword [esi + 0x10]
jne 0x4588df
mov eax, dword [esi + 8]
cmp dword [esi + 0x10], eax
jbe 0x458bb1
mov eax, dword [esi + 0x14]
cmp eax, dword [esi + 0x10]
jb 0x458b93
mov eax, dword [esi + 0x14]
cmp eax, dword [esi + 8]
jb 0x458b96
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0x10]
jg 0x458b99
mov eax, dword [esi + 0x10]
shl eax, 2
mov ecx, dword [esi + 8]
shl ecx, 2
mov dword [esi + 0x10], eax
mov dword [esi + 8], ecx
mov eax, dword [esi + 0xc]
mov edi, dword [eax + ecx]
test edi, edi
jne 0x458983
mov ecx, dword [esi + 8]
add ecx, 4
mov eax, dword [esi + 0x10]
cmp eax, ecx
jne 0x458964
jmp 0x4582b4
lock dec dword [edi]
jne 0x458971
mov ecx, dword [edi + 8]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
jmp 0x458971
mov dword [esi + 8], edx
mov dword [esi + 0xc], ecx
mov eax, dword [esi + 8]
mov ecx, dword [eax - 0x58]
add eax, 0xffffffa8
mov dword [esi + 8], eax
test ecx, ecx
jne 0x458b21
cmp dword [esi + 8], edi
jne 0x45899f
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
jmp 0x458175
mov edi, ecx
push eax
call fcn.004ec1c0
push dword [edi]
call fcn.00494aa1
add esp, 4
jmp 0x458180
mov ecx, dword [ebx + 0x34]
jbe 0x458a39
cmp ecx, edi
jb 0x458b9c
cmp ecx, eax
jb 0x458b9f
cmp eax, edi
jg 0x458ba2
mov ecx, dword [ebx + 0x30]
mov dword [esi + 8], ecx
imul ecx, edi, 0x58
mov dword [esi + 0xc], ecx
imul edi, eax, 0x58
mov eax, dword [esi + 8]
mov ecx, dword [eax + edi]
test ecx, ecx
jne 0x458a1c
add edi, 0x58
cmp dword [esi + 0xc], edi
jne 0x458a05
jmp 0x45818e
mov eax, ecx
lock dec dword [ecx]
jne 0x458a0f
mov dword [esi + 0x10], eax
mov ecx, dword [eax + 8]
call dword [section..00cfg]
push dword [esi + 0x10]
call ecx
add esp, 4
jmp 0x458a0f
cmp ecx, eax
jb 0x458ba5
jl 0x458ba8
je 0x458a9a
mov edx, dword [ebx + 0x30]
mov dword [esi + 0xc], edx
imul ecx, ecx, 0x58
mov dword [esi + 0x10], ecx
imul eax, eax, 0x58
mov dword [esi + 8], eax
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
mov ecx, dword [eax + ecx]
test ecx, ecx
jne 0x458a7a
mov ecx, dword [esi + 8]
add ecx, 0x58
mov eax, ecx
mov dword [esi + 8], ecx
cmp dword [esi + 0x10], ecx
jne 0x458a5b
jmp 0x458a97
mov eax, ecx
lock dec dword [ecx]
jne 0x458a68
mov dword [esi + 0x14], eax
mov ecx, dword [eax + 8]
call dword [section..00cfg]
push dword [esi + 0x14]
call ecx
add esp, 4
jmp 0x458a68
mov eax, dword [ebx + 0x34]
cmp eax, edi
jb 0x458bab
test edi, edi
js 0x458bae
je 0x45818e
mov eax, dword [ebx + 0x30]
mov dword [esi + 8], eax
imul eax, edi, 0x58
mov dword [esi + 0xc], eax
xor edi, edi
mov eax, dword [esi + 8]
mov ecx, dword [eax + edi]
test ecx, ecx
jne 0x458ad5
add edi, 0x58
cmp dword [esi + 0xc], edi
jne 0x458abe
jmp 0x45818e
mov eax, ecx
lock dec dword [ecx]
jne 0x458ac8
mov dword [esi + 0x10], eax
mov ecx, dword [eax + 8]
call dword [section..00cfg]
push dword [esi + 0x10]
call ecx
add esp, 4
jmp 0x458ac8
mov eax, ecx
lock dec dword [ecx]
jne 0x458914
mov ecx, dword [eax + 8]
call dword [section..00cfg]
push dword [esi + 0x18]
call ecx
add esp, 4
jmp 0x458914
push eax
call fcn.00454d60
add esp, 4
jmp 0x4583f3
mov eax, ecx
lock dec dword [ecx]
jne 0x4589b3
mov dword [esi + 0x10], eax
mov ecx, dword [eax + 8]
call dword [section..00cfg]
push dword [esi + 0x10]
call ecx
add esp, 4
jmp 0x4589b3
mov edi, dword [0x526010]
jmp 0x457a5d
mov edi, dword [0x526010]
jmp 0x457bba
mov ebx, dword [0x524bc0]
jmp 0x457ac7
mov edi, dword [0x524bc0]
jmp 0x457b77
mov ecx, edi
call fcn.004597a0
jmp 0x4587a0
mov ecx, dword [esi + 8]
call fcn.004597a0
jmp 0x458391
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
mov eax, dword [esi + 0x14]
cmp eax, dword [esi + 8]
jb 0x458c1a
jl 0x458c1d
jne 0x458c20
mov eax, dword [esi + 0x14]
cmp eax, dword [esi + 0x10]
jb 0x458c69
cmp dword [esi + 0x10], 0
js 0x458c6c
mov eax, dword [esi + 0x10]
je 0x4582b4
shl eax, 2
xor edi, edi
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + edi]
test ecx, ecx
jne 0x458bfd
add edi, 4
mov eax, dword [esi + 0x10]
cmp eax, edi
jne 0x458be4
jmp 0x4582b4
mov eax, ecx
lock dec dword [ecx]
jne 0x458bee
mov dword [esi + 8], eax
mov ecx, dword [eax + 8]
call dword [section..00cfg]
push dword [esi + 8]
call ecx
add esp, 4
jmp 0x458bee
int3
int3
mov eax, dword [esi + 0x14]
lea eax, [eax*4]
mov dword [esi + 0x18], eax
shl dword [esi + 8], 2
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
mov edi, dword [eax + ecx]
test edi, edi
jne 0x458c53
mov ecx, dword [esi + 8]
add ecx, 4
mov eax, ecx
mov dword [esi + 8], ecx
cmp dword [esi + 0x18], ecx
jne 0x458c31
jmp 0x458bbd
lock dec dword [edi]
jne 0x458c3e
mov ecx, dword [edi + 8]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
jmp 0x458c3e
int3
int3