Function at 0x500320
Capabilities:
Check for time delay via queryperformancecounter
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 ebx, ecx
mov eax, dword [0x646040]
xor eax, ebp
mov dword [esi + 0x128], eax
mov dword [esi + 0x90], 0xa
mov al, byte [0x64b456]
test al, al
jne 0x501e3b
mov dword [esi + 0x90], 0xa
mov al, byte [0x64b456]
test al, al
jne 0x501e6b
mov edi, dword [ebx + 0x2c]
test edi, edi
mov dword [esi + 0x10], ebx
jne 0x501d9b
mov eax, dword [ebx]
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [0x6401dc]
mov ecx, ebx
call edi
mov edi, eax
mov eax, dword [eax]
mov ebx, dword [eax + 8]
mov ecx, ebx
call dword [0x6401dc]
mov ecx, edi
mov edi, dword [esi + 0x10]
push edi
call ebx
mov eax, dword [0x6570a0]
test eax, eax
je 0x500414
mov eax, dword [edi + 0x24]
mov eax, dword [eax + 8]
mov eax, dword [eax]
test al, 1
mov ebx, edi
jne 0x5003c1
cmp dword [ebx + 0x30], 0
je 0x500404
mov ecx, dword [0x65709c]
test ecx, ecx
je 0x501d7a
lea edi, [esi + 0xd0]
push 2
push edi
call fcn.00591290
mov eax, dword [edi]
mov dword [esi + 0x38], eax
mov al, 1
mov dword [esi + 0x3c], eax
mov eax, dword [0x64984c]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
lea eax, [eax + 0xb4]
mov dword [esi + 0x4c], eax
jmp 0x500d18
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
jmp 0x5003e7
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov ebx, edi
jmp 0x5003e7
call dword [0x6401dc]
lea eax, [esi + 0xc0]
push eax
call ecx
add esp, 4
mov eax, dword [esi + 0xc0]
mov edx, dword [esi + 0xc4]
jmp 0x5004c0
cmp eax, 0x102
jne 0x501d62
mov ecx, dword [0x648080]
cmp ecx, 0x5531a0
jne 0x500426
xor eax, eax
mov dword [esi + 0xc4], eax
mov dword [esi + 0xc0], eax
lea eax, [esi + 0xc0]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ebx, dword [esi + 0xc0]
mov edi, dword [esi + 0xc4]
mov eax, 0x7bd05af7
cmp ebx, eax
mov eax, edi
mov ecx, 0x863
sbb eax, ecx
jge 0x501f82
mov eax, ebx
mov ecx, 0xf4240
mul ecx
imul ecx, edi, 0xf4240
add ecx, edx
push dword [0x64b6cc]
push dword [0x64b6c8]
push ecx
push eax
call fcn.005877d0
mov dword [esi + 0x24], edx
mov dword [esi + 0x20], eax
mov ebx, dword [esi + 0x18]
sub ebx, eax
mov eax, dword [esi + 0x1c]
sbb eax, edx
seto dl
mov ecx, eax
sar ecx, 0x1f
test dl, dl
lea edi, [ecx - 0x80000000]
cmove ecx, ebx
mov dword [esi + 8], ecx
test dl, dl
cmove edi, eax
mov dword [esi + 0xc], edi
mov eax, dword [esi + 0x20]
cmp eax, dword [esi + 0x18]
mov eax, dword [esi + 0x24]
sbb eax, dword [esi + 0x1c]
mov ebx, dword [esi + 0x10]
jl 0x500827
xor ecx, ecx
jmp 0x5008a5
mov dword [esi + 0xc], eax
mov ecx, dword [fcn.005608f0]
cmp ecx, 0x5531a0
jne 0x5013ae
xor eax, eax
mov dword [esi + 0xc4], eax
mov dword [esi + 0xc0], eax
lea eax, [esi + 0xc0]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ebx, dword [esi + 0xc0]
mov edi, dword [esi + 0xc4]
mov eax, 0x7bd05af7
cmp ebx, eax
mov eax, edi
mov ecx, 0x863
sbb eax, ecx
jge 0x501f03
mov eax, ebx
mov ecx, 0xf4240
mul ecx
imul ecx, edi, 0xf4240
add ecx, edx
push dword [0x64b6cc]
push dword [0x64b6c8]
push ecx
push eax
call fcn.005877d0
mov ecx, edx
mov dword [esi + 0x118], eax
mov dword [esi + 0x11c], ecx
mov edi, dword [esi + 0xe8]
mov edx, dword [esi + 0xec]
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], edi
sub eax, edi
mov dword [esi + 0x1c], ecx
sbb ecx, edx
seto bl
mov edi, ecx
sar edi, 0x1f
test bl, bl
cmovne eax, edi
add edi, 0x80000000
test bl, bl
cmove edi, ecx
cmp eax, 0xf4240
mov ecx, edi
sbb ecx, 0
jge 0x5015f7
mov ebx, dword [esi + 0xf0]
test ebx, ebx
je 0x5006c1
lock dec dword [ebx]
jne 0x5006c1
jmp 0x501d86
mov dword [esi + 8], ecx
mov dword [esi + 0x118], 0xa
mov al, byte [0x64b456]
test al, al
jne 0x501c12
call fcn.00564085
mov edi, dword [eax]
call fcn.00564085
xor ebx, ebx
mov dword [eax], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xc], eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [esi + 0xd0]
test ebx, ebx
je 0x50069a
cmp dword [esi + 0xd4], 0
jne 0x50069a
cmp byte [ebx + 0x11], 1
jne 0x50069a
mov eax, dword [ebx + 0x20]
add eax, 0x50
mov dword [esi + 0x14], eax
push eax
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x501540
xor eax, eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x18], eax
cmp byte [ebx + 0x2b], 0
jne 0x50068b
mov eax, dword [ebx + 0x20]
cmp byte [ebx + 0x29], 1
je 0x50150b
dec dword [eax + 0xb0]
cmp byte [ebx + 0x11], 0
je 0x501c3d
cmp byte [ebx + 0x10], 0
je 0x501306
mov word [ebx + 0x29], 0
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.00564085
mov dword [eax], edi
cmp byte [esi + 0xf8], 1
jne 0x5006c1
mov eax, dword [esi + 0xf0]
test eax, eax
jne 0x50050a
mov eax, dword [esi + 0xd8]
test eax, eax
je 0x5006d3
mov ecx, dword [esi + 0xdc]
mov dword [eax], ecx
mov eax, dword [esi + 0xd4]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x64e810]
bt edx, ecx
mov ebx, dword [esi + 0x10]
jb 0x501826
mov dword [esi + 0xd4], 0
mov eax, dword [esi + 0xd0]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x64e810]
bt edx, ecx
mov ecx, dword [esi + 8]
jae 0x5008b2
push eax
call fcn.004f4f20
mov ecx, dword [esi + 8]
add esp, 4
jmp 0x5008b2
mov ecx, edi
call dword [0x6401dc]
mov ecx, ebx
mov ebx, dword [esi + 0x10]
push ebx
lea eax, [esi + 0xd0]
push eax
call edi
jmp 0x5009b8
mov ecx, ebx
call fcn.00404030
mov ebx, dword [esi + 0x10]
jmp 0x5008ba
mov ecx, edi
call dword [0x6401dc]
mov ecx, ebx
call edi
mov ebx, eax
jmp 0x500995
mov ecx, edi
call dword [0x6401dc]
mov ecx, ebx
call edi
jmp 0x5008f0
mov dword [esi + 0x124], 0x1aa
mov al, byte [0x64b5f6]
test al, al
je 0x5008a5
jmp 0x501c8c
xor eax, eax
mov dword [esi + 0xc4], eax
mov dword [esi + 0xc0], eax
lea eax, [esi + 0xc0]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ebx, dword [esi + 0xc0]
mov edi, dword [esi + 0xc4]
mov eax, 0x7bd05af7
cmp ebx, eax
mov eax, edi
mov ecx, 0x863
sbb eax, ecx
jge 0x501ce5
mov eax, ebx
mov ecx, 0xf4240
mul ecx
imul ecx, edi, 0xf4240
add ecx, edx
push dword [0x64b6cc]
push dword [0x64b6c8]
push ecx
push eax
call fcn.005877d0
add eax, dword [esi + 8]
adc edx, dword [esi + 0xc]
seto cl
mov edi, edx
sar edi, 0x1f
test cl, cl
lea ebx, [edi - 0x80000000]
cmove edi, eax
mov dword [esi + 0x18], edi
test cl, cl
cmove ebx, edx
mov dword [esi + 0x1c], ebx
mov ebx, dword [esi + 0x10]
mov eax, dword [esi + 8]
xor edx, edx
dec edx
xor eax, edx
mov edi, dword [esi + 0xc]
mov ecx, edi
mov edx, 0x7fffffff
xor ecx, edx
or ecx, eax
mov eax, 0xffffffff
je 0x500882
push 0
mov eax, edi
mov dword [esi + 0xc], edi
mov edi, 0x3e8
push edi
push eax
push dword [esi + 8]
call fcn.00583a70
mov ecx, eax
mov ebx, edx
mul edi
imul edi, ebx, 0x3e8
add edi, edx
cmp eax, dword [esi + 8]
sbb edi, dword [esi + 0xc]
adc ecx, 0
adc ebx, 0
neg ebx
mov ebx, dword [esi + 0x10]
mov eax, 0
sbb eax, eax
or eax, ecx
push eax
mov eax, dword [esi + 0x14]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x500446
mov cl, 1
mov eax, dword [esi + 0x30]
cmp byte [eax + 0x14], 0
je 0x500783
cmp byte [esi + 0x100], 1
je 0x5005eb
test cl, cl
je 0x50141d
mov dword [esi + 0x118], 0xa
mov al, byte [0x64b456]
test al, al
jne 0x501af1
mov al, byte [ebx + 0x20]
test al, al
jne 0x501191
mov eax, dword [ebx]
mov edi, dword [eax + 0x10]
cmp edi, 0x5020e0
jne 0x500772
mov al, byte [ebx + 0x4c]
test al, al
jne 0x501191
mov ebx, dword [ebx + 0x24]
lea edi, [ebx + 0x34]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x501334
mov eax, dword [ebx + 0x38]
test eax, eax
jne 0x50155a
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp byte [esi + 0x3c], 0
mov ebx, dword [esi + 0x10]
je 0x500956
cmp byte [esi + 0xa8], 1
je 0x501921
xor eax, eax
mov dword [esi + 0x9c], eax
mov dword [esi + 0x98], eax
mov byte [esi + 0xa0], al
mov byte [esi + 0x90], al
mov byte [esi + 0xa8], 1
mov eax, dword [ebx + 0x24]
mov eax, dword [eax + 8]
mov eax, dword [eax]
test al, 1
jne 0x501340
mov edi, dword [ebx + 0x30]
xor eax, eax
dec eax
cmp dword [ebx + 0x34], edi
jne 0x5019dd
mov dword [esi + 0xd0], eax
mov dword [esi + 0xd4], eax
mov eax, dword [ebx]
mov edi, dword [eax + 0xc]
cmp edi, 0x5020d0
jne 0x50075f
mov ebx, dword [ebx + 0x48]
mov eax, dword [ebx]
mov edi, dword [eax + 0xc]
cmp edi, fcn.005020f0
jne 0x500734
mov ecx, ebx
mov ebx, dword [esi + 0x10]
push ebx
lea eax, [esi + 0xd0]
push eax
call fcn.005020f0
mov eax, dword [esi + 0xd0]
test eax, eax
je 0x501198
mov dword [esi + 0xb8], eax
lea eax, [esi + 0xb8]
push eax
call fcn.004ffdf0
add esp, 4
mov edi, esp
mov ecx, dword [ebx + 0x24]
sub esp, 0xc
mov eax, esp
mov edx, dword [esi + 0xd0]
mov dword [eax + 4], edx
xor ebx, ebx
mov dword [esi + 0xd0], ebx
mov edx, dword [esi + 0xd4]
mov dword [esi + 0xd4], ebx
mov dword [eax + 8], edx
lea edx, [esi + 0xc0]
mov dword [eax], edx
call fcn.005066f0
mov esp, edi
mov eax, dword [esi + 0xd0]
test eax, eax
jne 0x5019ad
mov dword [esi + 0x118], eax
mov dword [esi + 0xd0], 0
test eax, eax
mov ebx, dword [esi + 0x10]
jne 0x501909
mov eax, dword [esi + 0xc0]
mov dword [esi + 0xc0], 0
mov ecx, dword [esi + 0xd0]
mov dword [esi + 0xd0], eax
test ecx, ecx
jne 0x501931
mov eax, dword [esi + 0xc4]
mov dword [esi + 0xd4], eax
mov eax, dword [esi + 0xd0]
mov dword [esi + 0x118], eax
lea eax, [esi + 0x118]
push eax
call fcn.004ffdf0
add esp, 4
cmp byte [esi + 0x3c], 0
je 0x500b80
cmp byte [esi + 0xa8], 1
jne 0x500b5f
cmp byte [esi + 0x90], 1
jne 0x500b5f
mov eax, dword [esi + 0x4c]
mov ecx, dword [eax]
test ecx, ecx
je 0x500b5f
movq xmm0, qword [ecx + 8]
pshufd xmm0, xmm0, 0x55
movd eax, xmm0
test eax, eax
mov dword [esi + 8], ecx
js 0x50199a
cmp dword [ecx + 0x1c], 1
jne 0x501880
cmp dword [ecx + 0x10], 0
jne 0x501a3d
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
nop dword [eax]
mov ebx, eax
xor ecx, ecx
dec ecx
and ebx, ecx
mov ecx, edx
mov edi, 0xbfffffff
and ecx, edi
mov edi, dword [esi + 8]
lock cmpxchg8b qword [edi + 8]
mov ecx, dword [esi + 8]
jne 0x500af0
mov edi, dword [esi + 0x98]
mov ebx, dword [esi + 0x9c]
cmp dword [ecx + 0x10], 0
jne 0x501a7a
movq xmm0, qword [ecx + 8]
pshufd xmm0, xmm0, 0x55
movd eax, xmm0
mov edx, ecx
mov ecx, 0x40000000
and eax, ecx
mov ecx, 0xffffff
and ebx, ecx
or ebx, eax
movd xmm0, ebx
xor eax, eax
dec eax
and edi, eax
movd xmm1, edi
punpckldq xmm1, xmm0
movq qword [edx + 8], xmm1
dec dword [edx + 0x1c]
mov ebx, dword [esi + 0x10]
xor eax, eax
mov dword [esi + 0x9c], eax
mov dword [esi + 0x98], eax
mov byte [esi + 0xa0], al
mov byte [esi + 0x90], al
mov byte [esi + 0xa8], 1
xor eax, eax
dec eax
mov dword [esi + 0xc0], eax
mov dword [esi + 0xc4], eax
mov eax, dword [ebx]
mov edi, dword [eax + 0xc]
cmp edi, 0x5020d0
jne 0x50117c
mov edx, ebx
mov ebx, dword [ebx + 0x48]
mov dword [esi + 8], esp
push eax
sub esp, 0xc
mov eax, esp
mov ecx, dword [esi + 0xd0]
mov dword [eax + 4], ecx
xor edi, edi
mov dword [esi + 0xd0], edi
mov ecx, dword [esi + 0xd4]
mov dword [eax + 8], ecx
mov dword [esi + 0xd4], edi
lea ecx, [esi + 0xc0]
mov dword [eax], ecx
mov dword [eax + 0xc], edx
mov eax, dword [ebx]
mov edi, dword [eax + 0x10]
cmp edi, fcn.005027d0
jne 0x50115a
mov ecx, ebx
call fcn.005027d0
mov esp, dword [esi + 8]
mov ebx, dword [esi + 0x10]
mov eax, dword [ebx + 0x24]
mov eax, dword [eax + 8]
mov eax, dword [eax]
test al, 1
jne 0x50131e
mov edi, dword [ebx + 0x30]
cmp dword [ebx + 0x34], edi
jne 0x5015a8
cmp dword [esi + 0xd0], 0
jne 0x501903
mov eax, dword [esi + 0xc0]
mov ecx, dword [esi + 0xc4]
mov dword [esi + 0xd0], eax
mov dword [esi + 0xd4], ecx
test eax, eax
jne 0x5009c6
mov cl, 1
cmp byte [esi + 0xa8], 1
jne 0x500d10
cmp byte [esi + 0x90], 1
jne 0x500d10
mov eax, dword [esi + 0x4c]
mov edi, dword [eax]
test edi, edi
je 0x500d10
movq xmm0, qword [edi + 8]
pshufd xmm0, xmm0, 0x55
movd eax, xmm0
test eax, eax
js 0x5019f1
cmp dword [edi + 0x1c], 1
mov dword [esi + 0xc], ecx
mov dword [esi + 8], edi
jne 0x5018bd
cmp dword [edi + 0x10], 0
jne 0x501abd
mov eax, dword [edi + 8]
mov edx, dword [edi + 0xc]
nop
mov ebx, eax
xor ecx, ecx
dec ecx
and ebx, ecx
mov ecx, edx
mov edi, 0xbfffffff
and ecx, edi
mov edi, dword [esi + 8]
lock cmpxchg8b qword [edi + 8]
jne 0x500ca0
mov edx, dword [esi + 0x98]
mov ebx, dword [esi + 0x9c]
mov edi, dword [esi + 8]
cmp dword [edi + 0x10], 0
jne 0x501b3e
movq xmm0, qword [edi + 8]
pshufd xmm0, xmm0, 0x55
movd eax, xmm0
mov ecx, 0x40000000
and eax, ecx
mov ecx, 0xffffff
and ebx, ecx
or ebx, eax
movd xmm0, ebx
xor eax, eax
dec eax
and edx, eax
movd xmm1, edx
punpckldq xmm1, xmm0
movq qword [edi + 8], xmm1
dec dword [edi + 0x1c]
mov ebx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
test cl, cl
je 0x501236
mov al, byte [ebx + 0x20]
test al, al
jne 0x501236
mov eax, dword [ebx]
mov edi, dword [eax + 0x10]
cmp edi, 0x5020e0
jne 0x50116b
mov al, byte [ebx + 0x4c]
test al, al
jne 0x501236
mov ebx, dword [ebx + 0x24]
lea edi, [ebx + 0x34]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x501328
mov eax, dword [ebx + 0x38]
test eax, eax
jne 0x501210
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ebx, dword [esi + 0x10]
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x90], xmm0
movdqa xmmword [esi + 0xa0], xmm0
xor eax, eax
mov byte [esi + 0x90], al
mov byte [esi + 0xa8], al
mov dword [esi + 0xc0], 0xa
mov al, byte [0x64b456]
test al, al
jne 0x501a09
mov ecx, dword [0x647d64]
test ecx, ecx
jne 0x5018f9
mov eax, dword [ebx]
mov edi, dword [eax + 0xc]
cmp edi, 0x5020d0
jne 0x501147
mov ebx, dword [ebx + 0x48]
mov eax, dword [ebx]
cmp dword [eax + 0x18], 0x404030
jne 0x500750
xor ecx, ecx
dec ecx
mov dword [esi + 0xb8], ecx
mov dword [esi + 0xbc], ecx
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
cmp edi, 0x507e90
jne 0x5010b6
cmp byte [ebx - 8], 1
mov eax, ecx
mov ecx, 0x7fffffff
mov edi, 0x7fffffff
je 0x50134a
mov dword [esi + 0xb8], eax
mov dword [esi + 0xbc], ecx
mov ecx, dword [fcn.005608f0]
cmp ecx, 0x5531a0
mov dword [esi + 0x30], ebx
jne 0x501130
xor eax, eax
mov dword [esi + 0xd4], eax
mov dword [esi + 0xd0], eax
lea eax, [esi + 0xd0]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ebx, dword [esi + 0xd0]
mov edi, dword [esi + 0xd4]
mov eax, 0x7bd05af7
cmp ebx, eax
mov eax, edi
mov ecx, 0x863
sbb eax, ecx
jge 0x501b95
mov eax, ebx
mov ecx, 0xf4240
mul ecx
imul ecx, edi, 0xf4240
add ecx, edx
push dword [0x64b6cc]
push dword [0x64b6c8]
push ecx
push eax
call fcn.005877d0
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], edx
mov edi, 0x7fffffff
mov ebx, dword [esi + 0x30]
mov eax, dword [ebx]
cmp dword [eax + 0x28], 0x5e3d90
mov eax, dword [esi + 0xb0]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xb4]
mov dword [esi + 8], eax
mov eax, dword [0x64984c]
mov ecx, dword fs:[0x2c]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x65a6f8]
mov ecx, dword [ecx + 4]
cmp eax, ecx
jg 0x5014cd
cmp byte [0x65a6f4], 1
jne 0x50198e
mov eax, dword [0x65a708]
mov ecx, dword [0x64984c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x5013d1
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
mov edx, ecx
or edx, eax
jne 0x500f21
mov eax, dword [0x65a704]
mov ecx, dword [0x65a700]
mov edx, 0x3938700
add ecx, edx
mov edx, 0
adc eax, edx
cmovo eax, edi
mov edx, 0xffffffff
cmovo ecx, edx
mov ebx, dword [esi + 0xc]
cmp ecx, ebx
mov ecx, dword [esi + 8]
sbb eax, ecx
mov edi, 0x3938700
mov eax, 0xf4240
cmovl edi, eax
add edi, ebx
mov ebx, ecx
mov ecx, 0
adc ebx, ecx
cmovo edi, edx
mov edx, 0x7fffffff
cmovo ebx, edx
push ecx
push eax
push ebx
push edi
call fcn.005883a0
mov dword [esi + 0x14], edx
mov ecx, edi
neg ecx
mov ecx, 0
sbb ecx, ebx
mov edx, 0
mov ecx, 0xf4240
cmovl edx, ecx
sub edx, eax
mov ecx, 0
sbb ecx, dword [esi + 0x14]
or eax, dword [esi + 0x14]
mov eax, 0
cmove ecx, eax
cmove edx, eax
add edx, edi
adc ecx, ebx
seto bl
mov eax, ecx
sar eax, 0x1f
test bl, bl
cmovne edx, eax
mov edi, 0x80000000
xor eax, edi
test bl, bl
cmove eax, ecx
sub edx, dword [esi + 0xc]
sbb eax, dword [esi + 8]
seto cl
mov ebx, eax
sar ebx, 0x1f
test cl, cl
cmovne edx, ebx
xor ebx, edi
test cl, cl
cmove ebx, eax
mov ecx, dword [esi + 0xb8]
mov edi, dword [esi + 0xbc]
cmp ecx, edx
mov eax, edi
sbb eax, ebx
mov dword [esi + 0x34], ebx
cmovge edi, ebx
mov dword [esi + 0x48], edx
cmovge ecx, edx
mov dword [esi + 8], ecx
mov eax, ecx
neg eax
mov eax, 0
mov dword [esi + 0xc], edi
sbb eax, edi
mov edx, dword [esi + 0x30]
lea eax, [edx + 0x10]
mov dword [esi + 0x14], eax
mov ebx, dword [esi + 0x10]
jge 0x50140d
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0xd0], xmm0
xor ecx, ecx
dec ecx
mov dword [esi + 0x100], ecx
mov dword [esi + 0x104], ecx
movdqa xmmword [esi + 0xf0], xmm0
movdqa xmmword [esi + 0xe0], xmm0
xor eax, eax
mov byte [esi + 0xd0], al
mov byte [esi + 0x100], al
cmp byte [edx + 0x14], al
mov edi, 0x7fffffff
je 0x5010d3
mov eax, dword [esi + 8]
xor eax, ecx
mov edx, dword [esi + 0xc]
xor edx, edi
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], edx
or eax, edx
je 0x5010a7
mov ecx, dword [0x648080]
cmp ecx, 0x5531a0
je 0x50079f
call dword [0x6401dc]
lea eax, [esi + 0x118]
push eax
call ecx
add esp, 4
mov eax, dword [esi + 0x118]
mov edx, dword [esi + 0x11c]
jmp 0x500800
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], 0x7fffffff
jmp 0x500827
mov ecx, edi
call dword [0x6401dc]
mov ecx, ebx
lea eax, [esi + 0xb8]
push eax
call edi
mov edi, 0x7fffffff
jmp 0x500e15
push 0x40
push str.waitable_event.cc
push str.TimedWait
lea eax, [esi + 0xc0]
push eax
call fcn.00509c60
add esp, 0x10
cmp byte [esi + 0x100], 1
je 0x501b7c
lea ecx, [esi + 0xd0]
push 1
push 0
call fcn.00520c00
mov dword [esi + 0x114], 0xa
mov al, byte [0x64b456]
test al, al
jne 0x501c4c
mov byte [esi + 0x100], 1
xor ecx, ecx
dec ecx
jmp 0x50105e
call dword [0x6401dc]
lea eax, [esi + 0xb0]
push eax
call ecx
add esp, 4
jmp 0x500e9f
mov ecx, edi
call dword [0x6401dc]
mov ecx, ebx
call edi
mov ebx, eax
jmp 0x500dc4
mov ecx, edi
call dword [0x6401dc]
mov ecx, ebx
call edi
jmp 0x500bf1
mov ecx, edi
call dword [0x6401dc]
mov ecx, ebx
call edi
jmp 0x500d37
mov ecx, edi
call dword [0x6401dc]
mov ecx, ebx
call edi
mov edx, ebx
mov ebx, eax
jmp 0x500ba5
xor ecx, ecx
jmp 0x500c42
mov al, byte [ebx + 0x20]
test al, al
jne 0x501205
mov eax, dword [ebx]
mov edi, dword [eax + 0x10]
mov ecx, edi
call dword [0x6401dc]
mov ecx, ebx
call edi
test al, al
jne 0x501205
mov ebx, dword [ebx + 0x24]
lea edi, [ebx + 0x34]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x50154e
mov eax, dword [ebx + 0x38]
test eax, eax
jne 0x5017eb
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ebx, dword [esi + 0x10]
mov eax, dword [ebx]
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [0x6401dc]
mov ecx, ebx
call edi
mov edi, eax
mov eax, dword [eax]
mov ebx, dword [eax + 0x20]
mov ecx, ebx
call dword [0x6401dc]
mov ecx, edi
call ebx
mov ebx, dword [esi + 0x10]
mov eax, dword [esi + 0xd0]
jmp 0x500c38
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, eax
test eax, eax
jne 0x501834
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test ebx, ebx
mov ebx, dword [esi + 0x10]
jne 0x500d69
mov eax, dword [ebx]
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [0x6401dc]
mov ecx, ebx
call edi
mov edi, eax
mov eax, dword [eax]
mov ebx, dword [eax + 0x1c]
mov ecx, ebx
call dword [0x6401dc]
mov ecx, edi
push dword [esi + 0x10]
call ebx
mov eax, dword [esi + 0x10]
mov edi, dword [eax + 0x2c]
test edi, edi
jne 0x501db4
mov ecx, dword [eax + 8]
mov dword [eax + 8], 0
test ecx, ecx
mov edi, dword [esi + 0x38]
jne 0x5012f4
mov dword [esi + 0x90], 0xa
mov al, byte [0x64b456]
test al, al
jne 0x501e9b
mov dword [esi + 0x90], 0xa
mov al, byte [0x64b456]
test al, al
jne 0x501ecf
mov ecx, dword [0x647d64]
test ecx, ecx
jne 0x501cdb
test edi, edi
je 0x5012df
mov ecx, dword [edi + 4]
call dword [0x6401dc]
push edi
call ecx
add esp, 4
lock dec dword [edi]
jne 0x5012df
mov ecx, dword [edi + 8]
call dword [0x6401dc]
push edi
call ecx
add esp, 4
mov ecx, dword [esi + 0x128]
xor ecx, ebp
call fcn.00567335
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lock dec dword [ecx + 4]
jne 0x50127c
push 1
call fcn.004053b0
jmp 0x50127c
mov eax, dword [ebx + 0x20]
cmp byte [ebx + 0x2a], 1
je 0x50184c
dec dword [eax + 0xb4]
jmp 0x50068b
mov edi, 3
jmp 0x500c0a
push edi
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x500d54
push edi
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x50090d
mov edi, 3
jmp 0x500969
mov eax, dword [ebx - 0x10]
fild qword [eax + 0x20]
fstp qword [esi + 0x88]
movsd xmm0, qword [esi + 0x88]
mulsd xmm0, qword [0x639080]
movsd xmm1, qword [0x630f70]
ucomisd xmm0, xmm1
mov eax, 0xffffffff
mov edx, 0
cmovb eax, edx
cmovb ecx, edx
movsd xmm2, qword [0x630f68]
ucomisd xmm2, xmm0
maxsd xmm0, xmm1
movsd qword [esi + 0x50], xmm0
fld qword [esi + 0x50]
fisttp qword [esi + 0x50]
jb 0x500e09
mov ecx, dword [esi + 0x54]
mov eax, dword [esi + 0x50]
jmp 0x500e09
call dword [0x6401dc]
lea eax, [esi + 0x118]
push eax
call ecx
add esp, 4
mov eax, dword [esi + 0x118]
mov ecx, dword [esi + 0x11c]
jmp 0x50058e
push 0x65a708
call fcn.00565714
add esp, 4
cmp dword [0x65a708], 0xffffffff
jne 0x500f0a
mov eax, dword [esi + 0xc]
mov dword [0x65a700], eax
mov eax, dword [esi + 8]
mov dword [0x65a704], eax
push 0x65a708
call fcn.00565763
add esp, 4
jmp 0x500f0a
mov ecx, dword [esi + 0x14]
call fcn.004f1cb0
test al, al
jne 0x5008ba
call fcn.00508e40
mov eax, dword [esi + 0xb8]
mov ecx, dword [esi + 0xbc]
cmp dword [esi + 0x48], eax
mov edx, dword [esi + 0x34]
sbb edx, ecx
jge 0x5008ba
mov edx, eax
xor ebx, ebx
dec ebx
xor edx, ebx
mov edi, ecx
mov ebx, 0x7fffffff
xor edi, ebx
or edi, edx
jne 0x501484
xor eax, eax
dec eax
mov dword [esi + 0xd0], eax
mov eax, 0x7fffffff
mov dword [esi + 0xd4], eax
mov ebx, dword [esi + 0x10]
sub esp, 8
movq xmm0, qword [esi + 0xd0]
movq qword [esp], xmm0
mov ecx, dword [esi + 0x30]
call fcn.00507f10
jmp 0x5008ba
xor edx, edx
dec edx
mov ebx, dword [esi + 0x48]
add edx, ebx
mov edi, 0x7fffffff
adc edi, dword [esi + 0x34]
add edx, 2
adc edi, 0
cmp edx, 2
sbb edi, 0
jb 0x501450
sub eax, ebx
sbb ecx, dword [esi + 0x34]
seto bl
mov edx, ecx
sar edx, 0x1f
test bl, bl
cmovne eax, edx
add edx, 0x80000000
test bl, bl
cmove edx, ecx
mov dword [esi + 0xd0], eax
mov dword [esi + 0xd4], edx
jmp 0x501464
push 0x65a6f8
call fcn.00565714
add esp, 4
cmp dword [0x65a6f8], 0xffffffff
jne 0x500edc
push 0x6480f0
call fcn.00509060
add esp, 4
mov byte [0x65a6f4], al
push 0x65a6f8
call fcn.00565763
add esp, 4
jmp 0x500edc
mov ecx, dword [eax + 0x5c]
mov edx, dword [eax + 0xa0]
dec edx
mov dword [eax + 0xa0], edx
cmp ecx, dword [eax + 0x60]
je 0x501528
cmp dword [eax + 0xa8], edx
jae 0x501533
mov word [eax + 0x78], 0
jmp 0x500677
movzx ecx, word [ecx + 8]
mov word [eax + 0x78], cx
jmp 0x500677
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x500656
push edi
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x5011c9
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, eax
test eax, eax
jne 0x50157e
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test ebx, ebx
jne 0x50091f
jmp 0x501fff
cmp ebx, 0x102
je 0x50156a
mov ecx, ebx
call fcn.005c1aa0
jmp 0x500918
mov ecx, dword [ecx + 0x24]
cmp ecx, 3
je 0x5020a1
xor eax, eax
cmp ecx, 1
sete al
jmp 0x5015c3
mov eax, dword [0x64984c]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov ecx, dword [eax + 0xb8]
xor eax, eax
test ecx, ecx
jne 0x501592
cmp edi, 7
jge 0x501906
mov ecx, dword [0x64984c]
mov edx, dword fs:[0x2c]
mov ebx, dword [edx + ecx*4]
push eax
push edi
call fcn.00411070
add esp, 8
mov dword [ebx + 0xac], edi
mov ebx, dword [esi + 0x10]
mov dword [ebx + 0x34], edi
jmp 0x500c13
mov dword [esi + 0x2c], edx
mov dword [esi + 0x28], eax
xor edx, edx
dec edx
mov ecx, 0x3938700
mov eax, dword [esi + 0xc]
add ecx, dword [eax + 0xf8]
mov ebx, dword [eax + 0xfc]
adc ebx, 0
mov eax, 0x7fffffff
cmovno eax, ebx
mov ebx, eax
cmovo ecx, edx
mov eax, dword [esi + 0x18]
cmp eax, ecx
mov edx, dword [esi + 0x1c]
mov ecx, edx
sbb ecx, ebx
jge 0x50204b
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0xf8]
mov eax, dword [eax + 0xfc]
mov edx, dword [esi + 0x14]
mov dword [esi + 0x1c], ecx
sub edx, ecx
mov ecx, dword [esi + 0x2c]
mov dword [esi + 0x18], eax
sbb ecx, eax
seto bl
mov eax, ecx
sar eax, 0x1f
test bl, bl
cmovne edx, eax
add eax, 0x80000000
test bl, bl
cmove eax, ecx
xor ecx, ecx
dec ecx
add ecx, edx
mov ebx, 0x7fffffff
adc ebx, eax
add ecx, 2
adc ebx, 0
cmp ecx, 2
sbb ebx, 0
jb 0x50202b
movd xmm0, edx
movd xmm1, eax
punpckldq xmm0, xmm1
movq qword [esi + 0x80], xmm0
fild qword [esi + 0x80]
fstp qword [esi + 0x78]
movsd xmm0, qword [esi + 0x78]
mov ebx, dword [esi + 0x28]
divsd xmm0, qword [0x62fcc0]
sub esp, 8
movsd qword [esp], xmm0
call fcn.00590cb0
add esp, 8
fstp qword [esi + 0x58]
movsd xmm0, qword [esi + 0x58]
xor ecx, ecx
movsd xmm1, qword [0x6302f0]
ucomisd xmm0, xmm1
mov eax, 0x7fffffff
cmovb eax, ecx
movsd xmm2, qword [0x6302f8]
ucomisd xmm2, xmm0
maxsd xmm0, xmm1
cvttsd2si edx, xmm0
cmovb edx, eax
xor eax, eax
dec eax
add eax, ebx
movd xmm0, ebx
mov ecx, 0x7fffffff
adc ecx, edi
movd xmm1, edi
add eax, 2
adc ecx, 0
cmp eax, 2
sbb ecx, 0
mov ebx, 0x7fffffff
punpckldq xmm0, xmm1
movq qword [esi + 0x70], xmm0
fild qword [esi + 0x70]
fstp qword [esi + 0x68]
mov dword [esi + 0x18], edx
jae 0x50173f
movsd xmm0, qword [0x630300]
jmp 0x50174c
movsd xmm0, qword [esi + 0x68]
divsd xmm0, qword [0x62fcc0]
sub esp, 8
movsd qword [esp], xmm0
call fcn.00590dad
add esp, 8
fstp qword [esi + 0x60]
movsd xmm0, qword [esi + 0x60]
movsd xmm1, qword [0x6302f0]
ucomisd xmm0, xmm1
mov eax, 0
cmovb ebx, eax
movsd xmm2, qword [0x6302f8]
ucomisd xmm2, xmm0
maxsd xmm0, xmm1
cvttsd2si ecx, xmm0
cmovb ecx, ebx
mov ebx, dword [esi + 0x18]
add ecx, ebx
cmp ecx, 0x3c
mov edi, 0x3c
mov dword [esi + 0x1c], ecx
cmovl edi, ecx
mov eax, dword [esi + 0xc]
add eax, 4
mov dword [esi + 0x14], eax
push eax
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x5017e0
cmp ebx, edi
mov eax, dword [esi + 0xc]
jge 0x5017c6
inc dword [eax + ebx*4 + 8]
inc ebx
cmp edi, ebx
jne 0x5017bd
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ecx, dword [esi + 0x1c]
cmp ecx, 0x3d
jl 0x5005cf
jmp 0x502009
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x5017b6
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, eax
test eax, eax
jne 0x501812
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test ebx, ebx
mov ebx, dword [esi + 0x10]
jne 0x5011de
jmp 0x501205
cmp ebx, 0x102
je 0x5017fb
mov ecx, ebx
call fcn.005c1aa0
jmp 0x5011d4
push eax
call fcn.004f4f20
add esp, 4
jmp 0x5006f6
cmp ebx, 0x102
je 0x501224
mov ecx, ebx
call fcn.005c1aa0
jmp 0x500d5f
dec dword [eax + 0xa4]
mov ecx, dword [eax + 0x5c]
cmp ecx, dword [eax + 0x60]
je 0x501868
mov edx, dword [eax + 0xa8]
cmp edx, dword [eax + 0xa0]
jae 0x501873
mov word [eax + 0x78], 0
jmp 0x50068b
movzx ecx, word [ecx + 8]
mov word [eax + 0x78], cx
jmp 0x50068b
cmp byte [esi + 0xa0], 1
jne 0x500b0d
cmp dword [ecx + 0x10], 0
jne 0x501dcd
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
mov ecx, edx
mov edi, 0x40000000
or ecx, edi
mov ebx, eax
mov edi, dword [esi + 8]
lock cmpxchg8b qword [edi + 8]
mov ecx, dword [esi + 8]
jne 0x5018a0
jmp 0x500b0d
cmp byte [esi + 0xa0], 1
jne 0x500cba
mov eax, dword [esi + 8]
mov edi, eax
cmp dword [eax + 0x10], 0
jne 0x501e04
mov eax, dword [edi + 8]
mov edx, dword [edi + 0xc]
mov ecx, edx
mov edi, 0x40000000
or ecx, edi
mov ebx, eax
mov edi, dword [esi + 8]
lock cmpxchg8b qword [edi + 8]
jne 0x5018df
jmp 0x500cba
call fcn.005c4100
jmp 0x500db0
int3
int3
lock dec dword [eax + 4]
jne 0x500a3d
mov ecx, eax
push 1
call fcn.00504eb0
jmp 0x500a3d
lea ecx, [esi + 0x90]
call fcn.00551e90
jmp 0x500935
lock dec dword [ecx + 4]
jne 0x50193e
push 1
call fcn.00504eb0
mov ecx, dword [esi + 0xc0]
mov eax, dword [esi + 0xc4]
xor edx, edx
mov dword [esi + 0xc4], edx
mov dword [esi + 0xd4], eax
mov dword [esi + 0xc0], edx
test ecx, ecx
mov ebx, dword [esi + 0x10]
je 0x500a6d
lock dec dword [ecx + 4]
je 0x501985
mov ecx, dword [esi + 0xc0]
test ecx, ecx
mov ebx, dword [esi + 0x10]
je 0x500a6d
jmp 0x5020ab
push 1
call fcn.00504eb0
jmp 0x50196f
xor ebx, ebx
mov edx, 0xf4240
jmp 0x500fda
mov ecx, dword [0x65709c]
call fcn.00591120
mov ecx, dword [esi + 8]
jmp 0x500ad2
mov ecx, dword [esi + 0xd4]
test ecx, ecx
je 0x500a22
mov dword [esi + 0xd0], 0
push eax
lea eax, [esi + 0x118]
push eax
call fcn.0040aa10
mov eax, dword [esi + 0x118]
jmp 0x500a32
push edi
call fcn.00411000
xor eax, eax
dec eax
add esp, 4
mov dword [ebx + 0x34], edi
jmp 0x500975
mov ebx, edi
mov edi, ecx
mov ecx, dword [0x65709c]
call fcn.00591120
mov ecx, edi
mov edi, ebx
jmp 0x500c7f
movzx eax, al
mov dword [esi + 0xd0], str.WorkerThread_active
push 0
push 0x45
push 0x627728
push 2
lea ecx, [esi + 0xd0]
push ecx
lea ecx, [esi + 0xc0]
push ecx
push eax
call fcn.005b5740
add esp, 0x1c
jmp 0x500da2
mov eax, dword [esi + 8]
lea ecx, [eax + 0x10]
mov eax, dword [esi + 8]
movq xmm0, qword [eax + 8]
pshufd xmm0, xmm0, 0x55
movd ebx, xmm0
call fcn.005910c0
mov ecx, dword [esi + 8]
and ebx, 0xff000000
or ebx, edx
movd xmm0, ebx
movd xmm1, eax
punpckldq xmm1, xmm0
movq qword [ecx + 8], xmm1
jmp 0x500ae6
mov eax, dword [esi + 8]
lea ecx, [eax + 0x10]
mov eax, dword [esi + 8]
movq xmm0, qword [eax + 8]
pshufd xmm0, xmm0, 0x55
mov dword [esi + 0xc], edi
movd edi, xmm0
call fcn.005910c0
mov ecx, dword [esi + 8]
and edi, 0xff000000
or edi, edx
movd xmm0, edi
mov edi, dword [esi + 0xc]
movd xmm1, eax
punpckldq xmm1, xmm0
movq qword [ecx + 8], xmm1
jmp 0x500b23
lea ecx, [edi + 0x10]
movq xmm0, qword [edi + 8]
pshufd xmm0, xmm0, 0x55
movd ebx, xmm0
call fcn.005910c0
and ebx, 0xff000000
or ebx, edx
movd xmm0, ebx
movd xmm1, eax
punpckldq xmm1, xmm0
movq qword [edi + 8], xmm1
jmp 0x500c99
movzx eax, al
mov ecx, dword [0x64a790]
xor ecx, dword [ebx + 0x3c]
mov edx, dword [0x64a794]
mov dword [esi + 0xd4], edx
mov dword [esi + 0xd0], ecx
mov dword [esi + 0xc0], str.WorkerThread_active
lea ecx, [esi + 0xd0]
push ecx
push 1
lea ecx, [esi + 0xc0]
push ecx
lea ecx, [esi + 0x118]
push ecx
push eax
call fcn.005c1b30
add esp, 0x14
jmp 0x5008d1
lea ecx, [edi + 0x10]
movq xmm0, qword [edi + 8]
pshufd xmm0, xmm0, 0x55
movd dword [esi + 0x14], xmm0
mov dword [esi + 0x30], edx
call fcn.005910c0
mov ecx, dword [esi + 0x14]
and ecx, 0xff000000
or ecx, edx
mov edx, dword [esi + 0x30]
movd xmm0, ecx
movd xmm1, eax
punpckldq xmm1, xmm0
movq qword [edi + 8], xmm1
jmp 0x500cd3
lea ebx, [esi + 0xd0]
mov ecx, ebx
call fcn.0052e650
mov byte [ebx + 0x30], 0
mov ebx, dword [esi + 0x10]
jmp 0x5010fb
mov eax, dword [0x64b6c8]
mov dword [esi + 8], eax
mov ecx, dword [0x64b6cc]
mov dword [esi + 0xc], ecx
push ecx
push eax
push edi
push ebx
call fcn.005877d0
mov dword [esi + 0x14], eax
mov dword [esi + 0x34], edx
mul dword [esi + 8]
mov dword [esi + 0x1c], eax
mov ecx, dword [esi + 0x14]
imul ecx, dword [esi + 0xc]
add edx, ecx
mov eax, dword [esi + 0x34]
imul ecx, eax, 0xf4240
mov dword [esi + 0x18], ecx
imul eax, dword [esi + 8]
add eax, edx
sub ebx, dword [esi + 0x1c]
sbb edi, eax
mov ecx, 0xf4240
mov eax, dword [esi + 0x14]
mul ecx
mov dword [esi + 0x14], eax
add edx, dword [esi + 0x18]
mov dword [esi + 0x18], edx
mov eax, ebx
mul ecx
imul ecx, edi, 0xf4240
add edx, ecx
push dword [esi + 0xc]
push dword [esi + 8]
push edx
push eax
call fcn.005877d0
add eax, dword [esi + 0x14]
adc edx, dword [esi + 0x18]
jmp 0x500e8b
movzx eax, al
mov dword [esi + 0xc0], 0
push 2
lea ecx, [esi + 0xc0]
push ecx
lea ecx, [esi + 0x118]
push ecx
push eax
call fcn.00591070
add esp, 0x10
jmp 0x500605
push str....._third_partylibc_srcincludeoptional:795:_assertion_this__has_value___failed:_optional_operator_called_on_a_disengaged_value_n
push 0x624e92
call fcn.005912b0
movzx ecx, al
lea eax, [esi + 0xc0]
mov dword [esi + 0x118], eax
lea eax, [esi + 0x124]
mov dword [eax], str.ScopedBlockingCallWithBaseSyncPrimitives
lea edx, [esi + 0x114]
mov eax, ebx
lea ebx, [esi + 0x118]
push ebx
mov ebx, eax
lea eax, [esi + 0x124]
push eax
call fcn.005b78d0
add esp, 8
jmp 0x501121
movzx eax, al
mov edx, dword [esi + 0x14]
xor edx, dword [0x64a790]
mov ecx, dword [0x64a794]
mov dword [esi + 0xc4], ecx
mov dword [esi + 0xc0], edx
mov dword [esi + 0x118], str.WaitableEvent::Wait_Complete
lea ecx, [esi + 0x124]
lea edx, [esi + 0xc0]
push edx
push 3
lea edx, [esi + 0x118]
push edx
push ecx
push eax
call fcn.005c1b30
mov cl, 1
add esp, 0x14
jmp 0x5008a5
call fcn.005c4100
jmp 0x5012b8
mov eax, dword [0x64b6c8]
mov dword [esi + 0x18], eax
mov ecx, dword [0x64b6cc]
mov dword [esi + 0x1c], ecx
push ecx
push eax
push edi
push ebx
call fcn.005877d0
mov dword [esi + 0x20], eax
mov dword [esi + 0x40], edx
mul dword [esi + 0x18]
mov dword [esi + 0x44], eax
mov ecx, dword [esi + 0x20]
imul ecx, dword [esi + 0x1c]
add edx, ecx
mov eax, dword [esi + 0x40]
imul ecx, eax, 0xf4240
mov dword [esi + 0x24], ecx
imul eax, dword [esi + 0x18]
add eax, edx
sub ebx, dword [esi + 0x44]
sbb edi, eax
mov ecx, 0xf4240
mov eax, dword [esi + 0x20]
mul ecx
mov dword [esi + 0x20], eax
add edx, dword [esi + 0x24]
mov dword [esi + 0x24], edx
mov eax, ebx
mul ecx
imul ecx, edi, 0xf4240
add edx, ecx
push dword [esi + 0x1c]
push dword [esi + 0x18]
push edx
push eax
call fcn.005877d0
add eax, dword [esi + 0x20]
adc edx, dword [esi + 0x24]
jmp 0x500800
mov ecx, dword [esi + 0x28]
or ecx, dword [esi + 0x2c]
jne 0x500451
mov ecx, eax
call fcn.005c1aa0
jmp 0x500451
mov dword [esi + 0x38], 0
jmp 0x5003e2
mov ecx, ebx
call fcn.004f2270
push ebx
call fcn.00564050
add esp, 4
jmp 0x5006c1
mov eax, dword [edi]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [0x6401dc]
mov ecx, edi
call ebx
mov ebx, dword [esi + 0x10]
jmp 0x50037c
mov eax, dword [edi]
mov ebx, dword [eax + 8]
mov ecx, ebx
call dword [0x6401dc]
mov ecx, edi
call ebx
mov eax, dword [esi + 0x10]
jmp 0x50126b
mov edi, dword [esi + 8]
lea ecx, [edi + 0x10]
movq xmm0, qword [edi + 8]
pshufd xmm0, xmm0, 0x55
movd ebx, xmm0
call fcn.005910c0
and ebx, 0xff000000
or ebx, edx
movd xmm0, ebx
movd xmm1, eax
punpckldq xmm1, xmm0
movq qword [edi + 8], xmm1
jmp 0x501897
lea ecx, [edi + 0x10]
movq xmm0, qword [edi + 8]
pshufd xmm0, xmm0, 0x55
movd ebx, xmm0
call fcn.005910c0
and ebx, 0xff000000
or ebx, edx
movd xmm0, ebx
movd xmm1, eax
punpckldq xmm1, xmm0
mov eax, dword [esi + 8]
movq qword [eax + 8], xmm1
jmp 0x5018d9
movzx eax, al
lea ecx, [esi + 0xd0]
mov dword [ecx], str.WorkerThread_born
lea edx, [esi + 0x90]
push 8
push 0x49
push 0x627728
push 3
push ecx
push edx
push eax
call fcn.005b5740
add esp, 0x1c
jmp 0x500357
movzx eax, al
lea ecx, [esi + 0xd0]
mov dword [ecx], str.WorkerThread_active
lea edx, [esi + 0x90]
push 0
push 0x42
push 0x627728
push 1
push ecx
push edx
push eax
call fcn.005b5740
add esp, 0x1c
jmp 0x50036e
movzx eax, al
mov dword [esi + 0xd0], str.WorkerThread_active
lea ecx, [esi + 0x90]
push 0
push 0x45
push 0x627728
push 2
lea edx, [esi + 0xd0]
push edx
push ecx
push eax
call fcn.005b5740
add esp, 0x1c
jmp 0x501293
movzx eax, al
mov dword [esi + 0xd0], str.WorkerThread_dead
lea ecx, [esi + 0x90]
push 8
push 0x49
push 0x627728
push 3
lea edx, [esi + 0xd0]
push edx
push ecx
push eax
call fcn.005b5740
add esp, 0x1c
jmp 0x5012aa
mov eax, dword [0x64b6c8]
mov dword [esi + 0x14], eax
mov ecx, dword [0x64b6cc]
mov dword [esi + 0x18], ecx
push ecx
push eax
push edi
push ebx
call fcn.005877d0
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], edx
mul dword [esi + 0x14]
mov dword [esi + 0x2c], eax
mov ecx, dword [esi + 0x1c]
imul ecx, dword [esi + 0x18]
add edx, ecx
mov eax, dword [esi + 0x20]
imul ecx, eax, 0xf4240
mov dword [esi + 0x28], ecx
imul eax, dword [esi + 0x14]
add eax, edx
sub ebx, dword [esi + 0x2c]
sbb edi, eax
mov ecx, 0xf4240
mov eax, dword [esi + 0x1c]
mul ecx
mov dword [esi + 0x1c], eax
add edx, dword [esi + 0x28]
mov dword [esi + 0x28], edx
mov eax, ebx
mul ecx
imul ecx, edi, 0xf4240
add edx, ecx
push dword [esi + 0x18]
push dword [esi + 0x14]
push edx
push eax
call fcn.005877d0
mov ecx, edx
add eax, dword [esi + 0x1c]
adc ecx, dword [esi + 0x28]
jmp 0x500582
mov eax, dword [0x64b6c8]
mov dword [esi + 8], eax
mov ecx, dword [0x64b6cc]
mov dword [esi + 0xc], ecx
push ecx
push eax
push edi
push ebx
call fcn.005877d0
mov dword [esi + 0x20], eax
mov dword [esi + 0x40], edx
mul dword [esi + 8]
mov dword [esi + 0x44], eax
mov ecx, dword [esi + 0x20]
imul ecx, dword [esi + 0xc]
add edx, ecx
mov eax, dword [esi + 0x40]
imul ecx, eax, 0xf4240
mov dword [esi + 0x24], ecx
imul eax, dword [esi + 8]
add eax, edx
sub ebx, dword [esi + 0x44]
sbb edi, eax
mov ecx, 0xf4240
mov eax, dword [esi + 0x20]
mul ecx
mov dword [esi + 0x20], eax
add edx, dword [esi + 0x24]
mov dword [esi + 0x24], edx
mov eax, ebx
mul ecx
imul ecx, edi, 0xf4240
add edx, ecx
push dword [esi + 0xc]
push dword [esi + 8]
push edx
push eax
call fcn.005877d0
add eax, dword [esi + 0x20]
adc edx, dword [esi + 0x24]
jmp 0x5004c0
xor ecx, ecx
mov ebx, dword [esi + 0x10]
jmp 0x500c42
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x100]
sub ecx, edi
mov dword [esi + 0x18], 0
mov dword [esi + 0xc], eax
test eax, eax
jne 0x50178f
jmp 0x5005cf
mov eax, dword [esi + 0x14]
cmp eax, dword [esi + 0x1c]
mov eax, dword [esi + 0x2c]
sbb eax, dword [esi + 0x18]
setl al
movzx eax, al
movsd xmm0, qword [eax*8 + 0x6302e0]
jmp 0x5016ac
mov dword [esi + 0xc0], eax
mov dword [esi + 0xc4], edx
sub esp, 0xc
movq xmm0, qword [esi + 0xc0]
movq qword [esp + 4], xmm0
lea ebx, [esi + 0x124]
mov dword [esp], ebx
call fcn.004f2190
add esp, 0xc
mov ebx, dword [ebx]
test ebx, ebx
je 0x501636
lock dec dword [ebx]
jne 0x501636
mov ecx, ebx
call fcn.004f2270
push ebx
call fcn.00564050
add esp, 4
jmp 0x501636
mov eax, 3
jmp 0x5015c3
lock dec dword [ecx + 4]
jne 0x500a6d
push 1
call fcn.00504eb0
jmp 0x500a6d