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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b3f70
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
push ebx
push esi
push edi
mov eax, dword [0x4e9154]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea edi, [ebx + 0xb4]
mov dword [ebx], vtable.DuplicateFileScan.0
mov ecx, edi
call fcn.00436680
push edi
call fcn.0043b100
add esp, 4
test eax, eax
je 0x412996
push eax
call fcn.0043b61a
add esp, 4
cmp byte [edi + 0x6c], 0
je 0x4129ae
push edi
mov dword [ebp - 4], 0
call fcn.0043b125
jmp 0x412a42
mov eax, dword [edi + 0x68]
mov ecx, dword [edi + 0x60]
inc eax
cmp ecx, eax
ja 0x4129c6
push 1
lea ecx, [edi + 0x58]
call fcn.0040a820
mov ecx, dword [edi + 0x60]
lea eax, [ecx - 1]
and dword [edi + 0x64], eax
mov eax, dword [edi + 0x68]
add eax, dword [edi + 0x64]
mov ecx, dword [edi + 0x60]
dec ecx
and ecx, eax
lea eax, [ecx*4]
mov ecx, dword [edi + 0x5c]
mov dword [ebp - 0x10], eax
cmp dword [ecx + eax], 0
jne 0x412a03
push 0x28
call fcn.0043e7f8
mov ecx, dword [edi + 0x5c]
add esp, 4
mov edx, dword [ebp - 0x10]
mov dword [edx + ecx], eax
mov eax, edx
mov ecx, dword [edi + 0x5c]
mov eax, dword [eax + ecx]
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_3c36cb8958c841d9f7d1c3c47457936c___void___.0
mov dword [eax + 4], ebx
mov dword [eax + 0x24], eax
inc dword [edi + 0x68]
push edi
mov dword [ebp - 4], 1
call fcn.0043b125
add esp, 4
test eax, eax
je 0x412a32
push eax
call fcn.0043b61a
add esp, 4
lea eax, [edi + 0x30]
mov dword [ebp - 4], 2
push eax
call fcn.0043b3fa
add esp, 4
test eax, eax
je 0x412a52
push eax
call fcn.0043b61a
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0x13c]
mov al, 1
xchg byte [ecx], al
push 0xffffffffffffffff
push dword [ebx + 0x130]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, edi
call fcn.00436770
mov edi, dword [ebx + 0x15c]
mov esi, dword [edi]
cmp esi, edi
je 0x412a9e
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x412a98
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x10], 0
mov esi, dword [esi]
cmp esi, edi
jne 0x412a84
lea edi, [ebx + 0x158]
mov eax, dword [edi + 4]
mov dword [ebp - 4], 3
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 0x412ad8
mov esi, dword [ecx]
push 0x18
push ecx
call fcn.0043e828
add esp, 8
mov ecx, esi
cmp esi, dword [edi + 4]
jne 0x412ac4
push 8
mov ecx, edi
call fcn.0041c0b0
mov dword [ebp - 4], 0xffffffff
call fcn.004417a0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x412c06
push 0xad
push str.d:jenkins.jenkinsworkspacepay_groupduplicate_file_cleanduplicate_file_clean_clientduplicate_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.004070c0
push 3
push 0x4bfab8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.004070c0
call fcn.004417a0
mov edi, eax
lea ecx, [ebp - 0xd8]
push 0x175
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00408fc0
mov esi, eax
push str.duplicate_file_scan_impl_destruct
push esi
call fcn.00409510
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xd8]
call fcn.00409720
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x412bba
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412bb0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412d5a
push edx
push ecx
call fcn.0043e828
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 0x412c00
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412bf6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412d5f
push edx
push ecx
call fcn.0043e828
add esp, 8
lea edi, [ebx + 0x158]
mov ecx, dword [ebx + 0x200]
test ecx, ecx
je 0x412c68
mov eax, dword [ebx + 0x208]
sub eax, ecx
sar eax, 3
lea edx, [eax*8]
cmp edx, 0x1000
jb 0x412c40
mov esi, dword [ecx - 4]
add edx, 0x23
sub ecx, esi
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x412d5a
mov ecx, esi
push edx
push ecx
call fcn.0043e828
mov dword [ebx + 0x200], 0
add esp, 8
mov dword [ebx + 0x204], 0
mov dword [ebx + 0x208], 0
lea ecx, [ebx + 0x1e8]
call fcn.0040c190
lea ecx, [ebx + 0x1d8]
call fcn.004124c0
lea ecx, [ebx + 0x1cc]
call fcn.004124c0
lea ecx, [ebx + 0x1c0]
call fcn.004124c0
lea ecx, [ebx + 0x188]
call fcn.004127e0
mov ecx, edi
call fcn.00411e30
lea eax, [ebx + 0x140]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea ecx, [ebx + 0xb4]
call fcn.004364f0
lea ecx, [ebx + 0x38]
call fcn.004364f0
lea ecx, [ebx + 0x30]
mov dword [ebp - 4], 4
call fcn.0041c400
push 0x10
push dword [ebx + 0x30]
call fcn.0043e828
add esp, 8
lea ecx, [ebx + 0x28]
mov dword [ebp - 4], 5
call fcn.0041c400
push 0x10
push dword [ebx + 0x28]
call fcn.0043e828
add esp, 8
lea ecx, [ebx + 0x1c]
call fcn.004123b0
lea ecx, [ebx + 0x10]
call fcn.00412330
mov esi, dword [ebx + 8]
push dword [esi + 4]
lea ecx, [ebx + 8]
mov dword [ebp - 4], 6
call fcn.0041be70
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.0043e828
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.004850e9
call fcn.004850e9
int3