Function at 0x410260
Capabilities:
Enumerate files on windows
Read .ini file

Disassembly:
mov eax, 0x1484
call fcn.004ac5b0
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x147c], eax
push ebx
push ebp
push esi
push edi
xor eax, eax
mov edi, ecx
push 0x206
push eax
mov word [esp + 0x288], ax
lea eax, [esp + 0x28a]
push eax
call fcn.0048fb10
add esp, 0xc
mov edx, 0x4b3f64
mov ecx, str.FILE
call fcn.00478640
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCpyW]
push eax
lea eax, [esp + 0x284]
push eax
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0x4e5e28
push 0
push str.EmptyFolders
push str.SFOPTIONS
call esi
push 0x4e5e28
push 0
push str.ZeroFiles
push str.SFOPTIONS
call esi
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0xc90], ax
lea eax, [esp + 0xc92]
push eax
call fcn.0048fb10
add esp, 0xc
xor eax, eax
mov word [esp + 0x488], ax
push 0x7fe
push eax
lea eax, [esp + 0x492]
push eax
call fcn.0048fb10
add esp, 0xc
mov dword [esp + 0x14], 0
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor esi, esi
mov dword [esp + 0x18], 1
push esi
push esi
inc eax
mov dword [esp + 0x2c], 0x1312d00
push esi
mov dword [esp + 0x34], eax
call dword [sym.imp.KERNEL32.dll_HeapCreate]
push 0x1312d00
push 8
push eax
mov dword [esp + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebp, eax
test ebp, ebp
je 0x410687
push edi
push ebp
call ebx
mov edi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
mov ebx, dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov eax, dword [esp + 0x14]
inc esi
mov dword [esp + 0x2c], esi
lea esi, [eax*2]
add esi, ebp
lea eax, [esp + 0xc88]
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push esi
lea eax, [esp + 0x48c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea eax, [esp + 0x488]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x14]
inc ecx
add ecx, eax
lea eax, [esp + 0x488]
push 0x4b3508
push eax
mov dword [esp + 0x1c], ecx
call dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [esp + 0x30]
mov esi, 1
push eax
lea eax, [esp + 0x48c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
je 0x410632
test esi, esi
je 0x41062e
push 0x4b3510
lea eax, [esp + 0x60]
push eax
call edi
test eax, eax
je 0x410618
push 0x4b3514
lea eax, [esp + 0x60]
push eax
call edi
test eax, eax
je 0x410618
push 0x4b351c
lea eax, [esp + 0x60]
push eax
call edi
test eax, eax
je 0x410618
push str.winsxs
lea eax, [esp + 0x60]
push eax
call edi
test eax, eax
je 0x410618
test byte [esp + 0x30], 0x10
je 0x410618
push str.recycle
lea eax, [esp + 0x60]
push eax
call ebx
test eax, eax
jne 0x410618
push str.wintools
lea eax, [esp + 0x60]
push eax
call ebx
test eax, eax
jne 0x410618
push str.systemindex
lea eax, [esp + 0x60]
push eax
call ebx
test eax, eax
jne 0x410618
push str.prefetch
lea eax, [esp + 0x60]
push eax
call ebx
test eax, eax
jne 0x410618
lea edx, [esp + 0xc88]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4104c3
sub edx, ecx
lea eax, [esp + 0x5c]
sar edx, 1
lea esi, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4104e0
sub eax, esi
sar eax, 1
add eax, 4
add eax, edx
cmp eax, 0x104
jae 0x410618
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0xc8c]
push eax
push 0x4b3544
lea eax, [esp + 0x494]
push 0x400
push eax
call fcn.0040a420
add esp, 0x14
lea eax, [esp + 0x488]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, dword [esp + 0x28]
add eax, esi
mov ecx, dword [esp + 0x24]
lea eax, [eax*2 + 2]
cmp eax, ecx
jb 0x41056b
add ecx, 0x1312d00
push ecx
push ebp
push 8
push dword [esp + 0x2c]
mov dword [esp + 0x34], ecx
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov ebp, eax
test ebp, ebp
je 0x41066f
inc dword [esp + 0x18]
lea eax, [esp + 0x488]
push eax
lea eax, [esi*2]
add eax, ebp
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea eax, [esp + 0x488]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc esi
add esi, eax
lea eax, [esp + 0x488]
push eax
lea eax, [esp + 0x284]
mov dword [esp + 0x2c], esi
push eax
push 0x400
push 0x4d6040
call fcn.0040a420
add esp, 0x10
cmp dword [0x4e5c1c], 2
jne 0x410603
push 0
push 0
push 0x130b
push 0x2763
push dword [0x4e6030]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call esi
cmp eax, 5
je 0x410603
push 0x4d6040
push 1
push 0x40b
push dword [0x4e5c10]
call esi
lea ecx, [esp + 0x488]
call fcn.004106b0
cmp dword [0x4cc1c8], 0
je 0x41068c
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov esi, eax
jmp 0x410406
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [esp + 0x2c]
cmp esi, dword [esp + 0x18]
jne 0x410385
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
mov eax, 1
mov ecx, dword [esp + 0x148c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048ea75
add esp, 0x1484
ret
push 0x10
push str.Error_23
push str.No_free_memory.
push dword [0x4e6030]
call dword [sym.imp.USER32.dll_MessageBoxW]
or eax, 0xffffffff
jmp 0x410656
call fcn.00411ab0
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
push 1
call dword [sym.imp.KERNEL32.dll_ExitThread]