Function at 0x4e03f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x6480b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x1c]
push edi
mov edi, dword [ebp + 0x18]
push edi
mov dword [ebp - 0x1c], edi
call fcn.0050cb10
add esp, 4
cmp eax, dword [0x644bdc]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x30], eax
jne 0x4e06b7
test eax, eax
jne 0x4e0444
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058bb64
mov esp, ebp
pop ebp
ret
cmp dword [0x650c1c], 0
je 0x4e0525
cmp dword [0x650c18], 0
je 0x4e0525
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
cmp esi, dword [0x64f668]
jae 0x4e047a
cmp esi, dword [0x64f66c]
jae 0x4e0522
push 0
lea eax, [ebp - 0x44]
mov dword [ebp - 0x24], 0xd
push eax
push 4
lea eax, [ebp - 0x20]
push eax
push 4
lea eax, [ebp - 0x24]
push eax
push 0x76984
push dword [0x644bdc]
call fcn.0050c9d0
add esp, 0x20
test eax, eax
je 0x4e0501
nop word [eax + eax]
cmp dword [ebp - 0x20], 0
je 0x4e0501
push dword [0x650c14]
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x650c18]
add ecx, esi
cmp ecx, eax
jbe 0x4e0501
cmp eax, esi
jb 0x4e0501
push 0
lea eax, [ebp - 0x44]
push eax
push 4
lea eax, [ebp - 0x20]
push eax
push 4
lea eax, [ebp - 0x24]
push eax
push 0x76984
push dword [0x644bdc]
call fcn.0050c9d0
add esp, 0x20
test eax, eax
jne 0x4e04b0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x650c1c]
or edx, 0xffffffff
add ecx, eax
mov dword [0x64f66c], eax
cmp ecx, eax
cmovb ecx, edx
mov dword [0x64f668], ecx
mov eax, dword [ebp + 0x14]
movzx edi, word [edi + 6]
push ebx
push dword [ebp - 0x1c]
imul edi, eax
lea eax, [ebp - 0x50]
push eax
call fcn.0050d230
mov ecx, dword [ebp + 0xc]
add esp, 0xc
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x15], 0
mov dword [ebp - 0x2c], ecx
nop
mov esi, dword [ebp - 0x50]
cmp edi, esi
ja 0x4e055d
mov byte [ebp - 0x15], 1
mov esi, edi
mov eax, dword [ebp - 0x1c]
xor edx, edx
push 0
movzx ecx, word [eax + 6]
mov eax, esi
div ecx
mov ecx, dword [ebp - 0x2c]
mov edx, eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], edx
add edx, ecx
mov dword [ebp - 0x10], eax
mov ecx, 0
adc ecx, eax
mov dword [ebp - 0x44], edx
add edx, 0xffffffff
mov dword [ebp - 0x24], ecx
mov eax, ecx
mov dword [ebp - 0xc], edx
adc eax, 0xffffffff
mov dword [ebp - 8], eax
lea eax, [ebp - 0x38]
push eax
push esi
push dword [ebp - 0x4c]
lea eax, [ebp - 0x14]
push 0x10
push eax
push 0x7698a
push dword [ebp - 0x1c]
call fcn.0050c9a0
add esp, 0x20
mov dword [ebp - 0x40], eax
test eax, eax
je 0x4e05f5
cmp dword [ebp - 0x20], 0
je 0x4e05d4
push dword [ebp - 0x38]
push dword [ebp - 0x4c]
push ebx
call fcn.005c9900
add esp, 0xc
cmp byte [ebp - 0x15], 0
jne 0x4e0603
mov eax, dword [ebp - 0x44]
add ebx, esi
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x34]
sub dword [ebp - 0x30], eax
sub edi, esi
jmp 0x4e0550
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [ebp - 0x1c]
mov dword [edi + 0x38], eax
jmp 0x4e0606
mov edi, dword [ebp - 0x1c]
cmp dword [ebp - 0x20], 0
je 0x4e0611
call fcn.0050e610
push 0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x3c], 1
push eax
push 4
lea eax, [ebp - 0x48]
push eax
push 4
lea eax, [ebp - 0x3c]
push eax
push 0x76984
push edi
call fcn.0050c9a0
add esp, 0x20
test byte [ebp - 0x48], 2
je 0x4e06aa
cmp dword [0x650bb0], 1
mov dword [0x650bb4], 0xcc
jbe 0x4e06aa
push 0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x3c], 9
push eax
push 4
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0
push eax
push 4
lea eax, [ebp - 0x3c]
push eax
push 0x76984
push edi
call fcn.0050c9a0
add esp, 0x20
test eax, eax
jne 0x4e068a
mov dword [0x650bb8], eax
jmp 0x4e06aa
mov eax, dword [ebp - 0x34]
cmp eax, dword [0x650bb8]
je 0x4e06aa
push eax
push str.PHYLock_Error__04Xh
push 4
mov dword [0x650bb8], eax
call fcn.004da370
add esp, 0xc
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x4e0757
jmp 0x4e0712
push esi
push 1
push edi
push eax
mov eax, dword [ebp + 0xc]
push ebx
push eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
push eax
mov dword [ebp - 0x2c], eax
call fcn.0050d830
add esp, 0x1c
mov dword [ebp - 0x40], eax
test eax, eax
jne 0x4e0757
cmp byte [0x650c74], al
je 0x4e06eb
cmp dword [0x650c6c], 0xffffffff
jmp 0x4e06f1
cmp dword [0x650c3c], eax
setne al
test al, al
je 0x4e0712
cmp dword [edi + 0x38], 0x15
jne 0x4e0712
mov dword [0x650bb4], 0xcf
mov dword [0x64f418], 0
mov ebx, dword [ebp - 0x1c]
movzx eax, word [edi + 6]
mov ecx, dword [ebp - 0x28]
cdq
push dword [ebx + 0x28]
mov esi, edx
mov edi, eax
push ecx
mov ecx, dword [ebp - 0x2c]
push ecx
push esi
push edi
call fcn.0058c440
push edx
push eax
mov eax, esi
mul dword [ebp - 0x30]
mov ecx, eax
mov eax, edi
mul dword [ebp - 0x30]
add ecx, edx
push ecx
push eax
push dword [ebx + 0x38]
push str.Windows_Error__Xh_reading__llu_bytes_from_offset__llu_on_drive__u
push 0x1e
call fcn.004da370
mov eax, dword [ebp - 0x40]
add esp, 0x20
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0058bb64
mov esp, ebp
pop ebp
ret