Function at 0x41d190
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2ac
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x4c], 0
push str.SettingsPath
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
call fcn.00420e00
add esp, 4
lea ecx, [ebp - 0x4c]
push eax
push str.SettingsPath
call fcn.00403040
mov ecx, dword [edi + 0x14]
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0040f970
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x10]
lea eax, [ebp - 0x24]
mov dword [ebp - 0x10], 0
push eax
push str.0ErrorReports_
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
call fcn.0041b040
mov eax, dword [ebp - 8]
mov ebx, 0x5b3144
test eax, eax
mov dword [ebp - 0x38], 0
mov esi, ebx
mov dword [ebp - 0x34], 0
cmovne esi, eax
mov dword [ebp - 0x30], 0
push esi
call fcn.00420e00
add esp, 4
lea ecx, [ebp - 0x38]
push eax
push esi
call fcn.00403040
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 4]
add eax, eax
push eax
push dword [ebp - 8]
call fcn.00420bb0
mov eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x50]
add eax, eax
mov dword [ebp - 8], 0
push eax
push dword [ebp - 0x54]
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
call fcn.00420bb0
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x40]
add eax, eax
mov dword [ebp - 0x54], 0
push eax
push dword [ebp - 0x44]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x5c], 0
call fcn.00420bb0
push dword [ebp - 0x38]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push dword [ebp - 0x30]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.00403040
push str..zip
call fcn.00420e00
mov ecx, dword [ebp - 0x20]
add esp, 4
mov esi, eax
lea eax, [ecx + esi]
cmp eax, dword [ebp - 0x1c]
jb 0x41d2e7
push eax
lea ecx, [ebp - 0x20]
call fcn.00403220
mov ecx, dword [ebp - 0x20]
lea eax, [esi + esi]
push eax
mov eax, dword [ebp - 0x18]
push str..zip
lea eax, [eax + ecx*2]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov eax, dword [ebp - 0x18]
add ecx, esi
add esp, 0xc
mov word [eax + ecx*2], dx
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x20], esi
test eax, eax
cmovne ebx, eax
lea eax, [ebp - 0x2ac]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x3c], eax
cmp eax, 0xffffffff
je 0x41d4a6
lea esi, [edi + 0x58]
jmp 0x41d340
push dword [ebp - 0x38]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push dword [ebp - 0x30]
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
call fcn.00403040
lea eax, [ebp - 0x280]
push eax
call fcn.00420e00
mov ecx, dword [ebp - 0xc]
mov ebx, eax
mov eax, dword [ebp - 0x10]
add esp, 4
add eax, ebx
cmp eax, ecx
jb 0x41d3da
lea edx, [eax + 1]
mov dword [ebp - 0x24], edx
cmp edx, ecx
jbe 0x41d3da
push 0
lea eax, [eax*2 + 2]
push eax
lea ecx, [ebp - 4]
call fcn.00420b70
mov edi, eax
test edi, edi
je 0x41d3d7
mov ecx, dword [ebp - 0x10]
add ecx, ecx
push ecx
push dword [ebp - 8]
push edi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x10]
xor ecx, ecx
add esp, 0xc
mov word [edi + eax*2], cx
lea ecx, [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, eax
push eax
push dword [ebp - 8]
call fcn.00420bb0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], eax
mov edi, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x10]
lea eax, [ebx + ebx]
push eax
lea eax, [ebp - 0x280]
push eax
mov eax, dword [ebp - 8]
lea eax, [eax + ecx*2]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x10]
xor edx, edx
mov eax, dword [ebp - 8]
add ecx, ebx
add esp, 0xc
mov word [eax + ecx*2], dx
add dword [ebp - 0x10], ebx
mov eax, dword [esi + 8]
cmp dword [esi + 4], eax
jne 0x41d42d
sub eax, dword [esi]
sar eax, 4
cmp eax, 8
jae 0x41d41f
lea ecx, [eax + 8]
jmp 0x41d425
mov ecx, eax
shr ecx, 1
add ecx, eax
push ecx
mov ecx, esi
call fcn.004209d0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x41d453
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
push dword [ebp - 0x10]
push dword [ebp - 8]
call fcn.00403040
mov eax, dword [ebp - 0x28c]
lea ecx, [ebp - 4]
add dword [esi + 4], 0x10
add dword [edi + 0x6c], eax
mov eax, dword [ebp - 0xc]
add eax, eax
push eax
push dword [ebp - 8]
call fcn.00420bb0
mov ebx, dword [ebp - 0x3c]
lea eax, [ebp - 0x2ac]
push eax
push ebx
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41d340
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
add eax, eax
push eax
push dword [ebp - 0x18]
call fcn.00420bb0
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x2c]
add eax, eax
mov dword [ebp - 0x18], 0
push eax
push dword [ebp - 0x30]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
call fcn.00420bb0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret