Function at 0x40aa90
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4327c3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x378
mov eax, dword [0x442184]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x370], edi
mov eax, dword [edi + 0xc]
test eax, eax
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
jne 0x40af7a
call fcn.00425d0d
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x36c], eax
lea eax, [ebp - 0x36c]
push eax
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x364], esp
mov esi, esp
push eax
mov byte [ebp - 4], 2
call fcn.004016c0
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0040c0b0
add esp, 8
call fcn.00425d0d
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x360], eax
push 0
lea eax, [ebp - 0x360]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x364], esp
mov ebx, 3
push str.Name
mov byte [ebp - 4], bl
call fcn.004053e0
mov eax, dword [ebp - 0x36c]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x368], esp
mov esi, esp
push eax
mov byte [ebp - 4], 4
call fcn.004016c0
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov byte [ebp - 4], bl
call fcn.0040d220
mov ecx, dword [ebp - 0x360]
add esp, 0x10
push 0x434b61
push ecx
call fcn.004181e3
add esp, 8
test eax, eax
jne 0x40abba
push 0x43b9a8
lea edx, [ebp - 0x378]
push edx
mov dword [ebp - 0x378], str.Name_IS_NULL
call fcn.00417470
lea eax, [ebp - 0x360]
lea ecx, [edi + 0x10]
push eax
call fcn.00401a20
push 0
lea ecx, [ebp - 0x360]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x364], esp
push str.Description
call fcn.004053e0
mov eax, dword [ebp - 0x36c]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x368], esp
mov esi, esp
push eax
mov byte [ebp - 4], 5
call fcn.004016c0
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov byte [ebp - 4], bl
call fcn.0040d220
add esp, 0x10
lea edx, [ebp - 0x360]
lea ecx, [edi + 0x14]
push edx
call fcn.00401a20
push 0
lea eax, [ebp - 0x360]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x364], esp
push str.CreateTime
call fcn.004053e0
mov eax, dword [ebp - 0x36c]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x368], esp
mov esi, esp
push eax
mov byte [ebp - 4], 6
call fcn.004016c0
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov byte [ebp - 4], bl
call fcn.0040d220
mov ecx, dword [ebp - 0x360]
add esp, 0x10
push 0x434b61
push ecx
call fcn.004181e3
add esp, 8
test eax, eax
jne 0x40aca1
push 0x43b9a8
lea edx, [ebp - 0x384]
push edx
mov dword [ebp - 0x384], str.CreateTime_IS_NULL
call fcn.00417470
lea eax, [ebp - 0x360]
lea ecx, [edi + 0x18]
push eax
call fcn.00401a20
push 0
lea ecx, [ebp - 0x360]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x364], esp
push str.ModifyTime
call fcn.004053e0
mov eax, dword [ebp - 0x36c]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x368], esp
mov esi, esp
push eax
mov byte [ebp - 4], 7
call fcn.004016c0
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov byte [ebp - 4], bl
call fcn.0040d220
mov edx, dword [ebp - 0x360]
add esp, 0x10
push 0x434b61
push edx
call fcn.004181e3
add esp, 8
test eax, eax
jne 0x40ad2e
push 0x43b9a8
lea eax, [ebp - 0x374]
push eax
mov dword [ebp - 0x374], str.ModifyTime_IS_NULL
call fcn.00417470
lea edx, [ebp - 0x360]
lea ecx, [edi + 0x1c]
push edx
call fcn.00401a20
lea eax, [ebp + 8]
lea ecx, [edi + 0x20]
push eax
call fcn.00401a20
push 0x104
lea ecx, [ebp - 0x118]
push ecx
push ecx
mov edx, esp
mov dword [ebp - 0x364], esp
push str...xml
lea eax, [ebp + 8]
push eax
push edx
call fcn.00404c70
add esp, 0xc
call fcn.0040b6c0
add esp, 0xc
test al, al
jne 0x40ad97
push 0x43b9a8
lea ecx, [ebp - 0x37c]
push ecx
mov dword [ebp - 0x37c], 0x4358f4
call fcn.00417470
lea edx, [ebp - 0x118]
push 0x5c
push edx
call fcn.004185a0
mov edx, eax
lea ecx, [ebp - 0x118]
mov eax, 1
sub eax, ecx
add edx, eax
xor eax, eax
mov ecx, 0x41
lea edi, [ebp - 0x21c]
rep stosd dword es:[edi], eax
mov ecx, edx
shr ecx, 2
lea esi, [ebp - 0x118]
lea edi, [ebp - 0x21c]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, ebx
add esp, 8
lea eax, [ebp - 0x35c]
rep movsb byte es:[edi], byte [esi]
push eax
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [ebp - 0x368]
mov dword [ebp - 0x364], eax
call fcn.00401760
mov ebx, dword [ebp - 0x370]
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x364]
test eax, eax
je 0x40af0b
cmp eax, 0xffffffff
je 0x40aefa
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x368]
call fcn.00401d30
lea eax, [ebp - 0x330]
push eax
lea ecx, [ebp - 0x368]
call fcn.004053a0
push 0x30
call fcn.00425c46
mov ecx, eax
add esp, 4
mov dword [ebp - 0x370], ecx
test ecx, ecx
mov byte [ebp - 4], 0xa
je 0x40ae6e
call fcn.00409980
mov edi, eax
jmp 0x40ae70
xor edi, edi
mov eax, dword [ebp - 0x368]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x370], esp
mov esi, esp
push eax
mov byte [ebp - 4], 9
call fcn.004016c0
add eax, 0x10
add esp, 4
mov ecx, edi
mov dword [esi], eax
call fcn.0040a760
test al, al
je 0x40afbb
mov eax, dword [ebx + 0xc]
lea esi, [eax - 1]
lea esp, [esp]
cmp esi, 0xffffffff
jle 0x40aed4
push esi
mov ecx, ebx
call fcn.004012f0
mov ecx, dword [edi + 0x18]
mov eax, dword [eax + 0x18]
push ecx
push eax
call fcn.004181e3
add esp, 8
test eax, eax
jl 0x40aed4
dec esi
jmp 0x40aeb0
push edi
inc esi
push esi
mov ecx, ebx
call fcn.004097d0
mov edx, dword [ebp - 0x364]
lea ecx, [ebp - 0x35c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40ae10
mov eax, dword [ebp - 0x364]
test eax, eax
je 0x40af0b
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x368]
add eax, 0xfffffff0
mov byte [ebp - 4], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40af2f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x360]
add eax, 0xfffffff0
mov dword [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40af56
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x36c]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40af7a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40af9e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.00417188
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
test edi, edi
je 0x40afcf
mov ecx, edi
call fcn.00401fc0
push edi
call fcn.00425c71
add esp, 4
push 0x4358e4
lea eax, [ebp - 0x368]
push eax
lea ecx, [ebp - 0x380]
push ecx
call fcn.00404c70
add esp, 0xc
push 0x43c7b4
lea edx, [ebp - 0x380]
push edx
call fcn.00417470
mov eax, dword [ebp - 0x364]
test eax, eax
je 0x40b00c
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 0x40af2f
ret