Function at 0x410700
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4acde0
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
push ebx
push esi
push edi
mov eax, dword [0x4e0150]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
sub esp, 0x28
mov dword [ebx], vtable.DuplicateFileScan.0
mov eax, esp
lea ecx, [ebx + 0x3c]
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_a0578b81a951db90e686629fa7b5fce2___void___.0
mov dword [eax + 4], ebx
mov dword [eax + 0x24], eax
call fcn.00440b00
lea ecx, [ebx + 0x4c]
mov al, 1
xchg byte [ecx], al
push 0xffffffffffffffff
push dword [ebx + 0x40]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [ebx + 0x3c]
call fcn.00440fd0
mov edi, dword [ebx + 0x6c]
mov esi, dword [edi]
cmp esi, edi
je 0x41078a
nop
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x410784
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x10], 0
mov esi, dword [esi]
cmp esi, edi
jne 0x410770
lea edi, [ebx + 0x68]
mov eax, dword [edi + 4]
mov dword [ebp - 4], 0
mov ecx, dword [eax]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov dword [edi + 8], 0
cmp ecx, dword [edi + 4]
je 0x4107c4
nop dword [eax]
mov esi, dword [ecx]
push 0x18
push ecx
call fcn.0043d70a
add esp, 8
mov ecx, esi
cmp esi, dword [edi + 4]
jne 0x4107b0
push 8
mov ecx, edi
call fcn.004189b0
mov dword [ebp - 4], 0xffffffff
call fcn.0043c710
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4108ef
push 0x91
push str.d:jenkins.jenkinsworkspacepay_groupduplicate_file_cleanduplicate_file_mgrduplicate_file_mgr_srcduplicate_file_scanduplicate_file_scan.cc
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], al
call fcn.004085b0
push 3
push 0x4b77c0
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
call fcn.004085b0
call fcn.0043c710
mov edi, eax
lea ecx, [ebp - 0xd8]
push 0x16e
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00405a20
mov esi, eax
push str.duplicate_file_scan_impl_destruct
push esi
call fcn.00406930
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xd8]
call fcn.00406b40
mov edx, dword [ebp - 0x10]
cmp edx, 0x10
jb 0x4108a6
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41089c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410a3d
push edx
push ecx
call fcn.0043d70a
add esp, 8
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
cmp edx, 0x10
jb 0x4108ec
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4108e2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410a42
push edx
push ecx
call fcn.0043d70a
add esp, 8
lea edi, [ebx + 0x68]
mov ecx, dword [ebx + 0x110]
test ecx, ecx
je 0x410951
mov eax, dword [ebx + 0x118]
sub eax, ecx
sar eax, 3
lea edx, [eax*8]
cmp edx, 0x1000
jb 0x410929
mov esi, dword [ecx - 4]
add edx, 0x23
sub ecx, esi
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x410a3d
mov ecx, esi
push edx
push ecx
call fcn.0043d70a
mov dword [ebx + 0x110], 0
add esp, 8
mov dword [ebx + 0x114], 0
mov dword [ebx + 0x118], 0
lea ecx, [ebx + 0xf8]
call fcn.00409fe0
lea ecx, [ebx + 0xe8]
call fcn.00410320
lea ecx, [ebx + 0xdc]
call fcn.00410320
lea ecx, [ebx + 0xd0]
call fcn.00410320
lea ecx, [ebx + 0x98]
call fcn.00410640
mov ecx, edi
call fcn.0040fc90
lea eax, [ebx + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea ecx, [ebx + 0x3c]
call fcn.0043f760
lea ecx, [ebx + 0x38]
call fcn.0043f760
lea ecx, [ebx + 0x30]
mov dword [ebp - 4], 1
call fcn.00418d00
push 0x10
push dword [ebx + 0x30]
call fcn.0043d70a
add esp, 8
lea ecx, [ebx + 0x28]
mov dword [ebp - 4], 2
call fcn.00418d00
push 0x10
push dword [ebx + 0x28]
call fcn.0043d70a
add esp, 8
lea ecx, [ebx + 0x1c]
call fcn.00410210
lea ecx, [ebx + 0x10]
call fcn.00410190
mov esi, dword [ebx + 8]
push dword [esi + 4]
lea ecx, [ebx + 8]
mov dword [ebp - 4], 3
call fcn.00418770
mov eax, dword [ebx + 8]
push 0x18
mov dword [eax + 4], esi
mov eax, dword [ebx + 8]
mov dword [eax], esi
mov eax, dword [ebx + 8]
mov dword [eax + 8], esi
mov dword [ebx + 0xc], 0
push dword [ebx + 8]
call fcn.0043d70a
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.0047e239
call fcn.0047e239
int3