Function at 0x10090040
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101bf8ce
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x102258ec]
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 - 0xa4], edi
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
cmp dword [esi + 0x14], 8
mov dword [ebp - 4], eax
mov eax, esi
jb 0x100900ae
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100900ed
movups xmm0, xmmword [ebp - 0x54]
mov dword [edi + 0x10], eax
lea ecx, [ebp - 0x54]
mov dword [edi + 0x14], eax
movups xmmword [edi], xmm0
mov word [ebp - 0x54], ax
movq xmm0, qword [ebp - 0x44]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], 7
call fcn.10017de0
mov eax, edi
jmp 0x100907a1
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
mov byte [ebp - 4], 1
jb 0x100900fc
mov esi, dword [esi]
xor ecx, ecx
mov dword [ebp - 0x2c], 0
push eax
mov word [ebp - 0x3c], cx
lea ecx, [ebp - 0x3c]
push esi
mov dword [ebp - 0x28], 7
call fcn.1001e830
mov dword [ebp - 0x7c], 6
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
push 0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.1008bc80
add esp, 0xc
test eax, eax
jne 0x100907bf
lea ecx, [ebp - 0x3c]
call fcn.10017de0
mov edi, dword [ebp - 0x84]
test edi, edi
je 0x1009016c
lock inc dword [edi + 4]
mov esi, dword [ebp - 0x88]
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x8c], edi
test edi, edi
je 0x10090186
lock inc dword [edi + 4]
xorps xmm0, xmm0
movlpd qword [ebp - 0xb0], xmm0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0
test edi, edi
je 0x100901ca
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x100901ca
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x100901ca
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov byte [ebp - 4], 7
mov edi, 0x2e
test esi, esi
je 0x1009060b
mov ecx, dword [esi + 0x1c]
mov eax, ecx
and eax, 3
mov dword [ebp - 0x9c], 0
cmp al, 3
jne 0x100902dd
mov eax, dword [esi + 0x10]
test eax, 0x400
je 0x100902cf
mov ecx, dword [esi + 0x14]
cmp ecx, 0xa000000c
jne 0x100902bd
mov eax, 4
cmp eax, 2
jne 0x1009067d
lea eax, [esi + 0x20]
push eax
lea ecx, [ebp - 0x3c]
call fcn.1001ba40
xor eax, eax
mov byte [ebp - 4], 8
mov word [ebp - 0x6c], ax
lea ecx, [ebp - 0x6c]
push 7
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x2a002e
push eax
mov dword [ebp - 0x20], 0x2e005c
mov dword [ebp - 0x1c], 0x780065
mov dword [ebp - 0x18], 0x65
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
call fcn.1001e830
or dword [ebp - 0x7c], 0x18
push 1
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x164]
call fcn.1004e730
mov edi, eax
cmp dword [ebp - 0x28], 8
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 0x2c]
cmovae edx, dword [ebp - 0x3c]
mov esi, dword [edi]
lea eax, [edx + eax*2]
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
mov dword [ebp - 0x80], eax
test esi, esi
jne 0x10090352
mov byte [ebp - 0x75], 0
jmp 0x10090553
cmp ecx, 0xa0000003
jne 0x100902cf
mov eax, 0xa
jmp 0x10090217
and eax, 0x10
or eax, 0x20
shr eax, 4
jmp 0x10090217
test cl, 2
je 0x10090327
cmp dword [esi + 0x34], 8
lea eax, [esi + 0x20]
jb 0x100902ed
mov eax, dword [eax]
push dword [esi + 0x10]
lea ecx, [ebp - 0x74]
push 3
push ecx
push eax
call fcn.100b6f10
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x94], eax
push ecx
push eax
lea ecx, [ebp - 0x9c]
call fcn.10091960
mov ecx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x9c]
test ecx, ecx
jne 0x1009033b
jmp 0x10090217
mov ecx, 2
mov dword [ebp - 0x98], 0xffff
mov eax, 1
cmp eax, 1
je 0x10090217
cmp eax, 9
jne 0x100907ce
jmp 0x10090217
mov eax, dword [esi + 0x14]
lea edx, [edi + 4]
mov ecx, dword [esi + 0x1c]
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe8], 0
mov edi, dword [ebp - 0xa0]
mov dword [ebp - 0xd4], eax
lea eax, [ebp - 0xf0]
mov dword [ebp - 0xe0], edi
mov edi, dword [ebp - 0x80]
mov dword [ebp - 0xc8], ecx
mov ecx, eax
push eax
mov dword [ebp - 0xdc], edi
mov dword [ebp - 0xd8], esi
mov dword [ebp - 0xd0], 0x10
mov byte [ebp - 0xcc], 0
mov byte [ebp - 0xc4], 0
mov dword [ebp - 0xc0], edx
push dword [esi + 0x18]
mov byte [ebp - 4], 0xd
call fcn.1004f640
mov eax, dword [ebp - 0xdc]
lea ecx, [ebp - 0x12c]
push 0
push dword [ebp - 0xc8]
mov byte [ebp - 4], 0xe
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0x130], eax
call fcn.100597e0
lea eax, [ebp - 0x11c]
push eax
push dword [ebp - 0xc8]
mov ecx, eax
call fcn.1004f500
push dword [ebp - 0xd8]
lea ecx, [ebp - 0x130]
mov word [ebp - 0xcc], 0
mov byte [ebp - 0xbc], 1
mov dword [ebp - 0xb8], 0x989680
mov dword [ebp - 0xb4], 0x3e8
call fcn.10058840
mov ecx, dword [ebp - 0xf0]
test al, al
mov byte [ebp - 4], 0xa
setne byte [ebp - 0x75]
test ecx, ecx
je 0x1009053d
mov eax, dword [ebp - 0xe8]
sub eax, ecx
sar eax, 3
lea edx, [eax*8]
mov eax, ecx
cmp edx, 0x1000
jb 0x10090515
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100907dd
push edx
push ecx
call fcn.101454bc
add esp, 8
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe8], 0
lea ecx, [ebp - 0x110]
call fcn.10050240
lea ecx, [ebp - 0x130]
call fcn.10050240
mov ecx, dword [ebp - 0x164]
test ecx, ecx
je 0x10090577
or eax, 0xffffffff
lock xadd dword [ecx + 0x20], eax
jne 0x10090577
push 0
push dword [ebp - 0x164]
call fcn.10056e50
add esp, 8
mov dword [ebp - 0x164], 0
mov ecx, dword [ebp - 0x154]
mov byte [ebp - 4], 0xf
test ecx, ecx
je 0x100905a4
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x100905a4
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
mov edx, dword [ebp - 0x58]
mov byte [ebp - 4], 8
cmp edx, 8
jb 0x100905e2
mov ecx, dword [ebp - 0x6c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100905d8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100907e2
push edx
push ecx
call fcn.101454bc
add esp, 8
cmp byte [ebp - 0x75], 0
je 0x1009066c
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
push dword [ebp - 0x2c]
cmovae eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x54]
push eax
call fcn.1001e830
lea ecx, [ebp - 0x3c]
call fcn.10017de0
xor edi, edi
or esi, 0xffffffff
mov edi, dword [ebp - 0x8c]
test edi, edi
je 0x10090639
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x10090639
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x10090639
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edi, dword [ebp - 0x84]
test edi, edi
je 0x10090661
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x10090661
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x10090661
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov eax, dword [ebp - 0xa4]
jmp 0x10090782
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 7
call fcn.10017de0
mov edi, 0x2e
lea eax, [ebp - 0x90]
push eax
call fcn.100912c0
add esp, 4
test eax, eax
jne 0x100907e7
mov esi, dword [ebp - 0x90]
jmp 0x100901d3
movups xmm0, xmmword [ebp - 0x54]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x44]
movq qword [eax + 0x10], xmm0
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.101454ca
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x3c]
push ecx
push eax
push str.recursive_directory_iterator::recursive_directory_iterator
call fcn.10042d80
lea eax, [esi + 0x20]
push eax
push ecx
push str.directory_entry::status
call fcn.10042d80
call fcn.1018b109
call fcn.1018b109
push eax
push str.recursive_directory_iterator::operator
call fcn.10042d00
int3