Function at 0x409780
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, 0x4b27d8
mov dword [ebp - 0x760], eax
mov eax, 0x409bb6
mov dword [ebp - 0x758], eax
lea eax, [ebp - 0x77c]
mov dword [esp], eax
call sym.__Unwind_SjLj_Register
mov dword [esp + 8], edi
lea ecx, [ebp - 0x218]
mov dword [esp + 4], esi
mov dword [esp], ecx
call sym._memset
mov eax, dword [ebp - 0x78c]
mov eax, dword [eax + 0x80]
test eax, eax
mov dword [ebp - 0x790], eax
jne 0x409ba0
mov eax, dword [ebp - 0x78c]
lea edx, [ebp - 0x218]
mov ecx, 0xffffffff
mov dword [esp], edx
mov ebx, str._sconfigWebPush
mov dword [ebp - 0x778], ecx
add eax, 0x84
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
call sym.im_dir_sprintf_char__char_const__..._
mov dword [esp], 0x220
call sym.operator_new_unsigned_int_
mov dword [ebp - 0x794], eax
xor edx, edx
mov ecx, 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 [ecx + 0x214], edx
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym._memset
cld
mov edi, dword [ebp - 0x794]
mov ecx, 5
mov eax, dword [ebp - 0x790]
lea edx, [ebp - 0x218]
add edi, 0x200
rep stosd dword es:[edi], eax
mov dword [esp + 4], edx
mov ecx, dword [ebp - 0x794]
mov eax, 0x1ff
mov dword [esp + 8], eax
mov eax, 3
mov dword [esp], ecx
mov dword [ebp - 0x778], eax
call sym._strncpy
mov eax, 0x13
mov edi, str.WebPush
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x794]
mov dword [esp + 4], edi
add eax, 0x200
mov dword [ebp - 0x7a0], eax
mov dword [esp], eax
call sym._strncpy
mov edx, dword [ebp - 0x794]
lea ecx, [ebp - 0x548]
mov esi, 0x200
mov dword [esp], ecx
xor ebx, ebx
mov dword [esp + 8], esi
mov dword [ebp - 0x7a4], edx
mov dword [esp + 4], ebx
call sym._memset
mov eax, dword [ebp - 0x7a0]
mov ecx, 0x4b7799
mov edx, dword [ebp - 0x794]
mov dword [esp + 4], ecx
lea ecx, [ebp - 0x548]
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov dword [esp], ecx
call sym._sprintf
lea eax, [ebp - 0x348]
mov dword [esp + 4], eax
lea eax, [ebp - 0x548]
mov dword [esp], eax
call sym.__findfirst
mov dword [ebp - 0x7a8], eax
inc eax
je 0x409b64
mov edx, 0x200
xor eax, eax
mov dword [esp + 8], edx
lea edx, [ebp - 0x748]
mov dword [esp + 4], eax
mov dword [esp], edx
call sym._memset
lea eax, [ebp - 0x334]
mov ecx, dword [ebp - 0x794]
mov dword [esp + 0xc], eax
mov eax, 0x4b77a0
mov dword [esp + 4], eax
lea eax, [ebp - 0x748]
mov dword [esp], eax
mov eax, 3
mov dword [esp + 8], ecx
mov dword [ebp - 0x778], eax
call sym._sprintf
lea edx, [ebp - 0x748]
mov dword [esp], edx
call sym._GetFileAttributesA_4
sub esp, 4
test al, 0x10
jne 0x409a73
mov dword [esp], 0x228
call sym.operator_new_unsigned_int_
mov dword [ebp - 0x7ac], eax
lea ecx, [ebp - 0x748]
mov dword [esp], eax
mov eax, 2
mov dword [esp + 4], ecx
mov dword [ebp - 0x778], eax
call method.IMWebPushCfg.IMWebPushCfg_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_IMWebPushCfg_.getFileIndex_char_const_
mov dword [ebp - 0x788], eax
mov esi, dword [ebp - 0x784]
test esi, esi
je 0x409a73
test eax, eax
jle 0x409a73
lea eax, [ebp - 0x788]
mov ebx, 3
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x7a4]
mov dword [ebp - 0x778], ebx
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 0x409b24
lea eax, [ebp - 0x334]
lea edx, [ebp - 0x748]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x7a4]
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 0x409a73
mov dword [esp], 0x228
call sym.operator_new_unsigned_int_
mov dword [ebp - 0x7b0], eax
mov edi, 1
mov edx, dword [ebp - 0x7b0]
mov dword [ebp - 0x778], edi
lea eax, [ebp - 0x748]
mov dword [esp + 4], eax
mov dword [esp], edx
call method.IMWebPushCfg.IMWebPushCfg_char_const_
mov edx, dword [ebp - 0x7b0]
lea eax, [ebp - 0x788]
jmp 0x409a1c
mov edx, dword [ebp - 0x7a8]
mov dword [esp], edx
call sym.__findclose
mov ecx, dword [ebp - 0x7a4]
mov eax, dword [ecx + 0x218]
mov edx, dword [ecx + 0x214]
mov ecx, sym.SortCONFPTR_CONFPTR_const__CONFPTR_const_
mov dword [esp + 4], eax
mov eax, 3
mov dword [esp + 8], ecx
mov dword [esp], edx
mov dword [ebp - 0x778], eax
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 eax, dword [ebp - 0x794]
mov ecx, dword [ebp - 0x78c]
mov dword [ecx + 0x80], eax
lea eax, [ebp - 0x218]
mov dword [esp + 4], eax
mov eax, 0xffffffff
mov dword [esp], ecx
mov dword [ebp - 0x778], eax
call method.IMCfg.addDirectory_char_const_
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