Function at 0x4075b0
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 0x5213f5
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.0048df50
add esp, 4
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x54]
call fcn.00407070
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 0x407646
cmp esi, 1
je 0x407646
cmp esi, 9
jne 0x407feb
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.00485430
cmp esi, 3
jne 0x407f62
cmp dword [ebx + 0x30], 0
jne 0x4077c2
mov byte [ebp - 0x14], 0
lea edx, [ebx + 8]
push dword [ebp - 0x14]
lea ecx, [ebp - 0x54]
call fcn.0048df50
add esp, 4
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x54]
call fcn.00404b60
push ecx
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
push ecx
mov ecx, eax
call fcn.004868d0
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 0x4076d1
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 0x4076e9
push 4
push str..zip
mov byte [ebp - 0x14], 0
lea ecx, [ebp - 0x34]
push dword [ebp - 0x14]
push 4
call fcn.00488e80
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 0x40775c
mov edx, dword [ebx + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407743
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407ff9
push ecx
push edx
call fcn.004fb0f1
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 0x40779d
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407793
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407ff9
push ecx
push edx
call fcn.004fb0f1
add esp, 8
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
call fcn.00485430
lea ecx, [ebp - 0x54]
call fcn.00485430
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.004a7410
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.0048df50
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.00486b20
add esp, 4
test eax, eax
jne 0x407ffe
lea ecx, [ebp - 0x54]
call fcn.00485430
mov ecx, dword [ebp - 0x5c]
test ecx, ecx
je 0x40783f
lock inc dword [ecx + 4]
mov esi, dword [ebp - 0x60]
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x68], ecx
test ecx, ecx
je 0x407850
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 0x407893
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x407893
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x5c]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x407893
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xc
test esi, esi
je 0x407ecc
lea eax, [ebp - 0xc0]
lea ecx, [esi + 0x20]
push eax
call fcn.004048b0
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.0048df50
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.0048df50
add esp, 4
lea edx, [ebp - 0x1e0]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x84]
call fcn.004074c0
lea edx, [ebp - 0xd8]
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x54]
call fcn.004074c0
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0x1c8]
push eax
lea ecx, [ebp - 0x84]
call fcn.00405260
or dword [ebp - 0x1c], 0x10
lea ecx, [ebp - 0x54]
call fcn.00485430
lea ecx, [ebp - 0x84]
call fcn.00485430
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0x1c8]
call fcn.004048b0
lea ecx, [ebp - 0x1c8]
call fcn.00485430
lea ecx, [ebp - 0x1e0]
call fcn.00485430
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0x16
call fcn.00485430
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 0x542818
cmovae ecx, eax
mov edx, edi
push 0
setae byte [ebp - 0x15]
call fcn.004886c0
add esp, 0xc
cmp eax, 0xffffffff
je 0x407b0e
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 0x407aca
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.004fe8c0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x407ac4
nop dword [eax]
mov al, byte [edi]
lea ecx, [ebp - 0x54]
cmp al, byte [ecx]
je 0x407a70
sbb eax, eax
or eax, 1
jmp 0x407a72
xor eax, eax
test eax, eax
je 0x407a97
mov eax, dword [ebp - 0x8c]
inc edi
sub eax, edi
push eax
push dword [ebp - 0x90]
push edi
call fcn.004fe8c0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x407a60
jmp 0x407ac1
sub edi, dword [ebp - 0x94]
cmp edi, 0xffffffff
je 0x407ac1
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.00485740
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 0x4079b0
mov edx, dword [ebp - 0x84]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407aff
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407ff9
push ecx
push edx
call fcn.004fb0f1
add esp, 8
jmp 0x4079a2
cmp byte [ebp - 0x58], 0
mov edx, 0x54281c
mov eax, 0x5424b0
cmove edx, eax
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407b24
mov eax, closesocket
sub ecx, esi
sub eax, edi
cmp eax, ecx
jb 0x408015
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.0048aa20
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 0x407c20
cmp byte [ebp - 0x38], 0
je 0x407b90
push ecx
mov ecx, edi
call fcn.004a7fb0
add esp, 4
mov byte [ebp - 0x38], 0
nop
mov al, byte [esi]
cmp al, 0x5c
je 0x407b9a
cmp al, 0x2f
jne 0x407b9d
inc esi
jmp 0x407b90
xorps xmm0, xmm0
lea eax, [ebp - 0xf0]
push eax
movups xmmword [ebp - 0xe0], xmm0
movups xmmword [ebp - 0xd0], xmm0
call fcn.00509089
add esp, 4
lea eax, [ebp - 0xf0]
push eax
call fcn.00509382
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.004a78e0
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 0x407c52
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407c48
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407ff9
push edx
push ecx
call fcn.004fb0f1
add esp, 8
mov dword [ebp - 0x1b0], 0x542a24
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.00485280
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.004850d0
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.00486070
test eax, eax
lea ecx, [ebp - 0x1b0]
mov eax, dword [ebp - 0x1b0]
je 0x407d35
add ecx, dword [eax + 4]
xor edx, edx
mov eax, 4
cmp dword [ecx + 0x38], edx
cmovne eax, edx
jmp 0x407d4a
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.00403f00
cmp byte [ebp - 0x38], 0
je 0x407db6
nop dword [eax + eax]
mov eax, dword [ebp - 0x1b0]
mov eax, dword [eax + 4]
cmp dword [ebp + eax - 0x1a4], 0
jne 0x407da7
sub esp, 8
lea eax, [ebp - 0x9e0]
lea ecx, [ebp - 0x1b0]
push eax
call fcn.00481ea0
mov eax, dword [ebp - 0x1a8]
test eax, eax
je 0x407da7
push eax
lea edx, [ebp - 0x9e0]
mov ecx, edi
call fcn.004a7e60
add esp, 4
test eax, eax
je 0x407d60
push ecx
mov ecx, edi
call fcn.004a7fb0
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.00481a10
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.004f9f4c
mov byte [ebp - 4], 0xd
add esp, 4
mov ecx, dword [ebp - 0x20]
cmp ecx, 0x10
jb 0x407e64
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407e5a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407ff9
push ecx
push edx
call fcn.004fb0f1
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 0x407eb4
mov edx, dword [ebp - 0xc0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407eaa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407ff9
push ecx
push edx
call fcn.004fb0f1
add esp, 8
lea ecx, [ebp - 0x6c]
call fcn.004069a0
test eax, eax
jne 0x40800e
mov esi, dword [ebp - 0x6c]
jmp 0x407897
mov esi, dword [ebp - 0x68]
test esi, esi
je 0x407ef4
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x407ef4
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x407ef4
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 0x407f20
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x407f20
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x407f20
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
test edi, edi
je 0x407f42
cmp byte [ebp - 0x38], 0
je 0x407f39
push ecx
mov ecx, edi
call fcn.004a7fb0
add esp, 4
mov byte [ebp - 0x38], 0
mov ecx, edi
call fcn.004a8c70
xor edi, edi
mov byte [ebp - 4], 0x1e
test edi, edi
je 0x407f62
cmp byte [ebp - 0x38], 0
je 0x407f5b
push ecx
mov ecx, edi
call fcn.004a7fb0
add esp, 4
mov ecx, edi
call fcn.004a8c70
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0x10
jb 0x407f96
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407f8c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40801a
push ecx
push edx
call fcn.004fb0f1
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 0x407fd8
mov edx, dword [ebx + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407fce
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40801a
push ecx
push edx
call fcn.004fb0f1
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.00406640
call fcn.00500390
lea ecx, [ebp - 0x54]
mov edx, eax
push ecx
mov ecx, str.recursive_directory_iterator::recursive_directory_iterator
call fcn.00406640
mov edx, eax
call fcn.00406520
call fcn.004023f0
call fcn.00500390
int3