Function at 0x455af0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x587a71
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x615000]
xor eax, ebp
mov dword [ebp - 0x24], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x12c], ecx
mov eax, dword [ebp - 0x12c]
cmp dword [eax], 0
jne 0x455b45
push str.File_monitor_already_running__out_n
push 0x5e6b14
call fcn.0040c050
add esp, 8
xor eax, eax
jmp 0x455f65
push 0x63b3ec
mov ecx, dword [ebp - 0x12c]
add ecx, 0x148
call fcn.00455f90
mov ecx, dword [ebp - 0x12c]
add ecx, 0x148
call fcn.00459250
movzx ecx, al
test ecx, ecx
je 0x455b8c
push str.File_monitor_rules_empty__out_n
push 0x5e6b74
call fcn.0040c050
add esp, 8
xor eax, eax
jmp 0x455f65
mov edx, dword [ebp - 0x12c]
add edx, 0x10c
push edx
call fcn.0040d910
add esp, 4
test eax, eax
jne 0x455bbb
push 0x5e6b90
mov ecx, dword [ebp - 0x12c]
add ecx, 0x10c
call fcn.00405fb0
push 0x104
mov eax, dword [ebp - 0x12c]
add eax, 8
push eax
call fcn.004020c0
add esp, 8
push 0x5e6b9c
push 0x104
mov ecx, dword [ebp - 0x12c]
add ecx, 8
push ecx
call fcn.0055c560
add esp, 0xc
mov dword [ebp - 0x1c], 0x104
mov dword [ebp - 0x18], 0xffffffff
lea edx, [ebp - 0x18]
push edx
call fcn.00401bb0
add esp, 4
test eax, eax
jne 0x455c2a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Err:_CFileMon::StartFileMonitor__GetCurrActiveSessionId__error_d
push 0x5e6c30
call fcn.0040c050
add esp, 0xc
jmp 0x455d60
lea ecx, [ebp - 0x94]
call fcn.00432640
mov dword [ebp - 4], 0
lea eax, [ebp - 0x94]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00413620
add esp, 8
test eax, eax
jne 0x455c75
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [ebp - 0x18]
push edx
push str.Err:_CFileMon::StartFileMonitor__QuerySessionInfoById__SessionID_u__error_d
push 0x5e6cf0
call fcn.0040c050
add esp, 0x10
jmp 0x455d4e
call fcn.00402270
mov dword [ebp - 0xa0], eax
push 0x104
mov eax, dword [ebp - 0x12c]
add eax, 8
push eax
call fcn.004020c0
add esp, 8
lea ecx, [ebp - 0x70]
call fcn.00406110
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0
jne 0x455cba
mov dword [ebp - 0x130], 0
jmp 0x455d30
mov ecx, dword [ebp - 0x9c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0x3fffffff
jle 0x455ce8
mov dword [ebp - 0x134], 0
jmp 0x455d24
mov eax, dword [ebp - 0x98]
shl eax, 1
call fcn.0056a8e0
mov dword [ebp - 0x138], esp
mov edx, dword [ebp - 0xa0]
push edx
mov eax, dword [ebp - 0x98]
shl eax, 1
push eax
mov ecx, dword [ebp - 0x9c]
push ecx
mov edx, dword [ebp - 0x138]
push edx
call fcn.004022d0
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x130], eax
mov ecx, dword [ebp - 0x130]
push ecx
push 0x104
mov edx, dword [ebp - 0x12c]
add edx, 8
push edx
call fcn.0055c560
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00432670
mov ecx, dword [ebp - 0x12c]
add ecx, 0x128
call fcn.00459500
lea ecx, [ebp - 0x14]
call fcn.0044ef50
lea eax, [ebp - 0xb8]
push eax
mov ecx, dword [ebp - 0x12c]
add ecx, 0x148
call fcn.00442990
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
jmp 0x455daf
push 0
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x14]
call fcn.00459660
lea ecx, [ebp - 0xc8]
push ecx
mov ecx, dword [ebp - 0x12c]
add ecx, 0x148
call fcn.00459300
push eax
lea ecx, [ebp - 0x14]
call fcn.00460350
movzx edx, al
test edx, edx
je 0x455edc
mov dword [ebp - 0xb0], 0xffffffff
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
sub esp, 0xc
mov eax, esp
mov ecx, dword [ebp - 0xb0]
mov dword [eax], ecx
mov edx, dword [ebp - 0xac]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0xa8]
mov dword [eax + 8], ecx
lea ecx, [ebp - 0x14]
call fcn.00441480
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xf4], esp
push eax
call fcn.00407f00
mov dword [ebp - 0x13c], eax
lea edx, [ebp - 0x11c]
push edx
call fcn.0045e7c0
add esp, 0x2c
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x144], eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x144]
push ecx
lea ecx, [ebp - 0xf0]
call fcn.0045e830
mov byte [ebp - 4], 2
lea edx, [ebp - 0xf0]
push edx
lea eax, [ebp - 0x128]
push eax
mov ecx, dword [ebp - 0x12c]
add ecx, 0x128
call fcn.00459330
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xf0]
call fcn.004414e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x11c]
call fcn.004414e0
lea ecx, [ebp - 0x14]
call fcn.00441480
mov ecx, eax
call fcn.00406110
push eax
push str.Load_filemon_rule__s
push 0x5e6d38
call fcn.0040c050
add esp, 0xc
jmp 0x455d9e
mov ecx, dword [ebp - 0x12c]
mov dword [ecx], 0
mov dword [ebp - 0x20], 0
lea edx, [ebp - 0x20]
push edx
push 0
mov eax, dword [ebp - 0x12c]
add eax, 0x148
push eax
push 0x456450
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x12c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x12c]
cmp dword [edx + 4], 0
jne 0x455f4e
mov eax, dword [ebp - 0x12c]
mov dword [eax], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Create_task_generate_work_thread_fail__err_d__out_n
push 0x5e6dc4
call fcn.0040c050
add esp, 0xc
xor eax, eax
jmp 0x455f65
push str.Start_file_monitor_successed__out_n
push str.CFileMon::StartFileMonitor
call fcn.0040c050
add esp, 8
mov eax, 1
lea esp, [ebp - 0x148]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.0055abea
mov esp, ebp
pop ebp
ret