Function at 0x411150
Capabilities:
Enumerate files on windows
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4767cc
mov eax, dword fs:[0]
push eax
sub esp, 0x350
mov eax, dword [0x496028]
xor eax, esp
mov dword [esp + 0x348], eax
push ebx
push esi
push edi
mov eax, dword [0x496028]
xor eax, esp
push eax
lea eax, [esp + 0x360]
mov dword fs:[0], eax
push 0xffffffffffffffff
push 0xb4
push 0
push 0x47d9d0
push 0x47d9d0
mov esi, ecx
push 0x47d9d0
push str.3401068
mov dword [esp + 0x4c], esi
lea ebx, [esi + 0xe8]
call fcn.00474096
push eax
push 0
mov ecx, ebx
call fcn.00472b04
push 0xffffffffffffffff
push 0x64
push 1
push 0x47d9d0
push 0x47d9d0
push 0x47d9d0
push str.3401069
call fcn.00474096
push eax
push 1
mov ecx, ebx
call fcn.00472b04
push 0xffffffffffffffff
push 0x64
push 1
push 0x47d9d0
push 0x47d9d0
push 0x47d9d0
push str.3401070
call fcn.00474096
push eax
push 2
mov ecx, ebx
call fcn.00472b04
lea ecx, [esp + 0x18]
call dword [0x47ce28]
push 0x208
lea ecx, [esp + 0x1c]
mov dword [esp + 0x36c], 0
call dword [0x47ce20]
push eax
call fcn.00474114
add esp, 4
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
call dword [0x47cde4]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
mov edi, 0x47ef44
call fcn.00403020
add esp, 8
lea ecx, [esp + 0x14]
call dword [0x47ce28]
push 0x24c
lea edx, [esp + 0x44]
push 0
mov byte [esp + 0x370], 2
push edx
mov dword [esp + 0x48], 0
call fcn.00474190
mov ecx, dword [esp + 0x28]
add esp, 0xc
lea eax, [esp + 0x3c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x24], eax
cmp eax, 0xffffffff
je 0x411489
jmp 0x4112c4
mov esi, dword [esp + 0x30]
test byte [esp + 0x3c], 0x10
jne 0x41146a
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
mov edi, 0x47ef4c
call fcn.00403020
push eax
lea ecx, [esp + 0x34]
push ecx
lea edi, [esp + 0x78]
mov byte [esp + 0x378], 3
call fcn.00403020
add esp, 0x10
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x36c], 4
call dword [0x47c994]
lea ecx, [esp + 0x28]
call dword [0x47ce24]
lea ecx, [esp + 0x20]
mov byte [esp + 0x368], 2
call dword [0x47ce24]
mov edx, dword [esp + 0x14]
push edx
push 0x64
lea eax, [esp + 0x294]
push eax
push 0x47d9d0
push 0x47ef50
push str.main
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x41146a
push 0
push 0
push 0
mov ecx, 0x20
mov word [esp + 0x2ac], cx
push 0
lea ecx, [esp + 0x29c]
push ecx
mov edx, 0x3a
push 0
mov eax, edx
push 1
mov ecx, ebx
mov word [esp + 0x2c2], dx
mov word [esp + 0x2c8], ax
call fcn.00472b28
mov edi, eax
cmp edi, 0xffffffff
je 0x41146a
mov ecx, dword [esi + 0x5d4]
add esi, 0x5c8
mov dword [esp + 0x2c], ecx
cmp ecx, dword [esi + 0x10]
jbe 0x4113c1
call dword [0x47c2fc]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esi]
push ecx
push eax
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x40]
push eax
mov eax, esi
call fcn.00411750
mov ecx, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push ecx
push 0x64
lea edx, [esp + 0x294]
push edx
push 0x47ef74
push 0x47ef78
push str.main
call esi
test eax, eax
je 0x411434
push 0x64
lea eax, [esp + 0x290]
push eax
push 0xa
mov ecx, eax
push 0
push ecx
call dword [0x47c428]
add esp, 0xc
push edx
push eax
call dword [sym.imp.SHLWAPI.dll_StrFormatByteSizeW]
lea edx, [esp + 0x28c]
push edx
push 1
push edi
mov ecx, ebx
call fcn.00472cd8
mov eax, dword [esp + 0x14]
push eax
push 0x64
lea ecx, [esp + 0x294]
push ecx
push 0x47ef74
push str.DefraggedFileCount
push str.main
call esi
test eax, eax
je 0x41146a
lea edx, [esp + 0x28c]
push edx
push 2
push edi
mov ecx, ebx
call fcn.00472cd8
mov esi, dword [esp + 0x24]
lea eax, [esp + 0x3c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4112c0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x14]
call dword [0x47ce24]
lea ecx, [esp + 0x1c]
call dword [0x47ce24]
lea ecx, [esp + 0x18]
call dword [0x47ce24]
mov eax, 1
mov ecx, dword [esp + 0x360]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x348]
xor ecx, esp
call fcn.004734e6
mov esp, ebp
pop ebp
ret