Function at 0x407260
Capabilities:
Get file attributes

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x503b25
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x9d0
push esi
xor eax, eax
push edi
mov edi, ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x14], al
lea edx, [ebx + 8]
push dword [ebp - 0x14]
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], 1
call fcn.00471510
add esp, 4
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x54]
call fcn.00406d20
add esp, 4
movq xmm0, qword [eax]
mov edx, dword [eax + 8]
movq qword [ebp - 0xf4], xmm0
mov esi, dword [ebp - 0xf4]
test edx, edx
je 0x4072f6
cmp esi, 1
je 0x4072f6
cmp esi, 9
jne 0x407c9b
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.004689a0
cmp esi, 3
jne 0x407c12
cmp dword [ebx + 0x30], 0
jne 0x407472
mov byte [ebp - 0x14], 0
lea edx, [ebx + 8]
push dword [ebp - 0x14]
lea ecx, [ebp - 0x54]
call fcn.00471510
add esp, 4
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x54]
call fcn.00404810
push ecx
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
push ecx
mov ecx, eax
call fcn.00469e70
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x20]
mov eax, edx
mov ecx, dword [ebp - 0x24]
sub eax, ecx
cmp eax, 4
jb 0x407381
lea eax, [ecx + 4]
cmp edx, 0x10
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
mov dword [eax + ecx], 0x70697a2e
mov byte [eax + ecx + 4], 0
lea eax, [ebp - 0x34]
jmp 0x407399
push 4
push str..zip
mov byte [ebp - 0x14], 0
lea ecx, [ebp - 0x34]
push dword [ebp - 0x14]
push 4
call fcn.0046c3b0
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov eax, 0x500
mov ecx, dword [ebx + 0x34]
movq qword [ebp - 0xa8], xmm1
mov dword [ebp - 0x1c], eax
movups xmmword [ebp - 0xf8], xmm0
cmp ecx, 0x10
jb 0x40740c
mov edx, dword [ebx + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4073f3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407ca9
push ecx
push edx
call fcn.004dd831
movups xmm0, xmmword [ebp - 0xf8]
add esp, 8
movq xmm1, qword [ebp - 0xa8]
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x20]
movq qword [ebx + 0x30], xmm1
movups xmmword [ebx + 0x20], xmm0
cmp ecx, 0x10
jb 0x40744d
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407443
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407ca9
push ecx
push edx
call fcn.004dd831
add esp, 8
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
call fcn.004689a0
lea ecx, [ebp - 0x54]
call fcn.004689a0
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x38], 0
mov byte [ebp - 4], 6
lea ecx, [ebx + 0x20]
cmp dword [ebx + 0x34], 0x10
cmovae ecx, dword [ebx + 0x20]
sub esp, 8
xor edx, edx
push edi
call fcn.00489c90
add esp, 0xc
mov byte [ebp - 0x14], 0
mov edi, eax
lea edx, [ebx + 8]
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x3c], edi
push dword [ebp - 0x14]
call fcn.00471510
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
lea edx, [ebp - 0x54]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x60]
call fcn.0046a0c0
add esp, 4
test eax, eax
jne 0x407cae
lea ecx, [ebp - 0x54]
call fcn.004689a0
mov ecx, dword [ebp - 0x5c]
test ecx, ecx
je 0x4074ef
lock inc dword [ecx + 4]
mov esi, dword [ebp - 0x60]
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x68], ecx
test ecx, ecx
je 0x407500
lock inc dword [ecx + 4]
xorps xmm0, xmm0
movlpd qword [ebp - 0xa4], xmm0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
test ecx, ecx
je 0x407543
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x407543
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x5c]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x407543
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xc
test esi, esi
je 0x407b7c
lea eax, [ebp - 0xc0]
lea ecx, [esi + 0x20]
push eax
call fcn.00404560
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0xc0]
cmp dword [ebp - 0xac], 0x10
cmovae eax, dword [ebp - 0xc0]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
shr eax, 4
lea edx, [ebx + 8]
mov byte [ebp - 0x14], 0
lea ecx, [ebp - 0xd8]
push dword [ebp - 0x14]
and al, 1
mov dword [ebp - 0x58], eax
call fcn.00471510
add esp, 4
mov byte [ebp - 0x88], 0
lea edx, [ebp - 0xc0]
push dword [ebp - 0x88]
lea ecx, [ebp - 0x1e0]
mov byte [ebp - 4], 0xe
call fcn.00471510
add esp, 4
lea edx, [ebp - 0x1e0]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x84]
call fcn.00407170
lea edx, [ebp - 0xd8]
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x54]
call fcn.00407170
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0x1c8]
push eax
lea ecx, [ebp - 0x84]
call fcn.00404f10
or dword [ebp - 0x1c], 0x10
lea ecx, [ebp - 0x54]
call fcn.004689a0
lea ecx, [ebp - 0x84]
call fcn.004689a0
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0x1c8]
call fcn.00404560
lea ecx, [ebp - 0x1c8]
call fcn.004689a0
lea ecx, [ebp - 0x1e0]
call fcn.004689a0
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0x16
call fcn.004689a0
mov eax, dword [ebp - 0x34]
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
nop dword [eax + eax]
push 1
cmp esi, 0x10
lea ecx, [ebp - 0x34]
push 0x5217fc
cmovae ecx, eax
mov edx, edi
push 0
setae byte [ebp - 0x15]
call fcn.0046bbf0
add esp, 0xc
cmp eax, 0xffffffff
je 0x4077be
xorps xmm0, xmm0
mov dword [ebp - 0x74], 1
movups xmmword [ebp - 0x84], xmm0
mov dword [ebp - 0x70], 0xf
mov word [ebp - 0x84], 0x5c
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x40], 0xf
mov word [ebp - 0x54], 0x2f
cmp esi, 0x10
mov byte [ebp - 4], 0x18
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x34]
cmovae ecx, eax
lea edx, [ebp - 0x54]
mov dword [ebp - 0x94], ecx
cmp edi, 1
jb 0x40777a
movsx edx, byte [edx]
lea eax, [edi + ecx]
mov dword [ebp - 0x8c], eax
sub eax, ecx
push eax
push edx
push ecx
mov dword [ebp - 0x90], edx
call fcn.004e1000
mov edi, eax
add esp, 0xc
test edi, edi
je 0x407774
nop dword [eax]
mov al, byte [edi]
lea ecx, [ebp - 0x54]
cmp al, byte [ecx]
je 0x407720
sbb eax, eax
or eax, 1
jmp 0x407722
xor eax, eax
test eax, eax
je 0x407747
mov eax, dword [ebp - 0x8c]
inc edi
sub eax, edi
push eax
push dword [ebp - 0x90]
push edi
call fcn.004e1000
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x407710
jmp 0x407771
sub edi, dword [ebp - 0x94]
cmp edi, 0xffffffff
je 0x407771
cmp dword [ebp - 0x70], 0x10
lea eax, [ebp - 0x84]
push 1
cmovae eax, dword [ebp - 0x84]
lea ecx, [ebp - 0x34]
push eax
push 1
push edi
call fcn.00468ce0
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
mov edi, dword [ebp - 0x24]
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x70]
cmp ecx, 0x10
jb 0x407660
mov edx, dword [ebp - 0x84]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4077af
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407ca9
push ecx
push edx
call fcn.004dd831
add esp, 8
jmp 0x407652
cmp byte [ebp - 0x58], 0
mov edx, 0x521800
mov eax, 0x5214b8
cmove edx, eax
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4077d4
mov eax, 0x7fffffff
sub ecx, esi
sub eax, edi
cmp eax, ecx
jb 0x407cc5
cmp byte [ebp - 0x15], 0
lea eax, [ebp - 0x34]
push ecx
cmovne eax, dword [ebp - 0x34]
push edx
push edi
push eax
push ecx
push dword [ebp - 0x64]
lea ecx, [ebp - 0x54]
call fcn.0046dfc0
or dword [ebp - 0x1c], 1
mov byte [ebp - 4], 0x19
lea esi, [ebp - 0x54]
mov edx, dword [ebp - 0x40]
cmp edx, 0x10
mov ecx, dword [ebp - 0x54]
mov edi, dword [ebp - 0x64]
cmovae esi, ecx
test edi, edi
je 0x4078d0
cmp byte [ebp - 0x38], 0
je 0x407840
push ecx
mov ecx, edi
call fcn.0048a830
add esp, 4
mov byte [ebp - 0x38], 0
nop
mov al, byte [esi]
cmp al, 0x5c
je 0x40784a
cmp al, 0x2f
jne 0x40784d
inc esi
jmp 0x407840
xorps xmm0, xmm0
lea eax, [ebp - 0xf0]
push eax
movups xmmword [ebp - 0xe0], xmm0
movups xmmword [ebp - 0xd0], xmm0
call fcn.004eb7cb
add esp, 4
lea eax, [ebp - 0xf0]
push eax
call fcn.004ebac4
sub esp, 0x3c
mov edx, esi
mov ecx, dword [eax]
mov dword [ebp - 0xe4], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 0xe0], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0xdc], ecx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xd8], ecx
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0xd0], eax
lea eax, [ebp - 0xe4]
mov dword [ebp - 0xd4], ecx
mov ecx, edi
push eax
call fcn.0048a160
mov edx, dword [ebp - 0x40]
add esp, 0x44
mov ecx, dword [ebp - 0x54]
test eax, eax
sete byte [ebp - 0x38]
mov byte [ebp - 4], 0x16
cmp edx, 0x10
jb 0x407902
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4078f8
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407ca9
push edx
push ecx
call fcn.004dd831
add esp, 8
mov dword [ebp - 0x1b0], 0x521d5c
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - method.std::basic_ios_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x1b0]
mov eax, dword [ebp - 0x1c]
sub esp, 8
or eax, 2
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x1a0]
push eax
call fcn.004687f0
mov dword [ebp - 4], 0x1b
mov eax, dword [ebp - 0x1b0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1b0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x1b4], eax
lea ecx, [ebp - 0x1a0]
call fcn.00468640
mov byte [ebp - 4], 0x1c
lea eax, [ebp - 0xc0]
cmp dword [ebp - 0xac], 0x10
lea ecx, [ebp - 0x1a0]
cmovae eax, dword [ebp - 0xc0]
sub esp, 8
push eax
call fcn.00469610
test eax, eax
lea ecx, [ebp - 0x1b0]
mov eax, dword [ebp - 0x1b0]
je 0x4079e5
add ecx, dword [eax + 4]
xor edx, edx
mov eax, 4
cmp dword [ecx + 0x38], edx
cmovne eax, edx
jmp 0x4079fa
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push 0
push eax
call fcn.00403bb0
cmp byte [ebp - 0x38], 0
je 0x407a66
nop dword [eax + eax]
mov eax, dword [ebp - 0x1b0]
mov eax, dword [eax + 4]
cmp dword [ebp + eax - 0x1a4], 0
jne 0x407a57
sub esp, 8
lea eax, [ebp - 0x9e0]
lea ecx, [ebp - 0x1b0]
push eax
call fcn.004653a0
mov eax, dword [ebp - 0x1a8]
test eax, eax
je 0x407a57
push eax
lea edx, [ebp - 0x9e0]
mov ecx, edi
call fcn.0048a6e0
add esp, 4
test eax, eax
je 0x407a10
push ecx
mov ecx, edi
call fcn.0048a830
add esp, 4
mov byte [ebp - 0x38], 0
mov eax, dword [ebp - 0x1b0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1b0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x1b4], eax
lea ecx, [ebp - 0x1a0]
call fcn.00464f30
mov eax, dword [ebp - 0x1b0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1b0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x1b4], eax
lea eax, [ebp - 0x140]
mov byte [ebp - 4], 0x1d
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004dc68c
mov byte [ebp - 4], 0xd
add esp, 4
mov ecx, dword [ebp - 0x20]
cmp ecx, 0x10
jb 0x407b14
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407b0a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407ca9
push ecx
push edx
call fcn.004dd831
add esp, 8
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
cmp ecx, 0x10
jb 0x407b64
mov edx, dword [ebp - 0xc0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407b5a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407ca9
push ecx
push edx
call fcn.004dd831
add esp, 8
lea ecx, [ebp - 0x6c]
call fcn.00406650
test eax, eax
jne 0x407cbe
mov esi, dword [ebp - 0x6c]
jmp 0x407547
mov esi, dword [ebp - 0x68]
test esi, esi
je 0x407ba4
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x407ba4
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x407ba4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x5c]
test esi, esi
je 0x407bd0
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x407bd0
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x407bd0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
test edi, edi
je 0x407bf2
cmp byte [ebp - 0x38], 0
je 0x407be9
push ecx
mov ecx, edi
call fcn.0048a830
add esp, 4
mov byte [ebp - 0x38], 0
mov ecx, edi
call fcn.0048b4f0
xor edi, edi
mov byte [ebp - 4], 0x1e
test edi, edi
je 0x407c12
cmp byte [ebp - 0x38], 0
je 0x407c0b
push ecx
mov ecx, edi
call fcn.0048a830
add esp, 4
mov ecx, edi
call fcn.0048b4f0
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0x10
jb 0x407c46
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407c3c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407cca
push ecx
push edx
call fcn.004dd831
add esp, 8
mov ecx, dword [ebx + 0x34]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0xf
mov byte [ebx + 8], 0
cmp ecx, 0x10
jb 0x407c88
mov edx, dword [ebx + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407c7e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407cca
push ecx
push edx
call fcn.004dd831
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
lea eax, [ebp - 0x54]
mov ecx, str.status
push eax
call fcn.004062f0
call fcn.004e2ad0
lea ecx, [ebp - 0x54]
mov edx, eax
push ecx
mov ecx, str.recursive_directory_iterator::recursive_directory_iterator
call fcn.004062f0
mov edx, eax
call fcn.004061d0
call fcn.00402050
call fcn.004e2ad0
int3