Function at 0x4ea460
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 0x55be78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x9d0
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x60]
mov byte [ebp - 0x18], 0
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 2
lea eax, [ebx + 8]
cmp dword [ebx + 0x1c], 0xf
lea ecx, [ebp - 0x60]
push dword [ebx + 0x18]
cmova eax, dword [ebx + 8]
push eax
push dword [ebp - 0x18]
call fcn.00429070
add esp, 0xc
mov dword [ebp - 0x14], 0x80
mov byte [ebp - 4], 1
mov eax, 0x80
mov dword [ebp - 0x14], eax
and eax, 0xffffff7f
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x60]
call fcn.00407110
add esp, 4
movq xmm0, qword [eax]
mov edx, dword [eax + 8]
movq qword [ebp - 0xbc], xmm0
mov esi, dword [ebp - 0xbc]
test edx, edx
je 0x4ea527
cmp esi, 1
je 0x4ea527
cmp esi, 9
jne 0x4eaec2
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.004188d0
cmp esi, 3
jne 0x4eae94
cmp dword [ebx + 0x30], 0
jne 0x4ea67d
push ecx
lea eax, [ebx + 8]
push eax
lea ecx, [ebp - 0x80]
call fcn.0041aa90
mov byte [ebp - 4], 6
mov ecx, eax
cmp dword [eax + 0x14], 7
jbe 0x4ea561
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
lea esi, [ecx + eax*2]
mov edx, esi
call fcn.00405640
sub esi, eax
mov dword [ebp - 0x68], eax
push ecx
lea eax, [ebp - 0x68]
sar esi, 1
push eax
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x64], esi
call fcn.0041a4f0
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0xb0]
or esi, 0x1000
lea ecx, [ebp - 0x60]
push eax
mov dword [ebp - 0x14], esi
call fcn.00405980
mov byte [ebp - 4], 8
mov ecx, eax
push 4
push str..zip
call fcn.00418f00
mov dword [ebp - 0x38], 0
lea ecx, [ebx + 0x20]
mov dword [ebp - 0x34], 0
or esi, 0x800
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x48], xmm0
movups xmmword [ebp - 0xc0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x38], xmm0
movq qword [ebp - 0x98], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov dword [ebp - 0x14], esi
call fcn.00402df0
movups xmm0, xmmword [ebp - 0xc0]
and esi, 0xfffff7ff
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
movups xmmword [ebx + 0x20], xmm0
mov byte [ebp - 0x48], 0
movq xmm0, qword [ebp - 0x98]
movq qword [ebx + 0x30], xmm0
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 7
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xb0]
call fcn.00402df0
and esi, 0xffffefff
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x60]
call fcn.004188d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x80]
call fcn.004188d0
jmp 0x4ea680
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x1c], 0
mov byte [ebp - 4], 0xb
lea ecx, [ebx + 0x20]
cmp dword [ebx + 0x34], 0xf
cmova ecx, dword [ebx + 0x20]
sub esp, 8
xor edx, edx
push edi
call fcn.004f89a0
mov edi, eax
mov byte [ebp - 0x18], 0
lea eax, [ebp - 0x60]
mov dword [ebp - 0x20], edi
add esp, 0xc
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 0xc
lea ecx, [ebx + 8]
cmp dword [ebx + 0x1c], 0xf
push dword [ebx + 0x18]
cmova ecx, dword [ebx + 8]
push ecx
push dword [ebp - 0x18]
mov ecx, eax
call fcn.00429070
or esi, 0x200
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 0xb
and esi, 0xfffffdff
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 0xe
add esp, 8
lea edx, [ebp - 0x60]
lea ecx, [ebp - 0x30]
call fcn.0041a8d0
add esp, 4
test eax, eax
jne 0x4eaed0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x60]
call fcn.004188d0
sub esp, 8
mov eax, esp
mov dword [ebp - 0x24], esp
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x2c]
mov dword [eax], 0
mov dword [eax + 4], 0
test ecx, ecx
je 0x4ea748
lock inc dword [ecx + 4]
mov edx, dword [ebp - 0x30]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov byte [ebp - 4], 0x13
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x68]
call fcn.00406e00
mov byte [ebp - 4], 0x14
mov eax, esp
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], esp
mov dword [eax], 0
mov dword [eax + 4], 0
test ecx, ecx
je 0x4ea784
lock inc dword [ecx + 4]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov byte [ebp - 4], 0x16
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x94]
call fcn.00406ed0
add esp, 8
mov byte [ebp - 4], 0x17
nop dword [eax]
nop word [eax + eax]
mov ecx, dword [ebp - 0x68]
cmp ecx, dword [ebp - 0x94]
je 0x4eadb8
lea eax, [ebp - 0x48]
add ecx, 0x20
push eax
call fcn.00405a20
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x48]
cmp dword [ebp - 0x34], 0xf
cmova eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
shr eax, 4
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xc4], esp
and al, 1
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], 0
mov dword [ebp - 0xc8], ecx
mov byte [ebp - 4], 0x19
lea eax, [ebx + 8]
cmp dword [ebx + 0x1c], 0xf
push dword [ebx + 0x18]
cmova eax, dword [ebx + 8]
push eax
push dword [ebp - 0x28]
call fcn.00429070
or esi, 8
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 0x18
and esi, 0xfffffff7
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 0x1a
sub esp, 0xc
mov ecx, esp
mov dword [ebp - 0xcc], esp
mov dword [ebp - 0x84], ecx
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x88], ecx
mov byte [ebp - 4], 0x1b
lea eax, [ebp - 0x48]
cmp dword [ebp - 0x34], 0xf
push dword [ebp - 0x38]
cmova eax, dword [ebp - 0x48]
push eax
push dword [ebp - 0x24]
call fcn.00429070
or esi, 0x10
add esp, 0xc
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 0x1a
and esi, 0xffffffef
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 0x1c
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x1e0]
call fcn.004eaef0
add esp, 0x30
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x80]
push ecx
mov ecx, eax
call fcn.00405730
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x1e0]
call fcn.004188d0
cmp dword [ebp - 0x6c], 0xf
lea ecx, [ebp - 0x80]
mov edx, dword [ebp - 0x70]
cmova ecx, dword [ebp - 0x80]
push 1
push 0x565b08
push 0
call fcn.0041c7e0
add esp, 0xc
cmp eax, 0xffffffff
je 0x4ea998
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x50], 1
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x4c], 0xf
mov word [ebp - 0x60], 0x5c
mov byte [ebp - 4], 0x21
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0xa0], 1
movups xmmword [ebp - 0xb0], xmm0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x9c], 0xf
mov word [ebp - 0xb0], 0x2f
mov byte [ebp - 4], 0x22
lea eax, [ebp - 0xb0]
cmp dword [ebp - 0x6c], 0xf
lea ecx, [ebp - 0x80]
mov edx, dword [ebp - 0x70]
cmova ecx, dword [ebp - 0x80]
push 1
push eax
push 0
call fcn.0041c7e0
add esp, 0xc
cmp eax, 0xffffffff
je 0x4ea978
push 1
lea ecx, [ebp - 0x60]
push ecx
push 1
push eax
lea ecx, [ebp - 0x80]
call fcn.00418b00
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0xb0]
call fcn.00402df0
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x60]
call fcn.00402df0
jmp 0x4ea8b0
cmp byte [ebp - 0x18], 0
mov edx, 0x565b0c
mov eax, 0x5659da
cmove edx, eax
mov byte [ebp - 4], 0x23
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4ea9b2
sub ecx, esi
mov eax, closesocket
mov esi, dword [ebp - 0x70]
sub eax, esi
cmp eax, ecx
jb 0x4eaee7
cmp dword [ebp - 0x6c], 0xf
lea eax, [ebp - 0x80]
push ecx
cmova eax, dword [ebp - 0x80]
push edx
push esi
push eax
push ecx
push dword [ebp - 0x88]
lea ecx, [ebp - 0x110]
call fcn.0041e8a0
mov eax, dword [ebp - 0x14]
lea esi, [ebp - 0x110]
or eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0xfc], 0xf
cmova esi, dword [ebp - 0x110]
test edi, edi
je 0x4eaab2
cmp byte [ebp - 0x1c], 0
je 0x4eaa28
push ecx
mov ecx, edi
call fcn.004f84d0
add esp, 4
mov byte [ebp - 0x1c], 0
mov al, byte [esi]
cmp al, 0x5c
je 0x4eaa32
cmp al, 0x2f
jne 0x4eaa35
inc esi
jmp 0x4eaa28
xorps xmm0, xmm0
lea eax, [ebp - 0xb8]
push eax
movups xmmword [ebp - 0xf4], xmm0
movups xmmword [ebp - 0xe4], xmm0
call fcn.0044196b
add esp, 4
lea eax, [ebp - 0xb8]
push eax
call fcn.00441c64
sub esp, 0x3c
mov edx, esi
mov ecx, dword [eax]
mov dword [ebp - 0xf8], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 0xf4], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0xf0], ecx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xec], ecx
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0xe4], eax
lea eax, [ebp - 0xf8]
mov dword [ebp - 0xe8], ecx
mov ecx, edi
push eax
call fcn.004fa480
add esp, 0x44
test eax, eax
sete byte [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
and esi, 0xfffffffe
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x110]
call fcn.00402df0
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x1c8], 0x56e634
call fcn.004187f0
mov byte [ebp - 4], 0x24
sub esp, 8
lea eax, [ebp - 0x1b8]
or esi, 2
lea ecx, [ebp - 0x1c8]
mov dword [ebp - 0x14], esi
push eax
call fcn.00418680
mov dword [ebp - 4], 0x25
mov eax, dword [ebp - 0x1c8]
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 - 0x1c8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x1cc], eax
lea ecx, [ebp - 0x1b8]
call fcn.004184c0
mov byte [ebp - 4], 0x27
lea eax, [ebp - 0x48]
cmp dword [ebp - 0x34], 0xf
lea ecx, [ebp - 0x1b8]
cmova eax, dword [ebp - 0x48]
sub esp, 8
push eax
call fcn.00419990
test eax, eax
lea ecx, [ebp - 0x1c8]
mov eax, dword [ebp - 0x1c8]
je 0x4eab77
add ecx, dword [eax + 4]
xor edx, edx
mov eax, 4
cmp dword [ecx + 0x38], edx
cmovne eax, edx
jmp 0x4eab8c
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.00404900
cmp byte [ebp - 0x1c], 0
je 0x4eaced
nop
mov eax, dword [ebp - 0x1c8]
mov eax, dword [eax + 4]
cmp dword [ebp + eax - 0x1bc], 0
jne 0x4eacdb
sub esp, 8
lea eax, [ebp - 0x9e0]
lea ecx, [ebp - 0x1c8]
push eax
call fcn.00415480
mov esi, dword [ebp - 0x1c0]
test esi, esi
je 0x4eacdb
mov dword [ebp - 0x18], 0
test edi, edi
je 0x4eacdb
cmp dword [edi + 0x38], 0
je 0x4eacdb
mov ecx, dword [edi + 0x100a8]
lea edx, [ebp - 0x9e0]
push esi
call fcn.004efc40
mov edx, dword [ebp - 0x18]
lea ecx, [edi + 0x40]
mov dword [edi + 0x100a8], eax
add esp, 4
lea eax, [ebp - 0x9e0]
mov dword [edi + 0x44], esi
mov dword [ecx], eax
nop
cmp dword [edi + 0x44], 0
jbe 0x4eacd3
mov esi, dword [edi + 0x50]
test esi, esi
jne 0x4eac61
mov ecx, edi
call fcn.004f84f0
mov edx, dword [ebp - 0x18]
lea ecx, [edi + 0x40]
cmp eax, 0xffffffff
mov dword [edi + 0x50], 0x10000
mov eax, 0xffffffff
mov esi, 0x10000
cmove edx, eax
lea eax, [edi + 0xa4]
mov dword [ebp - 0x18], edx
mov dword [edi + 0x4c], eax
test edx, edx
jne 0x4eacdb
cmp dword [edi + 0x9c], 8
jne 0x4eac94
cmp dword [edi + 0xa0], edx
jne 0x4eac94
mov esi, dword [edi + 0x54]
call fcn.004f1e80
mov ecx, dword [edi + 0x54]
mov edx, eax
sub ecx, esi
mov dword [ebp - 0x18], edx
add dword [edi + 0x7c], ecx
test edx, edx
jne 0x4eacdb
lea ecx, [edi + 0x40]
jmp 0x4eac20
cmp dword [edi + 0x44], esi
cmovb esi, dword [edi + 0x44]
xor eax, eax
test esi, esi
je 0x4eacba
mov ecx, dword [ecx]
mov edx, dword [edi + 0x4c]
mov cl, byte [eax + ecx]
mov byte [eax + edx], cl
inc eax
lea ecx, [edi + 0x40]
cmp eax, esi
jb 0x4eaca1
mov edx, dword [ebp - 0x18]
lea ecx, [edi + 0x40]
sub dword [edi + 0x44], esi
sub dword [edi + 0x50], esi
add dword [ecx], esi
add dword [edi + 0x4c], esi
add dword [edi + 0x48], esi
add dword [edi + 0x54], esi
add dword [edi + 0x7c], esi
jmp 0x4eac20
test edx, edx
je 0x4eaba0
push ecx
mov ecx, edi
call fcn.004f84d0
mov byte [ebp - 0x1c], 0
add esp, 4
mov esi, dword [ebp - 0x14]
mov byte [ebp - 4], 0x1f
lea eax, [ebp - 0x158]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x1c8]
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 - 0x1c8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x1cc], eax
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x1b8]
call fcn.00414c90
mov byte [ebp - 4], 0x1f
mov eax, dword [ebp - 0x1c8]
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 - 0x1c8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x1cc], eax
lea eax, [ebp - 0x158]
mov dword [ebp - 0xd4], eax
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], 0x1f
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004329f5
add esp, 4
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x80]
call fcn.00402df0
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x48]
call fcn.00402df0
lea ecx, [ebp - 0x68]
call fcn.00406b10
test eax, eax
jne 0x4eaee0
jmp 0x4ea7b0
mov byte [ebp - 4], 0x14
or edx, 0xffffffff
mov esi, dword [ebp - 0x90]
test esi, esi
je 0x4eadee
mov eax, edx
lock xadd dword [esi + 4], eax
jne 0x4eadee
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or edx, 0xffffffff
mov eax, edx
lock xadd dword [esi + 8], eax
jne 0x4eadee
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
or edx, 0xffffffff
mov byte [ebp - 4], 0x10
mov esi, dword [ebp - 0x64]
test esi, esi
je 0x4eae19
mov eax, edx
lock xadd dword [esi + 4], eax
jne 0x4eae19
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x4eae19
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x4eae44
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x4eae44
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x2c]
lock xadd dword [ecx + 8], esi
dec esi
jne 0x4eae44
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x4eae69
cmp byte [ebp - 0x1c], 0
je 0x4eae5d
push ecx
mov ecx, edi
call fcn.004f84d0
add esp, 4
mov byte [ebp - 0x1c], 0
mov ecx, edi
call fcn.004fa930
xor edi, edi
mov dword [ebp - 0x20], edi
mov byte [ebp - 4], 1
test edi, edi
je 0x4eae94
cmp byte [ebp - 0x1c], 0
je 0x4eae86
push ecx
mov ecx, edi
call fcn.004f84d0
add esp, 4
mov byte [ebp - 0x1c], 0
mov ecx, edi
call fcn.004fa930
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 0
lea ecx, [ebx + 8]
call fcn.00402df0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0x20]
call fcn.00402df0
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 - 0x60]
mov ecx, str.status
push eax
call fcn.00406750
lea ecx, [ebp - 0x60]
mov edx, eax
push ecx
mov ecx, str.recursive_directory_iterator::recursive_directory_iterator
call fcn.00406750
mov edx, eax
call fcn.00406640
call fcn.00402c60
int3