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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d2098
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x6385e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x94], ecx
xor eax, eax
mov word [ebp - 0x1c], ax
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov edx, dword [ebp - 0x94]
mov ecx, dword [edx + 4]
call fcn.00404b70
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x3c]
call fcn.0047f810
lea eax, [ebp - 0x7c]
push eax
mov ecx, dword [ebp + 8]
call fcn.00435230
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], edx
jmp 0x48bae8
lea ecx, [ebp - 0x3c]
call fcn.0048e0a0
lea eax, [ebp - 0x84]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040c9a0
push eax
lea ecx, [ebp - 0x3c]
call fcn.0047f720
movzx ecx, al
test ecx, ecx
je 0x48bebc
push 1
mov ecx, 0x6438b8
call fcn.004055a0
lea ecx, [ebp - 0x3c]
call fcn.0048e080
mov edx, dword [eax + 8]
mov dword [ebp - 0x40], edx
push 0
mov eax, dword [ebp - 0x94]
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x48bbb4
mov edx, dword [ebp - 0x94]
mov eax, dword [edx + 0x860]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], 0
fild qword [ebp - 0x9c]
fmul qword [0x612b68]
mov ecx, dword [ebp - 0x94]
mov ecx, dword [ecx + 4]
fstp qword [ebp - 0xa4]
call fcn.0048b100
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], 0
fild qword [ebp - 0xac]
fdivr qword [ebp - 0xa4]
fstp dword [ebp - 0x48]
push ecx
fld dword [ebp - 0x48]
fstp dword [esp]
mov ecx, dword [ebp - 0x40]
call fcn.00435950
push eax
mov edx, dword [ebp - 0x94]
mov ecx, dword [edx + 4]
call fcn.0041aea0
mov eax, dword [ebp - 0x94]
mov ecx, dword [eax + 0x860]
add ecx, 1
mov edx, dword [ebp - 0x94]
mov dword [edx + 0x860], ecx
push 0
mov ecx, dword [ebp - 0x40]
call fcn.00435950
mov ecx, eax
call fcn.004b3df0
mov word [ebp - 0x44], ax
movzx eax, word [ebp - 0x44]
movzx ecx, word [ebp - 0x1c]
cmp eax, ecx
je 0x48bc12
mov dx, word [ebp - 0x44]
mov word [ebp - 0x1c], dx
mov ecx, dword [ebp - 0x40]
call fcn.00435950
push eax
mov eax, dword [ebp - 0x94]
mov ecx, dword [eax + 4]
call fcn.0041e330
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x48beb7
lea ecx, [ebp - 0x64]
call fcn.00407bf0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x49]
push ecx
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 0x40]
call fcn.00435950
push eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x28]
mov eax, dword [edx + 0x10]
call eax
movzx ecx, al
test ecx, ecx
jne 0x48bc59
jmp 0x48bea8
movzx edx, byte [ebp - 0x49]
test edx, edx
je 0x48bc6b
push 1
mov ecx, dword [ebp - 0x40]
call fcn.0048ad20
mov eax, dword [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 0x40]
call fcn.004b7150
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x88], esp
lea edx, [ebp - 0x64]
push edx
call fcn.00411420
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0x40]
call fcn.00441fb0
mov eax, dword [ebp - 0x6c]
or eax, dword [ebp - 0x68]
jne 0x48bcc4
cmp dword [ebp - 0x18], 0
je 0x48bcad
cmp dword [ebp - 0x18], 1
jne 0x48bcbf
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x94]
mov ecx, dword [edx + 4]
call fcn.0041dfe0
jmp 0x48bea8
cmp dword [ebp - 0x68], 0
ja 0x48bea8
jb 0x48bcdd
cmp dword [ebp - 0x6c], 0x1900000
jae 0x48bea8
push 0
mov ecx, dword [ebp - 0x40]
call fcn.00435950
push eax
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x28]
mov eax, dword [edx + 0x14]
call eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
jne 0x48bd03
jmp 0x48bea8
mov ecx, dword [ebp - 0x40]
call fcn.0048ab60
mov byte [ebp - 0x71], al
movzx ecx, byte [ebp - 0x71]
test ecx, ecx
jne 0x48bd4d
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
mov ecx, dword [ebp - 0x94]
call fcn.0048bed0
mov byte [ebp - 0x71], al
lea edx, [ebp - 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
movzx eax, byte [ebp - 0x71]
push eax
mov ecx, dword [ebp - 0x40]
call fcn.0048aba0
movzx ecx, byte [ebp - 0x71]
test ecx, ecx
je 0x48be64
push 0
mov edx, dword [ebp - 0x94]
add edx, 0x18
push edx
mov ecx, dword [ebp - 0x40]
call fcn.00435950
mov ecx, eax
call fcn.004b4b20
movzx eax, al
test eax, eax
je 0x48bd9c
push 0x10
mov ecx, dword [ebp - 0x40]
call fcn.0048b0c0
movzx ecx, al
test ecx, ecx
jne 0x48bd9c
push 1
mov edx, dword [ebp - 0x94]
mov ecx, dword [edx + 4]
call fcn.004015f0
mov ecx, dword [ebp - 0x40]
call fcn.00401550
movzx eax, al
test eax, eax
je 0x48bdb0
jmp 0x48be64
mov ecx, dword [ebp - 0x40]
call fcn.004127c0
movzx ecx, al
test ecx, ecx
jne 0x48bdc4
jmp 0x48be64
cmp dword [ebp - 0x18], 2
jne 0x48be12
push 0x10
mov ecx, dword [ebp - 0x40]
call fcn.0048b0c0
movzx edx, al
test edx, edx
je 0x48bdfe
mov ecx, dword [ebp - 0x40]
call fcn.00408050
movzx eax, al
test eax, eax
jne 0x48bdfe
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x94]
mov ecx, dword [edx + 4]
call fcn.0041dfb0
jmp 0x48be10
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x94]
mov ecx, dword [ecx + 4]
call fcn.0041dac0
jmp 0x48be64
cmp dword [ebp - 0x18], 0
je 0x48be1e
cmp dword [ebp - 0x18], 1
jne 0x48be64
push 0x10
mov ecx, dword [ebp - 0x40]
call fcn.0048b0c0
movzx edx, al
test edx, edx
je 0x48be52
mov ecx, dword [ebp - 0x40]
call fcn.00408050
movzx eax, al
test eax, eax
jne 0x48be52
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x94]
mov ecx, dword [edx + 4]
call fcn.0041dfb0
jmp 0x48be64
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x94]
mov ecx, dword [ecx + 4]
call fcn.0041dfe0
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x90], edx
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
je 0x48be9e
push 1
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x8c]
mov eax, dword [edx]
call eax
mov dword [ebp - 0xb4], eax
jmp 0x48bea8
mov dword [ebp - 0xb4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00407c30
jmp 0x48bae0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4