Function at 0x41c4f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45cdc1
mov eax, dword fs:[0]
push eax
sub esp, 0x310
mov eax, dword [0x474104]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, edx
mov ebx, ecx
mov dword [ebp - 0x2f8], ebx
mov dword [ebp - 0x2d4], ebx
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x2fc], ebx
mov dword [ebp - 0x2f4], eax
mov dword [ebp - 0x300], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x41c57f
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41c5bf
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov dword [ebx + 4], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebx + 8], ecx
lea ecx, [ebp - 0x24]
mov dword [ebx], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call fcn.00414290
mov eax, ebx
jmp 0x41cb00
mov byte [ebp - 4], 1
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x41c5ce
mov esi, dword [esi]
xor ecx, ecx
mov dword [ebp - 0x2e0], 0
push eax
mov word [ebp - 0x2f0], cx
lea ecx, [ebp - 0x2f0]
push esi
mov dword [ebp - 0x2dc], 7
call fcn.00406fd0
mov dword [ebp - 0x2d8], 6
xor esi, esi
xor ebx, ebx
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], ebx
push ebx
lea eax, [ebp - 0x2f0]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x2cc]
call fcn.0041b020
mov byte [ebp - 4], 4
cmp byte [ebp - 0x60], bl
je 0x41c698
push 0x68
call fcn.004335f1
mov ebx, eax
add esp, 4
mov dword [ebp - 0x2d4], ebx
push ecx
mov byte [ebp - 4], 5
lea eax, [ebp - 0x2cc]
lea esi, [ebx + 0x10]
mov dword [ebx + 4], 1
push eax
mov ecx, esi
mov dword [ebx + 8], 1
mov dword [ebx], vtable.std::_Ref_count_obj_struct_std::filesystem::_Recursive_dir_enum_impl_.0
call fcn.0041b240
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov byte [esi + 0x50], 1
mov dword [ebp - 0x2d8], 0xe
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], ebx
mov edi, dword [ebp - 0x5c]
mov byte [ebp - 4], 3
push dword [ebp - 0x2b4]
call fcn.0042758c
mov edx, dword [ebp - 0x2b8]
cmp edx, 8
jb 0x41c6ea
mov ecx, dword [ebp - 0x2cc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41c6e0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41cb1c
push edx
push ecx
call fcn.0043389e
add esp, 8
xor eax, eax
mov dword [ebp - 0x2bc], 0
mov dword [ebp - 0x2b8], 7
mov word [ebp - 0x2cc], ax
test edi, edi
jne 0x41cb21
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x2dc]
cmp edx, 8
jb 0x41c753
mov ecx, dword [ebp - 0x2f0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41c749
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41cb34
push edx
push ecx
call fcn.0043389e
add esp, 8
xor eax, eax
mov dword [ebp - 0x2e0], 0
mov dword [ebp - 0x2dc], 7
xorps xmm0, xmm0
mov word [ebp - 0x2f0], ax
movlpd qword [ebp - 0x44], xmm0
test ebx, ebx
je 0x41c780
lock inc dword [ebx + 4]
mov edi, ebx
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], edi
test ebx, ebx
je 0x41c790
lock inc dword [ebx + 4]
movlpd qword [ebp - 0x54], xmm0
xor ecx, ecx
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], ecx
mov byte [ebp - 4], 0xc
test ebx, ebx
je 0x41c7ca
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x41c7ca
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
or eax, 0xffffffff
lock xadd dword [ebx + 8], eax
jne 0x41c7ca
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov byte [ebp - 4], 0xd
nop
test esi, esi
je 0x41c91f
mov ecx, esi
call fcn.0041ae20
test al, al
je 0x41c904
lea eax, [esi + 0x20]
push eax
lea ecx, [ebp - 0x3c]
call fcn.004136a0
or dword [ebp - 0x2d8], 0x10
push 1
push dword [ebp - 0x2f4]
lea ecx, [ebp - 0x318]
mov byte [ebp - 4], 0xe
call fcn.0041df10
mov dword [ebp - 0x2d4], eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x3c]
cmp dword [ebp - 0x28], 8
mov eax, dword [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x3c]
lea edx, [ecx + eax*2]
lea ecx, [ebp - 0x3c]
cmovae ecx, dword [ebp - 0x3c]
push ecx
push 0x10
push dword [ebp - 0x2d4]
push ecx
call fcn.0041ebf0
mov edx, dword [ebp - 0x318]
add esp, 0x10
mov byte [ebp - 0x2cd], al
test edx, edx
je 0x41c86c
or ecx, 0xffffffff
lock xadd dword [edx + 0x20], ecx
jne 0x41c86c
mov ecx, dword [ebp - 0x318]
xor edx, edx
call fcn.00419dc0
mov dword [ebp - 0x318], 0
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x308]
test ecx, ecx
je 0x41c897
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x41c897
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
cmp byte [ebp - 0x2cd], 0
mov byte [ebp - 4], 0xe
je 0x41c8c6
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x3c]
push ecx
cmp dword [ebp - 0x1c], eax
je 0x41c8bd
mov ecx, eax
call fcn.004136a0
add dword [ebp - 0x20], 0x18
jmp 0x41c8c6
push eax
lea ecx, [ebp - 0x24]
call fcn.00415530
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x28]
cmp edx, 8
jb 0x41c904
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41c8fa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41cb39
push edx
push ecx
call fcn.0043389e
add esp, 8
lea ecx, [ebp - 0x44]
call fcn.0041b3e0
test eax, eax
jne 0x41cb3e
mov edi, dword [ebp - 0x40]
mov esi, dword [ebp - 0x44]
jmp 0x41c7d0
mov byte [ebp - 4], 0x11
xor ecx, ecx
or esi, 0xffffffff
mov byte [ebp - 4], 0x12
test edi, edi
je 0x41c94f
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x41c94f
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x41c94f
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov byte [ebp - 4], 0x13
test ebx, ebx
je 0x41c975
mov eax, esi
lock xadd dword [ebx + 4], eax
jne 0x41c975
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lock xadd dword [ebx + 8], esi
dec esi
jne 0x41c975
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov esi, dword [ebp - 0x2f8]
jmp 0x41cad0
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x24]
mov dword [esi], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 8], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call fcn.00414290
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00433370
mov esp, ebp
pop ebp
ret
call fcn.0043d7cf
lea eax, [ebp - 0x2f0]
mov edx, edi
push eax
mov ecx, str.recursive_directory_iterator::recursive_directory_iterator
call fcn.0041ad00
call fcn.0043d7cf
call fcn.0043d7cf
mov edx, eax
mov ecx, str.recursive_directory_iterator::operator
call fcn.0041abc0
int3