Function at 0x10031ec0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10155ff2
mov eax, dword fs:[0]
push eax
sub esp, 0x314
mov eax, dword [0x101a4494]
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 edi, dword [ebp + 8]
xor eax, eax
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x300], edi
mov dword [ebp - 0x304], edi
mov dword [ebp - 0x31c], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
cmp dword [esi + 0x14], 8
mov dword [ebp - 4], eax
mov eax, esi
jb 0x10031f2e
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10031f6d
movups xmm0, xmmword [ebp - 0x44]
mov dword [edi + 0x10], eax
lea ecx, [ebp - 0x44]
mov dword [edi + 0x14], eax
movups xmmword [edi], xmm0
mov word [ebp - 0x44], ax
movq xmm0, qword [ebp - 0x34]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 7
call fcn.100098e0
mov eax, edi
jmp 0x100326ea
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
mov byte [ebp - 4], 1
jb 0x10031f7c
mov esi, dword [esi]
xor ecx, ecx
mov dword [ebp - 0x1c], 0
push eax
mov word [ebp - 0x2c], cx
lea ecx, [ebp - 0x2c]
push esi
mov dword [ebp - 0x18], 7
call fcn.1000bc10
mov dword [ebp - 0x2c4], 6
xor edi, edi
xor esi, esi
mov dword [ebp - 0x30c], esi
mov dword [ebp - 0x2c8], edi
mov dword [ebp - 0x308], edi
push edi
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x2b8]
call fcn.10014f00
xor ecx, ecx
mov byte [ebp - 4], 4
mov dword [ebp - 0x2f0], edi
mov dword [ebp - 0x2f8], edi
mov dword [ebp - 0x2d4], ecx
mov dword [ebp - 0x2cc], ecx
cmp byte [ebp - 0x4c], cl
je 0x10032086
push 0x68
call fcn.100f4a3f
mov edi, eax
add esp, 4
mov dword [ebp - 0x2c8], edi
mov dword [ebp - 0x2c0], edi
mov byte [ebp - 4], 5
test edi, edi
je 0x1003204b
push esi
lea eax, [ebp - 0x2b8]
mov dword [edi + 4], 1
push eax
lea ecx, [edi + 0x10]
mov dword [edi + 8], 1
mov dword [edi], vtable.std::_Ref_count_obj_struct_std::filesystem::_Recursive_dir_enum_impl_.0
call fcn.10014fa0
mov dword [edi + 0x50], esi
mov dword [edi + 0x54], esi
mov dword [edi + 0x58], esi
mov dword [edi + 0x5c], esi
mov byte [edi + 0x60], 1
jmp 0x10032053
xor edi, edi
mov dword [ebp - 0x2c8], edi
mov eax, edi
mov dword [ebp - 0x2c4], 0xe
lea esi, [edi + 0x10]
mov dword [ebp - 0x2f0], eax
mov dword [ebp - 0x30c], esi
mov dword [ebp - 0x308], edi
mov dword [ebp - 0x2f8], eax
mov dword [ebp - 0x2d4], eax
mov dword [ebp - 0x2cc], eax
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x2b8]
mov dword [ebp - 0x2c0], eax
mov byte [ebp - 4], 3
call fcn.10015a90
mov eax, dword [ebp - 0x2c0]
test eax, eax
jne 0x10032708
lea ecx, [ebp - 0x2c]
call fcn.100098e0
cmp dword [ebp - 0x2f0], 0
je 0x100320cf
mov eax, dword [ebp - 0x2f8]
lock inc dword [eax + 4]
mov eax, dword [ebp - 0x2cc]
jmp 0x100320d5
mov eax, dword [ebp - 0x2d4]
mov dword [ebp - 0x2d0], esi
mov dword [ebp - 0x2cc], edi
test eax, eax
je 0x100320e9
lock inc dword [edi + 4]
xorps xmm0, xmm0
movlpd qword [ebp - 0x2fc], xmm0
mov dword [ebp - 0x2fc], 0
mov dword [ebp - 0x2f8], 0
test edi, edi
je 0x1003212d
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x1003212d
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x1003212d
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov byte [ebp - 4], 9
test esi, esi
je 0x1003258c
push 3
lea eax, [ebp - 0x318]
mov ecx, esi
push eax
call fcn.10033650
mov ecx, dword [ebp - 0x310]
mov eax, dword [ebp - 0x318]
test ecx, ecx
je 0x10032167
cmp eax, 1
je 0x10032167
cmp eax, 9
jne 0x10032717
cmp eax, 2
jne 0x100325f9
lea eax, [esi + 0x20]
push eax
lea ecx, [ebp - 0x2c]
call fcn.1000da50
or dword [ebp - 0x2c4], 0x10
mov eax, dword [0x101aa748]
test al, 1
jne 0x1003219e
or eax, 1
mov dword [0x101aa744], 0
mov dword [0x101aa748], eax
mov byte [ebp - 0x2b9], 0
lea eax, [ebp - 0x2d8]
mov byte [ebp - 4], 0xb
push eax
call fcn.100511be
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x2f4], eax
lea eax, [ebp - 0x2b9]
mov dword [ebp - 0x2f0], eax
lea eax, [ebp - 0x2f4]
push eax
push 0x1002c150
push 0x101aa744
call fcn.1004fca3
add esp, 0x10
test eax, eax
je 0x1003261b
lea eax, [ebp - 0x2d8]
mov byte [ebp - 4], 0xd
push eax
call fcn.100511f8
lea eax, [ebp - 0x2e8]
mov dword [ebp - 0x2ec], 0
mov dword [ebp - 0x2c0], eax
push 1
mov byte [ebp - 4], 0x10
call fcn.1004f9b0
mov dword [ebp - 0x2dc], eax
lea eax, [ebp - 0x2e0]
mov byte [ebp - 4], 0x11
push eax
call fcn.10021c60
add esp, 0xc
mov dword [ebp - 0x2e8], eax
lea eax, [ebp - 0x2e0]
push eax
call fcn.10008ac0
add esp, 4
mov dword [ebp - 0x2e4], eax
mov ecx, 0x101aa74c
mov byte [ebp - 4], 0x12
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10032260
sub ecx, edx
sar ecx, 1
push 1
lea eax, [ecx*2 + 0x101aa74c]
push eax
push 0x101aa74c
lea eax, [ebp - 0x2e8]
push eax
lea ecx, [ebp - 0x98]
call fcn.100220d0
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x13
call fcn.10026440
mov edi, eax
test edi, edi
je 0x100322a9
lock inc dword [edi + 0x20]
mov ecx, dword [ebp - 0x2ec]
test ecx, ecx
je 0x100322cd
or eax, 0xffffffff
lock xadd dword [ecx + 0x20], eax
jne 0x100322cd
push 0
push dword [ebp - 0x2ec]
call fcn.10026610
add esp, 8
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x2ec], edi
mov byte [ebp - 4], 0x12
test ecx, ecx
je 0x1003231e
mov eax, dword [ebp - 0x7c]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003230e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10032726
push edx
push ecx
call fcn.100f4a6f
mov edi, dword [ebp - 0x2ec]
add esp, 8
cmp dword [ebp - 0x18], 8
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
cmovae edx, dword [ebp - 0x2c]
lea eax, [edx + eax*2]
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x2c0], eax
cmovae edx, dword [ebp - 0x2c]
test edi, edi
jne 0x1003234c
mov byte [ebp - 0x2b9], 0
jmp 0x1003252f
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x1c]
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov esi, dword [ebp - 0x2c0]
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x2e8]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x84]
mov dword [ebp - 0x5c], ecx
mov ecx, eax
push eax
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x64], 0x10
mov byte [ebp - 0x60], 0
mov byte [ebp - 0x58], 0
push dword [edi + 0x18]
mov byte [ebp - 4], 0x17
call fcn.10020550
mov eax, dword [ebp - 0x70]
lea ecx, [ebp - 0xc0]
push 0
push dword [ebp - 0x5c]
mov byte [ebp - 4], 0x18
mov dword [ebp - 0x78], eax
mov dword [ebp - 0xc4], eax
call fcn.1002b3c0
lea eax, [ebp - 0xb0]
push eax
push dword [ebp - 0x5c]
mov ecx, eax
call fcn.10020410
push dword [ebp - 0x6c]
lea ecx, [ebp - 0xc4]
mov word [ebp - 0x60], 0
mov byte [ebp - 0x50], 1
mov dword [ebp - 0x4c], 0x989680
mov dword [ebp - 0x48], 0x3e8
call fcn.10027e50
mov ecx, dword [ebp - 0x84]
test al, al
mov byte [ebp - 4], 0x14
setne byte [ebp - 0x2b9]
test ecx, ecx
je 0x100324f5
mov eax, dword [ebp - 0x7c]
sub eax, ecx
sar eax, 3
lea edx, [eax*8]
mov eax, ecx
cmp edx, 0x1000
jb 0x100324d3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003272b
push edx
push ecx
call fcn.100f4a6f
add esp, 8
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
lea ecx, [ebp - 0xa4]
call fcn.10022880
lea ecx, [ebp - 0xc4]
call fcn.10022880
mov ecx, dword [ebp - 0x2ec]
test ecx, ecx
je 0x1003252f
or eax, 0xffffffff
lock xadd dword [ecx + 0x20], eax
jne 0x1003252f
push 0
push dword [ebp - 0x2ec]
call fcn.10026610
add esp, 8
mov dword [ebp - 0x2ec], 0
mov ecx, dword [ebp - 0x2dc]
mov byte [ebp - 4], 0x19
test ecx, ecx
je 0x1003255c
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x1003255c
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
cmp byte [ebp - 0x2b9], 0
mov byte [ebp - 4], 0xa
je 0x100325ed
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x44]
push eax
call fcn.1000bc10
lea ecx, [ebp - 0x2c]
call fcn.100098e0
xor edi, edi
or esi, 0xffffffff
mov edi, dword [ebp - 0x2cc]
test edi, edi
je 0x100325ba
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x100325ba
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x100325ba
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edi, dword [ebp - 0x2c8]
test edi, edi
je 0x100325e2
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x100325e2
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x100325e2
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov esi, dword [ebp - 0x300]
jmp 0x100326ad
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
call fcn.100098e0
lea eax, [ebp - 0x2d0]
push eax
call fcn.10033340
add esp, 4
test eax, eax
jne 0x1003274b
mov esi, dword [ebp - 0x2d0]
jmp 0x10032131
lea eax, [ebp - 0x2d8]
mov byte [ebp - 4], 0xe
push eax
call fcn.10051219
add esp, 4
mov byte [ebp - 4], 0xc
test al, al
je 0x10032746
jmp 0x10032730
movups xmm0, xmmword [ebp - 0x44]
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x44]
mov dword [esi + 0x14], 0
xor eax, eax
movups xmmword [esi], xmm0
mov word [ebp - 0x44], ax
movq xmm0, qword [ebp - 0x34]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
call fcn.100098e0
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.100f4dc3
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x2c]
push ecx
push eax
push str.recursive_directory_iterator::recursive_directory_iterator
call fcn.1001cac0
lea eax, [esi + 0x20]
push eax
push ecx
push str.directory_entry::status
call fcn.1001cac0
call fcn.10131c3f
call fcn.10131c3f
sub esp, 8
lea eax, [ebp - 0x2d8]
mov ecx, esp
push eax
call fcn.10015050
call fcn.1001e290
call fcn.1004fcbb
push eax
push str.recursive_directory_iterator::operator
call fcn.1001ca40
int3