Function at 0x40fc50
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a71f0
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
push ebx
push esi
push edi
mov eax, dword [0x4d9180]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
sub esp, 0x28
mov dword [edi], vtable.DuplicateFileScan.0
mov eax, esp
lea ecx, [edi + 0x3c]
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_95850b11f973684e24db76c24075e82e___void___.0
mov dword [eax + 4], edi
mov dword [eax + 0x24], eax
call fcn.0043d230
push 0xffffffffffffffff
push dword [edi + 0x40]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [edi + 0x3c]
call fcn.0043d700
mov edi, dword [edi + 0x68]
mov esi, dword [edi]
cmp esi, edi
je 0x40fcda
nop dword [eax + eax]
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x40fcd4
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x10], 0
mov esi, dword [esi]
cmp esi, edi
jne 0x40fcc0
mov edi, dword [ebp - 0x10]
lea ebx, [edi + 0x64]
mov eax, dword [ebx + 4]
mov dword [ebp - 4], 0
mov ecx, dword [eax]
mov dword [eax], eax
mov eax, dword [ebx + 4]
mov dword [eax + 4], eax
mov dword [ebx + 8], 0
cmp ecx, dword [ebx + 4]
je 0x40fd14
mov esi, dword [ecx]
push 0x18
push ecx
call fcn.00439e3a
add esp, 8
mov ecx, esi
cmp esi, dword [ebx + 4]
jne 0x40fd00
push 8
mov ecx, ebx
call fcn.004175b0
mov dword [ebp - 4], 0xffffffff
call fcn.00438e40
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x40fe3f
push 0x91
push str.d:jenkins.jenkinsworkspacepay_groupduplicate_file_cleanduplicate_file_mgrduplicate_file_mgr_srcduplicate_file_scanduplicate_file_scan.cc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.004083d0
push 3
push 0x4b17c0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.004083d0
call fcn.00438e40
mov edi, eax
lea ecx, [ebp - 0xdc]
push 0x178
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00405850
mov esi, eax
push str.duplicate_file_scan_impl_destruct
push esi
call fcn.00406750
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xdc]
call fcn.00406960
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x40fdf6
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40fdec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ff2b
push edx
push ecx
call fcn.00439e3a
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x40fe3c
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40fe32
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ff30
push edx
push ecx
call fcn.00439e3a
add esp, 8
mov edi, dword [ebp - 0x10]
lea ecx, [edi + 0xf0]
call fcn.00409e00
lea ecx, [edi + 0xe0]
call fcn.0040f8e0
lea ecx, [edi + 0xd4]
call fcn.0040f8e0
lea ecx, [edi + 0xc8]
call fcn.0040f8e0
lea ecx, [edi + 0x98]
call fcn.0040fb90
mov ecx, ebx
call fcn.0040f2e0
lea eax, [edi + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea ecx, [edi + 0x3c]
call fcn.0043be90
lea ecx, [edi + 0x38]
call fcn.0043be90
lea ecx, [edi + 0x30]
mov dword [ebp - 4], 1
call fcn.00417890
push 0x10
push dword [edi + 0x30]
call fcn.00439e3a
add esp, 8
lea ecx, [edi + 0x28]
mov dword [ebp - 4], 2
call fcn.00417890
push 0x10
push dword [edi + 0x28]
call fcn.00439e3a
add esp, 8
lea ecx, [edi + 0x1c]
call fcn.0040f7d0
lea ecx, [edi + 0x10]
call fcn.0040f750
mov esi, dword [edi + 8]
push dword [esi + 4]
lea ecx, [edi + 8]
mov dword [ebp - 4], 3
call fcn.00417370
mov eax, dword [edi + 8]
push 0x18
mov dword [eax + 4], esi
mov eax, dword [edi + 8]
mov dword [eax], esi
mov eax, dword [edi + 8]
mov dword [eax + 8], esi
mov dword [edi + 0xc], 0
push dword [edi + 8]
call fcn.00439e3a
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.00478c79
call fcn.00478c79
int3