Function at 0x40ab00
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
lea edx, [ebp - 0x18]
push edi
mov edi, 0x200
push esi
xor esi, esi
push ebx
sub esp, 0x7bc
mov eax, dword [ebp + 8]
mov dword [ebp - 0x75c], edx
mov dword [ebp - 0x754], esp
mov dword [ebp - 0x78c], eax
mov eax, sym.___gxx_personality_sj0
mov dword [ebp - 0x764], eax
mov eax, 0x4b2800
mov dword [ebp - 0x760], eax
mov eax, 0x40af30
mov dword [ebp - 0x758], eax
lea eax, [ebp - 0x77c]
mov dword [esp], eax
call sym.__Unwind_SjLj_Register
mov dword [esp + 8], edi
lea eax, [ebp - 0x218]
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._memset
mov ecx, dword [ebp - 0x78c]
mov ebx, dword [ecx + 0x4c]
test ebx, ebx
jne 0x40ac20
xor ecx, ecx
mov dword [ebp - 0x790], ecx
lea eax, [ebp - 0x218]
mov edx, 0x200
xor edi, edi
mov dword [esp + 8], edx
mov dword [esp + 4], edi
mov dword [esp], eax
call sym._memset
cmp dword [ebp - 0x790], 0xa
ja case.default.0x40abb5
mov eax, dword [ebp - 0x790]
jmp dword [eax*4 + 0x4b78c4]
mov eax, dword [ebp - 0x78c]
mov edi, str._sconfigACLWangWang
mov dword [esp + 4], edi
add eax, 0x84
mov dword [esp + 8], eax
lea esi, [esi]
lea edi, [edi]
lea eax, [ebp - 0x218]
mov esi, 0xffffffff
mov dword [esp], eax
mov dword [ebp - 0x778], esi
call sym.im_dir_sprintf_char__char_const__..._
cmp byte [ebp - 0x218], 0
jne 0x40ac36
inc dword [ebp - 0x790]
cmp dword [ebp - 0x790], 0xa
jle 0x40ab89
lea esi, [esi]
lea edi, [edi]
lea eax, [ebp - 0x77c]
mov dword [esp], eax
call sym.__Unwind_SjLj_Unregister
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], 0x220
mov ebx, 0xffffffff
mov esi, 3
mov dword [ebp - 0x778], ebx
call sym.operator_new_unsigned_int_
mov dword [ebp - 0x794], eax
xor ecx, ecx
mov edx, dword [ebp - 0x794]
mov dword [ebp - 0x798], eax
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 - 0x794]
xor eax, eax
mov ecx, 5
add edi, 0x200
rep stosd dword es:[edi], eax
mov dword [ebp - 0x778], esi
mov eax, dword [ebp - 0x794]
mov edi, 0x1ff
mov dword [esp + 8], edi
lea ecx, [ebp - 0x218]
mov dword [esp + 4], ecx
mov dword [esp], eax
call sym._strncpy
mov edx, dword [ebp - 0x794]
mov ebx, 0x13
mov ecx, str.IMACL
mov dword [esp + 8], ebx
mov dword [esp + 4], ecx
add edx, 0x200
mov dword [ebp - 0x7a0], edx
mov dword [esp], edx
call sym._strncpy
mov ecx, dword [ebp - 0x794]
xor eax, eax
mov edx, 0x200
mov dword [esp + 4], eax
lea eax, [ebp - 0x548]
mov dword [ebp - 0x7a4], ecx
mov dword [esp + 8], edx
mov dword [esp], eax
call sym._memset
mov edx, dword [ebp - 0x7a0]
mov eax, 0x4b7799
mov ecx, dword [ebp - 0x794]
mov dword [esp + 4], eax
lea eax, [ebp - 0x548]
mov dword [esp + 0xc], edx
mov dword [esp + 8], ecx
mov dword [esp], eax
call sym._sprintf
lea eax, [ebp - 0x348]
lea edx, [ebp - 0x548]
mov dword [esp + 4], eax
mov dword [esp], edx
call sym.__findfirst
mov dword [ebp - 0x7a8], eax
inc eax
je 0x40b119
mov eax, 0x200
lea ecx, [ebp - 0x748]
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp], ecx
call sym._memset
lea eax, [ebp - 0x334]
lea edx, [ebp - 0x748]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x794]
mov dword [esp], edx
mov dword [esp + 8], eax
mov eax, 0x4b77a0
mov dword [esp + 4], eax
mov eax, 3
mov dword [ebp - 0x778], eax
call sym._sprintf
lea ecx, [ebp - 0x748]
mov dword [esp], ecx
call sym._GetFileAttributesA_4
sub esp, 4
test al, 0x10
jne 0x40ae7c
mov dword [esp], 0x41c
call sym.operator_new_unsigned_int_
mov dword [ebp - 0x7ac], eax
mov edi, 2
mov edx, dword [ebp - 0x7ac]
mov dword [ebp - 0x778], edi
lea eax, [ebp - 0x748]
mov dword [esp + 4], eax
mov dword [esp], edx
call method.IMACLConf.IMACLConf_char_const_
mov edx, dword [ebp - 0x7ac]
lea eax, [ebp - 0x788]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x7a4]
lea eax, [ebp - 0x334]
mov dword [esp + 4], eax
mov dword [esp], ecx
call method.confDirectory_IMACLConf_.getFileIndex_char_const_
mov dword [ebp - 0x788], eax
mov edx, dword [ebp - 0x784]
test edx, edx
je 0x40ae7c
test eax, eax
jle 0x40ae7c
lea eax, [ebp - 0x788]
mov edi, 3
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x7a4]
mov dword [ebp - 0x778], edi
add eax, 0x214
mov dword [esp], eax
call method.std::vector_CONFPTR__std::allocator_CONFPTR___.push_back_CONFPTR_const_
lea eax, [ebp - 0x348]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x7a8]
mov dword [esp], eax
call sym.__findnext
test eax, eax
jne 0x40b0d9
lea eax, [ebp - 0x334]
mov esi, 0x4b77a0
lea edx, [ebp - 0x748]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x7a4]
mov ebx, 3
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp], edx
mov dword [ebp - 0x778], ebx
call sym._sprintf
lea ecx, [ebp - 0x748]
mov dword [esp], ecx
call sym._GetFileAttributesA_4
sub esp, 4
test al, 0x10
jne 0x40ae7c
mov dword [esp], 0x41c
call sym.operator_new_unsigned_int_
mov dword [ebp - 0x7b0], eax
mov ecx, 1
mov edx, dword [ebp - 0x7b0]
mov dword [ebp - 0x778], ecx
lea eax, [ebp - 0x748]
mov dword [esp + 4], eax
mov dword [esp], edx
call method.IMACLConf.IMACLConf_char_const_
mov edx, dword [ebp - 0x7b0]
lea eax, [ebp - 0x788]
jmp 0x40ae25
mov eax, dword [ebp - 0x78c]
mov esi, str._sconfigACLWeb
mov dword [esp + 4], esi
add eax, 0x84
mov dword [esp + 8], eax
jmp 0x40abe0
mov eax, dword [ebp - 0x78c]
mov ebx, str._sconfigACLMail
mov dword [esp + 4], ebx
add eax, 0x84
mov dword [esp + 8], eax
jmp 0x40abe0
mov eax, dword [ebp - 0x78c]
mov ecx, str._sconfigACLDownload
mov dword [esp + 4], ecx
add eax, 0x84
mov dword [esp + 8], eax
jmp 0x40abe0
mov eax, dword [ebp - 0x78c]
mov edx, str._sconfigACLQQ
mov dword [esp + 4], edx
add eax, 0x84
mov dword [esp + 8], eax
jmp 0x40abe0
mov eax, dword [ebp - 0x78c]
add eax, 0x84
mov dword [esp + 8], eax
mov eax, str._sconfigACLMSN
mov dword [esp + 4], eax
jmp 0x40abe0
mov eax, dword [ebp - 0x78c]
add eax, 0x84
mov dword [esp + 8], eax
mov eax, str._sconfigACLYahoo
mov dword [esp + 4], eax
jmp 0x40abe0
mov eax, dword [ebp - 0x78c]
add eax, 0x84
mov dword [esp + 8], eax
mov eax, str._sconfigACLOSCAR
mov dword [esp + 4], eax
jmp 0x40abe0
mov eax, dword [ebp - 0x78c]
add eax, 0x84
mov dword [esp + 8], eax
mov eax, str._sconfigACLTLS
mov dword [esp + 4], eax
jmp 0x40abe0
mov eax, dword [ebp - 0x78c]
add eax, 0x84
mov dword [esp + 8], eax
mov eax, str._sconfigACLURL
mov dword [esp + 4], eax
jmp 0x40abe0
mov eax, dword [ebp - 0x78c]
add eax, 0x84
mov dword [esp + 8], eax
mov eax, str._sconfigACLException
mov dword [esp + 4], eax
jmp 0x40abe0
mov edx, dword [ebp - 0x7a8]
mov esi, sym.SortCONFPTR_CONFPTR_const__CONFPTR_const_
mov ebx, 3
mov dword [esp], edx
call sym.__findclose
mov ecx, dword [ebp - 0x7a4]
mov eax, dword [ecx + 0x218]
mov edx, dword [ecx + 0x214]
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov dword [esp], edx
mov dword [ebp - 0x778], ebx
call method.void_std::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_________gnu_cxx::__n
mov edx, dword [ebp - 0x794]
mov ecx, dword [ebp - 0x790]
mov eax, dword [ebp - 0x78c]
mov dword [eax + ecx*4 + 0x4c], edx
mov ecx, dword [ebp - 0x78c]
lea eax, [ebp - 0x218]
mov dword [esp + 4], eax
mov edx, 0xffffffff
mov dword [ebp - 0x778], edx
mov dword [esp], ecx
call method.IMCfg.addDirectory_char_const_
jmp 0x40ac02