Function at 0x40ec60
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a715f
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x4d9180]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x68], edi
mov eax, dword [ebp + 8]
lea esi, [edi + 8]
mov dword [ebp - 0x70], edi
mov ecx, esi
mov dword [edi], vtable.DuplicateFileScan.0
mov dword [edi + 4], eax
mov dword [ebp - 0x68], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00416cf0
mov dword [esi], eax
mov dword [ebp - 4], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
lea esi, [edi + 0x28]
mov byte [ebp - 4], 2
mov dword [ebp - 0x68], esi
mov ecx, esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00416d10
mov dword [esi], eax
lea esi, [edi + 0x30]
mov byte [ebp - 4], 3
mov dword [ebp - 0x68], esi
mov ecx, esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00416d10
mov dword [esi], eax
lea ecx, [edi + 0x38]
mov byte [ebp - 4], 4
call fcn.0043bbc0
lea ebx, [edi + 0x3c]
mov byte [ebp - 4], 5
mov ecx, ebx
call fcn.0043bbc0
lea eax, [edi + 0x4c]
mov dword [edi + 0x40], 0
push eax
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0x1000000
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
add edi, 0x64
mov byte [ebp - 4], 7
lea esi, [edi + 4]
mov dword [ebp - 0x68], edi
push 0
push 0
mov dword [edi], 0
mov ecx, esi
mov dword [ebp - 0x74], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00416d50
mov dword [esi], eax
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
push 8
mov ecx, edi
mov byte [ebp - 4], 9
mov dword [edi], 0x3f800000
call fcn.004175b0
mov edi, dword [ebp - 0x6c]
mov byte [ebp - 4], 0xa
lea ecx, [edi + 0x98]
mov dword [edi + 0x88], 0
mov dword [edi + 0x8c], 0
mov dword [edi + 0x90], 0
mov dword [edi + 0x94], 0
call fcn.00405750
mov dword [edi + 0xc0], 0x32000
mov dword [edi + 0xc4], 0
mov dword [edi + 0xc8], 0
mov dword [edi + 0xcc], 0
mov dword [edi + 0xd0], 0
mov dword [edi + 0xd4], 0
mov dword [edi + 0xd8], 0
mov dword [edi + 0xdc], 0
mov dword [edi + 0xe0], 0
mov dword [edi + 0xe4], 0
mov dword [edi + 0xe8], 0
lea ecx, [edi + 0xf0]
mov byte [ebp - 4], 0xe
call fcn.00409ce0
push 1
push str.duplicate_file_scan_main
mov ecx, ebx
mov byte [ebp - 4], 0xf
call fcn.0043c9a0
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 1
push 1
push 0
call esi
push 0
push 0
push 1
push 0
mov dword [edi + 0x40], eax
call esi
mov dword [edi + 0x44], eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], vtable.._AV___Func_impl_no_alloc_V___Binder_U_Unforced_std__P8DuplicateFileScan__AEXXZPAV3__std__X__V_std__.0
mov dword [ebp - 0x34], 0x4167f0
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x3c], 0
call fcn.00416fe0
mov ecx, dword [ebp - 0x14]
mov edx, eax
mov dword [ebp - 0x3c], edx
test ecx, ecx
je 0x40eefc
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov edx, dword [ebp - 0x3c]
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov esi, dword [0x4de60c]
test esi, esi
je 0x40ef58
cmp esi, 0x4de5e8
jne 0x40ef49
mov eax, dword [esi]
lea ecx, [ebp - 0x38]
push ecx
mov ecx, esi
call dword [eax + 4]
mov esi, dword [0x4de60c]
mov ecx, eax
mov dword [ebp - 0x14], ecx
test esi, esi
je 0x40ef44
mov edx, dword [esi]
cmp esi, 0x4de5e8
mov ecx, esi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x3c]
jmp 0x40ef4e
mov edx, dword [ebp - 0x3c]
jmp 0x40ef58
mov ecx, esi
mov dword [ebp - 0x14], ecx
mov dword [0x4de60c], 0
test edx, edx
je 0x40efb5
lea eax, [ebp - 0x60]
cmp edx, eax
jne 0x40efaf
mov eax, dword [edx]
mov ecx, edx
push 0x4de5e8
call dword [eax + 4]
mov ecx, dword [ebp - 0x3c]
mov dword [0x4de60c], eax
test ecx, ecx
je 0x40efaa
mov edx, dword [ecx]
lea eax, [ebp - 0x60]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
xor ecx, ecx
mov dword [ebp - 0x3c], 0
test ecx, ecx
je 0x40efaa
mov edx, dword [ecx]
lea eax, [ebp - 0x60]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0x14]
jmp 0x40efb5
mov dword [0x4de60c], edx
test ecx, ecx
je 0x40efca
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], vtable.std::_Func_impl_no_alloc_class_std::_Binder_struct_std::_Unforced__unsigned_char____cdecl_DuplicateFileScan::__bool__void___class_DuplicateFileScan____bool___.0
mov dword [ebp - 0x34], 0x416ce0
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x3c], 0
call fcn.00417000
mov ecx, dword [ebp - 0x14]
mov edx, eax
mov dword [ebp - 0x3c], edx
test ecx, ecx
je 0x40f01d
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov edx, dword [ebp - 0x3c]
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov esi, dword [0x4de634]
test esi, esi
je 0x40f079
cmp esi, 0x4de610
jne 0x40f06a
mov eax, dword [esi]
lea ecx, [ebp - 0x38]
push ecx
mov ecx, esi
call dword [eax + 4]
mov esi, dword [0x4de634]
mov ecx, eax
mov dword [ebp - 0x14], ecx
test esi, esi
je 0x40f065
mov edx, dword [esi]
cmp esi, 0x4de610
mov ecx, esi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x3c]
jmp 0x40f06f
mov edx, dword [ebp - 0x3c]
jmp 0x40f079
mov ecx, esi
mov dword [ebp - 0x14], ecx
mov dword [0x4de634], 0
test edx, edx
je 0x40f0d6
lea eax, [ebp - 0x60]
cmp edx, eax
jne 0x40f0d0
mov eax, dword [edx]
mov ecx, edx
push 0x4de610
call dword [eax + 4]
mov ecx, dword [ebp - 0x3c]
mov dword [0x4de634], eax
test ecx, ecx
je 0x40f0cb
mov edx, dword [ecx]
lea eax, [ebp - 0x60]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
xor ecx, ecx
mov dword [ebp - 0x3c], 0
test ecx, ecx
je 0x40f0cb
mov edx, dword [ecx]
lea eax, [ebp - 0x60]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0x14]
jmp 0x40f0d6
mov dword [0x4de634], edx
test ecx, ecx
je 0x40f0eb
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov al, byte [ebp - 0x61]
mov byte [ebp - 0x30], al
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], vtable.._AV___Func_impl_no_alloc_V___Binder_U_Unforced_std__P8DuplicateFileScan__AEXABV__basic_string_DU__char_traits_D_std__V__allocator_D_2__2__ZPAV3_ABU___Ph__00_2__std__XABV__basic_string_DU__char_traits_D_std__V__allocator_D_2__2__std__.0
mov dword [ebp - 0x34], 0x414a70
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x3c], 0
call fcn.00416f30
mov ecx, dword [ebp - 0x14]
mov edx, eax
mov dword [ebp - 0x3c], edx
test ecx, ecx
je 0x40f144
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov edx, dword [ebp - 0x3c]
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov esi, dword [0x4de5e4]
test esi, esi
je 0x40f1a0
cmp esi, 0x4de5c0
jne 0x40f191
mov eax, dword [esi]
lea ecx, [ebp - 0x38]
push ecx
mov ecx, esi
call dword [eax + 4]
mov esi, dword [0x4de5e4]
mov ecx, eax
mov dword [ebp - 0x14], ecx
test esi, esi
je 0x40f18c
mov edx, dword [esi]
cmp esi, 0x4de5c0
mov ecx, esi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x3c]
jmp 0x40f196
mov edx, dword [ebp - 0x3c]
jmp 0x40f1a0
mov ecx, esi
mov dword [ebp - 0x14], ecx
mov dword [0x4de5e4], 0
test edx, edx
je 0x40f1fd
lea eax, [ebp - 0x60]
cmp edx, eax
jne 0x40f1f7
mov eax, dword [edx]
mov ecx, edx
push 0x4de5c0
call dword [eax + 4]
mov ecx, dword [ebp - 0x3c]
mov dword [0x4de5e4], eax
test ecx, ecx
je 0x40f1f2
mov edx, dword [ecx]
lea eax, [ebp - 0x60]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
xor ecx, ecx
mov dword [ebp - 0x3c], 0
test ecx, ecx
je 0x40f1f2
mov edx, dword [ecx]
lea eax, [ebp - 0x60]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0x14]
jmp 0x40f1fd
mov dword [0x4de5e4], edx
test ecx, ecx
je 0x40f212
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov al, byte [ebp - 0x61]
mov byte [ebp - 0x58], al
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], 0x4b2284
mov dword [ebp - 0x5c], 0x414b00
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x3c], eax
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x14], 0
call fcn.004177b0
push 0x4de638
lea ecx, [ebp - 0x60]
call fcn.004177b0
lea eax, [ebp - 0x38]
mov ecx, 0x4de638
push eax
call fcn.004177b0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x40f276
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0x3c]
mov byte [ebp - 4], 0xf
test ecx, ecx
je 0x40f292
mov edx, dword [ecx]
lea eax, [ebp - 0x60]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
lea esi, [edi + 0x10]
mov ecx, esi
call fcn.004137f0
push esi
lea esi, [edi + 0x98]
mov ecx, esi
call fcn.00407360
mov ecx, edi
mov dword [0x4de660], esi
call fcn.00413d20
call fcn.0041b920
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 - 0x10]
xor ecx, ebp
call fcn.0043a0f2
mov esp, ebp
pop ebp
ret 4