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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x48
mov esi, esp
lea edx, [ebp + 8]
mov eax, dword [0x511014]
xor eax, ebp
mov dword [esi + 0x40], eax
mov eax, dword [edx]
mov dword [esi + 0x2c], eax
mov edi, dword [ecx + 4]
mov eax, dword [edi + 0x18]
mov edx, dword [edi + 0x1c]
nop dword [eax]
mov ebx, eax
add ebx, 1
mov ecx, edx
adc ecx, 0
lock cmpxchg8b qword [edi + 0x18]
jne 0x465360
mov dword [esi + 0x28], edx
mov dword [esi + 0x1c], eax
lea edx, [ebp + 8]
mov eax, dword [edx + 0x24]
cmp eax, 1
jne 0x465679
mov ebx, dword [edx + 0x3c]
cmp byte [ebx], 0
jne 0x46578d
mov edi, dword [ebx + 0x18]
mov eax, dword [edi]
mov eax, dword [eax + 4]
cmp eax, 0x476f00
jne 0x465835
mov ecx, dword [fcn.0048cd00]
cmp ecx, 0x493220
jne 0x46584c
xor eax, eax
lea edi, [esi + 0x38]
mov dword [edi + 4], eax
mov dword [edi], eax
push edi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [edi]
mov edi, dword [edi + 4]
cmp eax, 0x7bd05af7
mov ecx, edi
sbb ecx, 0x863
jge 0x4659a5
mov ecx, 0xf4240
mul ecx
imul ecx, edi, 0xf4240
add ecx, edx
push dword [0x52120c]
push dword [0x521208]
push ecx
push eax
call fcn.004b5fc0
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edx
cmp byte [ebx], 0
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], ecx
lea edx, [ebp + 8]
jne 0x46541f
mov byte [ebx], 1
mov edi, dword [edx + 0x1c]
lea edx, [ebp + 8]
mov edx, dword [edx + 0x20]
sub edi, eax
sbb edx, ecx
seto al
mov ecx, edx
sar ecx, 0x1f
test al, al
lea ebx, [ecx - 0x80000000]
cmove ecx, edi
test al, al
cmove ebx, edx
lea edx, [ebp + 8]
mov dword [esi + 0x10], esp
xor eax, eax
cmp ecx, 0x7d00
sbb ebx, eax
setl cl
movzx edi, cl
push eax
sub esp, 0x58
mov ebx, esp
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x54], eax
mov eax, dword [edx + 0x3c]
cmp byte [eax], 0
mov dword [esi + 8], edi
jne 0x46566b
mov dword [esi], eax
mov edx, dword [eax + 0x18]
mov eax, dword [edx]
mov ecx, dword [eax + 4]
cmp ecx, 0x476f00
jne 0x465808
mov ecx, dword [fcn.0048cd00]
cmp ecx, 0x493220
jne 0x465821
xor eax, eax
lea edi, [esi + 0x38]
mov dword [edi + 4], eax
mov dword [edi], eax
push edi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [edi]
mov edi, dword [edi + 4]
cmp eax, 0x7bd05af7
mov ecx, edi
sbb ecx, 0x863
jge 0x465902
mov ecx, 0xf4240
mul ecx
imul ecx, edi, 0xf4240
add ecx, edx
push dword [0x52120c]
push dword [0x521208]
push ecx
push eax
call fcn.004b5fc0
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edx
mov ecx, dword [esi]
cmp byte [ecx], 0
mov eax, dword [esi + 0x30]
mov edx, dword [esi + 0x34]
mov edi, eax
mov dword [ecx + 8], eax
mov dword [esi], edx
mov dword [ecx + 0xc], edx
lea edx, [ebp + 8]
mov eax, dword [esi + 0x1c]
jne 0x46550e
mov byte [ecx], 1
mov ecx, edi
mov edi, dword [esi]
mov dword [esi + 0xc], ecx
mov dword [esi], edi
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x4c], edi
xor edi, edi
mov dword [ebx + 0x40], edi
mov dword [ebx + 0x44], edi
mov dword [ebx + 0x38], eax
mov eax, dword [esi + 0x28]
mov dword [ebx + 0x3c], eax
mov eax, dword [edx + 4]
mov dword [esi + 0x1c], eax
mov dword [edx + 4], edi
movups xmm0, xmmword [edx + 8]
movups xmmword [ebx + 4], xmm0
movsd xmm0, qword [edx + 0x28]
movsd qword [ebx + 0x24], xmm0
movups xmm0, xmmword [edx + 0x18]
movups xmmword [ebx + 0x14], xmm0
mov eax, dword [edx + 0x30]
mov dword [ebx + 0x2c], eax
mov dword [edx + 0x30], edi
mov eax, dword [edx + 0x34]
mov dword [ebx + 0x30], eax
mov dword [edx + 0x34], edi
mov eax, dword [edx + 0x38]
mov dword [ebx + 0x34], eax
mov eax, ebx
add eax, 4
mov edx, dword [esi + 8]
mov dword [ebx + 0x50], edx
mov edx, dword [ebx + 0x28]
mov dword [esi + 0x28], edx
cmp dword [ebx + 0x20], 1
mov edx, dword [ebx + 0x58]
mov dword [esi + 4], edx
mov edx, dword [ebx + 0x54]
mov dword [esi + 8], edx
mov edi, 0
mov ecx, 0
je 0x4657fd
mov dword [esi + 0x14], ecx
xor ecx, ecx
mov dword [ebx], ecx
mov ecx, dword [esi + 0x2c]
mov edx, dword [esi + 0x1c]
mov dword [ecx], edx
movups xmm0, xmmword [eax]
movups xmmword [ecx + 4], xmm0
mov eax, dword [esi]
mov dword [ecx + 0x1c], eax
mov eax, dword [esi + 0xc]
mov dword [ecx + 0x18], eax
mov eax, dword [esi + 0x14]
mov dword [ecx + 0x24], eax
mov dword [ecx + 0x20], edi
mov eax, dword [esi + 4]
mov dword [ecx + 0x2c], eax
mov eax, dword [esi + 8]
mov dword [ecx + 0x28], eax
mov eax, dword [esi + 0x28]
mov dword [ecx + 0x30], eax
xorps xmm0, xmm0
movups xmmword [ecx + 0x34], xmm0
movups xmmword [ecx + 0x41], xmm0
mov al, byte [ebx + 0x14]
mov byte [ecx + 0x58], al
mov al, byte [ebx + 0x15]
mov byte [ecx + 0x5a], al
mov eax, dword [ebx + 0x2c]
mov dword [ecx + 0x5c], eax
mov edx, 0
mov dword [ebx + 0x2c], edx
movsd xmm0, qword [ebx + 0x40]
movsd qword [ecx + 0x60], xmm0
mov eax, dword [ebx + 0x30]
mov dword [ecx + 0x68], eax
mov dword [ebx + 0x30], edx
mov eax, dword [ebx + 0x34]
mov dword [ecx + 0x6c], eax
mov eax, dword [ebx + 0x38]
mov dword [ecx + 0x4c], eax
cmp dword [ebx + 0x50], 1
sete byte [ecx + 0x59]
mov edi, dword [ebx]
test edi, edi
jne 0x4657c0
mov esp, dword [esi + 0x10]
lea ecx, [ebp + 8]
mov eax, dword [ecx + 0x34]
test eax, eax
jne 0x465798
mov eax, dword [ecx + 0x30]
test eax, eax
jne 0x46588f
mov edi, dword [ecx + 4]
test edi, edi
jne 0x4657dd
mov edi, dword [ecx]
mov ecx, dword [esi + 0x40]
xor ecx, ebp
call fcn.00496ce3
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x40
mov ecx, dword [eax + 8]
mov edi, dword [eax + 0xc]
mov eax, dword [esi + 0x1c]
jmp 0x465512
test eax, eax
jne 0x4658aa
mov ebx, dword [edx + 0x1c]
mov ecx, dword [edx + 0x20]
mov edi, dword [edx + 0x3c]
cmp byte [edi], 0
mov dword [esi], ecx
jne 0x4657b2
mov edx, dword [edi + 0x18]
mov eax, dword [edx]
mov ecx, dword [eax + 4]
cmp ecx, 0x476f00
jne 0x465860
mov ecx, dword [fcn.0048cd00]
cmp ecx, 0x493220
jne 0x46587b
mov dword [esi + 8], edi
xor eax, eax
lea edi, [esi + 0x38]
mov dword [edi + 4], eax
mov dword [edi], eax
push edi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [edi]
mov edi, dword [edi + 4]
cmp eax, 0x7bd05af7
mov ecx, edi
sbb ecx, 0x863
jge 0x465a2d
mov ecx, 0xf4240
mul ecx
imul ecx, edi, 0xf4240
add ecx, edx
push dword [0x52120c]
push dword [0x521208]
push ecx
push eax
call fcn.004b5fc0
mov edi, dword [esi + 8]
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edx
mov ecx, dword [esi]
cmp byte [edi], 0
mov edx, dword [esi + 0x30]
mov eax, dword [esi + 0x34]
mov dword [esi + 8], edx
mov dword [edi + 8], edx
mov dword [edi + 0xc], eax
jne 0x46572b
mov byte [edi], 1
mov edx, ebx
add edx, 1
mov edi, ecx
adc edi, 0x80000000
cmp edx, 2
sbb edi, 0
mov dword [esi + 0x10], ebx
jb 0x4658af
mov edi, dword [esi + 8]
add edi, ebx
adc eax, ecx
seto cl
mov edx, eax
sar edx, 0x1f
test cl, cl
lea ebx, [edx - 0x80000000]
cmove edx, edi
test cl, cl
cmove ebx, eax
lea ecx, [ebp + 8]
mov eax, dword [ecx + 0x24]
test eax, eax
jne 0x4658e9
mov dword [ecx + 0x1c], edx
mov dword [ecx + 0x20], ebx
mov dword [ecx + 0x24], 1
mov edx, ecx
mov ecx, dword [esi + 0x10]
mov ebx, dword [esi]
jmp 0x465447
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
jmp 0x46541f
lock dec dword [eax]
jne 0x46563d
push eax
call fcn.00494aa1
lea ecx, [ebp + 8]
add esp, 4
jmp 0x46563d
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
jmp 0x46572b
lock dec dword [edi]
jne 0x46562c
mov ecx, dword [edi + 8]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
jmp 0x46562c
lock dec dword [edi]
jne 0x465653
mov ecx, dword [edi + 8]
call dword [section..00cfg]
push edi
call ecx
lea ecx, [ebp + 8]
add esp, 4
jmp 0x465653
mov edi, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x1c]
jmp 0x46559a
mov edi, edx
mov dword [esi + 4], ecx
call dword [section..00cfg]
lea eax, [esi + 0x30]
mov ecx, edi
push eax
call dword [esi + 4]
jmp 0x4654ee
call dword [section..00cfg]
lea eax, [esi + 0x30]
push eax
call ecx
add esp, 4
jmp 0x4654ee
mov ecx, eax
mov dword [esi], eax
call dword [section..00cfg]
lea eax, [esi + 0x30]
mov ecx, edi
push eax
call dword [esi]
jmp 0x465408
call dword [section..00cfg]
lea eax, [esi + 0x30]
push eax
call ecx
add esp, 4
jmp 0x465408
mov dword [esi + 4], edx
mov dword [esi + 8], ecx
call dword [section..00cfg]
lea eax, [esi + 0x30]
mov ecx, dword [esi + 4]
push eax
call dword [esi + 8]
jmp 0x465712
call dword [section..00cfg]
lea eax, [esi + 0x30]
push eax
call ecx
add esp, 4
jmp 0x465712
lock dec dword [eax + 4]
jne 0x465648
push eax
call fcn.0046f8d0
lea ecx, [ebp + 8]
add esp, 4
jmp 0x465648
call fcn.004be450
mov ecx, 0x80000000
xor edx, edx
inc edx
mov edi, dword [esi + 8]
add edi, edx
adc ecx, eax
xor edx, edx
xor ebx, ebx
inc ebx
cmp ebx, edi
sbb edx, ecx
mov edx, dword [esi + 0x10]
mov ebx, dword [esi]
jb 0x465766
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 8]
xor ecx, edx
mov ebx, dword [esi]
xor eax, ebx
or eax, ecx
je 0x465766
int3
cmp eax, 1
jne 0x46598e
lea eax, [ebp + 8]
mov dword [eax + 0x1c], edx
mov edx, eax
mov dword [eax + 0x20], ebx
jmp 0x465783
mov ecx, dword [0x521208]
mov dword [esi + 4], ecx
mov edx, dword [0x52120c]
mov dword [esi + 0x14], edx
push edx
push ecx
push edi
push eax
mov dword [esi + 0x18], eax
call fcn.004b5fc0
mov dword [esi + 0xc], eax
mov ecx, edx
mov eax, dword [esi + 0xc]
mul dword [esi + 4]
mov dword [esi + 0x20], eax
mov eax, edi
mov edi, dword [esi + 0xc]
imul edi, dword [esi + 0x14]
add edx, edi
imul edi, ecx, 0xf4240
mov dword [esi + 0x24], edi
imul ecx, dword [esi + 4]
add ecx, edx
mov edi, dword [esi + 0x18]
sub edi, dword [esi + 0x20]
sbb eax, ecx
mov ecx, eax
mov edx, 0xf4240
mov eax, dword [esi + 0xc]
mul edx
mov dword [esi + 0xc], eax
add edx, dword [esi + 0x24]
mov dword [esi + 0x18], edx
mov eax, edi
mov edx, 0xf4240
mul edx
imul ecx, ecx, 0xf4240
add edx, ecx
push dword [esi + 0x14]
push dword [esi + 4]
push edx
push eax
call fcn.004b5fc0
add eax, dword [esi + 0xc]
adc edx, dword [esi + 0x18]
jmp 0x4654e8
lea eax, [ebp + 8]
mov dword [eax + 0x1c], edx
mov edx, eax
mov dword [eax + 0x20], ebx
mov dword [eax + 0x24], 1
jmp 0x465783
mov ecx, dword [0x521208]
mov dword [esi], ecx
mov edx, dword [0x52120c]
mov dword [esi + 8], edx
push edx
push ecx
push edi
push eax
mov dword [esi + 4], eax
call fcn.004b5fc0
mov dword [esi + 0x10], eax
mov ecx, edx
mov eax, dword [esi + 0x10]
mul dword [esi]
mov dword [esi + 0x14], eax
mov eax, edi
mov edi, dword [esi + 0x10]
imul edi, dword [esi + 8]
add edx, edi
imul edi, ecx, 0xf4240
mov dword [esi + 0xc], edi
imul ecx, dword [esi]
add ecx, edx
mov edi, dword [esi + 4]
sub edi, dword [esi + 0x14]
sbb eax, ecx
mov ecx, eax
mov edx, 0xf4240
mov eax, dword [esi + 0x10]
mul edx
mov dword [esi + 0x10], eax
add edx, dword [esi + 0xc]
mov dword [esi + 4], edx
mov eax, edi
mov edx, 0xf4240
mul edx
imul ecx, ecx, 0xf4240
add edx, ecx
push dword [esi + 8]
push dword [esi]
push edx
push eax
call fcn.004b5fc0
add eax, dword [esi + 0x10]
adc edx, dword [esi + 4]
jmp 0x465402
mov ecx, dword [0x521208]
mov dword [esi + 4], ecx
mov edx, dword [0x52120c]
mov dword [esi + 0x14], edx
push edx
push ecx
push edi
push eax
mov dword [esi + 0x18], eax
call fcn.004b5fc0
mov dword [esi + 0xc], eax
mov ecx, edx
mov eax, dword [esi + 0xc]
mul dword [esi + 4]
mov dword [esi + 0x20], eax
mov eax, edi
mov edi, dword [esi + 0xc]
imul edi, dword [esi + 0x14]
add edx, edi
imul edi, ecx, 0xf4240
mov dword [esi + 0x24], edi
imul ecx, dword [esi + 4]
add ecx, edx
mov edi, dword [esi + 0x18]
sub edi, dword [esi + 0x20]
sbb eax, ecx
mov ecx, eax
mov edx, 0xf4240
mov eax, dword [esi + 0xc]
mul edx
mov dword [esi + 0xc], eax
add edx, dword [esi + 0x24]
mov dword [esi + 0x18], edx
mov eax, edi
mov edx, 0xf4240
mul edx
imul ecx, ecx, 0xf4240
add edx, ecx
push dword [esi + 0x14]
push dword [esi + 4]
push edx
push eax
call fcn.004b5fc0
add eax, dword [esi + 0xc]
adc edx, dword [esi + 0x18]
jmp 0x465709