Function at 0x1004bf60
Capabilities:
Check for time delay via queryperformancecounter
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xf8
mov eax, dword [0x11ad127c]
xor eax, esp
mov dword [esp + 0xf4], eax
mov edx, dword [0x11d0c5b8]
mov eax, dword fs:[0x2c]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [eax + edx*4]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x6c], edi
mov cl, byte [edi + 8]
test cl, cl
jne 0x1004bfaf
call fcn.10450c0b
mov cl, byte [edi + 8]
mov eax, dword [edi + 0x10]
mov eax, dword [eax + 0xbe2c]
mov eax, dword [eax + esi*4 + 0x11dc]
test eax, eax
je 0x1004bfce
mov esi, dword [eax + 0x5e0]
jmp 0x1004bfd0
xor esi, esi
mov dword [esp + 0x38], esi
test cl, cl
jne 0x1004bfdd
call fcn.10450c0b
mov eax, dword [edi + 0x10]
mov ecx, dword [esp + 0x4c]
mov edx, dword [ebp + 0xc]
mov eax, dword [eax + 0xbe2c]
mov eax, dword [eax + ecx*4 + 0x11dc]
mov dword [esp + 0x64], eax
mov eax, dword [edx + 4]
cmp eax, dword [esi + 0xda4]
jb 0x1004c025
ja 0x1004c012
mov eax, dword [edx]
cmp eax, dword [esi + 0xda0]
jbe 0x1004c025
push 1
push 1
mov ecx, esi
call fcn.101e43f0
test eax, eax
js 0x1004c664
mov eax, dword [edi + 0x10]
or edx, 0xffffffff
mov ecx, 0x64
mov eax, dword [eax + 0x15b4]
test eax, eax
cmovne ecx, edx
mov dword [esp + 0x60], ecx
mov ecx, 0x186a0
cmovne ecx, edx
mov dword [esp + 0x30], ecx
jne 0x1004c07b
cmp byte [edi + 8], 0
jne 0x1004c05e
call fcn.10450c0b
mov eax, dword [edi + 0x10]
mov dword [esp + 0x34], 0x1312d00
mov eax, dword [eax + 0xbe2c]
test byte [eax + 0xf5c], 4
jne 0x1004c083
mov dword [esp + 0x34], 0xffffffff
push dword [ebp + 0x10]
xor ecx, ecx
mov dword [esp + 0x28], 0
lea eax, [esi + 0xd60]
mov dword [esp + 0x20], ecx
mov ecx, eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x5c], eax
call fcn.100a9ae0
mov ecx, dword [ebp + 0xc]
cmp edx, dword [ecx + 4]
jb 0x1004c0d3
ja 0x1004c0bb
cmp eax, dword [ecx]
jb 0x1004c0d3
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xf4]
xor ecx, esp
call fcn.1045066c
mov esp, ebp
pop ebp
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [esp + 0x68], eax
xorps xmm0, xmm0
lea eax, [esp + 0x90]
mov dword [esp + 0xb4], edx
push eax
movsd qword [esp + 0xac], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov edx, dword [esp + 0x94]
mov ecx, dword [esp + 0x90]
call fcn.10451200
lea eax, [esp + 0xa0]
movsd qword [esp + 0xb8], xmm0
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push dword [ebp + 0x10]
xorps xmm0, xmm0
lea ecx, [esi + 0xd60]
movlpd qword [esp + 0x44], xmm0
call fcn.100a9ae0
mov ecx, edx
mov dword [esp + 0x14], eax
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x28], ecx
cmp ecx, dword [edx + 4]
ja 0x1004c586
jb 0x1004c15f
cmp eax, dword [edx]
jae 0x1004c586
mov ecx, dword [esp + 0x40]
movsd xmm0, qword [0x1122d448]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x14]
movsd qword [esp + 0xb0], xmm0
mov dword [esp + 0x20], eax
nop dword [eax]
nop dword [eax + eax]
mov edx, dword [esp + 0x5c]
cmp dword [edx + 0x84], 1
ja 0x1004c1a6
cmp dword [edx + 0x90], 0x42
je 0x1004c1b0
or dword [edx + 0xa70], 0x400
mov edx, dword [esp + 0x30]
cmp dword [esp + 0x18], edx
jbe 0x1004c3ba
cmp byte [edi + 8], 0
mov dword [esp + 0x18], 0
jne 0x1004c1d8
call fcn.10450c0b
mov edx, dword [esp + 0x30]
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx + 0xbe2c]
test byte [eax + 0xf5c], 4
jne 0x1004c1f9
cmp edx, dword [esp + 0x34]
jae 0x1004c1f9
add edx, edx
mov dword [esp + 0x30], edx
push dword [esp + 0x4c]
add ecx, 0x7a80
call fcn.10055e70
mov dword [esp + 0x3c], eax
cmp eax, 0x8876021c
jne 0x1004c535
mov eax, dword [esi + 8]
xorps xmm0, xmm0
xor ecx, ecx
movaps xmmword [esp + 0x70], xmm0
mov dword [esp + 0x50], eax
mov dword [esp + 0x80], ecx
mov esi, dword [eax]
movlpd qword [esp + 0xd8], xmm0
movlpd qword [esp + 0xe0], xmm0
movlpd qword [esp + 0xe8], xmm0
movlpd qword [esp + 0xf0], xmm0
mov dword [esp + 0xf8], ecx
mov dword [esp + 0xd4], 0x1000021
mov dword [esp + 0xc4], 0x4e564441
mov dword [esp + 0xc8], 0x10002
mov dword [esp + 0xd0], 0x4e564458
mov dword [esp + 0xcc], 0x38
mov eax, dword [esi + 0x11cc]
and dword [esp + 0x74], 0xfffffffe
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x7c], 0x38
mov dword [esp + 0x2c], ecx
mov eax, dword [eax + 0x10]
mov dword [esp + 0x80], eax
lea eax, [esp + 0xc4]
mov dword [esp + 0x78], eax
mov eax, dword [esi + 0x10b4]
mov dword [esp + 0x3c], eax
test eax, eax
je 0x1004c385
mov eax, dword [esi]
test eax, eax
je 0x1004c385
mov edx, dword [eax + 0xbe28]
test edx, edx
je 0x1004c385
mov edx, dword [edx + 0x14]
test edx, edx
je 0x1004c385
cmp dword [eax + 0xd45c], 1
jne 0x1004c368
lea eax, [esi + 0x1428]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [esi + 0x10b4]
lea eax, [esp + 0x70]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0xbe28]
push dword [eax + 0x14]
call ecx
mov dword [esp + 0x2c], eax
xorps xmm0, xmm0
lea eax, [esp + 0x40]
movlpd qword [esp + 0x40], xmm0
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [esp + 0x40]
sub ecx, dword [esi + 0x1428]
mov eax, dword [esp + 0x44]
sbb eax, dword [esi + 0x142c]
add dword [esi + 0x1420], ecx
adc dword [esi + 0x1424], eax
mov eax, dword [esp + 0x2c]
jmp 0x1004c372
lea eax, [esp + 0x70]
push eax
push edx
call dword [esp + 0x44]
test eax, eax
js 0x1004c586
mov ecx, dword [esp + 0xf8]
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x50]
mov dword [eax + 0x654], ecx
mov eax, dword [eax + 0x250]
mov edx, dword [eax + 0x30]
test edx, edx
je 0x1004c3b2
xor ecx, ecx
lea eax, [edx + 0x10]
cmp dword [edx + 0xc], 0x10
cmovne ecx, eax
test ecx, ecx
je 0x1004c3b2
mov eax, dword [esp + 0x2c]
mov dword [ecx], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x54]
cmp ecx, esi
jne 0x1004c3f6
cmp dword [esp + 0x28], eax
jne 0x1004c3f6
mov edx, dword [esp + 0x1c]
cmp edx, dword [esp + 0x34]
jbe 0x1004c3fc
push dword [ebp + 0x10]
mov ecx, dword [esp + 0x5c]
call fcn.100a9ae0
mov ecx, eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x14], ecx
cmp ecx, esi
jne 0x1004c3f6
cmp edx, dword [esp + 0x20]
je 0x1004c57f
xor edx, edx
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x60]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1122e340]
comisd xmm0, xmmword [esp + 0xa8]
jb 0x1004c4b0
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx + 0x30658]
test ecx, ecx
je 0x1004c439
add dword [ecx + 0xd84c], eax
test eax, 0xfffff
je 0x1004c44a
pause
dec eax
test eax, 0xfffff
jne 0x1004c440
add dword [esp + 0x24], 0xa
lea eax, [esp + 0x98]
add dword [esp + 0x18], 0xa
add edx, 0xa
push eax
mov dword [esp + 0x20], edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [esp + 0x98]
sub ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x9c]
sbb edx, dword [esp + 0xa4]
call fcn.104511a0
divsd xmm0, qword [esp + 0xb8]
mulsd xmm0, qword [esp + 0xb0]
mulsd xmm0, qword [esp + 0xb0]
movsd qword [esp + 0xa8], xmm0
jmp 0x1004c4ce
mov eax, dword [esp + 0x64]
push 1
cmp dword [eax + 0x634], 0
je 0x1004c4c8
mov ecx, eax
call fcn.101d6d10
jmp 0x1004c4ce
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
sub eax, dword [esp + 0x68]
push dword [ebp + 0x10]
imul ecx, eax, 0x3e8
mov eax, ecx
mov dword [esp + 0x28], ecx
sub eax, esi
sub ecx, esi
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
add dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x24], eax
call fcn.100a9ae0
mov ecx, eax
mov dword [esp + 0x28], edx
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x14], ecx
cmp edx, dword [eax + 4]
ja 0x1004c586
jb 0x1004c528
cmp ecx, dword [eax]
jae 0x1004c586
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x20]
jmp 0x1004c190
mov eax, dword [esi + 0xd98]
mov edi, 8
mov ecx, dword [esi + 0xd9c]
mov dword [esi + 0xd90], eax
mov dword [esi + 0xd94], ecx
add esi, 0xd64
mov ecx, dword [esi]
test ecx, ecx
je 0x1004c56d
mov eax, dword [esp + 0x38]
push dword [eax + 0xd90]
call fcn.10096d20
add esi, 4
sub edi, 1
jne 0x1004c558
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x6c]
jmp 0x1004c588
mov esi, 0x8876021c
jmp 0x1004c588
xor esi, esi
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx + 0x162c]
shr eax, 7
test al, 1
je 0x1004c662
mov eax, dword [esp + 0x24]
shl eax, 2
cmp eax, dword [ecx + 0x7fd4]
jbe 0x1004c662
cmp byte [edi + 8], 0
jne 0x1004c5c0
call fcn.10450c0b
mov eax, dword [edi + 0x10]
cmp dword [eax + 0xd490], 0
je 0x1004c662
cmp byte [edi + 8], 0
jne 0x1004c5e1
call fcn.10450c0b
mov eax, dword [edi + 0x10]
mov eax, dword [eax + 0x162c]
shr eax, 7
test al, 1
je 0x1004c662
test dword [0x11d0d254], 0x100000
jne 0x1004c662
cmp byte [edi + 8], 0
jne 0x1004c61c
call fcn.10450c0b
cmp byte [edi + 8], 0
jne 0x1004c61c
call fcn.10450c0b
mov ecx, dword [edi + 0x10]
xor edx, edx
mov eax, dword [ecx + 0xf894]
div dword [ecx + 0xd490]
test edx, edx
jne 0x1004c662
cmp byte [edi + 8], dl
jne 0x1004c641
call fcn.10450c0b
mov eax, dword [edi + 0x10]
push 0
push dword [esp + 0x28]
push 0x14
push dword [eax + 0xf894]
push 0x1046c2d0
call fcn.101093c0
add esp, 0x14
mov eax, esi
mov ecx, dword [esp + 0xfc]
pop edi
pop esi
xor ecx, esp
call fcn.1045066c
mov esp, ebp
pop ebp
ret 0xc