Function at 0x411d80
Capabilities:
Check if file exists
Create thread
Resume thread

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0x68
push 0xffffffffffffffff
push 0x56c84a
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x601328]
xor eax, ebp
mov dword [ebp + 0x64], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
lea eax, [edi + 0xc]
push eax
push 4
push edi
xor ebx, ebx
push 0x494cc3
push ebx
mov esi, edx
push ebx
mov dword [ebp], edi
mov dword [ebp + 4], esi
mov dword [edi], vtable.ActiveObject.0
mov dword [edi + 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 8], eax
push 0x10
push ebx
mov dword [ebp - 4], ebx
push esi
mov dword [edi], vtable.FolderWatcher.0
call dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationA]
mov dword [edi + 0x10], eax
mov ecx, dword [ebp + 0x70]
mov byte [ebp - 4], 1
test byte [0x605dc4], 1
mov dword [edi + 0x18], ebx
mov dword [edi + 0x20], ecx
lea esi, [ebx + 7]
jne 0x411e4b
or dword [0x605dc4], 1
xor edx, edx
push 0x605dac
mov byte [0x605d8c], bl
mov dword [0x605da8], esi
mov dword [0x605da4], ebx
mov word [0x605d94], dx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x58dfb5
call fcn.00547e47
add esp, 4
cmp byte [0x605d8c], bl
jne 0x411ed7
lea eax, [ebp - 0x98]
push eax
call fcn.00409b60
lea ecx, [ebp - 0x90]
push str.FolderWatcher::FolderWatcher____starts
push ecx
mov byte [ebp - 4], 2
call fcn.00407390
add esp, 8
lea ecx, [ebp + 0x48]
lea eax, [ebp - 0x98]
call fcn.00407170
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], 3
call fcn.00406a80
cmp dword [ebp + 0x60], 8
jb 0x411ea7
mov edx, dword [ebp + 0x4c]
push edx
call fcn.00546771
add esp, 4
xor eax, eax
lea ecx, [ebp - 0x44]
mov dword [ebp + 0x60], esi
mov dword [ebp + 0x5c], ebx
mov word [ebp + 0x4c], ax
mov byte [ebp - 4], 1
call fcn.004075b0
lea ecx, [ebp - 0x44]
push ecx
mov dword [ebp - 0x44], vtable.std::ios_base.0
call fcn.0054517b
add esp, 4
jmp 0x412060
lea edx, [ebp - 0x90]
push edx
mov byte [ebp - 4], 4
call fcn.004068d0
mov byte [ebp - 4], 5
test byte [0x605dc4], 1
jne 0x411f2d
or dword [0x605dc4], 1
xor eax, eax
push 0x605dac
mov byte [0x605d8c], bl
mov dword [0x605da8], esi
mov dword [0x605da4], ebx
mov word [0x605d94], ax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x58dfb5
call fcn.00547e47
add esp, 4
lea esi, [ebp + 0x48]
mov eax, 0x605d8c
call fcn.00406720
mov byte [ebp - 4], 6
cmp dword [eax + 0x18], 8
jb 0x411f49
mov esi, dword [eax + 4]
jmp 0x411f4c
lea esi, [eax + 4]
lea ecx, [ebp - 0x90]
push 0x5950f8
push ecx
call fcn.00407390
add esp, 8
push esi
push eax
call fcn.00407390
add esp, 8
push 0x5950f0
push eax
call fcn.00407390
add esp, 8
push str.FolderWatcher::FolderWatcher____starts
push eax
call fcn.00407390
mov esi, 8
add esp, 8
mov byte [ebp - 4], 5
cmp dword [ebp + 0x60], esi
jb 0x411fa0
mov edx, dword [ebp + 0x4c]
push edx
call fcn.00546771
add esp, 4
lea eax, [ebp + 8]
push eax
call sub.log4cplusU.dll_public:_static_class_log4cplus::Logger___cdecl_log4cplus::Logger::getRoot_void_
add esp, 4
push 0x2710
lea ecx, [ebp + 8]
mov byte [ebp - 4], 7
call sub.log4cplusU.dll_public:_bool___thiscall_log4cplus::Logger::isEnabledFor_int_const
cmp al, bl
je 0x411ff9
lea ecx, [ebp + 0x48]
lea eax, [ebp - 0x90]
call fcn.00406700
push 0x4e
push str.d:devcommoninclude..FolderWatcher.h
push eax
push 0x2710
lea ecx, [ebp + 8]
mov byte [ebp - 4], 8
call sub.log4cplusU.dll_public:_void___thiscall_log4cplus::Logger::forcedLog_int__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___char_const___int_const
cmp dword [ebp + 0x60], esi
jb 0x411ff9
mov ecx, dword [ebp + 0x4c]
push ecx
call fcn.00546771
add esp, 4
lea ecx, [ebp + 8]
mov byte [ebp - 4], 5
call sub.log4cplusU.dll_public_virtual:_void___thiscall_log4cplus::Logger::destructor_void_
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call fcn.00406750
lea edx, [ebp - 0x44]
push edx
mov dword [ebp - 0x44], vtable.std::ios_base.0
call fcn.0054517b
add esp, 4
mov dword [ebp - 4], 1
jmp 0x412060
mov eax, 7
xor ecx, ecx
mov dword [ebp + 0x28], eax
mov dword [ebp + 0x24], ebx
mov word [ebp + 0x14], cx
xor edx, edx
mov dword [ebp + 0x44], eax
mov dword [ebp + 0x40], ebx
mov word [ebp + 0x30], dx
mov ecx, dword [ebp + 4]
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 0xc
push 3
mov dword [ebp - 0x114], eax
push ecx
lea eax, [ebp - 0x114]
call fcn.00411a80
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x114]
mov ecx, eax
lea esi, [ecx + 2]
lea ecx, [ecx]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x4120b0
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp + 0x2c]
call fcn.00406bf0
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x114]
lea edx, [ebp - 0x110]
cmp eax, edx
je 0x4120e5
push eax
call fcn.005472c2
add esp, 4
cmp dword [ebp + 0x44], 8
mov esi, dword [ebp + 0x30]
jae 0x4120f1
lea esi, [ebp + 0x30]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41211b
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x412101
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea esi, [ebp + 0x10]
call fcn.00406bf0
mov eax, dword [ebp + 0x14]
mov esi, 8
cmp dword [ebp + 0x28], esi
jae 0x41212b
lea eax, [ebp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
cmp al, bl
jne 0x4123c9
test byte [0x605dc4], 1
mov esi, 7
jne 0x412186
or dword [0x605dc4], 1
xor eax, eax
push 0x605dac
mov byte [0x605d8c], bl
mov dword [0x605da8], esi
mov dword [0x605da4], ebx
mov word [0x605d94], ax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x58dfb5
call fcn.00547e47
add esp, 4
cmp byte [0x605d8c], bl
jne 0x41222d
lea ecx, [ebp - 0x98]
push ecx
call fcn.00409b60
lea edx, [ebp + 0x2c]
push edx
push 0x5967ac
lea eax, [ebp - 0x90]
push str.FolderWatcher::FolderWatcher____folder_not_exists:
push eax
mov byte [ebp - 4], 0xe
call fcn.00407390
add esp, 8
push eax
call fcn.00407390
add esp, 8
push eax
call fcn.00411b20
add esp, 8
lea ecx, [ebp + 0x48]
lea eax, [ebp - 0x98]
call fcn.00407170
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], 0xf
call fcn.00406a80
cmp dword [ebp + 0x60], 8
jb 0x4121fd
mov ecx, dword [ebp + 0x4c]
push ecx
call fcn.00546771
add esp, 4
xor edx, edx
lea ecx, [ebp - 0x44]
mov dword [ebp + 0x60], esi
mov dword [ebp + 0x5c], ebx
mov word [ebp + 0x4c], dx
mov byte [ebp - 4], 0xc
call fcn.004075b0
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x44], vtable.std::ios_base.0
call fcn.0054517b
add esp, 4
jmp 0x4123c4
lea ecx, [ebp - 0x90]
push ecx
mov byte [ebp - 4], 0x10
call fcn.004068d0
mov byte [ebp - 4], 0x11
test byte [0x605dc4], 1
jne 0x412284
or dword [0x605dc4], 1
xor edx, edx
push 0x605dac
mov byte [0x605d8c], bl
mov dword [0x605da8], esi
mov dword [0x605da4], ebx
mov word [0x605d94], dx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x58dfb5
call fcn.00547e47
add esp, 4
lea esi, [ebp + 0x48]
mov eax, 0x605d8c
call fcn.00406720
mov byte [ebp - 4], 0x12
cmp dword [eax + 0x18], 8
jb 0x4122a0
mov esi, dword [eax + 4]
jmp 0x4122a3
lea esi, [eax + 4]
lea eax, [ebp - 0x90]
push 0x5950f8
push eax
call fcn.00407390
add esp, 8
push esi
push eax
call fcn.00407390
add esp, 8
push 0x5950f0
push eax
call fcn.00407390
add esp, 8
push str.FolderWatcher::FolderWatcher____folder_not_exists:
push eax
call fcn.00407390
add esp, 8
push 0x5967ac
push eax
call fcn.00407390
add esp, 8
lea ecx, [ebp + 0x2c]
push ecx
push eax
call fcn.00411b20
mov esi, 8
add esp, 8
mov byte [ebp - 4], 0x11
cmp dword [ebp + 0x60], esi
jb 0x412312
mov edx, dword [ebp + 0x4c]
push edx
call fcn.00546771
add esp, 4
lea eax, [ebp + 8]
push eax
call sub.log4cplusU.dll_public:_static_class_log4cplus::Logger___cdecl_log4cplus::Logger::getRoot_void_
add esp, 4
push 0x2710
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x13
call sub.log4cplusU.dll_public:_bool___thiscall_log4cplus::Logger::isEnabledFor_int_const
cmp al, bl
je 0x41236b
lea ecx, [ebp + 0x48]
lea eax, [ebp - 0x90]
call fcn.00406700
push 0x58
push str.d:devcommoninclude..FolderWatcher.h
push eax
push 0x2710
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x14
call sub.log4cplusU.dll_public:_void___thiscall_log4cplus::Logger::forcedLog_int__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___char_const___int_const
cmp dword [ebp + 0x60], esi
jb 0x41236b
mov ecx, dword [ebp + 0x4c]
push ecx
call fcn.00546771
add esp, 4
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x11
call sub.log4cplusU.dll_public_virtual:_void___thiscall_log4cplus::Logger::destructor_void_
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x10
call fcn.00406750
lea edx, [ebp - 0x44]
push edx
mov dword [ebp - 0x44], vtable.std::ios_base.0
call fcn.0054517b
add esp, 4
jmp 0x4123c4
mov esi, 8
mov eax, dword [ebp + 4]
mov ecx, edi
sub ecx, eax
mov byte [edi + 0x1c], 1
lea edx, [ecx + 0x24]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x4123d7
mov edx, dword [edi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp dword [ebp + 0x44], esi
jb 0x4123fc
mov eax, dword [ebp + 0x30]
push eax
call fcn.00546771
add esp, 4
xor ecx, ecx
mov dword [ebp + 0x44], 7
mov dword [ebp + 0x40], ebx
mov word [ebp + 0x30], cx
cmp dword [ebp + 0x28], esi
jb 0x41241d
mov edx, dword [ebp + 0x14]
push edx
call fcn.00546771
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x64]
xor ecx, ebp
call fcn.0054677c
add ebp, 0x68
mov esp, ebp
pop ebp
ret 4