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

Disassembly:
mov eax, 0x460688
call fcn.0045e9d0
sub esp, 0x568
push ebx
push esi
push edi
lea eax, [ebp - 0x470]
mov dword [ebp - 0x10], esp
push 0
push 0x103
push eax
push dword [0x536190]
mov esi, ecx
mov dword [ebp - 0x24], esi
call fcn.00426857
add esp, 0x10
lea eax, [ebp - 0x470]
push 0x40aad4
push eax
push 0x40e984
lea eax, [ebp - 0x574]
push 0x104
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x54]
and byte [ebp - 0x471], 0
add esi, 0x50
add esp, 0x14
push eax
push ecx
mov ecx, esi
call fcn.0044195b
mov eax, dword [0x40a0f8]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
and dword [ebp - 4], 0
mov ebx, 0x460a68
mov eax, ebx
test eax, eax
je 0x4411fb
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebx
push eax
lea ecx, [ebp - 0x14]
call fcn.00414983
push 0xc3f
call fcn.004252ac
mov edi, eax
pop ecx
test edi, edi
je 0x44121d
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
push eax
lea ecx, [ebp - 0x18]
call fcn.00414983
mov eax, ebx
test eax, eax
je 0x441234
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebx
push eax
lea ecx, [ebp - 0x14]
call fcn.00414983
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.0044194a
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x574]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x20], eax
jne 0x441275
mov dword [ebp - 4], 2
jmp 0x441432
mov esi, 0x40aad0
lea edi, [ebp - 0x138]
mov cl, byte [edi]
mov al, cl
cmp cl, byte [esi]
jne 0x4412a2
test al, al
je 0x44129e
mov cl, byte [edi + 1]
mov al, cl
cmp cl, byte [esi + 1]
jne 0x4412a2
inc edi
inc edi
inc esi
inc esi
test al, al
jne 0x441280
xor eax, eax
jmp 0x4412a7
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x44140a
mov esi, 0x40aacc
lea edi, [ebp - 0x138]
mov cl, byte [edi]
mov al, cl
cmp cl, byte [esi]
jne 0x4412dc
test al, al
je 0x4412d8
mov cl, byte [edi + 1]
mov al, cl
cmp cl, byte [esi + 1]
jne 0x4412dc
inc edi
inc edi
inc esi
inc esi
test al, al
jne 0x4412ba
xor eax, eax
jmp 0x4412e1
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x44140a
test byte [ebp - 0x164], 0x10
je 0x44140a
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x470]
push eax
push 0x40e970
lea eax, [ebp - 0x268]
push 0x104
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
and byte [ebp - 0x36c], 0
add esp, 0x14
xor eax, eax
lea edi, [ebp - 0x36b]
push 0x40
and byte [ebp - 0x165], 0
pop ecx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x138]
lea ecx, [ebp - 0x14]
push eax
call fcn.00414a38
lea eax, [ebp - 0x19]
lea ecx, [ebp - 0x14]
push eax
push 1
mov byte [ebp - 0x19], 0x5c
call fcn.00414a85
lea eax, [ebp - 0x138]
lea ecx, [ebp - 0x18]
push eax
call fcn.00414a38
mov esi, 0x103
lea eax, [ebp - 0x36c]
push esi
push eax
lea eax, [ebp - 0x268]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
je 0x4413e2
xor edi, edi
lea eax, [ebp - 0x36c]
push edi
push eax
call fcn.0042692e
pop ecx
cmp eax, edi
pop ecx
je 0x4413e4
lea eax, [ebp - 0x268]
push eax
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0x104
lea ecx, [ebp - 0x18]
call fcn.00414b44
lea ecx, [ebp - 0x268]
push ecx
push esi
push eax
push ebx
push 0x40e968
push 0x40e960
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.004123e3
jmp 0x4413e4
xor edi, edi
mov eax, dword [ebp - 0x18]
cmp dword [eax - 8], edi
jne 0x4413fb
lea eax, [ebp - 0x138]
lea ecx, [ebp - 0x18]
push eax
call fcn.00414a38
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x24]
lea ecx, [eax + 0x50]
call fcn.0044194a
lea eax, [ebp - 0x164]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x441275
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.00412266
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00412266
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret