Function at 0x4726a0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
lea edx, [ebp - 0x18]
push edi
mov edi, sym.___gxx_personality_sj0
push esi
mov esi, 0x4b27ec
push ebx
sub esp, 0x5ec
mov ebx, 0x472c25
mov dword [ebp - 0x584], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x57c], edx
mov dword [ebp - 0x580], esi
mov dword [ebp - 0x5ac], eax
lea eax, [ebp - 0x59c]
mov dword [esp], eax
mov dword [ebp - 0x578], ebx
mov dword [ebp - 0x574], esp
call sym.__Unwind_SjLj_Register
mov eax, dword [ebp - 0x5ac]
xor ecx, ecx
mov edx, dword [ebp - 0x5ac]
add eax, 0x214
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov eax, 0x200
mov dword [edx + 0x214], ecx
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp], edx
call sym._memset
cld
mov edi, dword [ebp - 0x5ac]
xor eax, eax
mov ecx, 5
add edi, 0x200
rep stosd dword es:[edi], eax
mov eax, 0x1ff
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x5ac]
mov dword [esp], eax
mov eax, 3
mov dword [ebp - 0x598], eax
call sym._strncpy
mov eax, 0x13
mov edx, dword [ebp - 0x5ac]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x10]
add edx, 0x200
mov dword [ebp - 0x5b4], edx
mov dword [esp + 4], eax
mov dword [esp], edx
call sym._strncpy
mov eax, dword [ebp - 0x5ac]
lea edx, [ebp - 0x348]
mov edi, 0x200
mov dword [esp], edx
xor esi, esi
mov ebx, 0x4b7799
mov dword [esp + 8], edi
mov dword [ebp - 0x5b8], eax
mov dword [esp + 4], esi
call sym._memset
mov dword [esp + 4], ebx
mov eax, dword [ebp - 0x5b4]
mov edx, dword [ebp - 0x5ac]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x348]
mov dword [esp + 8], edx
mov dword [esp], eax
call sym._sprintf
lea eax, [ebp - 0x148]
lea edx, [ebp - 0x348]
mov dword [esp + 4], eax
mov dword [esp], edx
call sym.__findfirst
mov dword [ebp - 0x5bc], eax
inc eax
je 0x472d5b
xor edx, edx
mov ecx, 0x200
lea eax, [ebp - 0x548]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp], eax
call sym._memset
lea eax, [ebp - 0x134]
mov edx, dword [ebp - 0x5ac]
mov dword [esp + 0xc], eax
mov eax, 0x4b77a0
mov dword [esp + 4], eax
lea eax, [ebp - 0x548]
mov dword [esp], eax
mov eax, 3
mov dword [esp + 8], edx
mov dword [ebp - 0x598], eax
call sym._sprintf
lea edx, [ebp - 0x548]
mov dword [esp], edx
call sym._GetFileAttributesA_4
sub esp, 4
test al, 0x10
jne 0x472a5b
mov dword [esp], 0x210
call sym.operator_new_unsigned_int_
mov dword [ebp - 0x5c0], eax
mov edx, dword [ebp - 0x5c0]
lea eax, [ebp - 0x548]
mov dword [esp + 4], eax
mov eax, 2
mov dword [esp], edx
mov dword [ebp - 0x598], eax
call method.DenyPage.DenyPage_char_const_
mov edx, dword [ebp - 0x5c0]
lea eax, [ebp - 0x5a8]
lea edi, [ebp - 0x568]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x5b8]
lea edx, [ebp - 0x134]
mov dword [esp], edx
mov dword [ebp - 0x5c4], eax
mov eax, 0x2e
mov dword [esp + 4], eax
call sym._strchr
mov dword [ebp - 0x5c8], eax
cld
xor eax, eax
mov ecx, 5
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x5c8]
test eax, eax
je 0x472a08
lea eax, [ebp - 0x134]
mov dword [esp], eax
call sym._strlen
mov edx, dword [ebp - 0x5b8]
mov edi, eax
lea ecx, [edx + 0x200]
mov ebx, ecx
mov eax, dword [ecx]
add ecx, 4
lea edx, [eax - 0x1010101]
not eax
and edx, eax
and edx, 0x80808080
je 0x472928
test edx, 0x8080
jne 0x47294d
shr edx, 0x10
add ecx, 2
add dl, dl
sbb ecx, 3
sub ecx, ebx
cmp edi, ecx
jbe 0x472a08
mov edx, dword [ebp - 0x5c4]
lea eax, [ebp - 0x134]
mov edi, dword [ebp - 0x5c8]
lea ecx, [edx + 0x200]
sub edi, eax
mov ebx, ecx
mov eax, dword [ecx]
add ecx, 4
lea edx, [eax - 0x1010101]
not eax
and edx, eax
and edx, 0x80808080
je 0x472978
test edx, 0x8080
jne 0x47299d
shr edx, 0x10
add ecx, 2
add dl, dl
sbb ecx, 3
sub ecx, ebx
mov ebx, edi
sub ebx, ecx
lea eax, [ebx - 1]
cmp eax, 0x12
ja 0x472a08
mov eax, dword [ebp - 0x5c4]
lea ecx, [eax + 0x200]
mov edi, ecx
mov eax, dword [ecx]
add ecx, 4
lea edx, [eax - 0x1010101]
not eax
and edx, eax
and edx, 0x80808080
je 0x4729be
test edx, 0x8080
jne 0x4729e3
shr edx, 0x10
add ecx, 2
mov dword [esp + 8], ebx
add dl, dl
lea eax, [ebp - 0x134]
sbb ecx, 3
lea edx, [ebp - 0x568]
sub ecx, edi
mov dword [esp], edx
add eax, ecx
mov dword [esp + 4], eax
call sym._memcpy
lea eax, [ebp - 0x568]
mov dword [esp], eax
call sym._atoi
mov dword [ebp - 0x5a8], eax
mov edx, dword [ebp - 0x5a4]
test edx, edx
je 0x472a5b
test eax, eax
jle 0x472a5b
mov edi, dword [ebp - 0x5b8]
add edi, 0x214
mov ecx, dword [edi + 4]
cmp ecx, dword [edi + 8]
je 0x472d71
test ecx, ecx
je 0x472a57
mov eax, dword [ebp - 0x5a8]
mov edx, dword [ebp - 0x5a4]
mov dword [ecx], eax
mov dword [ecx + 4], edx
add dword [edi + 4], 8
mov edx, dword [ebp - 0x5bc]
lea eax, [ebp - 0x148]
mov dword [esp + 4], eax
mov dword [esp], edx
call sym.__findnext
test eax, eax
jne 0x472cb6
lea eax, [ebp - 0x134]
mov edx, dword [ebp - 0x5b8]
mov edi, 3
mov dword [esp + 0xc], eax
mov eax, 0x4b77a0
mov dword [esp + 4], eax
lea eax, [ebp - 0x548]
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [ebp - 0x598], edi
call sym._sprintf
lea edx, [ebp - 0x548]
mov dword [esp], edx
call sym._GetFileAttributesA_4
sub esp, 4
test al, 0x10
jne 0x472a5b
mov dword [esp], 0x210
call sym.operator_new_unsigned_int_
mov dword [ebp - 0x5cc], eax
mov esi, 1
mov edx, dword [ebp - 0x5cc]
mov dword [ebp - 0x598], esi
lea eax, [ebp - 0x548]
mov dword [esp + 4], eax
mov dword [esp], edx
call method.DenyPage.DenyPage_char_const_
mov edx, dword [ebp - 0x5cc]
lea eax, [ebp - 0x5a8]
mov ebx, 0x2e
lea edi, [ebp - 0x568]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x5b8]
lea edx, [ebp - 0x134]
mov dword [esp + 4], ebx
mov dword [esp], edx
mov dword [ebp - 0x5d0], eax
call sym._strchr
mov dword [ebp - 0x5d4], eax
cld
xor eax, eax
mov ecx, 5
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x5d4]
test ecx, ecx
je 0x472a08
lea eax, [ebp - 0x134]
mov dword [esp], eax
call sym._strlen
mov edx, dword [ebp - 0x5b8]
mov ebx, eax
lea ecx, [edx + 0x200]
mov edi, ecx
mov eax, dword [ecx]
add ecx, 4
lea edx, [eax - 0x1010101]
not eax
and edx, eax
and edx, 0x80808080
je 0x472b6f
test edx, 0x8080
jne 0x472b94
shr edx, 0x10
add ecx, 2
add dl, dl
sbb ecx, 3
sub ecx, edi
cmp ebx, ecx
jbe 0x472a08
mov edx, dword [ebp - 0x5d0]
lea eax, [ebp - 0x134]
mov edi, dword [ebp - 0x5d4]
lea ecx, [edx + 0x200]
sub edi, eax
mov ebx, ecx
mov eax, dword [ecx]
add ecx, 4
lea edx, [eax - 0x1010101]
not eax
and edx, eax
and edx, 0x80808080
je 0x472bbf
test edx, 0x8080
jne 0x472be4
shr edx, 0x10
add ecx, 2
add dl, dl
sbb ecx, 3
sub ecx, ebx
mov ebx, edi
sub ebx, ecx
lea eax, [ebx - 1]
cmp eax, 0x12
ja 0x472a08
mov eax, dword [ebp - 0x5d0]
lea ecx, [eax + 0x200]
mov edi, ecx
mov eax, dword [ecx]
add ecx, 4
lea edx, [eax - 0x1010101]
not eax
and edx, eax
and edx, 0x80808080
je 0x472c09
jmp 0x4729d5
mov eax, dword [ebp - 0x5bc]
mov dword [esp], eax
call sym.__findclose
mov edx, dword [ebp - 0x5b8]
mov eax, dword [ebp - 0x5b8]
mov edx, dword [edx + 0x214]
mov eax, dword [eax + 0x218]
mov dword [ebp - 0x5d8], edx
cmp edx, eax
mov dword [ebp - 0x5dc], eax
je 0x472d5b
mov edx, eax
mov eax, dword [ebp - 0x5d8]
sub edx, eax
sar edx, 3
xor eax, eax
jmp 0x472d03
inc eax
sar edx, 1
cmp edx, 1
jne 0x472d00
add eax, eax
mov edx, dword [ebp - 0x5dc]
mov edi, sym.SortCONFPTR_CONFPTR_const__CONFPTR_const_
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x5d8]
mov esi, 3
mov dword [esp + 0xc], edi
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [ebp - 0x598], esi
call method.void_std::__introsort_loop___gnu_cxx::__normal_iterator_CONFPTR__std::vector_CONFPTR__std.allocator_CONFPTR_______int__bool____CONFPTR_const__CONFPTR_const_____gnu_cxx::__normal_iterator_CONFPTR__std::vector_CONFPTR__std::allocator_CONFPTR____
mov edx, dword [ebp - 0x5dc]
mov ebx, sym.SortCONFPTR_CONFPTR_const__CONFPTR_const_
mov eax, dword [ebp - 0x5d8]
mov dword [esp + 8], ebx
mov dword [esp + 4], edx
mov dword [esp], eax
call method.void_std::__final_insertion_sort___gnu_cxx::__normal_iterator_CONFPTR__std::vector_CONFPTR__std.allocator_CONFPTR_______bool____CONFPTR_const__CONFPTR_const_____gnu_cxx::__normal_iterator_CONFPTR__std::vector_CONFPTR__std::allocator_CONFPTR___
lea eax, [ebp - 0x59c]
mov dword [esp], eax
call sym.__Unwind_SjLj_Unregister
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x5b8]
mov edx, dword [eax + 0x218]
lea eax, [ebp - 0x5a8]
mov dword [esp + 8], eax
mov eax, 3
mov dword [esp + 4], edx
mov dword [esp], edi
mov dword [ebp - 0x598], eax
call method.std::vector_CONFPTR__std::allocator_CONFPTR___._M_insert_aux___gnu_cxx::__normal_iterator_CONFPTR__std::vector_CONFPTR__std::allocator_CONFPTR_______CONFPTR_const_
jmp 0x472a5b