Function at 0x41c540
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x472510
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4936d0]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4936d0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, ecx
push 3
mov dword [esp + 0x18], edi
push 0x486a00
add edi, 0x20
push edi
xor eax, eax
call fcn.00415300
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41c67a
cmp ebx, 4
jbe 0x41c67a
xor eax, eax
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], eax
mov byte [esp + 0x5c], al
lea ebp, [ebx - 1]
mov dword [esp + 0x80], eax
cmp ebp, eax
jbe 0x41c67a
cmp ebp, dword [edi + 0x14]
jbe 0x41c5cc
call fcn.0043c5fa
mov esi, 0x10
cmp dword [edi + 0x18], esi
jb 0x41c5db
mov eax, dword [edi + 4]
jmp 0x41c5de
lea eax, [edi + 4]
movsx eax, byte [eax + ebp]
push eax
call fcn.0043d3e9
add esp, 4
test eax, eax
jne 0x41c65d
cmp ebp, dword [edi + 0x14]
jbe 0x41c5f9
call fcn.0043c5fa
cmp dword [edi + 0x18], esi
jb 0x41c603
mov eax, dword [edi + 4]
jmp 0x41c606
lea eax, [edi + 4]
cmp byte [eax + ebp], 0x2e
je 0x41c65d
mov ecx, ebx
sub ecx, ebp
dec ecx
push ecx
lea ecx, [ebp + 1]
lea esi, [esp + 0x30]
mov edx, edi
call fcn.0041d510
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x8c], 1
call fcn.00406d80
mov byte [esp + 0x80], 0
cmp dword [esp + 0x44], 0x10
jb 0x41c652
mov edx, dword [esp + 0x30]
push edx
call fcn.0041d58d
add esp, 4
cmp dword [esp + 0x6c], 0
jne 0x41c7a0
sub ebp, 1
jne 0x41c5c2
cmp dword [esp + 0x70], 0x10
jb 0x41c67a
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.0041d58d
add esp, 4
mov edx, dword [esp + 0x14]
test byte [edx + 0x4c], 0x10
je 0x41c7eb
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea eax, [esp + 0x4c]
push eax
call esi
test eax, eax
je 0x41c7eb
xor eax, eax
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
call esi
test eax, eax
je 0x41c6c2
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
fild qword [esp + 0x34]
fst qword [esp + 0x4c]
fmul qword [0x486a30]
call fcn.00440256
lea ecx, [esp + 0x14]
push ecx
mov esi, eax
mov ebx, edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
sub edi, esi
sbb eax, ebx
mov dword [esp + 0x40], eax
cpuid
rdtsc
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], edx
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cpuid
rdtsc
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
xor ecx, ecx
or edx, ecx
mov ecx, dword [esp + 0x28]
xor esi, esi
or esi, eax
xor eax, eax
xor ebp, ebp
or eax, ebx
or ecx, ebp
sub esi, eax
sbb edx, ecx
mov dword [esp + 0x18], edx
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
sub eax, edi
sbb ecx, dword [esp + 0x40]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x34]
or eax, dword [esp + 0x38]
mov dword [esp + 0x48], ecx
je 0x41c7db
fild qword [esp + 0x44]
fdiv qword [esp + 0x4c]
fldz
fucomp st(1)
fnstsw ax
test ah, 0x44
jnp 0x41c7d9
mov dword [esp + 0x14], esi
fild dword [esp + 0x14]
test esi, esi
jge 0x41c78c
fadd qword [0x486a60]
fxch st(1)
fmul qword [0x486a58]
fdivp st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
jmp 0x41c7f1
mov eax, dword [esp + 0x5c]
mov esi, 0x10
cmp dword [esp + 0x70], esi
jae 0x41c7b3
lea eax, [esp + 0x5c]
push eax
call fcn.0043d541
fstp dword [esp + 0x18]
add esp, 4
cmp dword [esp + 0x70], esi
jb 0x41c7d3
mov eax, dword [esp + 0x5c]
push eax
call fcn.0041d58d
add esp, 4
fld dword [esp + 0x14]
jmp 0x41c7f1
fstp st(0)
fld dword [0x486a50]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
jmp 0x41c7f1
fld dword [0x486a50]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0043bc1b
add esp, 0x70
ret