Function at 0x417b10
Capabilities:
Create directory
Delete directory
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov eax, 0x4880
mov ebp, esp
push edi
push esi
push ebx
call fcn.0057e5f0
sub esp, eax
lea eax, [ebp - 0x482c]
mov dword [esp + 4], eax
mov dword [esp], 0x104
call dword [sym.imp.kernel32.dll_GetTempPathW]
sub esp, 8
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x334
xor eax, eax
test ebx, ebx
setne al
mov dword [esp + 4], str.temp_path_failed_n
mov dword [esp], eax
call fcn.00414890
cmp word [ebp - 0x482c], 0
lea edx, [ebp - 0x482c]
je 0x417b89
lea esi, [esi]
nop
add edx, 2
cmp word [edx], 0
jne 0x417b80
xor eax, eax
lea esi, [esi]
nop
movzx ecx, word [eax + str._boo_]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x417b90
xor eax, eax
lea ebx, [ebp - 0x441c]
lea esi, [esi]
nop
movzx edx, word [ebp + eax - 0x482c]
mov word [ebx + eax], dx
add eax, 2
test dx, dx
jne 0x417bb0
cmp word [ebp - 0x441c], 0
mov edx, ebx
je 0x417bd9
add edx, 2
cmp word [edx], 0
jne 0x417bd0
xor eax, eax
lea esi, [esi]
nop
movzx ecx, word [eax + 0x58a2a8]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x417be0
xor eax, eax
lea esi, [esi]
movzx edx, word [ebp + eax - 0x482c]
mov word [ebp + eax - 0x4624], dx
add eax, 2
test dx, dx
jne 0x417bf8
cmp word [ebp - 0x4624], 0
lea edx, [ebp - 0x4624]
je 0x417c29
add edx, 2
cmp word [edx], 0
jne 0x417c20
xor eax, eax
lea esi, [esi]
nop
movzx ecx, word [eax + 0x58a29c]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x417c30
xor eax, eax
lea esi, [ebp - 0x4214]
lea esi, [esi]
nop
movzx edx, word [ebx + eax]
mov word [esi + eax], dx
add eax, 2
test dx, dx
jne 0x417c50
cmp word [ebp - 0x4214], 0
mov edx, esi
je 0x417c79
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x417c70
xor eax, eax
lea esi, [esi]
nop
movzx ecx, word [eax + 0x58a298]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x417c80
cmp word [ebp - 0x4214], 0
mov edx, esi
je 0x417ca9
nop
add edx, 2
cmp word [edx], 0
jne 0x417ca0
xor eax, eax
lea esi, [esi]
nop
movzx ecx, word [eax + 0x58a29c]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x417cb0
lea eax, [ebp - 0x4624]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_DeleteFileW]
mov dword [ebp - 0x4868], eax
call eax
mov edi, dword [sym.imp.kernel32.dll_RemoveDirectoryW]
sub esp, 4
mov dword [esp], ebx
mov dword [ebp - 0x485c], edi
call edi
lea eax, [ebp - 0x482c]
sub esp, 4
mov dword [esp], eax
call edi
lea eax, [ebp - 0x482c]
sub esp, 4
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_CreateDirectoryW]
mov dword [esp + 4], 0
mov dword [ebp - 0x4854], eax
call eax
sub esp, 8
mov edi, eax
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x344
xor eax, eax
cmp edi, 1
sete al
mov dword [esp + 4], str.failed_to_create_directory_n
mov dword [esp], eax
call fcn.00414890
lea eax, [ebp - 0x482c]
mov dword [esp + 0x18], 0
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_CreateFileW]
mov dword [esp + 0x14], 0x42000000
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 7
mov dword [esp + 4], 0x80000000
mov dword [ebp - 0x4858], eax
call eax
sub esp, 0x1c
mov edi, eax
mov dword [ebp - 0x4850], eax
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x349
xor eax, eax
cmp edi, 0xffffffff
setne al
mov dword [esp + 4], str.failed_to_open_directory_n
mov dword [esp], eax
call fcn.00414890
lea ecx, [ebp - 0x4840]
mov dword [ebp - 0x4840], 0
mov dword [ebp - 0x483c], 0
mov dword [ebp - 0x4838], 0
mov dword [ebp - 0x4834], 0
mov dword [ebp - 0x4830], 0xdeadbeef
mov dword [esp], edi
mov edi, dword [sym.imp.kernel32.dll_ReadDirectoryChangesW]
mov dword [esp + 0x18], ecx
lea ecx, [ebp - 0x400c]
mov dword [esp + 4], ecx
mov dword [esp + 0x1c], 0x414ed0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x4000
mov dword [ebp - 0x4848], edi
call edi
sub esp, 0x20
mov edi, eax
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x34f
xor eax, eax
cmp edi, 1
lea edi, [ebp - 0x4624]
sete al
mov dword [esp + 4], str.ReadDirectoryChangesW_failed_n
mov dword [esp], eax
call fcn.00414890
mov dword [esp], edi
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x40000000
mov eax, dword [ebp - 0x4858]
call eax
sub esp, 0x1c
mov edi, eax
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x352
xor eax, eax
cmp edi, 0xffffffff
setne al
mov dword [esp + 4], 0x589d13
mov dword [esp], eax
call fcn.00414890
mov eax, dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [esp], edi
mov dword [ebp - 0x4860], eax
call eax
mov eax, dword [sym.imp.kernel32.dll_SleepEx]
sub esp, 4
mov dword [esp + 4], 1
mov dword [esp], 0x3e8
mov dword [ebp - 0x4844], eax
call eax
sub esp, 8
mov edi, eax
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x356
xor eax, eax
test edi, edi
setne al
mov dword [esp + 4], str.failed_to_receive_file_creation_event_n
mov dword [esp], eax
call fcn.00414890
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x357
xor eax, eax
mov dword [esp + 4], str.there_should_be_no_more_events_in_buffer_n
mov ecx, dword [ebp - 0x400c]
test ecx, ecx
sete al
mov dword [esp], eax
call fcn.00414890
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x358
mov eax, dword [ebp - 0x4008]
mov dword [esp + 4], str.Action___ld_n
cmp eax, 1
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00414890
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x359
mov edx, dword [ebp - 0x4004]
mov eax, 0x58a29c
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x417fc8
sub eax, 0x58a29c
mov dword [esp + 8], edx
cmp eax, edx
mov dword [esp + 4], str.FileNameLength___ld_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00414890
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x35b
lea eax, [ebp - 0x4000]
mov edx, dword [ebp - 0x4004]
shr eax, 0x10
mov dword [ebp - 0x484c], eax
je 0x418eb0
shr edx, 1
lea eax, [ebp - 0x4000]
mov edi, 0x589fec
mov dword [esp + 4], edx
mov dword [ebp - 0x4864], edx
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x418059
mov edx, dword [ebp - 0x4864]
lea eax, [ebp - 0x4000]
call fcn.004145d0
mov edi, eax
mov eax, 0x58a29c
nop
add eax, 2
cmp word [eax], 0
jne 0x418060
sub eax, 0x58a29c
mov dword [esp + 4], 0x58a29c
mov dword [esp + 8], eax
lea eax, [ebp - 0x4000]
mov dword [esp], eax
call sub.msvcrt.dll_memcmp
mov dword [esp + 8], edi
test eax, eax
mov dword [esp + 4], str.FileName___s_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00414890
lea eax, [ebp - 0x4840]
mov dword [esp + 0x1c], 0x414ed0
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x400c]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x4000
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x4850]
mov dword [esp], eax
mov eax, dword [ebp - 0x4848]
call eax
sub esp, 0x20
mov edi, eax
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x360
xor eax, eax
cmp edi, 1
sete al
mov dword [esp + 4], str.ReadDirectoryChangesW_failed_n
mov dword [esp], eax
call fcn.00414890
mov dword [esp + 4], 0
mov dword [esp], ebx
mov eax, dword [ebp - 0x4854]
call eax
sub esp, 8
mov edi, eax
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x364
xor eax, eax
cmp edi, 1
sete al
mov dword [esp + 4], str.failed_to_create_directory_n
mov dword [esp], eax
call fcn.00414890
lea eax, [ebp - 0x4624]
mov dword [esp + 4], esi
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_MoveFileW]
mov dword [ebp - 0x4864], eax
call eax
sub esp, 8
mov edi, eax
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x367
xor eax, eax
cmp edi, 1
sete al
mov dword [esp + 4], str.failed_to_move_file_n
mov dword [esp], eax
call fcn.00414890
mov dword [esp + 4], 1
mov dword [esp], 0x3e8
mov eax, dword [ebp - 0x4844]
call eax
sub esp, 8
mov edi, eax
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x36a
xor eax, eax
test edi, edi
setne al
mov dword [esp + 4], str.failed_to_receive_file_move_event_n
mov dword [esp], eax
call fcn.00414890
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x36b
xor eax, eax
mov dword [esp + 4], str.there_should_be_no_more_events_in_buffer_n
mov edx, dword [ebp - 0x400c]
test edx, edx
sete al
mov dword [esp], eax
call fcn.00414890
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x36c
mov eax, dword [ebp - 0x4008]
mov dword [esp + 4], str.Action___ld_n
cmp eax, 2
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00414890
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x36d
mov edx, dword [ebp - 0x4004]
mov eax, 0x58a29c
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x418278
sub eax, 0x58a29c
mov dword [esp + 8], edx
cmp eax, edx
mov dword [esp + 4], str.FileNameLength___ld_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00414890
call fcn.0057d110
mov edi, dword [ebp - 0x484c]
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x36f
mov edx, dword [ebp - 0x4004]
test edi, edi
je 0x419240
shr edx, 1
lea eax, [ebp - 0x4000]
mov edi, 0x589fec
mov dword [esp + 4], edx
mov dword [ebp - 0x486c], edx
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x418302
mov edx, dword [ebp - 0x486c]
lea eax, [ebp - 0x4000]
call fcn.004145d0
mov edi, eax
mov eax, 0x58a29c
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x418310
sub eax, 0x58a29c
mov dword [esp + 4], 0x58a29c
mov dword [esp + 8], eax
lea eax, [ebp - 0x4000]
mov dword [esp], eax
call sub.msvcrt.dll_memcmp
mov dword [esp + 8], edi
test eax, eax
mov dword [esp + 4], str.FileName___s_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00414890
lea eax, [ebp - 0x4840]
mov dword [esp + 0x1c], 0x414ed0
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x400c]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x4000
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x4850]
mov dword [esp], eax
mov eax, dword [ebp - 0x4848]
call eax
sub esp, 0x20
mov edi, eax
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x374
xor eax, eax
cmp edi, 1
sete al
mov dword [esp + 4], str.ReadDirectoryChangesW_failed_n
mov dword [esp], eax
call fcn.00414890
lea eax, [ebp - 0x4624]
mov dword [esp], esi
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x4864]
call eax
sub esp, 8
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x377
xor eax, eax
cmp esi, 1
sete al
mov dword [esp + 4], str.failed_to_move_file_n
mov dword [esp], eax
call fcn.00414890
mov dword [esp + 4], 1
mov dword [esp], 0x3e8
mov eax, dword [ebp - 0x4844]
call eax
sub esp, 8
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x37a
xor eax, eax
test esi, esi
setne al
mov dword [esp + 4], str.failed_to_receive_file_move_event_n
mov dword [esp], eax
call fcn.00414890
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x37b
xor eax, eax
mov dword [esp + 4], str.there_should_be_no_more_events_in_buffer_n
mov esi, dword [ebp - 0x400c]
test esi, esi
sete al
mov dword [esp], eax
call fcn.00414890
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x37c
mov eax, dword [ebp - 0x4008]
mov dword [esp + 4], str.Action___ld_n
cmp eax, 1
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00414890
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x37d
mov edx, dword [ebp - 0x4004]
mov eax, 0x58a29c
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x4184e0
sub eax, 0x58a29c
mov dword [esp + 8], edx
cmp eax, edx
mov dword [esp + 4], str.FileNameLength___ld_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00414890
call fcn.0057d110
mov ecx, dword [ebp - 0x484c]
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x37f
mov edi, dword [ebp - 0x4004]
test ecx, ecx
je 0x419210
lea eax, [ebp - 0x4000]
shr edi, 1
mov esi, 0x589fec
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x418560
mov edx, edi
lea eax, [ebp - 0x4000]
call fcn.004145d0
mov esi, eax
mov eax, 0x58a29c
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x418568
sub eax, 0x58a29c
mov dword [esp + 4], 0x58a29c
mov dword [esp + 8], eax
lea eax, [ebp - 0x4000]
mov dword [esp], eax
call sub.msvcrt.dll_memcmp
mov dword [esp + 8], esi
test eax, eax
mov dword [esp + 4], str.FileName___s_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00414890
lea eax, [ebp - 0x4840]
mov dword [esp + 0x1c], 0x414ed0
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x400c]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x4000
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x4850]
mov dword [esp], eax
mov eax, dword [ebp - 0x4848]
call eax
sub esp, 0x20
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x384
xor eax, eax
cmp esi, 1
sete al
mov dword [esp + 4], str.ReadDirectoryChangesW_failed_n
mov dword [esp], eax
call fcn.00414890
lea eax, [ebp - 0x4624]
mov dword [esp], eax
mov eax, dword [ebp - 0x4868]
call eax
sub esp, 4
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x387
xor eax, eax
cmp esi, 1
sete al
mov dword [esp + 4], str.failed_to_delete_file_n
mov dword [esp], eax
call fcn.00414890
mov dword [esp + 4], 1
mov dword [esp], 0x3e8
mov eax, dword [ebp - 0x4844]
call eax
sub esp, 8
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x38a
xor eax, eax
test esi, esi
setne al
mov dword [esp + 4], str.failed_to_receive_file_removal_event_n
mov dword [esp], eax
call fcn.00414890
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x38b
xor eax, eax
mov dword [esp + 4], str.there_should_be_no_more_events_in_buffer_n
mov edx, dword [ebp - 0x400c]
test edx, edx
sete al
mov dword [esp], eax
call fcn.00414890
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x38c
mov eax, dword [ebp - 0x4008]
mov dword [esp + 4], str.Action___ld_n
cmp eax, 2
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00414890
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x38d
mov edx, dword [ebp - 0x4004]
mov eax, 0x58a29c
nop
add eax, 2
cmp word [eax], 0
jne 0x418730
sub eax, 0x58a29c
mov dword [esp + 8], edx
cmp eax, edx
mov dword [esp + 4], str.FileNameLength___ld_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00414890
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x38f
mov eax, dword [ebp - 0x484c]
mov edi, dword [ebp - 0x4004]
test eax, eax
je 0x4191e0
lea eax, [ebp - 0x4000]
shr edi, 1
mov esi, 0x589fec
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x4187b0
mov edx, edi
lea eax, [ebp - 0x4000]
call fcn.004145d0
mov esi, eax
mov eax, 0x58a29c
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x4187b8
sub eax, 0x58a29c
mov dword [esp + 4], 0x58a29c
mov dword [esp + 8], eax
lea eax, [ebp - 0x4000]
mov dword [esp], eax
call sub.msvcrt.dll_memcmp
mov dword [esp + 8], esi
test eax, eax
mov dword [esp + 4], str.FileName___s_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00414890
mov eax, dword [ebp - 0x4850]
mov dword [esp], eax
mov eax, dword [ebp - 0x4860]
call eax
lea eax, [ebp - 0x482c]
sub esp, 4
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x42000000
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 7
mov dword [esp + 4], 0x80000000
mov dword [esp], eax
mov eax, dword [ebp - 0x4858]
call eax
sub esp, 0x1c
mov edi, eax
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x397
xor eax, eax
cmp edi, 0xffffffff
setne al
mov dword [esp + 4], str.failed_to_open_directory_n
mov dword [esp], eax
call fcn.00414890
lea eax, [ebp - 0x4840]
mov dword [esp], edi
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x400c]
mov dword [esp + 0x1c], 0x414ed0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x4000
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x4848]
call eax
sub esp, 0x20
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x39b
xor eax, eax
cmp esi, 1
sete al
mov dword [esp + 4], str.ReadDirectoryChangesW_failed_n
mov dword [esp], eax
call fcn.00414890
lea eax, [ebp - 0x4624]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x4864]
call eax
sub esp, 8
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x39e
xor eax, eax
cmp esi, 1
sete al
mov dword [esp + 4], str.failed_to_move_directory_n
mov dword [esp], eax
call fcn.00414890
mov dword [esp + 4], 1
mov dword [esp], 0x3e8
mov eax, dword [ebp - 0x4844]
call eax
sub esp, 8
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x3a1
xor eax, eax
test esi, esi
setne al
mov dword [esp + 4], str.failed_to_receive_directory_move_event_n
mov dword [esp], eax
call fcn.00414890
cmp dword [ebp - 0x4008], 4
je 0x418f10
mov esi, dword [0x8f0770]
call fcn.0057d110
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
lea edx, [ecx + ecx]
xor ecx, ecx
test esi, esi
setne cl
or edx, ecx
mov dword [eax + 0x10], edx
jmp 0x4189e6
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x3b4
mov dword [esp + 4], str.Expected_rename_event_n
mov dword [esp], 0
call fcn.00414890
call fcn.0057d110
shr dword [eax + 0x10], 1
call fcn.0057d110
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x4189b8
mov esi, dword [ebp - 0x400c]
test esi, esi
je 0x418df0
mov dword [esp], ebx
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x4854]
call eax
sub esp, 8
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x3c2
xor eax, eax
cmp esi, 1
sete al
mov dword [esp + 4], str.failed_to_create_directory_n
mov dword [esp], eax
call fcn.00414890
mov dword [esp], ebx
mov eax, dword [ebp - 0x485c]
call eax
sub esp, 4
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x3c5
xor eax, eax
cmp ebx, 1
sete al
mov dword [esp + 4], str.failed_to_remove_directory_n
mov dword [esp], eax
call fcn.00414890
lea eax, [ebp - 0x4840]
mov dword [esp], edi
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x400c]
mov dword [esp + 0x1c], 0x414ed0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x4000
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x4848]
call eax
sub esp, 0x20
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x3c9
xor eax, eax
cmp ebx, 1
sete al
mov dword [esp + 4], str.ReadDirectoryChangesW_failed_n
mov dword [esp], eax
call fcn.00414890
mov dword [esp + 4], 1
mov dword [esp], 0x3e8
mov eax, dword [ebp - 0x4844]
call eax
sub esp, 8
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x3cc
xor eax, eax
test ebx, ebx
setne al
mov dword [esp + 4], str.failed_to_receive_directory_creation_event_n
mov dword [esp], eax
call fcn.00414890
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x3cd
mov eax, dword [ebp - 0x4008]
mov dword [esp + 4], str.Action___ld_n
cmp eax, 1
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00414890
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x3ce
mov edx, dword [ebp - 0x4004]
mov eax, 0x58a2a8
add eax, 2
cmp word [eax], 0
jne 0x418b90
sub eax, 0x58a2a8
mov dword [esp + 8], edx
cmp eax, edx
mov dword [esp + 4], str.FileNameLength___ld_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00414890
call fcn.0057d110
mov ecx, dword [ebp - 0x484c]
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x3d0
mov esi, dword [ebp - 0x4004]
test ecx, ecx
je 0x418ee0
lea eax, [ebp - 0x4000]
shr esi, 1
mov ebx, 0x589fec
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x418c10
mov edx, esi
lea eax, [ebp - 0x4000]
call fcn.004145d0
mov ebx, eax
mov eax, 0x58a2a8
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x418c18
sub eax, 0x58a2a8
mov dword [esp + 4], 0x58a2a8
mov dword [esp + 8], eax
lea eax, [ebp - 0x4000]
mov dword [esp], eax
call sub.msvcrt.dll_memcmp
mov dword [esp + 8], ebx
test eax, eax
mov dword [esp + 4], str.FileName___s_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00414890
mov ebx, dword [ebp - 0x400c]
test ebx, ebx
je 0x419270
lea eax, [ebp - 0x400c]
add ebx, eax
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x3de
xor eax, eax
mov dword [esp + 4], str.there_should_be_no_more_events_in_buffer_n
mov edx, dword [ebx]
test edx, edx
sete al
mov dword [esp], eax
call fcn.00414890
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x3df
mov eax, dword [ebx + 4]
mov dword [esp + 4], str.Action___ld_n
cmp eax, 2
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00414890
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x3e0
mov edx, dword [ebx + 8]
mov eax, 0x58a2a8
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x418cf0
sub eax, 0x58a2a8
mov dword [esp + 8], edx
cmp eax, edx
mov dword [esp + 4], str.FileNameLength___ld_n
sete al
add ebx, 0xc
movzx eax, al
mov dword [esp], eax
call fcn.00414890
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x3e2
mov edx, dword [ebx - 4]
mov eax, ebx
shr eax, 0x10
je 0x419340
shr edx, 1
mov esi, 0x589fec
mov dword [esp + 4], edx
mov dword [ebp - 0x4844], edx
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x418d6d
mov edx, dword [ebp - 0x4844]
mov eax, ebx
call fcn.004145d0
mov esi, eax
mov eax, 0x58a2a8
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x418d78
sub eax, 0x58a2a8
mov dword [esp], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], 0x58a2a8
call sub.msvcrt.dll_memcmp
mov dword [esp + 8], esi
test eax, eax
mov dword [esp + 4], str.FileName___s_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00414890
mov dword [esp], edi
mov eax, dword [ebp - 0x4860]
call eax
lea eax, [ebp - 0x4624]
sub esp, 4
mov dword [esp], eax
mov ebx, dword [ebp - 0x485c]
call ebx
lea eax, [ebp - 0x482c]
sub esp, 4
mov dword [esp], eax
call ebx
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ebp - 0x4840]
mov dword [esp], edi
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x400c]
mov dword [esp + 0x1c], 0x414ed0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x4000
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x4848]
call eax
sub esp, 0x20
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x3ba
xor eax, eax
cmp esi, 1
sete al
mov dword [esp + 4], str.ReadDirectoryChangesW_failed_n
mov dword [esp], eax
call fcn.00414890
mov dword [esp + 4], 1
mov dword [esp], 0x3e8
mov eax, dword [ebp - 0x4844]
call eax
sub esp, 8
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x3bd
xor eax, eax
test esi, esi
setne al
mov dword [esp + 4], str.failed_to_receive_directory_move_event_n
mov dword [esp], eax
call fcn.00414890
jmp 0x418a07
lea eax, [ebp - 0x4000]
mov dword [ebp - 0x4864], eax
movzx eax, word [ebp - 0x4864]
mov dword [esp], 0x58998c
mov dword [esp + 4], eax
call fcn.00414780
mov edi, eax
jmp 0x418059
lea eax, [ebp - 0x4000]
mov dword [ebp - 0x484c], eax
movzx eax, word [ebp - 0x484c]
mov dword [esp], 0x58998c
mov dword [esp + 4], eax
call fcn.00414780
mov ebx, eax
jmp 0x418c10
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x3a4
mov eax, dword [ebp - 0x4008]
mov dword [esp + 4], str.Action___ld_n
cmp eax, 4
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00414890
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x3a5
mov edx, dword [ebp - 0x4004]
mov eax, 0x58a2a8
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x418f68
sub eax, 0x58a2a8
mov dword [esp + 8], edx
cmp eax, edx
mov dword [esp + 4], str.FileNameLength___ld_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00414890
call fcn.0057d110
mov esi, dword [ebp - 0x484c]
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x3a7
mov eax, dword [ebp - 0x4004]
test esi, esi
je 0x419360
shr eax, 1
mov esi, 0x589fec
mov dword [esp + 4], eax
mov dword [ebp - 0x4850], eax
lea eax, [ebp - 0x4000]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x418ff2
mov edx, dword [ebp - 0x4850]
lea eax, [ebp - 0x4000]
call fcn.004145d0
mov esi, eax
mov eax, 0x58a2a8
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x419000
sub eax, 0x58a2a8
mov dword [esp + 4], 0x58a2a8
mov dword [esp + 8], eax
lea eax, [ebp - 0x4000]
mov dword [esp], eax
call sub.msvcrt.dll_memcmp
mov dword [esp + 8], esi
lea esi, [ebp - 0x400c]
test eax, eax
mov dword [esp + 4], str.FileName___s_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00414890
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x3a9
xor eax, eax
mov dword [esp + 4], str.no_next_entry_in_movement_event_n
mov edx, dword [ebp - 0x400c]
test edx, edx
setne al
mov dword [esp], eax
call fcn.00414890
add esi, dword [ebp - 0x400c]
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x3ab
xor eax, eax
mov dword [esp + 4], str.there_should_be_no_more_events_in_buffer_n
mov ecx, dword [esi]
test ecx, ecx
sete al
mov dword [esp], eax
call fcn.00414890
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x3ac
mov eax, dword [esi + 4]
mov dword [esp + 4], str.Action___ld_n
cmp eax, 5
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00414890
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x3ad
mov edx, dword [esi + 8]
mov eax, 0x58a29c
lea esi, [esi]
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x419100
sub eax, 0x58a29c
mov dword [esp + 8], edx
cmp eax, edx
mov dword [esp + 4], str.FileNameLength___ld_n
sete al
add esi, 0xc
movzx eax, al
mov dword [esp], eax
call fcn.00414890
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x3af
mov edx, dword [esi - 4]
mov eax, esi
shr eax, 0x10
je 0x419390
shr edx, 1
mov dword [esp + 4], edx
mov dword [ebp - 0x4850], edx
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov ecx, 0x589fec
sub esp, 8
test eax, eax
jne 0x41917d
mov edx, dword [ebp - 0x4850]
mov eax, esi
call fcn.004145d0
mov ecx, eax
mov eax, 0x58a29c
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x419188
sub eax, 0x58a29c
mov dword [ebp - 0x4850], ecx
mov dword [esp + 8], eax
mov dword [esp + 4], 0x58a29c
mov dword [esp], esi
call sub.msvcrt.dll_memcmp
mov ecx, dword [ebp - 0x4850]
mov dword [esp + 4], str.FileName___s_n
test eax, eax
sete al
mov dword [esp + 8], ecx
movzx eax, al
mov dword [esp], eax
call fcn.00414890
jmp 0x418a07
lea eax, [ebp - 0x4000]
mov dword [ebp - 0x4868], eax
movzx eax, word [ebp - 0x4868]
mov dword [esp], 0x58998c
mov dword [esp + 4], eax
call fcn.00414780
mov esi, eax
jmp 0x4187b0
lea eax, [ebp - 0x4000]
mov dword [ebp - 0x486c], eax
movzx eax, word [ebp - 0x486c]
mov dword [esp], 0x58998c
mov dword [esp + 4], eax
call fcn.00414780
mov esi, eax
jmp 0x418560
lea eax, [ebp - 0x4000]
mov dword [ebp - 0x486c], eax
movzx eax, word [ebp - 0x486c]
mov dword [esp], 0x58998c
mov dword [esp + 4], eax
call fcn.00414780
mov edi, eax
jmp 0x418302
lea eax, [ebp - 0x4840]
mov dword [esp + 0x1c], 0x414ed0
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x400c]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x4000
mov dword [esp + 4], eax
mov dword [esp], edi
mov eax, dword [ebp - 0x4848]
call eax
sub esp, 0x20
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x3d8
xor eax, eax
cmp ebx, 1
sete al
mov dword [esp + 4], str.ReadDirectoryChangesW_failed_n
mov dword [esp], eax
call fcn.00414890
mov dword [esp + 4], 1
mov dword [esp], 0x3e8
mov eax, dword [ebp - 0x4844]
call eax
sub esp, 8
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x3db
xor eax, eax
test ebx, ebx
lea ebx, [ebp - 0x400c]
setne al
mov dword [esp + 4], str.failed_to_receive_directory_removal_event_n
mov dword [esp], eax
call fcn.00414890
jmp 0x418c72
movzx eax, bx
mov dword [esp], 0x58998c
mov dword [esp + 4], eax
call fcn.00414780
mov esi, eax
jmp 0x418d6d
lea eax, [ebp - 0x4000]
mov dword [ebp - 0x4850], eax
movzx eax, word [ebp - 0x4850]
mov dword [esp], 0x58998c
mov dword [esp + 4], eax
call fcn.00414780
mov esi, eax
jmp 0x418ff2
movzx eax, si
mov dword [esp], 0x58998c
mov dword [esp + 4], eax
call fcn.00414780
mov ecx, eax
jmp 0x41917d