Function at 0x415ac0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50367d
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x557200]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [edi + 0x10]
lea ebx, [edi + 0xc]
sub edx, dword [ebx]
mov eax, 0x2aaaaaab
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x415c79
push 0x21
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0x54]
push str.LogFileMonitorManager::StartWatch
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
call fcn.004084c0
push 0x5c
push str.D:_MyProjectMOffice4.0moffice_4.0_agent_win__SourceLoggerLogFileMonitorManager.cpp
mov dword [ebp - 4], 0
call fcn.004b69f9
add esp, 8
test eax, eax
je 0x415b57
push 0x5c
push str.D:_MyProjectMOffice4.0moffice_4.0_agent_win__SourceLoggerLogFileMonitorManager.cpp
call fcn.004b69f9
add esp, 8
lea edx, [eax + 2]
jmp 0x415b5c
mov edx, str.D:_MyProjectMOffice4.0moffice_4.0_agent_win__SourceLoggerLogFileMonitorManager.cpp
mov ecx, edx
mov dword [ebp - 0x2c], 0
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415b80
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.004084c0
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0xf
push str.WatchDirs_empty
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.004084c0
mov byte [ebp - 4], 2
call fcn.00408db0
push 0x120
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x2c]
push eax
push 6
push dword [0x560f9c]
call fcn.0040d3e0
mov edx, dword [ebp - 0x18]
add esp, 0x2c
cmp edx, 8
jb 0x415c29
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x415c1f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x415deb
push edx
push ecx
call fcn.004b51c1
add esp, 8
mov edx, dword [ebp - 0x40]
cmp edx, 8
jb 0x415dd9
mov ecx, dword [ebp - 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x415c5d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x415deb
push edx
push ecx
call fcn.004b51c1
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00415f50
cmp dword [edi + 8], 0
jne 0x415d68
push 0x58
call fcn.004b4f40
push 0x58
mov esi, eax
push 0
push esi
mov dword [ebp - 0x14], esi
call fcn.004b73e0
mov dword [esi + 4], 0
add esp, 0x10
mov dword [esi + 8], 0
mov ecx, esi
mov dword [esi], vtable.LogFileMonitorThread.0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x4c], 0
push ebx
mov dword [edi + 8], esi
call fcn.00415400
mov ecx, dword [edi + 8]
lea eax, [edi + 0x18]
push eax
call fcn.00415650
mov ecx, dword [edi + 8]
mov eax, dword [edi + 0x24]
mov dword [ebp - 0x18], 0
mov dword [ecx + 0x24], eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 3
mov ecx, dword [edi + 0x4c]
test ecx, ecx
je 0x415d2c
mov eax, dword [ecx]
lea edx, [ebp - 0x3c]
push edx
call dword [eax]
mov dword [ebp - 0x18], eax
mov ecx, dword [edi + 8]
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], 4
push eax
add ecx, 0x28
call fcn.00416010
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x415d68
mov edx, dword [ecx]
lea eax, [ebp - 0x3c]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x18], 0
mov esi, dword [edi + 8]
mov byte [ebp - 0x10], 1
mov al, byte [ebp - 0x10]
mov byte [esi + 0x50], al
cmp byte [esi + 0x50], 0
jne 0x415d9d
mov ecx, dword [esi + 0x54]
test ecx, ecx
je 0x415d9d
mov ecx, dword [ecx]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esi + 0x54]
test ecx, ecx
je 0x415d96
push ecx
call fcn.00415350
mov dword [esi + 0x54], 0
mov esi, dword [edi + 8]
mov eax, dword [esi + 4]
test eax, eax
je 0x415dc0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x415dd9
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi + 8]
push eax
push 0
push esi
push 0x412ad0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004b9cae
int3