Function at 0x42bcf0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4605cf
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x473b80]
xor eax, esp
mov dword [esp + 0x190], eax
push ebx
push esi
push edi
mov eax, dword [0x473b80]
xor eax, esp
push eax
lea eax, [esp + 0x1a8]
mov dword fs:[0], eax
mov ebx, ecx
cmp byte [ebx + 8], 0
mov dword [esp + 0x14], ebx
je 0x42bd43
mov al, 1
jmp 0x42c185
push 4
push 0x1000
push 0x1000
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebx + 0x10], eax
cmp eax, edi
jne 0x42bd9f
push 6
push 4
lea esi, [esp + 0x74]
call fcn.00405930
push str.Unable_to_allocate_virtual_memory_for_a_device_monitor.
mov esi, eax
mov dword [esp + 0x1b4], edi
call fcn.00405b80
add esp, 4
lea esi, [esp + 0x6c]
call fcn.00405e90
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x24], eax
mov byte [ebx + 8], 0
xor al, al
jmp 0x42c185
cmp dword [ebx + 0x4e4], edi
jne 0x42be56
push 0xc
xor eax, eax
push str.drivemon.dat
lea ecx, [esp + 0x58]
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], edi
mov word [esp + 0x58], ax
call fcn.00403570
mov dword [esp + 0x1b0], 1
mov ecx, dword [0x477d70]
call fcn.00415b80
lea edi, [esp + 0x50]
mov edx, eax
lea esi, [esp + 0x18]
call fcn.00404240
lea ecx, [ebx + 0x4d4]
push eax
mov byte [esp + 0x1b4], 2
call fcn.00403f40
mov esi, 8
cmp dword [esp + 0x2c], esi
jb 0x42be1f
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00444884
add esp, 4
xor edx, edx
mov dword [esp + 0x1b0], 0xffffffff
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], dx
cmp dword [esp + 0x64], esi
jb 0x42be5b
mov eax, dword [esp + 0x50]
push eax
call fcn.00444884
add esp, 4
jmp 0x42be5b
mov esi, 8
cmp dword [ebx + 0x51c], 0
jne 0x42bea2
lea ecx, [esp + 0x18]
call fcn.0040eee0
push eax
lea ecx, [ebx + 0x50c]
mov dword [esp + 0x1b4], 3
call fcn.00403f40
mov dword [esp + 0x1b0], 0xffffffff
cmp dword [esp + 0x2c], esi
jb 0x42bea2
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00444884
add esp, 4
push 4
push 2
lea esi, [esp + 0x74]
call fcn.00405930
lea edi, [ebx + 0x4d4]
mov dword [esp + 0x1b0], 4
cmp dword [edi + 0x14], 8
jb 0x42beca
mov ecx, dword [edi]
jmp 0x42becc
mov ecx, edi
push ecx
push str.Log_filename:___s_
mov esi, eax
call fcn.00405b80
add esp, 8
lea esi, [esp + 0x6c]
mov dword [esp + 0x1b0], 0xffffffff
call fcn.00405e90
cmp dword [edi + 0x14], 8
jb 0x42bef8
mov edi, dword [edi]
push 0
push 0x80000080
push 4
push 0
push 0
push 0x10000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebx + 0xc], eax
cmp eax, 0xffffffff
jne 0x42bf72
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 6
push 4
lea esi, [esp + 0x74]
mov dword [ebx + 0x24], eax
call fcn.00405930
mov dword [esp + 0x1b0], 5
mov edx, dword [ebx + 0x24]
push edx
push str.Device_monitor:_unable_to_create_log_file._Error_code:__d
mov esi, eax
call fcn.00405b80
add esp, 8
lea esi, [esp + 0x6c]
call fcn.00405e90
mov eax, dword [ebx + 0x10]
push 0x8000
push 0
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov byte [ebx + 8], 0
xor al, al
jmp 0x42c185
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea ecx, [ebx + 0x20]
push ecx
push 4
lea edx, [ebx + 0x14]
push edx
push 0x42bbb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebx + 0x1c], eax
test eax, eax
jne 0x42bfeb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 6
push 4
lea esi, [esp + 0x74]
mov dword [ebx + 0x24], eax
call fcn.00405930
mov dword [esp + 0x1b0], 6
mov ecx, dword [ebx + 0x24]
push ecx
push str.Unable_to_create_device_monitor_source_thread._Error_code:__d
mov esi, eax
call fcn.00405b80
add esp, 8
lea esi, [esp + 0x6c]
call fcn.00405e90
mov edx, dword [ebx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x42bf56
push str.devFlt.dat
lea ecx, [esp + 0x1c]
call fcn.00403660
mov dword [esp + 0x1b0], 7
mov ebx, dword [0x477d70]
call fcn.00415a80
lea edi, [esp + 0x18]
mov edx, eax
lea esi, [esp + 0x34]
call fcn.00404240
mov bl, 9
mov ecx, edi
mov byte [esp + 0x1b0], bl
call fcn.00404210
push 4
push 2
lea esi, [esp + 0x74]
call fcn.00405930
mov byte [esp + 0x1b0], 0xa
mov ecx, dword [esp + 0x34]
mov edi, 8
cmp dword [esp + 0x48], edi
jae 0x42c056
lea ecx, [esp + 0x34]
push ecx
push str.Device_filter_path:___s_
mov esi, eax
call fcn.00405b80
add esp, 8
lea esi, [esp + 0x6c]
mov byte [esp + 0x1b0], bl
call fcn.00405e90
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], edi
jae 0x42c084
lea eax, [esp + 0x34]
mov edi, dword [esp + 0x14]
push eax
mov esi, edi
call fcn.0042ea40
test al, al
jne 0x42c0d2
push 6
push 4
lea esi, [esp + 0x74]
call fcn.00405930
mov esi, eax
mov byte [esp + 0x1b0], 0xb
mov edx, dword [edi]
mov eax, dword [edx + 0x14]
mov ecx, edi
call eax
push eax
push str.Filter_load_failed._Error_code:__d
call fcn.00405b80
add esp, 8
lea esi, [esp + 0x6c]
mov byte [esp + 0x1b0], bl
call fcn.00405e90
mov ecx, edi
call fcn.0042db40
test al, al
jne 0x42c117
push 4
push 2
lea esi, [esp + 0x74]
call fcn.00405930
push str.Disk_list_load_failed.
mov esi, eax
mov byte [esp + 0x1b4], 0xc
call fcn.00405b80
add esp, 4
lea esi, [esp + 0x6c]
mov byte [esp + 0x1b0], bl
call fcn.00405e90
push 0
push 1
jmp 0x42c11b
push 0
push 0
mov ecx, edi
call fcn.0042cc20
mov ecx, edi
call fcn.0042e770
mov ecx, edi
call fcn.0042e0b0
push 4
push 2
lea esi, [esp + 0x10c]
call fcn.00405930
push str.Device_monitor_started.
mov esi, eax
mov byte [esp + 0x1b4], 0xd
call fcn.00405b80
add esp, 4
lea esi, [esp + 0x104]
call fcn.00405e90
mov ecx, dword [edi + 0x1c]
push ecx
mov dword [0x477d2c], edi
mov byte [edi + 8], 1
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov bl, byte [edi + 8]
lea ecx, [esp + 0x34]
call fcn.00404210
mov al, bl
mov ecx, dword [esp + 0x1a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.00444627
mov esp, ebp
pop ebp
ret