Function at 0x471d10
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
lea edx, [ebp - 0x18]
push edi
mov edi, 0x472295
push esi
xor esi, esi
push ebx
sub esp, 0x5ec
mov dword [ebp - 0x57c], edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x578], edi
mov ebx, 0x200
mov dword [ebp - 0x574], esp
mov dword [ebp - 0x5ac], eax
mov eax, sym.___gxx_personality_sj0
mov dword [ebp - 0x584], eax
mov eax, 0x4b2814
mov dword [ebp - 0x580], eax
lea eax, [ebp - 0x59c]
mov dword [esp], eax
call sym.__Unwind_SjLj_Register
mov eax, dword [ebp - 0x5ac]
xor ecx, ecx
mov edx, dword [ebp - 0x5ac]
add eax, 0x214
mov dword [edx + 0x214], esi
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
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 dword [esp], edx
mov dword [ebp - 0x5b8], eax
mov eax, 0x200
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], eax
call sym._memset
mov eax, dword [ebp - 0x5b4]
mov edx, dword [ebp - 0x5ac]
mov dword [esp + 0xc], eax
mov eax, 0x4b7799
mov dword [esp + 4], 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 0x4723cb
lea eax, [ebp - 0x548]
mov edi, 0x200
xor esi, esi
mov dword [esp + 8], edi
mov ebx, 0x4b77a0
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._memset
mov dword [esp + 4], ebx
mov edx, dword [ebp - 0x5ac]
lea eax, [ebp - 0x134]
mov dword [esp + 0xc], eax
mov ecx, 3
lea eax, [ebp - 0x548]
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [ebp - 0x598], ecx
call sym._sprintf
lea edx, [ebp - 0x548]
mov dword [esp], edx
call sym._GetFileAttributesA_4
sub esp, 4
test al, 0x10
jne 0x4720cb
mov dword [esp], 0x1bf8
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 dword [esp], edx
mov edx, 2
mov dword [ebp - 0x598], edx
call method.IMBlockCfg.IMBlockCfg_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 0x472078
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 0x471f98
test edx, 0x8080
jne 0x471fbd
shr edx, 0x10
add ecx, 2
add dl, dl
sbb ecx, 3
sub ecx, ebx
cmp edi, ecx
jbe 0x472078
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 0x471fe8
test edx, 0x8080
jne 0x47200d
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 0x472078
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 0x47202e
test edx, 0x8080
jne 0x472053
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 esi, dword [ebp - 0x5a4]
test esi, esi
je 0x4720cb
test eax, eax
jle 0x4720cb
mov edi, dword [ebp - 0x5b8]
add edi, 0x214
mov ecx, dword [edi + 4]
cmp ecx, dword [edi + 8]
je 0x4723e1
test ecx, ecx
je 0x4720c7
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 0x472326
lea eax, [ebp - 0x134]
mov edx, dword [ebp - 0x5b8]
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 0x4720cb
mov dword [esp], 0x1bf8
call sym.operator_new_unsigned_int_
mov dword [ebp - 0x5cc], eax
mov edx, dword [ebp - 0x5cc]
lea eax, [ebp - 0x548]
mov dword [esp + 4], eax
mov eax, 1
mov dword [esp], edx
mov dword [ebp - 0x598], eax
call method.IMBlockCfg.IMBlockCfg_char_const_
mov edx, dword [ebp - 0x5cc]
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 - 0x5d0], eax
mov eax, 0x2e
mov dword [esp + 4], eax
call sym._strchr
mov dword [ebp - 0x5d4], eax
cld
xor eax, eax
mov ecx, 5
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x5d4]
test edi, edi
je 0x472078
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 0x4721df
test edx, 0x8080
jne 0x472204
shr edx, 0x10
add ecx, 2
add dl, dl
sbb ecx, 3
sub ecx, edi
cmp ebx, ecx
jbe 0x472078
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 0x47222f
test edx, 0x8080
jne 0x472254
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 0x472078
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 0x472279
jmp 0x472045
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 0x4723cb
mov ecx, dword [ebp - 0x5d8]
mov edx, eax
xor eax, eax
sub edx, ecx
sar edx, 3
jmp 0x472373
inc eax
sar edx, 1
cmp edx, 1
jne 0x472370
add eax, eax
mov edx, sym.SortCONFPTR_CONFPTR_const__CONFPTR_const_
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x5d8]
mov dword [esp + 0xc], edx
mov edx, dword [ebp - 0x5dc]
mov dword [esp], eax
mov eax, 3
mov dword [esp + 4], edx
mov dword [ebp - 0x598], eax
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 eax, sym.SortCONFPTR_CONFPTR_const__CONFPTR_const_
mov edx, dword [ebp - 0x5dc]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x5d8]
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 ebx, 3
mov edx, dword [eax + 0x218]
mov dword [esp], edi
lea eax, [ebp - 0x5a8]
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [ebp - 0x598], ebx
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 0x4720cb