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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x50
mov esi, esp
mov eax, dword [0x5f3418]
xor eax, ebp
mov dword [esi + 0x48], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x34], eax
mov edi, dword [ecx + 4]
mov eax, dword [edi + 0x18]
mov edx, dword [edi + 0x1c]
nop word [eax + eax]
mov ebx, eax
add ebx, 1
mov ecx, edx
adc ecx, 0
lock cmpxchg8b qword [edi + 0x18]
jne 0x4e5660
mov dword [esi + 0x30], edx
mov dword [esi + 0x20], eax
lea edx, [ebp + 8]
mov eax, dword [edx + 0x24]
cmp eax, 1
jne 0x4e597c
mov ebx, dword [edx + 0x3c]
cmp byte [ebx], 0
je 0x4e5a0b
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
mov edi, dword [edx + 0x1c]
lea edx, [ebp + 8]
mov edx, dword [edx + 0x20]
sub edi, eax
sbb edx, ecx
seto al
mov ebx, edx
sar ebx, 0x1f
test al, al
lea ecx, [ebx - 0x80000000]
cmove ebx, edi
test al, al
mov eax, ecx
cmove eax, edx
lea edx, [ebp + 8]
mov dword [esi + 0x14], esp
cmp ebx, 0x7d00
sbb eax, 0
setl al
movzx eax, al
mov dword [esi + 8], eax
push eax
sub esp, 0x58
mov ebx, esp
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x54], 0
mov edi, dword [edx + 0x3c]
cmp byte [edi], 0
je 0x4e5875
mov ecx, dword [edi + 8]
mov edi, dword [edi + 0xc]
mov eax, dword [esi + 0x20]
mov dword [esi + 4], edi
mov dword [esi + 0x20], ecx
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x4c], edi
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x38], eax
mov eax, dword [esi + 0x30]
mov dword [ebx + 0x3c], eax
mov ecx, edx
mov eax, dword [edx + 4]
mov dword [esi + 0x30], eax
mov dword [ebx], eax
mov dword [edx + 4], 0
mov edi, ebx
add edi, 4
movups xmm0, xmmword [edx + 8]
movups xmmword [ebx + 4], xmm0
movups xmm0, xmmword [edx + 0x18]
movups xmmword [ebx + 0x14], xmm0
movsd xmm0, qword [edx + 0x28]
movsd qword [ebx + 0x24], xmm0
mov eax, dword [edx + 0x30]
mov dword [ebx + 0x2c], eax
mov dword [edx + 0x30], 0
mov eax, dword [edx + 0x34]
mov dword [ebx + 0x30], eax
mov dword [edx + 0x34], 0
mov eax, dword [edx + 0x38]
mov dword [ebx + 0x34], eax
mov eax, dword [esi + 8]
mov dword [ebx + 0x50], eax
xor ecx, ecx
cmp dword [ebx + 0x20], 1
mov eax, dword [ebx + 0x28]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0x58]
mov dword [esi + 0x18], eax
mov eax, dword [ebx + 0x54]
mov dword [esi + 0xc], eax
mov eax, 0
je 0x4e5b20
mov dword [esi + 0x10], ecx
mov dword [ebx], 0
mov edx, dword [esi + 0x34]
mov ecx, dword [esi + 0x30]
mov dword [edx], ecx
movups xmm0, xmmword [edi]
movups xmmword [edx + 4], xmm0
mov edi, dword [esi + 4]
mov dword [edx + 0x1c], edi
mov edi, dword [esi + 0x20]
mov dword [edx + 0x18], edi
mov dword [edx + 0x24], eax
mov eax, dword [esi + 0x10]
mov dword [edx + 0x20], eax
mov eax, dword [esi + 0x18]
mov dword [edx + 0x2c], eax
mov eax, dword [esi + 0xc]
mov dword [edx + 0x28], eax
mov eax, dword [esi + 8]
mov dword [edx + 0x30], eax
xorps xmm0, xmm0
movups xmmword [edx + 0x34], xmm0
movups xmmword [edx + 0x41], xmm0
movzx eax, byte [ebx + 0x14]
mov byte [edx + 0x58], al
movzx eax, byte [ebx + 0x15]
mov byte [edx + 0x5a], al
mov eax, dword [ebx + 0x2c]
mov dword [edx + 0x5c], eax
mov dword [ebx + 0x2c], 0
movsd xmm0, qword [ebx + 0x40]
movsd qword [edx + 0x60], xmm0
mov eax, dword [ebx + 0x30]
mov dword [edx + 0x68], eax
mov dword [ebx + 0x30], 0
mov eax, dword [ebx + 0x34]
mov dword [edx + 0x6c], eax
mov eax, dword [ebx + 0x38]
mov dword [edx + 0x4c], eax
cmp dword [ebx + 0x50], 1
sete byte [edx + 0x59]
mov edi, dword [ebx]
test edi, edi
jne 0x4e5b2b
mov esp, dword [esi + 0x14]
lea ecx, [ebp + 8]
mov eax, dword [ecx + 0x34]
test eax, eax
jne 0x4e5b06
mov eax, dword [ecx + 0x30]
test eax, eax
jne 0x4e5cf2
mov edi, dword [ecx + 4]
test edi, edi
jne 0x4e5b48
mov edi, dword [ecx]
mov ecx, dword [esi + 0x48]
xor ecx, ebp
call fcn.00512ee3
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x40
mov edx, dword [edi + 0x18]
mov eax, dword [edx]
mov ecx, dword [eax + 4]
cmp ecx, 0x4e9900
jne 0x4e5b68
mov ecx, dword [fcn.00509260]
cmp ecx, 0x50efc0
jne 0x4e5b83
mov dword [esi + 0x1c], edi
xor eax, eax
lea edi, [esi + 0x40]
mov dword [edi + 4], eax
mov dword [edi], eax
push edi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [edi]
mov ecx, dword [edi + 4]
cmp eax, 0x7bd05af7
mov dword [esi + 0x18], ecx
sbb ecx, 0x863
jl 0x4e5d64
mov edi, dword [0x6c02b0]
mov edx, dword [0x6c02b4]
mov dword [esi + 4], edx
push edx
push edi
mov dword [esi + 0xc], edi
push dword [esi + 0x18]
push eax
mov dword [esi + 0x2c], eax
call fcn.00517110
mov dword [esi + 0x10], eax
mov ecx, edx
mul edi
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x10]
imul edi, dword [esi + 4]
add edx, edi
imul edi, ecx, 0xf4240
mov dword [esi + 0x28], edi
imul ecx, dword [esi + 0xc]
add ecx, edx
mov edi, dword [esi + 0x2c]
sub edi, dword [esi + 0x24]
sbb eax, ecx
mov ecx, eax
mov edx, 0xf4240
mov eax, dword [esi + 0x10]
mul edx
mov dword [esi + 0x18], eax
add edx, dword [esi + 0x28]
mov dword [esi + 0x10], edx
mov eax, edi
mov edx, 0xf4240
mul edx
imul ecx, ecx, 0xf4240
add edx, ecx
push dword [esi + 4]
push dword [esi + 0xc]
push edx
push eax
call fcn.00517110
add eax, dword [esi + 0x18]
adc edx, dword [esi + 0x10]
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edx
mov edi, dword [esi + 0x1c]
cmp byte [edi], 0
mov ecx, dword [esi + 0x38]
mov eax, dword [esi + 0x3c]
mov dword [edi + 8], ecx
mov dword [esi + 4], eax
mov dword [edi + 0xc], eax
lea edx, [ebp + 8]
mov eax, dword [esi + 0x20]
jne 0x4e5974
mov byte [edi], 1
mov edi, dword [esi + 4]
jmp 0x4e5700
test eax, eax
jne 0x4e5d0d
mov ebx, dword [edx + 0x1c]
mov eax, dword [edx + 0x20]
mov ecx, dword [edx + 0x3c]
cmp byte [ecx], 0
mov dword [esi + 4], eax
je 0x4e5b97
mov edx, dword [ecx + 8]
mov dword [esi + 0x14], edx
mov ecx, dword [ecx + 0xc]
mov dword [esi + 8], ecx
mov ecx, ebx
add ecx, 1
mov edx, eax
adc edx, 0x80000000
cmp ecx, 2
sbb edx, 0
mov dword [esi + 0xc], ebx
jb 0x4e5d12
mov edi, dword [esi + 0x14]
add edi, ebx
mov edx, dword [esi + 8]
adc edx, eax
seto al
mov ebx, edx
sar ebx, 0x1f
test al, al
lea ecx, [ebx - 0x80000000]
cmove ebx, edi
test al, al
cmove ecx, edx
lea edi, [ebp + 8]
mov eax, dword [edi + 0x24]
test eax, eax
jne 0x4e5d4f
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], ecx
mov dword [edi + 0x24], 1
mov edx, edi
mov eax, dword [esi + 4]
mov ebx, dword [esi + 0xc]
jmp 0x4e56c2
mov edi, dword [ebx + 0x18]
mov eax, dword [edi]
mov eax, dword [eax + 4]
cmp eax, 0x4e9900
jne 0x4e5c9e
mov ecx, dword [fcn.00509260]
cmp ecx, 0x50efc0
jne 0x4e5cb7
xor eax, eax
lea edi, [esi + 0x40]
mov dword [edi + 4], eax
mov dword [edi], eax
push edi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [edi]
mov ecx, dword [edi + 4]
cmp eax, 0x7bd05af7
mov dword [esi + 8], ecx
sbb ecx, 0x863
jl 0x4e5da3
mov edi, dword [0x6c02b0]
mov edx, dword [0x6c02b4]
mov dword [esi + 4], edx
push edx
push edi
mov dword [esi + 0x14], edi
push dword [esi + 8]
push eax
mov dword [esi + 0x18], eax
call fcn.00517110
mov dword [esi + 0xc], eax
mov ecx, edx
mul edi
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 8]
mov edi, dword [esi + 0xc]
imul edi, dword [esi + 4]
add edx, edi
imul edi, ecx, 0xf4240
mov dword [esi + 0x10], edi
imul ecx, dword [esi + 0x14]
add ecx, edx
mov edi, dword [esi + 0x18]
sub edi, dword [esi + 0x1c]
sbb eax, ecx
mov ecx, eax
mov edx, 0xf4240
mov eax, dword [esi + 0xc]
mul edx
mov dword [esi + 8], eax
add edx, dword [esi + 0x10]
mov dword [esi + 0xc], edx
mov eax, edi
mov edx, 0xf4240
mul edx
imul ecx, ecx, 0xf4240
add edx, ecx
push dword [esi + 4]
push dword [esi + 0x14]
push edx
push eax
call fcn.00517110
add eax, dword [esi + 8]
adc edx, dword [esi + 0xc]
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edx
cmp byte [ebx], 0
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x3c]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], ecx
lea edx, [ebp + 8]
jne 0x4e5698
mov byte [ebx], 1
jmp 0x4e5698
lock dec dword [eax]
jne 0x4e5847
push eax
call fcn.0050fc7c
lea ecx, [ebp + 8]
add esp, 4
jmp 0x4e5847
mov ecx, dword [ebx + 0x18]
mov eax, dword [ebx + 0x1c]
jmp 0x4e579c
lock dec dword [edi]
jne 0x4e5836
mov ecx, dword [edi + 8]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
jmp 0x4e5836
lock dec dword [edi]
jne 0x4e585d
mov ecx, dword [edi + 8]
call dword [section..00cfg]
push edi
call ecx
lea ecx, [ebp + 8]
add esp, 4
jmp 0x4e585d
mov dword [esi + 0xc], edx
mov dword [esi + 4], ecx
call dword [section..00cfg]
lea eax, [esi + 0x38]
mov ecx, dword [esi + 0xc]
push eax
call dword [esi + 4]
jmp 0x4e5957
call dword [section..00cfg]
lea eax, [esi + 0x38]
push eax
call ecx
add esp, 4
jmp 0x4e5957
mov dword [esi + 0x14], ecx
mov edi, dword [ecx + 0x18]
mov eax, dword [edi]
mov eax, dword [eax + 4]
cmp eax, 0x4e9900
jne 0x4e5ccb
mov ecx, dword [fcn.00509260]
cmp ecx, 0x50efc0
jne 0x4e5ce1
xor eax, eax
lea edi, [esi + 0x40]
mov dword [edi + 4], eax
mov dword [edi], eax
push edi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [edi]
mov ecx, dword [edi + 4]
cmp eax, 0x7bd05af7
mov dword [esi + 0x10], ecx
sbb ecx, 0x863
jl 0x4e5dcb
mov edi, dword [0x6c02b0]
mov edx, dword [0x6c02b4]
mov dword [esi + 8], edx
push edx
push edi
mov dword [esi + 0x18], edi
push dword [esi + 0x10]
push eax
mov dword [esi + 0x2c], eax
call fcn.00517110
mov dword [esi + 0x1c], eax
mov ecx, edx
mul edi
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x1c]
imul edi, dword [esi + 8]
add edx, edi
imul edi, ecx, 0xf4240
mov dword [esi + 0x28], edi
imul ecx, dword [esi + 0x18]
add ecx, edx
mov edi, dword [esi + 0x2c]
sub edi, dword [esi + 0x24]
sbb eax, ecx
mov ecx, eax
mov edx, 0xf4240
mov eax, dword [esi + 0x1c]
mul edx
mov dword [esi + 0x10], eax
add edx, dword [esi + 0x28]
mov dword [esi + 0x1c], edx
mov eax, edi
mov edx, 0xf4240
mul edx
imul ecx, ecx, 0xf4240
add edx, ecx
push dword [esi + 8]
push dword [esi + 0x18]
push edx
push eax
call fcn.00517110
add eax, dword [esi + 0x10]
adc edx, dword [esi + 0x1c]
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edx
mov ecx, dword [esi + 0x14]
cmp byte [ecx], 0
mov eax, dword [esi + 0x38]
mov edx, dword [esi + 0x3c]
mov dword [esi + 0x14], eax
mov dword [ecx + 8], eax
mov dword [esi + 8], edx
mov dword [ecx + 0xc], edx
mov eax, dword [esi + 4]
jne 0x4e59a5
mov byte [ecx], 1
jmp 0x4e59a5
mov ecx, eax
mov dword [esi + 4], eax
call dword [section..00cfg]
lea eax, [esi + 0x38]
mov ecx, edi
push eax
call dword [esi + 4]
jmp 0x4e5ae6
call dword [section..00cfg]
lea eax, [esi + 0x38]
push eax
call ecx
add esp, 4
jmp 0x4e5ae6
mov ecx, eax
mov dword [esi + 8], eax
call dword [section..00cfg]
lea eax, [esi + 0x38]
mov ecx, edi
push eax
call dword [esi + 8]
jmp 0x4e5c75
call dword [section..00cfg]
lea eax, [esi + 0x38]
push eax
call ecx
add esp, 4
jmp 0x4e5c75
lock dec dword [eax + 4]
jne 0x4e5852
push eax
call fcn.0050b620
lea ecx, [ebp + 8]
add esp, 4
jmp 0x4e5852
call fcn.00555300
mov eax, 0x80000000
xor ecx, ecx
inc ecx
mov edx, dword [esi + 0x14]
add edx, ecx
adc eax, dword [esi + 8]
xor ecx, ecx
xor edi, edi
inc edi
cmp edi, edx
sbb ecx, eax
mov ecx, dword [esi + 4]
jb 0x4e59e3
mov eax, dword [esi + 0x14]
mov ebx, dword [esi + 0xc]
xor eax, ebx
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
xor edx, ecx
or edx, eax
je 0x4e59e3
int3
cmp eax, 1
jne 0x4e5d8c
lea eax, [ebp + 8]
mov dword [eax + 0x1c], ebx
mov edx, eax
mov dword [eax + 0x20], ecx
jmp 0x4e5a00
mov ecx, 0xf4240
mul ecx
imul ecx, dword [esi + 0x18], 0xf4240
add ecx, edx
push dword [0x6c02b4]
push dword [0x6c02b0]
push ecx
push eax
call fcn.00517110
jmp 0x4e594e
lea eax, [ebp + 8]
mov dword [eax + 0x1c], ebx
mov edx, eax
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], 1
jmp 0x4e5a00
mov ecx, 0xf4240
mul ecx
imul ecx, dword [esi + 8], 0xf4240
add ecx, edx
push dword [0x6c02b4]
push dword [0x6c02b0]
push ecx
push eax
call fcn.00517110
jmp 0x4e5ae0
mov ecx, 0xf4240
mul ecx
imul ecx, dword [esi + 0x10], 0xf4240
add ecx, edx
push dword [0x6c02b4]
push dword [0x6c02b0]
push ecx
push eax
call fcn.00517110
jmp 0x4e5c6f