Function at 0x4ea500
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x120
mov esi, esp
mov ebx, ecx
mov eax, dword [0x5f3418]
xor eax, ebp
mov dword [esi + 0x118], eax
test byte [0x5f5168], 0x19
jne 0x4eb3ac
mov edi, dword [ebx + 0x38]
test edi, edi
jne 0x4eb46e
mov ecx, dword [ebx + 0x2c]
mov dword [esi + 0x20], ebx
push ebx
call fcn.00403fd0
test byte [0x5f5168], 0x19
jne 0x4eb486
test byte [0x5f5120], 0x19
jne 0x4eb4e1
mov eax, dword [esi + 0x20]
mov ecx, dword [eax + 0x2c]
add eax, 0x20
mov dword [esi + 0x24], eax
push eax
call fcn.00403820
test byte [0x5f5168], 0x19
jne 0x4eb4eb
nop dword [eax]
mov eax, dword [esi + 0x20]
movzx eax, byte [eax + 0x28]
test al, al
jne 0x4eae24
mov eax, dword [esi + 0x20]
movzx eax, byte [eax + 0x44]
test al, al
jne 0x4eae24
mov eax, dword [esi + 0x20]
mov edi, dword [eax + 0x30]
lea ebx, [edi + 0x3c]
push ebx
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x4ead7c
mov ecx, dword [edi + 0x40]
test ecx, ecx
jne 0x4eae0b
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x90], xmm0
movdqa xmmword [esi + 0xa0], xmm0
mov dword [esi + 0xb4], 0xffffffff
mov dword [esi + 0xb0], 0xffffffff
mov byte [esi + 0x90], 0
pxor xmm0, xmm0
lea eax, [esi + 0x98]
movdqu xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov ebx, dword [esi + 0x20]
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x18]
mov eax, dword [eax]
test al, 1
jne 0x4eae01
mov edi, dword [ebx + 0x3c]
cmp dword [ebx + 0x40], edi
jne 0x4eaedf
mov dword [esi + 0x50], 0xffffffff
mov dword [esi + 0x54], 0xffffffff
mov ecx, dword [ebx + 0x2c]
push ebx
lea eax, [esi + 0x50]
push eax
call fcn.004f75c0
mov eax, dword [esi + 0x50]
test eax, eax
jne 0x4eaabb
mov al, byte [ebx + 0x28]
mov dl, 1
test al, al
jne 0x4eab90
mov al, byte [ebx + 0x44]
test al, al
jne 0x4eaf2a
mov edi, dword [ebx + 0x30]
lea ebx, [edi + 0x3c]
push ebx
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x4ead88
mov ecx, dword [edi + 0x40]
test ecx, ecx
jne 0x4eaf31
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test byte [0x5f5168], 0x19
jne 0x4eaf51
test byte [0x5f5120], 0x19
jne 0x4eafac
cmp byte [esi + 0x90], 0
jne 0x4eafb6
mov eax, dword [esi + 0x20]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
cmp dword [eax + 0x18], 0x403820
jne 0x4eabe5
mov eax, dword [ecx + 0x20]
cmp byte [eax + 0x58], 0
mov ecx, 0xffffffff
mov edx, 0x7fffffff
jne 0x4ea724
fild qword [eax + 0x50]
fstp qword [esi + 0x48]
movsd xmm0, qword [esi + 0x48]
mulsd xmm0, qword [0x5e8208]
movsd xmm1, qword [0x5de008]
ucomisd xmm1, xmm0
jb 0x4eb1b8
maxsd xmm0, qword [0x5c6928]
movsd qword [esi + 0x38], xmm0
fld qword [esi + 0x38]
fisttp qword [esi + 0x38]
mov ecx, dword [esi + 0x38]
mov edx, dword [esi + 0x3c]
mov eax, 0xf4240
cmp ecx, eax
mov eax, 0xf4240
cmovb eax, ecx
test edx, edx
mov edi, 0
mov dword [esi + 0x2c], edx
cmovs edi, edx
mov dword [esi + 0x14], edi
mov edx, 0xf4240
mov dword [esi + 0x30], ecx
cmovs edx, ecx
cmove edx, eax
mov dword [esi + 8], edx
mov eax, dword [0x5f75b4]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov ecx, dword [0x6cf6b8]
cmp ecx, dword [eax + 4]
jg 0x4ead94
cmp byte [0x6cf6b4], 0
jne 0x4eb0f8
mov eax, dword [esi + 8]
neg eax
mov eax, 0
sbb eax, dword [esi + 0x14]
jge 0x4eb0de
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x70], xmm0
mov dword [esi + 0x80], 0xffffffff
xor ecx, ecx
mov byte [esi + 0x70], cl
movdqa xmmword [esi + 0xc0], xmm0
movdqa xmmword [esi + 0x100], xmm0
movdqa xmmword [esi + 0xf0], xmm0
movdqa xmmword [esi + 0xe0], xmm0
movdqa xmmword [esi + 0xd0], xmm0
mov byte [esi + 0xc0], cl
pxor xmm0, xmm0
lea eax, [esi + 0xc8]
movdqu xmmword [eax + 0x30], xmm0
movdqu xmmword [eax + 0x20], xmm0
movdqu xmmword [eax + 0x10], xmm0
movdqu xmmword [eax], xmm0
mov eax, dword [esi + 0x20]
cmp byte [eax + 0x24], cl
jne 0x4eb1d7
mov eax, dword [esi + 8]
xor ecx, ecx
dec ecx
xor eax, ecx
mov ecx, dword [esi + 0x14]
mov edx, 0x7fffffff
xor ecx, edx
or ecx, eax
je 0x4eade9
mov ecx, dword [0x5f5104]
cmp ecx, 0x50efc0
jne 0x4eabcb
xor eax, eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x60], eax
lea eax, [esi + 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [esi + 0x60]
mov edi, dword [esi + 0x64]
mov eax, 0x7bd05af7
cmp edx, eax
mov eax, edi
mov ecx, 0x863
sbb eax, ecx
jl 0x4eb235
mov eax, dword [0x6c02b0]
mov dword [esi + 0xc], eax
mov ecx, dword [0x6c02b4]
push ecx
mov ebx, ecx
mov dword [esi + 0x1c], ecx
push eax
push edi
push edx
mov dword [esi + 0x18], edx
call fcn.00517110
mov dword [esi + 0x10], edi
mov edi, edx
mov dword [esi + 0x28], eax
mov ecx, eax
imul ecx, ebx
mov ebx, dword [esi + 0xc]
mul ebx
add edx, ecx
imul ecx, edi, 0xf4240
mov dword [esi + 0x34], ecx
imul edi, ebx
add edi, edx
mov ecx, dword [esi + 0x18]
sub ecx, eax
sbb dword [esi + 0x10], edi
mov eax, dword [esi + 0x28]
mov edi, 0xf4240
mul edi
mov dword [esi + 0x18], eax
mov ebx, edx
add ebx, dword [esi + 0x34]
mov eax, ecx
mul edi
imul ecx, dword [esi + 0x10], 0xf4240
add edx, ecx
push dword [esi + 0x1c]
push dword [esi + 0xc]
push edx
push eax
call fcn.00517110
mov edi, edx
add eax, dword [esi + 0x18]
adc edi, ebx
add eax, dword [esi + 8]
adc edi, dword [esi + 0x14]
seto cl
mov edx, edi
sar edx, 0x1f
test cl, cl
lea ebx, [edx - 0x80000000]
cmove edx, eax
mov eax, dword [esi + 8]
mov dword [esi + 0x1c], edx
test cl, cl
mov ecx, dword [esi + 0x14]
cmove ebx, edi
mov dword [esi + 0x18], ebx
mov dword [esi + 0x10], eax
mov ebx, ecx
mov eax, dword [esi + 0x10]
xor edi, edi
dec edi
xor eax, edi
mov ecx, ebx
mov edx, 0x7fffffff
xor ecx, edx
or ecx, eax
mov eax, edi
je 0x4ea95e
push 0
mov eax, 0x3e8
push eax
mov dword [esi + 0xc], ebx
push ebx
push dword [esi + 0x10]
call fcn.00539110
mov ecx, eax
mov edi, edx
mov edx, 0x3e8
mul edx
imul ebx, edi, 0x3e8
add ebx, edx
cmp eax, dword [esi + 0x10]
sbb ebx, dword [esi + 0xc]
adc ecx, 0
adc edi, 0
neg edi
mov eax, 0
sbb eax, eax
or eax, ecx
push eax
mov eax, dword [esi + 0x24]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor ebx, ebx
cmp eax, 0x102
sete bl
shl ebx, 2
test eax, eax
mov eax, 1
cmove ebx, eax
test bl, 1
jne 0x4eaa87
mov ecx, dword [0x5f5104]
cmp ecx, 0x50efc0
jne 0x4ead62
xor eax, eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x60], eax
lea eax, [esi + 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [esi + 0x60]
mov edi, dword [esi + 0x64]
mov eax, 0x7bd05af7
cmp edx, eax
mov eax, edi
mov ecx, 0x863
sbb eax, ecx
jl 0x4eb332
mov eax, dword [0x6c02b0]
mov dword [esi + 0x10], eax
mov ecx, dword [0x6c02b4]
push ecx
mov ebx, ecx
mov dword [esi + 0xc], ecx
push eax
push edi
push edx
mov dword [esi + 0x28], edx
call fcn.00517110
mov dword [esi + 0x34], edi
mov edi, edx
mov dword [esi + 0x44], eax
mov ecx, eax
imul ecx, ebx
mov ebx, dword [esi + 0x10]
mul ebx
add edx, ecx
imul ecx, edi, 0xf4240
mov dword [esi + 0x40], ecx
imul edi, ebx
add edi, edx
mov ebx, dword [esi + 0x28]
sub ebx, eax
mov ecx, dword [esi + 0x34]
sbb ecx, edi
mov eax, dword [esi + 0x44]
mov edx, 0xf4240
mul edx
mov dword [esi + 0x28], eax
mov edi, edx
add edi, dword [esi + 0x40]
mov eax, ebx
mov edx, 0xf4240
mul edx
imul ecx, ecx, 0xf4240
add edx, ecx
push dword [esi + 0xc]
push dword [esi + 0x10]
push edx
push eax
call fcn.00517110
add eax, dword [esi + 0x28]
adc edx, edi
mov edi, dword [esi + 0x1c]
sub edi, eax
mov eax, dword [esi + 0x18]
sbb eax, edx
seto cl
mov edx, eax
sar edx, 0x1f
test cl, cl
cmovne edi, edx
add edx, 0x80000000
test cl, cl
cmove edx, eax
mov dword [esi + 0x10], edi
mov eax, edi
neg eax
mov eax, 0
mov ebx, edx
sbb eax, edx
jl 0x4ea909
mov ebx, 2
cmp byte [esi + 0xc0], 0
jne 0x4eb218
cmp byte [esi + 0x70], 0
jne 0x4eb228
cmp ebx, 2
je 0x4eaccd
xor edx, edx
test byte [0x5f5168], 0x19
je 0x4eab90
jmp 0x4eafcd
mov dword [esi + 0x60], eax
lea eax, [esi + 0x60]
push eax
call fcn.004ee170
add esp, 4
mov edi, esp
mov ecx, dword [ebx + 0x30]
sub esp, 0xc
mov eax, esp
mov edx, dword [esi + 0x50]
mov dword [eax + 4], edx
xor ebx, ebx
mov dword [esi + 0x50], ebx
mov edx, dword [esi + 0x54]
mov dword [esi + 0x54], ebx
mov dword [eax + 8], edx
lea edx, [esi + 0xc0]
mov dword [eax], edx
call fcn.004eba40
mov esp, edi
mov ebx, dword [esi + 0x50]
test ebx, ebx
jne 0x4eb02a
mov dword [esi + 0x70], ebx
mov dword [esi + 0x50], 0
test ebx, ebx
jne 0x4eb04d
mov eax, dword [esi + 0xc0]
mov dword [esi + 0xc0], 0
mov edi, dword [esi + 0x50]
mov dword [esi + 0x50], eax
test edi, edi
jne 0x4eb06c
mov eax, dword [esi + 0xc4]
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x50]
mov dword [esi + 0xc0], eax
lea eax, [esi + 0xc0]
push eax
call fcn.004ee170
add esp, 4
mov edi, esp
mov eax, dword [esi + 0x20]
mov ecx, dword [eax + 0x2c]
sub esp, 8
mov eax, esp
mov edx, dword [esi + 0x50]
mov dword [eax], edx
xor ebx, ebx
mov dword [esi + 0x50], ebx
mov edx, dword [esi + 0x54]
mov dword [esi + 0x54], ebx
mov dword [eax + 4], edx
call fcn.004f51b0
mov esp, edi
cmp dword [esi + 0x50], ebx
jne 0x4eaf27
mov eax, dword [esi + 0x24]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
xor edx, edx
mov ebx, dword [esi + 0x50]
test ebx, ebx
jne 0x4eabf2
mov dword [esi + 0x50], 0
test ebx, ebx
jne 0x4eacaa
mov edi, dword [esi + 0x50]
test edi, edi
jne 0x4eaef0
cmp byte [esi + 0x90], 0
jne 0x4eaf13
test dl, dl
je 0x4ea580
jmp 0x4eae24
call dword [section..00cfg]
lea eax, [esi + 0x58]
push eax
call ecx
add esp, 4
mov eax, dword [esi + 0x58]
mov edi, dword [esi + 0x5c]
jmp 0x4ea8da
push dword [esi + 0x24]
call fcn.00403820
jmp 0x4eaaa7
mov ecx, dword [esi + 0x54]
test ecx, ecx
je 0x4eab97
mov dword [esi + 0x50], 0
mov al, byte [ebx + 0x12]
and al, 0x7f
cmp al, 2
je 0x4eb370
lock dec dword [ecx + 0x1c]
jne 0x4eacaa
mov dword [esi + 0x14], edx
lea eax, [ecx + 0x24]
mov dword [esi + 8], eax
push eax
mov eax, dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
mov edi, ecx
call eax
test al, al
je 0x4eb392
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_WakeAllConditionVariable]
push dword [esi + 8]
mov eax, dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
call eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x4eb39f
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x30]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x34]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0xc], eax
pxor xmm0, xmm0
movdqu xmmword [edi + 0x2c], xmm0
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0xc]
mov edx, ecx
cmp ecx, eax
jne 0x4eb665
push 0
push dword [esi + 0x10]
push 0x5e3220
call fcn.004ee300
add esp, 0xc
mov edx, dword [esi + 0x14]
jmp 0x4eab9e
lock dec dword [ebx + 4]
jne 0x4eaba6
mov edi, edx
mov ecx, ebx
call fcn.00405b10
push ebx
call fcn.0050fc7c
mov edx, edi
add esp, 4
jmp 0x4eaba6
call fcn.004eb840
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0x30]
mov eax, dword [esi + 0x14]
sbb eax, dword [esi + 0x2c]
jge 0x4eaaa7
mov eax, dword [esi + 0x30]
xor edi, edi
dec edi
xor eax, edi
mov ecx, dword [esi + 0x2c]
mov edx, 0x7fffffff
xor ecx, edx
or ecx, eax
je 0x4eadd9
mov eax, edi
mov edi, dword [esi + 8]
add eax, edi
mov ecx, 0x7fffffff
mov ebx, dword [esi + 0x14]
adc ecx, ebx
add eax, 2
adc ecx, 0
cmp eax, 2
sbb ecx, 0
jb 0x4eb384
mov edx, dword [esi + 0x30]
sub edx, edi
mov edi, dword [esi + 0x2c]
sbb edi, ebx
seto cl
mov eax, edi
sar eax, 0x1f
test cl, cl
cmovne edx, eax
add eax, 0x80000000
test cl, cl
cmove eax, edi
mov dword [esi + 0xc0], edx
mov dword [esi + 0xc4], eax
mov ecx, dword [esi + 0x24]
lea eax, [esi + 0xc0]
push eax
call fcn.004ed140
jmp 0x4eaaa7
call dword [section..00cfg]
lea eax, [esi + 0x60]
push eax
call ecx
add esp, 4
mov eax, dword [esi + 0x60]
mov edx, dword [esi + 0x64]
jmp 0x4eaa4a
mov ecx, ebx
call fcn.004f8930
jmp 0x4ea5b6
mov ecx, ebx
call fcn.004f8930
jmp 0x4ea685
push 0x6cf6b8
call fcn.00510c6d
add esp, 4
cmp dword [0x6cf6b8], 0xffffffff
jne 0x4ea775
push str.ScrollableTabStrip
push str.DelayFirstWorkerWake
call fcn.00510d16
add esp, 8
mov byte [0x6cf6b4], 0
push 0x6cf6b8
call fcn.00510d9d
add esp, 4
jmp 0x4ea775
mov dword [esi + 0xc0], edi
mov eax, 0x7fffffff
jmp 0x4ead48
xor eax, eax
dec eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], 0x7fffffff
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x14]
jmp 0x4ea904
mov edi, 2
jmp 0x4ea629
call fcn.004d7800
mov byte [esi + 8], al
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp byte [esi + 8], 0
je 0x4ea5c8
mov eax, dword [esi + 0x20]
mov edi, dword [eax + 0x2c]
mov ebx, dword [edi + 0xc]
mov dword [edi + 0xc], 0
test ebx, ebx
jne 0x4eb546
mov ebx, dword [edi + 0x20]
add ebx, 0x14
push ebx
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x4eaed3
mov eax, dword [edi + 0x20]
inc dword [eax + 0xc4]
mov eax, dword [edi + 0x20]
mov ecx, dword [eax + 0xc8]
test ecx, ecx
jne 0x4eb55f
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ebx, dword [esi + 0x20]
mov edi, dword [ebx + 0x38]
test edi, edi
jne 0x4eb569
mov edi, dword [ebx + 8]
mov dword [ebx + 8], 0
test edi, edi
je 0x4eaea4
lock dec dword [edi + 4]
jne 0x4eaea4
mov ecx, edi
call fcn.004045b0
push edi
call fcn.0050fc7c
add esp, 4
test byte [0x5f5168], 0x19
jne 0x4eb581
test byte [0x5f5120], 0x19
jne 0x4eb641
mov ecx, dword [esi + 0x118]
xor ecx, ebp
call fcn.00512ee3
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, ebx
call fcn.004f8930
jmp 0x4eae51
push edi
call fcn.00417b40
add esp, 4
mov dword [ebx + 0x40], edi
jmp 0x4ea632
lock dec dword [edi + 4]
jne 0x4eabb1
mov ebx, edx
mov ecx, edi
call fcn.00405b10
push edi
call fcn.0050fc7c
mov edx, ebx
add esp, 4
jmp 0x4eabb1
mov edi, edx
lea ecx, [esi + 0x98]
call fcn.0050d630
mov edx, edi
jmp 0x4eabbe
int3
mov dl, 1
jmp 0x4eab90
call fcn.004d7800
mov byte [esi + 8], al
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp byte [esi + 8], 0
mov dl, 1
je 0x4ea697
jmp 0x4eab90
lea edi, [esi + 0xc0]
push edi
call fcn.00509260
add esp, 4
call fcn.0050ee90
sub esp, 0x30
xor ecx, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
pxor xmm0, xmm0
movdqu xmmword [esp + 0xc], xmm0
mov dword [esp + 8], str.WorkerThread_active
mov dword [esp + 4], 0x5f5168
mov dword [esp], 0x45
call fcn.0057dbc0
add esp, 0x30
jmp 0x4ea6a4
call fcn.00548450
jmp 0x4ea6b1
lea ecx, [esi + 0x98]
call fcn.0050d630
mov byte [esi + 0x90], 0
jmp 0x4ea6be
lea edi, [esi + 0xc0]
push edi
xor ebx, ebx
call fcn.00509260
add esp, 4
call fcn.0050ee90
sub esp, 0x30
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ebx
pxor xmm0, xmm0
movdqu xmmword [esp + 0xc], xmm0
mov dword [esp + 8], str.WorkerThread_active
mov dword [esp + 4], 0x5f5168
mov dword [esp], 0x42
call fcn.0057dbc0
xor edx, edx
add esp, 0x30
jmp 0x4eab90
mov ecx, dword [esi + 0x54]
test ecx, ecx
je 0x4eab02
mov dword [esi + 0x50], 0
lea edi, [esi + 0x70]
push ebx
push edi
call fcn.0040ffe0
mov ebx, dword [edi]
jmp 0x4eab0c
lock dec dword [ebx + 4]
jne 0x4eab14
mov ecx, ebx
call fcn.00405b10
push ebx
call fcn.0050fc7c
add esp, 4
jmp 0x4eab14
lock dec dword [edi + 4]
jne 0x4eb082
mov ecx, edi
call fcn.00405b10
push edi
call fcn.0050fc7c
add esp, 4
mov edi, dword [esi + 0xc0]
mov eax, dword [esi + 0xc4]
xor ecx, ecx
mov dword [esi + 0xc4], ecx
mov dword [esi + 0x54], eax
mov dword [esi + 0xc0], ecx
test edi, edi
je 0x4eab3b
lock dec dword [edi + 4]
je 0x4eb35b
mov edi, dword [esi + 0xc0]
test edi, edi
je 0x4eab3b
lock dec dword [edi + 4]
jne 0x4eab3b
mov ecx, edi
call fcn.00405b10
push edi
call fcn.0050fc7c
add esp, 4
jmp 0x4eab3b
push 0
mov eax, dword [esi + 0x24]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4eaaa7
jmp 0x4eaccd
xor edi, edi
dec edi
mov dword [esi + 0xc4], edi
mov dword [esi + 0xc0], edi
lea eax, [esi + 0xc0]
push eax
call fcn.00504e70
add esp, 4
mov eax, dword [0x6cf6c8]
mov ecx, dword [0x5f75b4]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4eb7d3
mov dword [esi + 0x74], edi
mov dword [esi + 0x70], edi
xor eax, eax
dec eax
add eax, dword [esi + 8]
mov ecx, 0x7fffffff
adc ecx, dword [esi + 0x14]
add eax, 2
adc ecx, 0
cmp eax, 2
mov eax, dword [esi + 0xc0]
mov dword [esi + 0x10], eax
sbb ecx, 0
mov eax, dword [esi + 0xc4]
jae 0x4eb260
xor edx, edx
dec edx
mov ebx, edx
add ebx, dword [esi + 0x10]
mov ecx, 0x7fffffff
adc ecx, eax
add ebx, 2
adc ecx, 0
add edx, 1
mov edi, 0x7fffffff
adc edi, 0
mov dword [esi + 0xc], edi
mov dword [esi + 0x1c], 0
xor edi, edi
inc edi
cmp edi, ebx
sbb dword [esi + 0x1c], ecx
jb 0x4eb284
mov ecx, dword [esi + 0x10]
xor ecx, dword [esi + 8]
xor eax, dword [esi + 0x14]
or eax, ecx
je 0x4eb284
int3
xor ecx, ecx
ucomisd xmm0, qword [0x5c6928]
mov edx, 0x7fffffff
cmovb edx, ecx
mov eax, 0xffffffff
cmovae ecx, eax
jmp 0x4ea724
mov eax, dword [esi + 0x24]
mov dword [esi + 0x60], eax
lea ecx, [esi + 0x70]
lea edi, [esi + 0x60]
push edi
call fcn.005984a0
push 0x58
push str....._base_synchronizationwaitable_event_win.cc
push str.TimedWait
push edi
call fcn.004fdcd0
add esp, 0x10
lea ecx, [esi + 0xc8]
push 0
push edi
call fcn.004fa770
mov byte [esi + 0xc0], 1
jmp 0x4ea804
lea ecx, [esi + 0xc8]
call fcn.00508f70
jmp 0x4eaa94
lea ecx, [esi + 0x74]
call fcn.00508eb0
jmp 0x4eaa9e
mov ecx, 0xf4240
mov eax, edx
mul ecx
imul ecx, edi, 0xf4240
add ecx, edx
push dword [0x6c02b4]
push dword [0x6c02b0]
push ecx
push eax
call fcn.00517110
mov edi, edx
jmp 0x4ea8da
mov edi, dword [esi + 0x10]
add edi, dword [esi + 8]
adc eax, dword [esi + 0x14]
seto cl
mov edx, eax
sar edx, 0x1f
test cl, cl
lea ebx, [edx - 0x80000000]
cmove edx, edi
test cl, cl
cmove ebx, eax
mov dword [esi + 0xc], ebx
lea ecx, [esi + 0x60]
mov dword [ecx], edx
mov eax, dword [esi + 0xc]
mov dword [ecx + 4], eax
sub esp, 0x14
movdqa xmm0, xmmword [0x5eb260]
movdqu xmmword [esp + 4], xmm0
lea edi, [esi + 0x70]
mov dword [esp], edi
call fcn.004e9cf0
mov ebx, dword [esi + 0xc0]
mov ecx, dword [esi + 0xc4]
mov dword [esi + 8], ecx
mov eax, dword [edi]
mov edi, dword [edi + 4]
sub eax, ebx
sbb edi, ecx
seto dl
mov byte [esi + 0x10], dl
mov ecx, edi
sar ecx, 0x1f
test dl, dl
cmovne eax, ecx
mov dword [esi + 0x14], eax
mov eax, 0x80000000
xor ecx, eax
mov edx, dword [0x6cf6c0]
sub edx, ebx
mov eax, dword [0x6cf6c4]
sbb eax, dword [esi + 8]
seto byte [esi + 8]
cmp byte [esi + 0x10], 0
cmove ecx, edi
mov ebx, eax
sar ebx, 0x1f
cmp byte [esi + 8], 0
cmovne edx, ebx
mov edi, 0x80000000
xor ebx, edi
cmp byte [esi + 8], 0
cmove ebx, eax
mov eax, dword [esi + 0x14]
cmp eax, edx
mov edi, edx
cmova edi, eax
cmp ecx, ebx
cmovg edx, eax
cmove edx, edi
mov dword [esi + 8], edx
cmovg ebx, ecx
mov dword [esi + 0x14], ebx
jmp 0x4ea782
mov ecx, 0xf4240
mov eax, edx
mul ecx
imul ecx, edi, 0xf4240
add ecx, edx
push dword [0x6c02b4]
push dword [0x6c02b0]
push ecx
push eax
call fcn.00517110
jmp 0x4eaa4a
mov ecx, edi
call fcn.00405b10
push edi
call fcn.0050fc7c
add esp, 4
jmp 0x4eb0b1
mov dword [esi + 0x14], edx
mov edi, ecx
call fcn.00596f70
mov ecx, edi
mov edx, dword [esi + 0x14]
jmp 0x4eac0d
xor eax, eax
dec eax
mov dword [esi + 0xc0], eax
jmp 0x4eaddf
mov ecx, dword [esi + 8]
call fcn.004f8930
jmp 0x4eac32
mov ecx, dword [esi + 8]
call fcn.004f8930
jmp 0x4eac56
lea edi, [esi + 0xc0]
push edi
call fcn.00509260
add esp, 4
call fcn.0050ee90
sub esp, 0x30
xor ecx, ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
pxor xmm0, xmm0
movdqu xmmword [esp + 0xc], xmm0
mov dword [esp + 0x2c], 8
mov dword [esp + 8], str.WorkerThread_born
mov dword [esp + 4], 0x5f5168
mov dword [esp], 0x49
call fcn.0057dbc0
add esp, 0x30
test byte [0x5f5168], 0x19
je 0x4ea52d
lea edi, [esi + 0xc0]
push edi
call fcn.00509260
add esp, 4
call fcn.0050ee90
sub esp, 0x30
xor ecx, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
pxor xmm0, xmm0
movdqu xmmword [esp + 0xc], xmm0
mov dword [esp + 8], str.WorkerThread_active
mov dword [esp + 4], 0x5f5168
mov dword [esp], 0x42
call fcn.0057dbc0
add esp, 0x30
jmp 0x4ea52d
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov dword [esi + 0x20], ecx
call dword [section..00cfg]
mov ecx, edi
call dword [esi + 0x20]
jmp 0x4ea538
lea edi, [esi + 0xc0]
push edi
call fcn.00509260
add esp, 4
call fcn.0050ee90
sub esp, 0x30
xor ecx, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
pxor xmm0, xmm0
movdqu xmmword [esp + 0xc], xmm0
mov dword [esp + 8], str.WorkerThread_active
mov dword [esp + 4], 0x5f5168
mov dword [esp], 0x45
call fcn.0057dbc0
add esp, 0x30
jmp 0x4ea551
call fcn.00548450
jmp 0x4ea55e
lea edi, [esi + 0xc0]
push edi
call fcn.00509260
add esp, 4
call fcn.0050ee90
sub esp, 0x30
xor ecx, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
pxor xmm0, xmm0
movdqu xmmword [esp + 0xc], xmm0
mov dword [esp + 8], str.WorkerThread_active
mov dword [esp + 4], 0x5f5168
mov dword [esp], 0x42
call fcn.0057dbc0
add esp, 0x30
jmp 0x4ea580
mov eax, dword [ebx]
mov ecx, dword [eax]
mov dword [esi + 8], ecx
call dword [section..00cfg]
mov ecx, ebx
push 1
call dword [esi + 8]
jmp 0x4eae3c
call fcn.0050fc70
jmp 0x4eae6b
mov eax, dword [edi]
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
call dword [section..00cfg]
mov ecx, edi
call dword [esi + 8]
jmp 0x4eae80
lea ebx, [esi + 0xc0]
push ebx
call fcn.00509260
add esp, 4
call fcn.0050ee90
sub esp, 0x30
xor edi, edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edi
pxor xmm0, xmm0
movdqu xmmword [esp + 0xc], xmm0
mov dword [esp + 8], str.WorkerThread_active
mov dword [esp + 4], 0x5f5168
mov dword [esp], 0x45
call fcn.0057dbc0
add esp, 0x30
test byte [0x5f5168], 0x19
je 0x4eaeb1
lea ebx, [esi + 0xc0]
push ebx
call fcn.00509260
add esp, 4
call fcn.0050ee90
sub esp, 0x30
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edi
pxor xmm0, xmm0
movdqu xmmword [esp + 0xc], xmm0
mov dword [esp + 0x2c], 8
mov dword [esp + 8], str.WorkerThread_dead
mov dword [esp + 4], 0x5f5168
mov dword [esp], 0x49
call fcn.0057dbc0
add esp, 0x30
jmp 0x4eaeb1
call fcn.00548450
jmp 0x4eaebe
mov eax, ecx
lock dec dword [ecx]
jne 0x4eb6a0
mov ecx, dword [eax + 8]
call dword [section..00cfg]
push dword [esi + 8]
call ecx
add esp, 4
jmp 0x4eb6a0
mov eax, dword [esi + 0x18]
mov dword [esi + 0x1c], edx
cmp eax, edx
jb 0x4eb715
mov edi, ecx
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x1c]
mov edx, dword [eax + ecx*4]
mov dword [esi + 8], edx
mov dword [eax + ecx*4], 0
mov ecx, dword [edx + 4]
call dword [section..00cfg]
push dword [esi + 8]
call ecx
add esp, 4
mov ecx, dword [esi + 8]
test ecx, ecx
jne 0x4eb64b
mov edx, dword [esi + 0x1c]
inc edx
xor eax, eax
mov ecx, dword [esi + 0x18]
cmp edx, ecx
cmove edx, eax
mov eax, dword [esi + 0xc]
cmp edx, eax
mov ecx, edi
jne 0x4eb665
cmp eax, ecx
jbe 0x4eb721
mov eax, dword [esi + 0x18]
cmp eax, dword [esi + 0xc]
jb 0x4eb718
cmp dword [esi + 0x18], edi
jb 0x4eb71b
cmp edi, dword [esi + 0xc]
jg 0x4eb71e
mov eax, dword [esi + 0xc]
shl eax, 2
mov ecx, edi
shl ecx, 2
mov dword [esi + 0xc], eax
mov edi, ecx
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + ecx]
test ecx, ecx
jne 0x4eb6f8
mov ecx, edi
add ecx, 4
mov eax, dword [esi + 0xc]
cmp eax, ecx
jne 0x4eb6db
jmp 0x4eac90
mov eax, ecx
lock dec dword [ecx]
jne 0x4eb6e7
mov dword [esi + 8], eax
mov ecx, dword [eax + 8]
call dword [section..00cfg]
push dword [esi + 8]
call ecx
add esp, 4
jmp 0x4eb6e7
int3
int3
int3
int3
cmp dword [esi + 0x18], edi
jb 0x4eb77f
jl 0x4eb782
jne 0x4eb78b
mov eax, dword [esi + 0x18]
cmp eax, dword [esi + 0xc]
jb 0x4eb785
cmp dword [esi + 0xc], 0
js 0x4eb788
mov eax, dword [esi + 0xc]
je 0x4eac90
shl eax, 2
xor edi, edi
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + edi]
test ecx, ecx
jne 0x4eb762
add edi, 4
mov eax, dword [esi + 0xc]
cmp eax, edi
jne 0x4eb749
jmp 0x4eac90
mov eax, ecx
lock dec dword [ecx]
jne 0x4eb753
mov dword [esi + 8], eax
mov ecx, dword [eax + 8]
call dword [section..00cfg]
push dword [esi + 8]
call ecx
add esp, 4
jmp 0x4eb753
int3
int3
int3
int3
mov eax, dword [esi + 0x18]
lea eax, [eax*4]
mov dword [esi + 8], eax
shl edi, 2
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + edi]
test ecx, ecx
jne 0x4eb7b6
mov eax, edi
add eax, 4
mov edi, eax
cmp dword [esi + 8], eax
jne 0x4eb79b
jmp 0x4eb72a
mov eax, ecx
lock dec dword [ecx]
jne 0x4eb7a5
mov dword [esi + 0x1c], eax
mov ecx, dword [eax + 8]
call dword [section..00cfg]
push dword [esi + 0x1c]
call ecx
add esp, 4
jmp 0x4eb7a5
push 0x6cf6c8
call fcn.00510c6d
add esp, 4
cmp dword [0x6cf6c8], 0xffffffff
jne 0x4eb137
mov eax, dword [esi + 0xc4]
mov ecx, 0x3938700
add ecx, dword [esi + 0xc0]
adc eax, 0
seto bl
mov edx, eax
sar edx, 0x1f
test bl, bl
cmovne ecx, edx
add edx, 0x80000000
test bl, bl
cmove edx, eax
mov dword [0x6cf6c0], ecx
mov dword [0x6cf6c4], edx
push 0x6cf6c8
call fcn.00510d9d
add esp, 4
jmp 0x4eb137