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

Disassembly:
push 0xffffffffffffffff
push 0x5cbfb8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push edi
mov eax, dword [0x628560]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
lea eax, [esi + 0x104]
mov dword [esp + 0x10], eax
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [esp + 0x14], eax
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov eax, dword [esi + 0x14]
add eax, 0xffffffe4
mov dword [esi + 0xc], eax
add eax, 0xfffffff0
mov edi, 1
mov dword [esi + 0x10], eax
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x78], 0x10
mov dword [esi + 0xec], ebx
mov dword [esi + 0xe0], ebx
mov dword [esi + 0xe4], ebx
call fcn.004b7d90
mov dword [esi + 0x128], eax
mov dword [esi + 0x12c], edx
mov dword [esi + 0x158], ebx
mov dword [esi + 0x154], ebx
mov dword [esi + 0x150], ebx
mov dword [esi + 0x14c], ebx
mov dword [esi + 0x148], ebx
mov dword [esi + 0x144], ebx
mov dword [esi + 0x140], ebx
mov dword [esi + 0x138], ebx
mov dword [esi + 0x13c], ebx
mov dword [esi + 0x130], ebx
mov dword [esi + 0x134], ebx
call fcn.004b7d90
cmp dword [esi + 0x224], ebx
mov dword [esi + 0x168], eax
mov dword [esi + 0x16c], edx
mov dword [esi + 0x198], ebx
mov dword [esi + 0x194], ebx
mov dword [esi + 0x190], ebx
mov dword [esi + 0x18c], ebx
mov dword [esi + 0x188], ebx
mov dword [esi + 0x184], ebx
mov dword [esi + 0x180], ebx
mov dword [esi + 0x178], ebx
mov dword [esi + 0x17c], ebx
mov dword [esi + 0x170], ebx
mov dword [esi + 0x174], ebx
mov dword [esi + 0x160], ebx
mov dword [esi + 0x164], ebx
mov dword [esi + 0x1a0], ebx
mov dword [esi + 0x1a4], ebx
jne 0x4af20e
push 0x18
call fcn.004d3feb
add esp, 4
mov dword [esi + 0x224], eax
mov ecx, dword [esi + 0x224]
mov dword [ecx], esi
mov eax, dword [esi + 0x224]
mov dword [eax + 8], edi
mov dword [eax + 0xc], ebx
mov edx, dword [esi + 0x224]
mov dword [edx + 0x10], 0xffffffff
cmp dword [esi + 0x228], ebx
jne 0x4af247
push 0x20
call fcn.004d3feb
add esp, 4
mov dword [esi + 0x228], eax
mov eax, dword [esi + 0x228]
mov dword [eax], esi
mov eax, dword [esi + 0x228]
mov dword [eax + 8], edi
mov dword [eax + 0xc], ebx
mov ecx, dword [esi + 0x228]
mov dword [ecx + 0x14], ebx
mov edx, dword [esi + 0x228]
mov ecx, dword [0x648b48]
mov dword [edx + 0x10], ebx
mov eax, dword [esi + 0x228]
mov edx, dword [0x648b4c]
mov byte [eax + 0x18], bl
push ebx
push 0x2710
mov eax, edx
push eax
push ecx
mov dword [esi + 0x70], 0x186a0
mov dword [esi + 0x74], 0xc350
mov dword [esi + 0x1b0], ecx
mov dword [esi + 0x1b4], edx
call fcn.004fbce0
mov dword [esi + 0x1d0], eax
mov dword [esi + 0x1d4], edx
mov edx, dword [esi + 0x1d0]
mov dword [esi + 0x1d8], edx
mov eax, dword [esi + 0x1d4]
mov ecx, dword [esi + 0x74]
mov edx, dword [esi + 0x70]
mov dword [esi + 0x1dc], eax
lea eax, [edx + ecx*4]
mov ecx, dword [esi + 0x1b4]
push ecx
mov ecx, dword [esi + 0x1b0]
cdq
push ecx
push edx
push eax
call fcn.004fbce0
push ebx
mov dword [esi + 0x1e0], eax
mov eax, dword [esi + 0x1b0]
mov dword [esi + 0x1e4], edx
mov edx, dword [esi + 0x1b4]
push 0x186a0
push edx
push eax
call fcn.004fbce0
mov dword [esi + 0x1e8], eax
mov dword [esi + 0x1ec], edx
call fcn.004b7d90
mov ebp, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea edi, [esi + 0x1b8]
mov dword [esi + 0x1f0], eax
push edi
mov dword [esi + 0x1f4], edx
call ebp
test eax, eax
jne 0x4af362
call fcn.004b7d90
mov ecx, dword [0x648b4c]
push ecx
mov ecx, dword [0x648b48]
push ecx
push edx
push eax
call fcn.004fbce0
mov dword [edi], eax
mov dword [edi + 4], edx
mov edx, dword [esi + 0x1d0]
mov eax, dword [esi + 0x1d4]
add dword [edi], edx
adc dword [edi + 4], eax
lea edi, [esi + 0x1c0]
push edi
call ebp
test eax, eax
jne 0x4af39f
call fcn.004b7d90
mov ecx, dword [0x648b4c]
push ecx
mov ecx, dword [0x648b48]
push ecx
push edx
push eax
call fcn.004fbce0
mov dword [edi], eax
mov dword [edi + 4], edx
mov edx, dword [esi + 0x1e0]
mov eax, dword [esi + 0x1e4]
add dword [edi], edx
adc dword [edi + 4], eax
lea edi, [esi + 0x1c8]
push edi
call ebp
test eax, eax
jne 0x4af3dc
call fcn.004b7d90
mov ecx, dword [0x648b4c]
push ecx
mov ecx, dword [0x648b48]
push ecx
push edx
push eax
call fcn.004fbce0
mov dword [edi], eax
mov dword [edi + 4], edx
mov edx, dword [esi + 0x1e8]
mov eax, dword [esi + 0x1ec]
add dword [edi], edx
mov dword [esi + 0x1f8], ebx
mov dword [esi + 0x1fc], 1
adc dword [edi + 4], eax
cmp dword [esp + 0x14], 0xffffffff
mov dword [esi + 0x200], ebx
mov dword [esi + 0x204], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
mov byte [esi + 0x61], 1
je 0x4af42d
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x14
ret