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

Disassembly:
push 0xffffffffffffffff
push 0x49f6f0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4de6d0]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4de6d0]
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 0x4d03e4
add edi, 0x20
push edi
xor eax, eax
call fcn.00415130
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41c65a
cmp ebx, 4
jbe 0x41c65a
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 0x41c65a
cmp ebp, dword [edi + 0x14]
jbe 0x41c5ac
call fcn.0043c3e7
mov esi, 0x10
cmp dword [edi + 0x18], esi
jb 0x41c5bb
mov eax, dword [edi + 4]
jmp 0x41c5be
lea eax, [edi + 4]
movsx eax, byte [eax + ebp]
push eax
call fcn.0043d61d
add esp, 4
test eax, eax
jne 0x41c63d
cmp ebp, dword [edi + 0x14]
jbe 0x41c5d9
call fcn.0043c3e7
cmp dword [edi + 0x18], esi
jb 0x41c5e3
mov eax, dword [edi + 4]
jmp 0x41c5e6
lea eax, [edi + 4]
cmp byte [eax + ebp], 0x2e
je 0x41c63d
mov ecx, ebx
sub ecx, ebp
dec ecx
push ecx
lea ecx, [ebp + 1]
lea esi, [esp + 0x30]
mov edx, edi
call fcn.0041d4a0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x8c], 1
call fcn.00406e90
mov byte [esp + 0x80], 0
cmp dword [esp + 0x44], 0x10
jb 0x41c632
mov edx, dword [esp + 0x30]
push edx
call fcn.0041d512
add esp, 4
cmp dword [esp + 0x6c], 0
jne 0x41c780
sub ebp, 1
jne 0x41c5a2
cmp dword [esp + 0x70], 0x10
jb 0x41c65a
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.0041d512
add esp, 4
mov edx, dword [esp + 0x14]
test byte [edx + 0x4c], 0x10
je 0x41c7cb
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea eax, [esp + 0x4c]
push eax
call esi
test eax, eax
je 0x41c7cb
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 0x41c6a2
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 [0x4d0410]
call fcn.004402e6
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 0x41c7bb
fild qword [esp + 0x44]
fdiv qword [esp + 0x4c]
fldz
fucomp st(1)
fnstsw ax
test ah, 0x44
jnp 0x41c7b9
mov dword [esp + 0x14], esi
fild dword [esp + 0x14]
test esi, esi
jge 0x41c76c
fadd qword [0x4d0440]
fxch st(1)
fmul qword [0x4d0438]
fdivp st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
jmp 0x41c7d1
mov eax, dword [esp + 0x5c]
mov esi, 0x10
cmp dword [esp + 0x70], esi
jae 0x41c793
lea eax, [esp + 0x5c]
push eax
call fcn.0043d775
fstp dword [esp + 0x18]
add esp, 4
cmp dword [esp + 0x70], esi
jb 0x41c7b3
mov eax, dword [esp + 0x5c]
push eax
call fcn.0041d512
add esp, 4
fld dword [esp + 0x14]
jmp 0x41c7d1
fstp st(0)
fld dword [0x4d0434]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
jmp 0x41c7d1
fld dword [0x4d0434]
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.0043ba5f
add esp, 0x70
ret