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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x20], 0
push edi
test esi, esi
je 0x4626eb
mov edi, dword [ebp + 8]
test edi, edi
je 0x4626eb
mov dword [edi], 0
mov edx, dword [esi + 0xac]
test edx, edx
je 0x46198a
mov ecx, dword [esi + 0xa8]
mov eax, dword [esi + 0xb0]
sub eax, edx
push eax
lea eax, [ecx + edx]
push eax
push ecx
call fcn.006dccc0
mov eax, dword [esi + 0xac]
add esp, 0xc
sub dword [esi + 0xb0], eax
mov ecx, dword [esi + 0xb0]
mov eax, dword [esi + 0xa8]
mov dword [esi + 0xac], 0
mov byte [ecx + eax], 0
mov edx, dword [esi + 0xb8]
test edx, edx
je 0x4619d6
mov ecx, dword [esi + 0xb4]
mov eax, dword [esi + 0xbc]
sub eax, edx
push eax
lea eax, [ecx + edx]
push eax
push ecx
call fcn.006dccc0
mov eax, dword [esi + 0xb8]
add esp, 0xc
sub dword [esi + 0xbc], eax
mov ecx, dword [esi + 0xbc]
mov eax, dword [esi + 0xb4]
mov dword [esi + 0xb8], 0
mov byte [ecx + eax], 0
mov edx, dword [esi + 0xc4]
test edx, edx
je 0x461a22
mov ecx, dword [esi + 0xc0]
mov eax, dword [esi + 0xc8]
sub eax, edx
push eax
lea eax, [ecx + edx]
push eax
push ecx
call fcn.006dccc0
mov eax, dword [esi + 0xc4]
add esp, 0xc
sub dword [esi + 0xc8], eax
mov ecx, dword [esi + 0xc8]
mov eax, dword [esi + 0xc0]
mov dword [esi + 0xc4], 0
mov byte [ecx + eax], 0
mov edx, dword [esi + 0xd0]
test edx, edx
je 0x461a6e
mov ecx, dword [esi + 0xcc]
mov eax, dword [esi + 0xd4]
sub eax, edx
push eax
lea eax, [ecx + edx]
push eax
push ecx
call fcn.006dccc0
mov eax, dword [esi + 0xd0]
add esp, 0xc
sub dword [esi + 0xd4], eax
mov ecx, dword [esi + 0xd4]
mov eax, dword [esi + 0xcc]
mov dword [esi + 0xd0], 0
mov byte [ecx + eax], 0
mov edx, dword [esi + 0xdc]
test edx, edx
je 0x461aba
mov ecx, dword [esi + 0xd8]
mov eax, dword [esi + 0xe0]
sub eax, edx
push eax
lea eax, [ecx + edx]
push eax
push ecx
call fcn.006dccc0
mov eax, dword [esi + 0xdc]
add esp, 0xc
sub dword [esi + 0xe0], eax
mov ecx, dword [esi + 0xe0]
mov eax, dword [esi + 0xd8]
mov dword [esi + 0xdc], 0
mov byte [ecx + eax], 0
mov edx, dword [esi + 0xe8]
test edx, edx
je 0x461b06
mov ecx, dword [esi + 0xe4]
mov eax, dword [esi + 0xec]
sub eax, edx
push eax
lea eax, [ecx + edx]
push eax
push ecx
call fcn.006dccc0
mov eax, dword [esi + 0xe8]
add esp, 0xc
sub dword [esi + 0xec], eax
mov ecx, dword [esi + 0xec]
mov eax, dword [esi + 0xe4]
mov dword [esi + 0xe8], 0
mov byte [ecx + eax], 0
mov edx, dword [esi + 0xf4]
test edx, edx
je 0x461b52
mov ecx, dword [esi + 0xf0]
mov eax, dword [esi + 0xf8]
sub eax, edx
push eax
lea eax, [ecx + edx]
push eax
push ecx
call fcn.006dccc0
mov eax, dword [esi + 0xf4]
add esp, 0xc
sub dword [esi + 0xf8], eax
mov ecx, dword [esi + 0xf8]
mov eax, dword [esi + 0xf0]
mov dword [esi + 0xf4], 0
mov byte [ecx + eax], 0
mov edx, dword [esi + 0x100]
test edx, edx
je 0x461b9e
mov ecx, dword [esi + 0xfc]
mov eax, dword [esi + 0x104]
sub eax, edx
push eax
lea eax, [ecx + edx]
push eax
push ecx
call fcn.006dccc0
mov eax, dword [esi + 0x100]
add esp, 0xc
sub dword [esi + 0x104], eax
mov ecx, dword [esi + 0x104]
mov eax, dword [esi + 0xfc]
mov dword [esi + 0x100], 0
mov byte [ecx + eax], 0
cmp byte [esi + 0x1572], 0
je 0x461bb6
lea ecx, [esi + 0xd70]
call fcn.0049fc70
test al, al
jne 0x461bd1
cmp byte [esi + 0x694], 0
je 0x461bfc
cmp byte [esi + 0x695], 0
je 0x461bfc
cmp byte [esi + 0x1572], 0
je 0x461bfc
mov eax, dword [ebp - 0x10]
mov ebx, dword [esi + 0xa0]
test eax, eax
je 0x461bed
sub ebx, dword [esi + 0xe0]
mov dword [ebp - 8], 7
jmp 0x461c25
sub ebx, dword [esi + 0xf8]
mov dword [ebp - 8], 0xe
jmp 0x461c25
mov eax, dword [ebp - 0x10]
mov ebx, dword [esi + 0xa0]
test eax, eax
je 0x461c18
sub ebx, dword [esi + 0xb0]
mov dword [ebp - 8], 5
jmp 0x461c25
sub ebx, dword [esi + 0xc8]
mov dword [ebp - 8], 0xc
mov dword [ebp - 0xc], ebx
test ebx, ebx
jne 0x461c35
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x15d4]
test ecx, ecx
je 0x461c5b
push edi
push ebx
push dword [esi + 0xa4]
push eax
push dword [esi + 0x15d8]
push esi
call ecx
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x20], ecx
jmp 0x461c5d
xor ecx, ecx
add ecx, 3
cmp ecx, 3
ja case.0x461c69.2
jmp dword [ecx*4 + 0x4626f8]
cmp dword [edi], 0
je 0x4626e1
cmp byte [esi + 0x1572], 0
je 0x461c91
lea ecx, [esi + 0xd70]
call fcn.0049fc70
test al, al
jne 0x461cb8
cmp byte [esi + 0x694], 0
je 0x461ece
cmp byte [esi + 0x695], 0
je 0x461ece
cmp byte [esi + 0x1572], 0
je 0x461ece
cmp dword [ebp - 0x10], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x3c], xmm0
je 0x461dd0
lea eax, [esi + 0x78]
test eax, eax
je 0x461da6
cmp dword [0x7efe40], 0
jne 0x461cf0
cmp dword [0x7efe44], 0
je 0x461da6
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov ecx, dword [ebp - 0x34]
sub ecx, dword [0x7efe48]
mov eax, dword [ebp - 0x30]
sbb eax, dword [0x7efe4c]
push 0
push 0x3b9aca00
push eax
push ecx
call fcn.006dbcd0
push dword [0x7efe44]
push dword [0x7efe40]
push edx
push eax
call fcn.006dc0b0
add eax, dword [0x7efe38]
push 0
adc edx, dword [0x7efe3c]
push 0x3b9aca00
push edx
push eax
call fcn.006dc0b0
mov ecx, dword [ebp - 0x34]
mov edi, eax
mov eax, dword [ebp - 0x30]
mov dword [esi + 0x7c], edx
mov dword [esi + 0x78], edi
sub ecx, dword [0x7efe48]
push 0
sbb eax, dword [0x7efe4c]
push 0x3b9aca00
push eax
push ecx
call fcn.006dbcd0
push dword [0x7efe44]
push dword [0x7efe40]
push edx
push eax
call fcn.006dc0b0
mov ebx, dword [ebp - 0xc]
imul ecx, edi, 0x3b9aca00
mov edi, dword [ebp + 8]
sub eax, ecx
add eax, dword [0x7efe38]
mov dword [esi + 0x80], eax
push dword [edi]
mov eax, dword [esi + 0xd8]
push dword [esi + 0xa4]
add eax, dword [esi + 0xe0]
push eax
call fcn.006dccc0
mov eax, dword [edi]
add esp, 0xc
add dword [esi + 0xe0], eax
jmp 0x4622da
lea eax, [esi + 0x58]
test eax, eax
je 0x461ea4
cmp dword [0x7efe40], 0
jne 0x461df1
cmp dword [0x7efe44], 0
je 0x461ea4
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov ecx, dword [ebp - 0x34]
sub ecx, dword [0x7efe48]
mov eax, dword [ebp - 0x30]
sbb eax, dword [0x7efe4c]
push 0
push 0x3b9aca00
push eax
push ecx
call fcn.006dbcd0
push dword [0x7efe44]
push dword [0x7efe40]
push edx
push eax
call fcn.006dc0b0
add eax, dword [0x7efe38]
push 0
adc edx, dword [0x7efe3c]
push 0x3b9aca00
push edx
push eax
call fcn.006dc0b0
mov ecx, dword [ebp - 0x34]
mov edi, eax
mov eax, dword [ebp - 0x30]
mov dword [esi + 0x5c], edx
mov dword [esi + 0x58], edi
sub ecx, dword [0x7efe48]
push 0
sbb eax, dword [0x7efe4c]
push 0x3b9aca00
push eax
push ecx
call fcn.006dbcd0
push dword [0x7efe44]
push dword [0x7efe40]
push edx
push eax
call fcn.006dc0b0
mov ebx, dword [ebp - 0xc]
imul ecx, edi, 0x3b9aca00
mov edi, dword [ebp + 8]
sub eax, ecx
add eax, dword [0x7efe38]
mov dword [esi + 0x60], eax
push dword [edi]
mov eax, dword [esi + 0xf0]
push dword [esi + 0xa4]
add eax, dword [esi + 0xf8]
push eax
call fcn.006dccc0
mov eax, dword [edi]
add esp, 0xc
add dword [esi + 0xf8], eax
jmp 0x4622da
cmp dword [ebp - 0x10], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x44], xmm0
je 0x461fe6
lea eax, [esi + 0x78]
test eax, eax
je 0x461fbc
cmp dword [0x7efe40], 0
jne 0x461f06
cmp dword [0x7efe44], 0
je 0x461fbc
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov ecx, dword [ebp - 0x3c]
sub ecx, dword [0x7efe48]
mov eax, dword [ebp - 0x38]
sbb eax, dword [0x7efe4c]
push 0
push 0x3b9aca00
push eax
push ecx
call fcn.006dbcd0
push dword [0x7efe44]
push dword [0x7efe40]
push edx
push eax
call fcn.006dc0b0
add eax, dword [0x7efe38]
push 0
adc edx, dword [0x7efe3c]
push 0x3b9aca00
push edx
push eax
call fcn.006dc0b0
mov ecx, dword [ebp - 0x3c]
mov edi, eax
mov eax, dword [ebp - 0x38]
mov dword [esi + 0x7c], edx
mov dword [esi + 0x78], edi
sub ecx, dword [0x7efe48]
push 0
sbb eax, dword [0x7efe4c]
push 0x3b9aca00
push eax
push ecx
call fcn.006dbcd0
push dword [0x7efe44]
push dword [0x7efe40]
push edx
push eax
call fcn.006dc0b0
mov ebx, dword [ebp - 0xc]
imul ecx, edi, 0x3b9aca00
mov edi, dword [ebp + 8]
sub eax, ecx
add eax, dword [0x7efe38]
mov dword [esi + 0x80], eax
push dword [edi]
mov eax, dword [esi + 0xa8]
push dword [esi + 0xa4]
add eax, dword [esi + 0xb0]
push eax
call fcn.006dccc0
mov eax, dword [edi]
add esp, 0xc
add dword [esi + 0xb0], eax
jmp 0x4620df
lea eax, [esi + 0x58]
test eax, eax
je 0x4620ba
cmp dword [0x7efe40], 0
jne 0x462007
cmp dword [0x7efe44], 0
je 0x4620ba
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov ecx, dword [ebp - 0x3c]
sub ecx, dword [0x7efe48]
mov eax, dword [ebp - 0x38]
sbb eax, dword [0x7efe4c]
push 0
push 0x3b9aca00
push eax
push ecx
call fcn.006dbcd0
push dword [0x7efe44]
push dword [0x7efe40]
push edx
push eax
call fcn.006dc0b0
add eax, dword [0x7efe38]
push 0
adc edx, dword [0x7efe3c]
push 0x3b9aca00
push edx
push eax
call fcn.006dc0b0
mov ecx, dword [ebp - 0x3c]
mov edi, eax
mov eax, dword [ebp - 0x38]
mov dword [esi + 0x5c], edx
mov dword [esi + 0x58], edi
sub ecx, dword [0x7efe48]
push 0
sbb eax, dword [0x7efe4c]
push 0x3b9aca00
push eax
push ecx
call fcn.006dbcd0
push dword [0x7efe44]
push dword [0x7efe40]
push edx
push eax
call fcn.006dc0b0
mov ebx, dword [ebp - 0xc]
imul ecx, edi, 0x3b9aca00
mov edi, dword [ebp + 8]
sub eax, ecx
add eax, dword [0x7efe38]
mov dword [esi + 0x60], eax
push dword [edi]
mov eax, dword [esi + 0xc0]
push dword [esi + 0xa4]
add eax, dword [esi + 0xc8]
push eax
call fcn.006dccc0
mov eax, dword [edi]
add esp, 0xc
add dword [esi + 0xc8], eax
mov eax, dword [esi + 0x15bc]
test eax, eax
je 0x462100
push dword [edi]
push dword [esi + 0xa4]
push dword [ebp - 8]
push dword [esi + 0x15c0]
push esi
call eax
add esp, 0x14
cmp byte [esi + 0x160b], 0
xorps xmm0, xmm0
mov eax, dword [edi]
mov dword [ebp - 0x30], eax
movups xmmword [ebp - 0x54], xmm0
je 0x4622da
mov eax, dword [esi + 0x1610]
test eax, eax
je 0x462136
mov ecx, dword [esi + 0x160c]
test ecx, ecx
je 0x462136
cmp dword [ecx + 4], eax
jae 0x4622da
cmp dword [0x7efe40], 0
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x1c], xmm0
jne 0x462160
cmp dword [0x7efe44], 0
jne 0x462160
mov eax, dword [ebp - 0x54]
mov edi, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x18], eax
jmp 0x4621df
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [0x7efe48]
mov eax, dword [ebp - 0x28]
sbb eax, dword [0x7efe4c]
push 0
push 0x3b9aca00
push eax
push ecx
call fcn.006dbcd0
push dword [0x7efe44]
push dword [0x7efe40]
push edx
push eax
call fcn.006dc0b0
mov edi, eax
push 0
mov dword [ebp - 0xc], edi
add edi, dword [0x7efe38]
push 0x3b9aca00
adc edx, dword [0x7efe3c]
push edx
push edi
call fcn.006dc0b0
imul ecx, eax, 0x3b9aca00
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
sub eax, ecx
add eax, dword [0x7efe38]
mov dword [ebp - 0xc], eax
mov edi, eax
mov eax, edx
mov ecx, 0x3b9aca00
mul ecx
mov edx, 0x3b9aca00
mov ecx, eax
mov eax, dword [ebp - 0x18]
mul edx
push 0x18
mov dword [ebp - 0xc], eax
add ecx, edx
mov eax, edi
cdq
add dword [ebp - 0xc], eax
push 1
adc ecx, edx
mov dword [ebp - 0x28], ecx
call fcn.006e6b64
mov edi, eax
add esp, 8
mov dword [ebp - 0x18], edi
test edi, edi
je 0x4622da
mov eax, dword [edi + 0x10]
test eax, eax
je 0x462234
push eax
call fcn.006e60fe
add esp, 4
mov dword [edi + 0x10], 0
mov eax, dword [ebp - 8]
mov dword [edi], eax
mov eax, dword [ebp - 0xc]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x28]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x30]
mov dword [edi + 0x14], eax
mov edi, dword [esi + 0x160c]
test edi, edi
je 0x4622da
cmp byte [edi + 0x10], 0
je 0x46226f
mov eax, dword [edi + 0x14]
test eax, eax
je 0x46226f
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x30], eax
push 0xc
push 1
test eax, eax
je 0x4622a8
call fcn.006e6b64
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x4622c4
mov eax, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x30]
mov dword [ecx + 4], eax
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov dword [eax + 8], ecx
test edx, edx
je 0x4622be
mov dword [edx + 4], ecx
jmp 0x4622c1
call fcn.006e6b64
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x4622c4
mov eax, dword [ebp - 0x18]
mov dword [ecx], eax
mov dword [edi + 8], ecx
mov dword [edi + 0xc], ecx
inc dword [edi + 4]
cmp byte [edi + 0x10], 0
je 0x4622da
mov eax, dword [edi + 0x14]
test eax, eax
je 0x4622da
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x7efe24]
test eax, eax
je 0x4626e1
cmp dword [eax + 0x14], 7
jl 0x4626e1
mov eax, dword [ebp + 8]
mov ecx, str.server
cmp dword [ebp - 0x10], 0
push ebx
push dword [eax]
mov eax, str.client
cmove eax, ecx
push eax
push dword [esi + 0x9c]
push dword [esi + 0x98]
push esi
push 0xbba
push str.d:_srcmaster_2022ClientOSSServicecsproxy_srcconn.c
push str.__s:_d_:_n___s_n__client__03d__server__03d___s_rx__6zu____6zu
push 7
call fcn.00472f60
mov edi, eax
add esp, 0x28
mov dword [ebp - 0x10], edi
test edi, edi
je 0x4626e1
mov edi, dword [0x7efe24]
test edi, edi
je 0x462464
cmp byte [edi + 8], 0
je 0x462464
cmp dword [edi + 0x14], 7
jl 0x462464
mov esi, eax
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x462363
mov eax, dword [edi + 0x20]
sub esi, ecx
add eax, esi
cmp dword [edi + 0x28], eax
jb 0x462464
test esi, esi
je 0x462464
push 8
push 1
call fcn.006e6b64
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x462464
push 1
push esi
call fcn.006e6b64
add esp, 8
mov dword [ebx], eax
test eax, eax
jne 0x4623c1
push dword [ebp - 0x10]
mov dword [ebx + 4], eax
call fcn.006e60fe
mov eax, dword [ebp - 0x20]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push dword [ebp - 0x10]
push eax
call fcn.006dccc0
mov eax, dword [edi + 0x24]
add esp, 0xc
mov dword [ebx + 4], esi
test eax, eax
je 0x4623e4
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x24]
add dword [edi + 0x20], esi
test eax, eax
je 0x4623f4
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [edi + 0x1c]
test esi, esi
je 0x462464
cmp byte [esi + 0x10], 0
je 0x462411
mov eax, dword [esi + 0x14]
test eax, eax
je 0x462411
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esi + 0xc]
push 0xc
push 1
call fcn.006e6b64
add esp, 8
test edi, edi
je 0x46243f
test eax, eax
je 0x46244e
mov ecx, dword [edi + 8]
mov dword [eax], ebx
mov dword [eax + 8], ecx
mov dword [edi + 8], eax
mov dword [eax + 4], edi
test ecx, ecx
je 0x462448
mov dword [ecx + 4], eax
jmp 0x46244b
test eax, eax
je 0x46244e
mov dword [eax], ebx
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
inc dword [esi + 4]
cmp byte [esi + 0x10], 0
je 0x462464
mov eax, dword [esi + 0x14]
test eax, eax
je 0x462464
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebp - 0x10]
call fcn.006e60fe
mov eax, dword [ebp - 0x20]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x15bc]
mov ebx, dword [ebp - 8]
test eax, eax
je 0x46249b
push 0
push dword [esi + 0xa4]
push ebx
push dword [esi + 0x15c0]
push esi
call eax
add esp, 0x14
cmp byte [esi + 0x160b], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x64], xmm0
je 0x4626e1
mov eax, dword [esi + 0x1610]
test eax, eax
je 0x4624cc
mov ecx, dword [esi + 0x160c]
test ecx, ecx
je 0x4624cc
cmp dword [ecx + 4], eax
jae 0x4626e1
cmp dword [0x7efe40], 0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x44], xmm0
jne 0x4624f9
cmp dword [0x7efe44], 0
jne 0x4624f9
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x18], eax
jmp 0x462578
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov ecx, dword [ebp - 0x3c]
sub ecx, dword [0x7efe48]
mov eax, dword [ebp - 0x38]
sbb eax, dword [0x7efe4c]
push 0
push 0x3b9aca00
push eax
push ecx
call fcn.006dbcd0
push dword [0x7efe44]
push dword [0x7efe40]
push edx
push eax
call fcn.006dc0b0
mov ecx, eax
mov dword [ebp - 0x10], ecx
add ecx, dword [0x7efe38]
push 0
adc edx, dword [0x7efe3c]
push 0x3b9aca00
push edx
push ecx
call fcn.006dc0b0
imul ecx, eax, 0x3b9aca00
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
sub eax, ecx
add eax, dword [0x7efe38]
mov dword [ebp - 0x10], eax
mov ecx, eax
mov eax, edx
mov edi, 0x3b9aca00
mul edi
mov edx, 0x3b9aca00
mov edi, eax
mov eax, dword [ebp - 0x18]
mul edx
push 0x18
mov dword [ebp - 0x10], eax
add edi, edx
mov eax, ecx
cdq
add dword [ebp - 0x10], eax
push 1
adc edi, edx
mov dword [ebp - 0x30], edi
call fcn.006e6b64
mov edi, eax
add esp, 8
test edi, edi
je 0x4626e1
mov eax, dword [edi + 0x10]
test eax, eax
je 0x4625ca
push eax
call fcn.006e60fe
add esp, 4
mov dword [edi + 0x10], 0
mov eax, dword [ebp - 0x10]
mov esi, dword [esi + 0x160c]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x30]
mov dword [edi + 0x14], 0
mov dword [edi + 0xc], eax
mov dword [edi], ebx
test esi, esi
je 0x4626e1
cmp byte [esi + 0x10], 0
je 0x462603
mov eax, dword [esi + 0x14]
test eax, eax
je 0x462603
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [esi + 0xc]
push 0xc
push 1
call fcn.006e6b64
add esp, 8
test ebx, ebx
je 0x4626bc
test eax, eax
je 0x4626cb
mov ecx, dword [ebx + 8]
mov dword [eax], edi
mov dword [eax + 8], ecx
mov dword [ebx + 8], eax
mov dword [eax + 4], ebx
test ecx, ecx
je 0x4626c5
mov dword [ecx + 4], eax
jmp 0x4626c8
mov eax, dword [esi + 0x15bc]
mov ebx, dword [ebp - 8]
test eax, eax
je 0x46265e
push 0
push 0
push ebx
push dword [esi + 0x15c0]
push esi
call eax
add esp, 0x14
cmp byte [esi + 0x160b], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x74], xmm0
je 0x4626e1
mov eax, dword [esi + 0x1610]
test eax, eax
je 0x462687
mov ecx, dword [esi + 0x160c]
test ecx, ecx
je 0x462687
cmp dword [ecx + 4], eax
jae 0x4626e1
cmp dword [0x7efe40], 0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x44], xmm0
jne 0x4624f9
cmp dword [0x7efe44], 0
jne 0x4624f9
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x18], eax
jmp 0x462578
test eax, eax
je 0x4626cb
mov dword [eax], edi
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
inc dword [esi + 4]
cmp byte [esi + 0x10], 0
je 0x4626e1
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4626e1
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x20]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret