Function at 0x40af70
Capabilities:
Enumerate files on windows
Get disk information

Disassembly:
mov eax, 0x1968
call fcn.0040ce80
push ebx
mov ebx, dword [esp + 0x1974]
push ebp
push esi
push edi
push str.__xml_version_1.0__encoding_utf_8____r_n_agent_
push ebx
call fcn.0040d799
mov ecx, dword [esp + 0x1984]
add esp, 8
lea eax, [esp + 0x578]
push 0x200
push eax
push str.root
push 0
push ecx
call sym.Sure_XLite.exe__WS_XMLparm_20
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
lea edx, [esp + 0x580]
push 0xffffffffffffffff
push edx
push 0
push 0xfde9
call esi
push eax
lea eax, [esp + 0x117c]
push eax
lea ecx, [esp + 0x580]
push 0xffffffffffffffff
push ecx
push 0
push 0xfde9
call esi
lea edx, [esp + 0x1178]
push 0xba85d4
push edx
call fcn.0040eaeb
add esp, 8
test eax, eax
je 0x40b191
lea eax, [esp + 0x1178]
lea ecx, [esp + 0x778]
push eax
push ecx
call fcn.0040e9a8
lea edx, [esp + 0x780]
push edx
call fcn.0040eace
add esp, 0xc
cmp word [esp + eax*2 + 0x776], 0x5c
je 0x40b04f
lea eax, [esp + 0x778]
push 0x41ece0
push eax
call fcn.0040e97e
add esp, 8
lea ecx, [esp + 0x778]
lea edx, [esp + 0xd78]
push ecx
push edx
call fcn.0040e9a8
lea eax, [esp + 0xd80]
push 0x41ecdc
push eax
call fcn.0040e97e
add esp, 0x10
lea ecx, [esp + 0x128]
lea edx, [esp + 0xd78]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x10], esi
je 0x40b22f
mov ebp, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test byte [esp + 0x128], 0x10
je 0x40b16e
mov ax, word [esp + 0x154]
cmp ax, 0x2e
je 0x40b16e
cmp ax, 0x24
je 0x40b16e
lea eax, [esp + 0x154]
lea ecx, [esp + 0x1578]
push eax
push ecx
call fcn.0040e9a8
add esp, 8
lea edx, [esp + 0x1578]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push edx
push 0
push 0xfde9
call ebp
push 0
push 0
push eax
lea eax, [esp + 0xb84]
push eax
lea ecx, [esp + 0x1588]
push 0xffffffffffffffff
push ecx
push 0
push 0xfde9
call ebp
lea edx, [esp + 0xb78]
lea eax, [esp + 0x378]
push edx
push str._r_n____entry__s__entry_
push eax
call fcn.0040d799
lea edi, [esp + 0x384]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x128]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40b0a4
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x40b22f
lea ecx, [esp + 0x24]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
lea eax, [esp + 0x24]
lea ebp, [esp + 0x24]
mov dword [esp + 0x10], 0
mov cl, byte [ebp + 1]
inc ebp
test cl, cl
jne 0x40b21e
mov esi, ebp
lea edx, [esp + 0x14]
sub esi, eax
push esi
push eax
push edx
call fcn.0040e9d0
lea eax, [esp + 0x20]
lea ecx, [esp + 0x384]
push eax
push str._r_n____entry__s__entry_
push ecx
mov byte [esp + esi + 0x2c], 0
call fcn.0040d799
lea edi, [esp + 0x390]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x18
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp + 1]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp byte [eax], 0
je 0x40b22f
mov ebp, eax
mov ecx, dword [esp + 0x10]
inc ecx
cmp ecx, 0x104
mov dword [esp + 0x10], ecx
jl 0x40b1b1
mov edi, str._r_n__agent_
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1968
ret