Function at 0x41bd90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45cd09
mov eax, dword fs:[0]
push eax
sub esp, 0x30c
mov eax, dword [0x474104]
xor eax, ebp
mov dword [ebp - 0x14], 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 - 0x2f4], ebx
mov dword [ebp - 0x2d0], ebx
mov dword [ebp - 0x2f8], ebx
mov dword [ebp - 0x2fc], 0
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 1
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x41be1a
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41be94
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x20]
mov dword [ebx], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebx + 8], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.00414290
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x41be8d
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41be83
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c4af
push edx
push ecx
call fcn.0043389e
add esp, 8
mov eax, ebx
jmp 0x41c493
mov byte [ebp - 4], 2
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x41bea3
mov esi, dword [esi]
xor ecx, ecx
mov dword [ebp - 0x2dc], 0
push eax
mov word [ebp - 0x2ec], cx
lea ecx, [ebp - 0x2ec]
push esi
mov dword [ebp - 0x2d8], 7
call fcn.00406fd0
mov dword [ebp - 0x2d4], 6
xor esi, esi
xor ebx, ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x2f0], esi
mov dword [ebp - 0x44], esi
push esi
lea eax, [ebp - 0x2ec]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x2c8]
call fcn.0041b020
mov byte [ebp - 4], 5
cmp byte [ebp - 0x5c], bl
je 0x41bf59
push 0x50
call fcn.004335f1
mov esi, eax
add esp, 4
mov dword [ebp - 0x2f0], esi
mov dword [ebp - 0x2d0], esi
push ecx
mov byte [ebp - 4], 6
lea eax, [ebp - 0x2c8]
lea ebx, [esi + 0x10]
mov dword [esi + 4], 1
push eax
mov ecx, ebx
mov dword [esi + 8], 1
mov dword [esi], vtable.std::_Ref_count_obj_struct_std::filesystem::_Dir_enum_impl_.0
call fcn.0041b240
mov dword [ebp - 0x2d4], 0xe
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], esi
mov edi, dword [ebp - 0x58]
mov byte [ebp - 4], 4
push dword [ebp - 0x2b0]
call fcn.0042758c
mov edx, dword [ebp - 0x2b4]
cmp edx, 8
jb 0x41bfab
mov ecx, dword [ebp - 0x2c8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41bfa1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c4b4
push edx
push ecx
call fcn.0043389e
add esp, 8
xor eax, eax
mov dword [ebp - 0x2b8], 0
mov dword [ebp - 0x2b4], 7
mov word [ebp - 0x2c8], ax
test edi, edi
jne 0x41c4b9
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x2d8]
cmp edx, 8
jb 0x41c014
mov ecx, dword [ebp - 0x2ec]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41c00a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c4cc
push edx
push ecx
call fcn.0043389e
add esp, 8
xor eax, eax
mov dword [ebp - 0x2dc], 0
mov dword [ebp - 0x2d8], 7
xorps xmm0, xmm0
mov word [ebp - 0x2ec], ax
movlpd qword [ebp - 0x28], xmm0
test esi, esi
je 0x41c041
lock inc dword [esi + 4]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], esi
test esi, esi
je 0x41c04f
lock inc dword [esi + 4]
movlpd qword [ebp - 0x50], xmm0
xor ecx, ecx
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], ecx
or edi, 0xffffffff
mov byte [ebp - 4], 0xd
test esi, esi
je 0x41c08a
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x41c08a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x41c08a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 0xe
nop
test ebx, ebx
je 0x41c23d
mov ecx, ebx
call fcn.0041ae20
test al, al
je 0x41c1c5
lea eax, [ebx + 0x20]
push eax
lea ecx, [ebp - 0x40]
call fcn.004136a0
or dword [ebp - 0x2d4], 0x10
push 0x100
lea eax, [ebp + 8]
mov byte [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0x314]
call fcn.0041df10
mov dword [ebp - 0x2d0], eax
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
mov eax, dword [ebp - 0x30]
cmovae ecx, dword [ebp - 0x40]
lea edx, [ecx + eax*2]
lea ecx, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x40]
push ecx
push 0x10
push dword [ebp - 0x2d0]
push ecx
call fcn.0041ebf0
mov edx, dword [ebp - 0x314]
add esp, 0x10
mov byte [ebp - 0x2c9], al
test edx, edx
je 0x41c12d
or ecx, 0xffffffff
lock xadd dword [edx + 0x20], ecx
jne 0x41c12d
mov ecx, dword [ebp - 0x314]
xor edx, edx
call fcn.00419dc0
mov dword [ebp - 0x314], 0
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x304]
test ecx, ecx
je 0x41c158
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x41c158
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
cmp byte [ebp - 0x2c9], 0
mov byte [ebp - 4], 0x10
je 0x41c187
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x40]
push ecx
cmp dword [ebp - 0x18], eax
je 0x41c17e
mov ecx, eax
call fcn.004136a0
add dword [ebp - 0x1c], 0x18
jmp 0x41c187
push eax
lea ecx, [ebp - 0x20]
call fcn.00415530
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x41c1c5
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41c1bb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c4d1
push edx
push ecx
call fcn.0043389e
add esp, 8
lea eax, [ebp - 0x2a8]
push eax
push dword [ebx + 0x38]
call fcn.0042756b
test eax, eax
jne 0x41c1ee
lea eax, [ebp - 0x2a8]
mov ecx, ebx
push eax
call fcn.0041b0c0
or edi, 0xffffffff
jmp 0x41c090
cmp eax, 0x12
jne 0x41c4d6
mov esi, dword [ebp - 0x24]
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
or edi, 0xffffffff
mov byte [ebp - 4], 0xf
test esi, esi
je 0x41c08a
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x41c08a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x41c08a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
jmp 0x41c08a
mov byte [ebp - 4], 0x13
xor ecx, ecx
mov byte [ebp - 4], 0x14
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41c26d
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x41c26d
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov eax, edi
lock xadd dword [ebx + 8], eax
jne 0x41c26d
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov byte [ebp - 4], 0x15
mov esi, dword [ebp - 0x2f0]
test esi, esi
je 0x41c299
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x41c299
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x41c299
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0x2f4]
jmp 0x41c42d
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x20]
mov dword [esi], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 8], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.00414290
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x41c491
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41c487
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c4e2
push edx
push ecx
call fcn.0043389e
add esp, 8
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 - 0x14]
xor ecx, ebp
call fcn.00433370
mov esp, ebp
pop ebp
ret
call fcn.0043d7cf
call fcn.0043d7cf
lea eax, [ebp - 0x2ec]
mov edx, edi
push eax
mov ecx, str.directory_iterator::directory_iterator
call fcn.0041ad00
call fcn.0043d7cf
call fcn.0043d7cf
mov edx, eax
mov ecx, str.directory_iterator::operator
call fcn.0041abc0
call fcn.0043d7cf
int3