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

Disassembly:
sub esp, 0x40
mov eax, dword [0x596fb8]
xor eax, esp
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x44]
push ebx
push ebp
push esi
push edi
mov ebx, ecx
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edi, edi
cmp dword [ebx + 0x64], edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], edi
jbe 0x4bcbce
mov ecx, dword [ebx + 0x60]
mov esi, dword [ecx + edi*4]
mov eax, dword [esi + 0x44]
test eax, eax
je 0x4bc9e1
mov edx, dword [esp + 0x18]
sub edx, dword [esi + 0x48]
cmp edx, eax
jb 0x4bcbaa
mov eax, dword [esi + 0x64]
cmp eax, 2
mov dword [esi + 0x44], 0
jne 0x4bca5c
mov edx, dword [esi + 0x3c]
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esi + 0x4c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x4bca46
mov eax, dword [esi + 0x68]
lea edi, [esi + 0x68]
push eax
push str.data_available_on_ntfs_monitor__d_n
call fcn.0048f0d0
add esp, 8
mov dword [esi + 0x64], 3
mov dword [esi + 0x44], 0x3e8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
push 1
mov edi, 4
mov dword [esi + 0x48], eax
call fcn.004bb670
jmp 0x4bcbaa
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e4
je 0x4bcbaa
jmp 0x4bcba1
cmp eax, 1
jne 0x4bcbaa
cmp dword [esi + 0x3c], 0xffffffff
jne 0x4bca8f
mov ecx, dword [esi + 0x38]
push eax
push closesocket
push ecx
call fcn.004b1970
mov edx, dword [esi + 0x68]
push eax
push edx
push str.open_volume__u__p_n
mov dword [esi + 0x3c], eax
call fcn.0048f0d0
add esp, 0xc
mov eax, dword [esi + 0x3c]
push eax
push edi
push str.update_monitor__d_read:_hcjoverlapped__d_n
call fcn.0048f0d0
mov edi, dword [esi + 0x3c]
add esp, 0xc
cmp edi, 0xffffffff
je 0x4bcb9b
mov ebp, dword [0x5982c4]
test ebp, ebp
je 0x4bcb31
cmp dword [esi + 0x60], 0
jne 0x4bcb31
push 0x2c
lea ecx, [esp + 0x24]
push 0
push ecx
call fcn.00549e40
add esp, 0xc
push 1
lea edx, [esp + 0x24]
push edx
push ebp
mov dword [esp + 0x2c], 0x2c
mov dword [esp + 0x30], 6
mov dword [esp + 0x38], edi
call fcn.004acc30
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x60], eax
call edi
mov ecx, dword [esi + 0x68]
push eax
mov eax, dword [esi + 0x60]
push eax
push ecx
push str.RegisterDeviceNotification_monitor__d__p__d_n
call fcn.0048f0d0
add esp, 0x10
cmp dword [esi + 0x60], 0
jne 0x4bcb37
call edi
mov edx, dword [esi + 0x68]
push eax
push edx
push str.RegisterDeviceNotification_monitor__d_failed___d_n
push 0xffff0000
call fcn.0048f0f0
add esp, 0x10
jmp 0x4bcb37
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 0x5c], 0
jne 0x4bcb45
call fcn.004ac990
mov dword [esi + 0x5c], eax
xor eax, eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
lea eax, [esi + 0x4c]
push eax
mov eax, dword [esi + 0x3c]
lea ecx, [esi + 0xc]
push ecx
push 9
push esi
push 0x28
lea edx, [esi + 0x10]
push edx
push 0x900bb
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4bcb78
call fcn.004bb750
jmp 0x4bcbaa
call edi
cmp eax, 0x3e5
jne 0x4bcba1
mov ecx, dword [esi + 0x68]
push ecx
push str.READING_NTFS__d_n
call fcn.0048f0d0
add esp, 8
mov dword [esi + 0x64], 2
jmp 0x4bcbaa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, esi
mov edx, ebx
call fcn.004bb790
cmp dword [esi + 0x44], 0
je 0x4bcbba
mov edx, dword [esp + 0x14]
mov dword [edx], 1
mov edi, dword [esp + 0x10]
add edi, 1
cmp edi, dword [ebx + 0x64]
mov dword [esp + 0x10], edi
jb 0x4bc9c5
xor edi, edi
cmp dword [ebx + 0x70], edi
mov dword [esp + 0x10], edi
jbe 0x4bcdcd
lea ecx, [ecx]
mov eax, dword [ebx + 0x6c]
mov esi, dword [eax + edi*4]
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x4bcbfc
mov ecx, dword [esp + 0x18]
sub ecx, dword [esi + 0x50]
cmp ecx, eax
jb 0x4bcda9
mov eax, dword [esi + 0x6c]
cmp eax, 2
mov dword [esi + 0x4c], 0
jne 0x4bcc77
mov ecx, dword [esi + 0x44]
push 0
lea edx, [esp + 0x20]
push edx
lea eax, [esi + 0x54]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x4bcc61
mov edx, dword [esi + 0x70]
lea edi, [esi + 0x70]
push edx
push str.data_available_on_refs_monitor__d_n
call fcn.0048f0d0
add esp, 8
mov dword [esi + 0x6c], 3
mov dword [esi + 0x4c], 0x3e8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
push 3
mov edi, 4
mov dword [esi + 0x50], eax
call fcn.004bb670
jmp 0x4bcda9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e4
je 0x4bcda9
jmp 0x4bcd9f
cmp eax, 1
jne 0x4bcda9
cmp dword [esi + 0x44], 0xffffffff
jne 0x4bcc98
push eax
mov eax, dword [esi + 0x40]
push closesocket
push eax
call fcn.004b1970
mov dword [esi + 0x44], eax
mov ecx, dword [esi + 0x44]
push ecx
push edi
push str.update_monitor__d_read:_hcjoverlapped__d_n
call fcn.0048f0d0
mov edi, dword [esi + 0x44]
add esp, 0xc
cmp edi, 0xffffffff
je 0x4bcd99
mov ebp, dword [0x5982c4]
test ebp, ebp
je 0x4bcd3a
cmp dword [esi + 0x68], 0
jne 0x4bcd3a
push 0x2c
lea edx, [esp + 0x24]
push 0
push edx
call fcn.00549e40
add esp, 0xc
push 1
lea eax, [esp + 0x24]
push eax
push ebp
mov dword [esp + 0x2c], 0x2c
mov dword [esp + 0x30], 6
mov dword [esp + 0x38], edi
call fcn.004acc30
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x68], eax
call edi
mov ecx, dword [esi + 0x68]
mov edx, dword [esi + 0x70]
push eax
push ecx
push edx
push str.RegisterDeviceNotification_monitor__d__p__d_n
call fcn.0048f0d0
add esp, 0x10
cmp dword [esi + 0x68], 0
jne 0x4bcd40
call edi
push eax
mov eax, dword [esi + 0x70]
push eax
push str.RegisterDeviceNotification_monitor__d_failed___d_n
push 0xffff0000
call fcn.0048f0f0
add esp, 0x10
jmp 0x4bcd40
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 0x64], 0
jne 0x4bcd4e
call fcn.004ac990
mov dword [esi + 0x64], eax
lea ecx, [esi + 0x54]
push ecx
mov ecx, dword [esi + 0x44]
lea edx, [esi + 0xc]
push edx
xor eax, eax
push 9
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
push esi
lea eax, [esi + 0x10]
push eax
push ecx
call fcn.004af4f0
test eax, eax
jne 0x4bcc24
call edi
cmp eax, 0x3e5
jne 0x4bcd9f
mov eax, dword [esi + 0x70]
push eax
push str.READING_REFS__d_n
call fcn.0048f0d0
add esp, 8
mov dword [esi + 0x6c], 2
jmp 0x4bcda9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, esi
mov ecx, ebx
call fcn.004bb8d0
cmp dword [esi + 0x4c], 0
je 0x4bcdb9
mov ecx, dword [esp + 0x14]
mov dword [ecx], 1
mov edi, dword [esp + 0x10]
add edi, 1
cmp edi, dword [ebx + 0x70]
mov dword [esp + 0x10], edi
jb 0x4bcbe0
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00549750
add esp, 0x40
ret 4