Function at 0x41db40
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1f58
call fcn.0044e430
mov eax, dword [0x6051c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push 0x800
lea eax, [ebp - 0x1504]
push 0
push eax
call fcn.0044f220
push 0x800
lea eax, [ebp - 0x1d04]
push 0
push eax
call fcn.0044f220
push 0x400
lea eax, [ebp - 0x904]
push 0
push eax
call fcn.0044f220
push 0x647bc0
lea eax, [ebp - 0x904]
push str._slocalization_.
push eax
call fcn.00405f60
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x1504]
add esp, 0x30
push 0x7f
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x904]
push eax
push 0
push 0xfde9
call ebx
push 0x7f
lea eax, [ebp - 0x1d04]
push eax
push 0xffffffffffffffff
push 0x647bc0
push 0
push 0xfde9
call ebx
lea eax, [ebp - 0x1f54]
push eax
lea eax, [ebp - 0x1504]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41dc19
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044dcb2
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
push esi
mov ecx, 0x47ad44
lea eax, [ebp - 0x1f28]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41dc56
test dx, dx
je 0x41dc52
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41dc56
add eax, 4
add ecx, 4
test dx, dx
jne 0x41dc30
xor eax, eax
jmp 0x41dc5b
sbb eax, eax
or eax, 1
test eax, eax
je 0x41de84
mov ecx, 0x47ad48
lea eax, [ebp - 0x1f28]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41dc96
test dx, dx
je 0x41dc92
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41dc96
add eax, 4
add ecx, 4
test dx, dx
jne 0x41dc70
xor eax, eax
jmp 0x41dc9b
sbb eax, eax
or eax, 1
test eax, eax
je 0x41de84
cmp dword [ebp - 0x1f54], 0x10
jbe 0x41de84
push 0x400
lea eax, [ebp - 0xd04]
push 0
push eax
call fcn.0044f220
push 0x400
lea eax, [ebp - 0x504]
push 0
push eax
call fcn.0044f220
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.0044f220
add esp, 0x24
lea eax, [ebp - 0xd04]
push 0
push 0
push 0x3ff
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x1f28]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0xd04]
push eax
push 0x647bc0
lea eax, [ebp - 0x504]
push str._slocalization__s
push eax
call fcn.00405f60
lea eax, [ebp - 0x504]
push eax
call fcn.004212a0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x41de84
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 4]
call edx
mov edx, dword [esi]
mov ecx, esi
test al, al
je 0x41de80
call dword [edx + 8]
sub eax, 1
jne 0x41dd48
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
mov ecx, str.main_gui
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x41dd91
test dl, dl
je 0x41dd8d
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x41dd91
add ecx, 2
add eax, 2
test dl, dl
jne 0x41dd71
xor eax, eax
jmp 0x41dd96
sbb eax, eax
or eax, 1
test eax, eax
jne 0x41dd48
mov eax, dword [esi]
mov ecx, esi
push 0x47ad18
call dword [eax + 0x14]
test eax, eax
je 0x41dd48
push 0x7f
lea eax, [ebp - 0x104]
mov ecx, esi
push eax
mov eax, dword [esi]
push 0xffffffffffffffff
push str.language
call dword [eax + 0x14]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
push 0x118
call fcn.0044dcc3
mov esi, eax
add esp, 4
mov dword [ebp - 0x1f58], esi
test esi, esi
je 0x41de16
push 0x100
lea eax, [esi + 0x18]
mov dword [esi + 0x10], 0
push 0
mov dword [esi + 0x14], 0xf
push eax
mov byte [esi], 0
call fcn.0044f220
add esp, 0xc
jmp 0x41de18
xor esi, esi
lea ecx, [ebp - 0x504]
mov dword [ebp - 0x1f58], esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41de27
sub ecx, edx
lea eax, [ebp - 0x504]
push ecx
push eax
mov ecx, esi
call fcn.00406f50
push 0x7f
lea eax, [ebp - 0x104]
push eax
lea eax, [esi + 0x18]
push eax
call fcn.0045d216
mov eax, dword [0x651c34]
add esp, 0xc
cmp dword [0x651c38], eax
je 0x41de6c
mov dword [eax], esi
add dword [0x651c34], 4
jmp 0x41de84
lea ecx, [ebp - 0x1f58]
push ecx
push eax
mov ecx, 0x651c30
call fcn.00406d70
jmp 0x41de84
push 1
call dword [edx]
lea eax, [ebp - 0x1f54]
push eax
push edi
call ebx
test eax, eax
jne 0x41dc20
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
mov al, 1
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.0044dcb2
mov esp, ebp
pop ebp
ret