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

Disassembly:
sub esp, 0x40
push ebx
push ebp
mov ebp, dword [esp + 0x4c]
mov ecx, dword [ebp + 0x1b0]
mov eax, dword [ebp + 0x1b4]
mov edx, dword [ebp + 0x54]
mov dword [esp + 0x40], ecx
mov ecx, eax
and eax, 0x7fffffff
mov dword [esp + 0x44], eax
fild qword [esp + 0x40]
and ecx, 0x80000000
mov dword [esp + 0x44], ecx
xor ebx, ebx
mov dword [esp + 0x40], ebx
fild qword [esp + 0x40]
push esi
push edi
fchs
faddp st(1)
fmul qword [edx + 0x10]
call fcn.004fb9a6
mov dword [ebp + 0x88], eax
mov dword [ebp + 0x8c], edx
mov edx, dword [ebp + 0x54]
fld qword [edx + 0x18]
lea eax, [esp + 0x48]
push eax
fstp qword [ebp + 0xa0]
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x4b2bcc
call fcn.004b72a0
mov ecx, dword [0x649b34]
push ecx
mov ecx, dword [0x649b30]
push ecx
push edx
push eax
call fcn.004fba20
mov edi, eax
mov esi, edx
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], esi
jmp 0x4b2bd4
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x48]
mov eax, dword [ebp + 0xd0]
cmp dword [eax + 0x18], ebx
jne 0x4b2be9
mov dword [esp + 0x18], 0xffffffff
jmp 0x4b2bf5
mov edx, dword [eax + 0x10]
mov eax, dword [eax]
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x18], ecx
cmp esi, dword [ebp + 0x1bc]
ja 0x4b2c65
jb 0x4b2c07
cmp edi, dword [ebp + 0x1b8]
ja 0x4b2c65
mov edx, dword [ebp + 0x54]
mov eax, dword [edx + 0x50]
cmp eax, ebx
jle 0x4b2c19
cmp eax, dword [ebp + 0x1f8]
jle 0x4b2c65
mov eax, dword [ebp + 0x1fc]
shl eax, 6
cmp eax, dword [ebp + 0x1f8]
jg 0x4b2d29
lea ecx, [esp + 0x24]
push ecx
push ebp
lea edx, [esp + 0x30]
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x30], 4
mov dword [esp + 0x2c], 2
call fcn.004b0ef0
add dword [ebp + 0x1fc], 1
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x48]
jmp 0x4b2d29
lea edx, [esp + 0x2c]
push edx
push ebp
lea edx, [esp + 0x38]
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], 2
call fcn.004b0ef0
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x4b2cbb
call fcn.004b72a0
mov ecx, dword [0x649b34]
push ecx
mov ecx, dword [0x649b30]
push ecx
push edx
push eax
call fcn.004fba20
mov edi, eax
mov esi, edx
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], esi
jmp 0x4b2cc3
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x48]
mov edx, dword [ebp + 0x54]
mov eax, dword [edx + 0x4c]
cmp eax, ebx
jle 0x4b2cf5
mov ecx, dword [ebp + 0x1b4]
push ecx
mov ecx, dword [ebp + 0x1b0]
cdq
push ecx
push edx
push eax
call fcn.004fba20
add eax, edi
adc edx, esi
mov dword [ebp + 0x1b8], eax
mov dword [ebp + 0x1bc], edx
jmp 0x4b2d19
mov edx, dword [ebp + 0x1d8]
mov eax, dword [ebp + 0x1dc]
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x4c]
add edx, edi
adc eax, esi
mov dword [ebp + 0x1b8], edx
mov dword [ebp + 0x1bc], eax
mov dword [ebp + 0x1f8], ebx
mov dword [ebp + 0x1fc], 1
cmp dword [esp + 0x18], ebx
jl 0x4b2db9
cmp esi, dword [ebp + 0x1c4]
jb 0x4b2db9
ja 0x4b2d45
cmp edi, dword [ebp + 0x1c0]
jbe 0x4b2db9
lea ecx, [esp + 0x34]
push ecx
push ebp
lea edx, [esp + 0x40]
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], 3
call fcn.004b0ef0
lea edx, [esp + 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x4b2d95
call fcn.004b72a0
mov ecx, dword [0x649b34]
push ecx
mov ecx, dword [0x649b30]
push ecx
push edx
push eax
call fcn.004fba20
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
mov edx, dword [ebp + 0x1e0]
mov eax, dword [ebp + 0x1e4]
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x4c]
add edx, edi
adc eax, esi
mov dword [ebp + 0x1c0], edx
mov dword [ebp + 0x1c4], eax
cmp esi, dword [ebp + 0x1cc]
lea ebx, [ebp + 0x1c8]
jb 0x4b300c
ja 0x4b2dd5
cmp edi, dword [ebx]
jbe 0x4b300c
cmp dword [ebp + 0x68], 0x10
jle 0x4b2e44
call fcn.004b72a0
mov ecx, dword [ebp + 0x1f0]
mov esi, dword [ebp + 0x1f4]
sub eax, ecx
sbb edx, esi
mov dword [esp + 0x1c], edx
jne 0x4b2dfd
cmp eax, 0x989680
jbe 0x4b2e44
mov ecx, dword [ebp + 0x208]
mov byte [ebp + 0x5e], 1
lea edx, [esp + 0x54]
mov byte [ebp + 0x60], 1
mov dword [ebp + 0x64], 0x1e
mov edi, dword [ecx + 4]
push edx
mov eax, ebp
mov byte [esp + 0x58], 1
call fcn.004b3550
mov esi, ebp
call fcn.004b0e90
mov edx, dword [0x649b28]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 4
mov eax, dword [ebp + 0x7c]
xor edi, edi
cmp dword [eax + 0x24], edi
jle 0x4b2f1a
mov eax, dword [ebp + 0xb0]
cmp eax, 0x7fffffff
jne 0x4b2e63
xor ecx, ecx
jmp 0x4b2e66
lea ecx, [eax + 1]
mov edx, dword [ebp + 0xa8]
cmp ecx, edx
lea eax, [ebp + 0xa8]
je 0x4b2e9c
mov ecx, dword [ebp + 0xb0]
mov esi, dword [ebp + 0x80]
push eax
lea eax, [esp + 0x40]
mov dword [esp + 0x40], ecx
call fcn.004b8f80
add dword [ebp + 0x180], eax
add dword [ebp + 0x140], eax
mov ecx, dword [ebp + 0x54]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
mov ecx, dword [ebp + 0x1b0]
mov eax, dword [ebp + 0x1b4]
mov edx, dword [ebp + 0x54]
mov dword [esp + 0x18], ecx
mov ecx, eax
and eax, 0x7fffffff
mov dword [esp + 0x1c], eax
fild qword [esp + 0x18]
and ecx, 0x80000000
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edi
fild qword [esp + 0x18]
fchs
faddp st(1)
fmul qword [edx + 0x10]
call fcn.004fb9a6
mov ecx, dword [ebp + 0x208]
mov dword [ebp + 0x88], eax
mov dword [ebp + 0x8c], edx
mov edx, dword [ebp + 0x54]
fld qword [edx + 0x18]
lea eax, [esp + 0x17]
fstp qword [ebp + 0xa0]
mov edi, dword [ecx + 4]
push eax
mov eax, ebp
mov byte [esp + 0x1b], 1
call fcn.004b3550
jmp 0x4b2f39
lea edx, [esp + 0x40]
push edx
push ebp
lea edx, [esp + 0x4c]
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], 1
call fcn.004b0ef0
mov edx, dword [ebp + 0x70]
mov eax, dword [ebp + 0x74]
add dword [ebp + 0x68], 1
mov ecx, dword [ebp + 0x68]
lea eax, [edx + eax*4]
imul eax, ecx
mov ecx, dword [ebp + 0x1b4]
push ecx
mov ecx, dword [ebp + 0x1b0]
add eax, 0x2710
cdq
push ecx
push edx
push eax
call fcn.004fba20
mov ecx, dword [ebp + 0x1b4]
mov dword [ebp + 0x1e8], eax
mov eax, dword [ebp + 0x68]
imul eax, eax, 0x186a0
push ecx
mov ecx, dword [ebp + 0x1b0]
mov dword [ebp + 0x1ec], edx
cdq
push ecx
push edx
push eax
call fcn.004fba20
mov ecx, dword [ebp + 0x1e8]
cmp dword [ebp + 0x1ec], edx
ja 0x4b2fd1
jb 0x4b2fa6
cmp ecx, eax
jae 0x4b2fd1
mov eax, dword [ebp + 0x68]
mov ecx, dword [ebp + 0x1b4]
imul eax, eax, 0x186a0
push ecx
mov ecx, dword [ebp + 0x1b0]
cdq
push ecx
push edx
push eax
call fcn.004fba20
mov dword [ebp + 0x1e8], eax
mov dword [ebp + 0x1ec], edx
push ebx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x4b2ffb
call fcn.004b72a0
mov ecx, dword [0x649b34]
push ecx
mov ecx, dword [0x649b30]
push ecx
push edx
push eax
call fcn.004fba20
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov edx, dword [ebp + 0x1e8]
mov eax, dword [ebp + 0x1ec]
add dword [ebx], edx
adc dword [ebx + 4], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 4