Function at 0x40441e
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x426088
call fcn.0041bdc0
sub esp, 0x2a4
push ebx
push esi
push edi
lea ecx, [ebp - 0x38]
call fcn.00402ccc
xor ebx, ebx
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.00402f7e
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.00402ccc
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 2
mov dword [esi + 0x1f8], ebx
xor edi, edi
mov dword [ecx], eax
cmp dword [esi + 0x368], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp + 0x10], ebx
mov dword [esi + 0x1e4], ebx
mov dword [ebp - 0x2c], ebx
jle 0x4048b8
lea eax, [esi + 0x698]
mov dword [ebp - 0x28], eax
lea eax, [esi + 0x378]
mov dword [ebp - 0x24], eax
cmp dword [ebp + 0x10], ebx
jne 0x4048b8
lea ecx, [ebp - 0x1c]
call fcn.00402ccc
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.00402ccc
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 4
call fcn.00402ccc
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.00402cd9
lea ecx, [ebp - 0x44]
call fcn.00402cd9
push dword [ebp - 0x24]
lea ecx, [ebp - 0x38]
call fcn.00402d1f
push 0x3c
lea ecx, [ebp - 0x38]
call fcn.00409563
push eax
call fcn.004048ed
pop ecx
cmp eax, ebx
pop ecx
mov dword [ebp + 8], eax
je 0x4045b1
lea ecx, [ebp - 0x38]
mov word [eax], bx
call fcn.00402ebf
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
add eax, 2
push eax
call fcn.00402e0f
push 0x3e
lea ecx, [ebp - 0x1c]
call fcn.00409563
push eax
call fcn.004048ed
pop ecx
cmp eax, ebx
pop ecx
je 0x40452e
mov word [eax], bx
push 0x3b
lea ecx, [ebp - 0x1c]
call fcn.00409563
push eax
call fcn.004048ed
pop ecx
cmp eax, ebx
pop ecx
je 0x40458b
mov word [eax], bx
inc eax
inc eax
cmp word [eax], bx
je 0x40458b
push eax
lea ecx, [ebp - 0x44]
call fcn.00402e0f
push 0x2f
lea ecx, [ebp - 0x44]
call fcn.00409563
push eax
call fcn.004048ed
pop ecx
test eax, eax
pop ecx
je 0x404583
push 0x20
lea ecx, [ebp - 0x44]
call fcn.00409563
push eax
call fcn.004048ed
pop ecx
test eax, eax
pop ecx
je 0x40458b
lea ecx, [ebp - 0x44]
call fcn.00402cd9
lea ecx, [ebp - 0x1c]
call fcn.00402ebf
push 0x20
lea ecx, [ebp - 0x1c]
call fcn.00409563
push eax
call fcn.004048ed
pop ecx
test eax, eax
pop ecx
je 0x4045b1
lea ecx, [ebp - 0x1c]
call fcn.00402cd9
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x60]
push eax
call fcn.00402d1f
push 0x5c
lea ecx, [ebp - 0x38]
call fcn.00409563
push eax
call fcn.004048ed
pop ecx
cmp eax, ebx
pop ecx
jne 0x4045e9
push 0x3a
lea ecx, [ebp - 0x38]
call fcn.00409563
push eax
call fcn.004048ed
pop ecx
cmp eax, ebx
pop ecx
je 0x4045ef
mov word [eax + 2], bx
jmp 0x4045fa
lea ecx, [ebp - 0x38]
call fcn.00409563
mov word [eax], bx
lea ecx, [ebp - 0x38]
call fcn.00402ebf
lea eax, [ebp - 0x2b0]
lea ecx, [ebp - 0x60]
push eax
call fcn.00409563
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov dword [ebp - 0x54], eax
mov eax, ecx
cmp eax, ebx
jne 0x40465b
lea ecx, [ebp - 0x60]
call fcn.00409563
push eax
push str.No_files_found_matching_search_string___s_._n
push esi
call fcn.00403e43
add esp, 0xc
cmp dword [esi + 0x1e0], ebx
jne 0x404851
mov dword [esi + 0x1e4], 1
jmp 0x404851
cmp dword [ebp + 0x10], ebx
jne 0x404851
test byte [ebp - 0x2b0], 0x10
jne 0x404839
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x50]
push eax
call fcn.00402d1f
lea eax, [ebp - 0x284]
lea ecx, [ebp - 0x50]
push eax
call fcn.00402e0f
lea ecx, [ebp - 0x50]
call fcn.00409563
push eax
lea ecx, [ebp - 0x10]
call fcn.00402f9f
test eax, eax
je 0x404811
lea ecx, [ebp - 0x10]
call fcn.0040301d
test eax, eax
je 0x4047e7
cmp dword [ebp - 0x294], ebx
je 0x4046d9
lea ecx, [ebp - 0x60]
call fcn.00409563
push eax
lea ecx, [ebp - 0x50]
call fcn.00409563
push eax
push str.Found___s__matching_search_string___s___but_it_is_too_large____4GB___therefore_will_not_be_attached_or_sent._n
jmp 0x4047fe
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x290]
mov eax, dword [edx]
add ecx, eax
cmp ecx, eax
mov dword [edx], ecx
jae 0x4046fa
mov dword [edx], ebx
mov dword [ebp + 0x10], 1
jmp 0x404807
cmp dword [esi + 0x1f8], ebx
push 0x18
jne 0x404712
call fcn.0041b445
pop ecx
mov dword [esi + 0x1f8], eax
jmp 0x40471a
call fcn.0041b445
pop ecx
mov dword [edi], eax
mov edi, eax
lea ecx, [ebp - 0x50]
mov dword [edi], ebx
call fcn.00402eb2
lea eax, [eax + eax + 2]
push eax
mov dword [ebp + 8], eax
call fcn.0041b445
pop ecx
mov dword [edi + 4], eax
push dword [ebp + 8]
lea ecx, [ebp - 0x50]
call fcn.00409563
push eax
push dword [edi + 4]
call fcn.0041b110
add esp, 0xc
lea ecx, [ebp - 0x44]
call fcn.00402eb2
test eax, eax
je 0x40478c
lea ecx, [ebp - 0x44]
call fcn.00402eb2
lea eax, [eax + eax + 2]
push eax
mov dword [ebp + 8], eax
call fcn.0041b445
pop ecx
mov dword [edi + 0x14], eax
push dword [ebp + 8]
lea ecx, [ebp - 0x44]
call fcn.00409563
push eax
push dword [edi + 0x14]
call fcn.0041b110
add esp, 0xc
jmp 0x40478f
mov dword [edi + 0x14], ebx
lea ecx, [ebp - 0x1c]
call fcn.00402eb2
test eax, eax
je 0x4047cd
lea ecx, [ebp - 0x1c]
call fcn.00402eb2
lea eax, [eax + eax + 2]
push eax
mov dword [ebp + 8], eax
call fcn.0041b445
pop ecx
mov dword [edi + 0x10], eax
push dword [ebp + 8]
lea ecx, [ebp - 0x1c]
call fcn.00409563
push eax
push dword [edi + 0x10]
call fcn.0041b110
add esp, 0xc
jmp 0x4047d0
mov dword [edi + 0x10], ebx
mov eax, dword [ebp - 0x28]
inc dword [ebp - 0x20]
movzx eax, word [eax]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x290]
mov dword [edi + 0xc], eax
jmp 0x404807
lea ecx, [ebp - 0x60]
call fcn.00409563
push eax
lea ecx, [ebp - 0x50]
call fcn.00409563
push eax
push str.Found___s__matching_search_string___s___but_it_appears_to_not_be_a_file_that_can_be_opened._n
push esi
call fcn.00403e43
add esp, 0x10
lea ecx, [ebp - 0x10]
call fcn.00402f89
jmp 0x404831
lea ecx, [ebp - 0x60]
call fcn.00409563
push eax
lea ecx, [ebp - 0x50]
call fcn.00409563
push eax
push str.Found___s__matching_search_string___s___but_the_file_cannot_be_opened._n
push esi
call fcn.00403e43
add esp, 0x10
lea ecx, [ebp - 0x50]
call fcn.00402d02
lea eax, [ebp - 0x2b0]
push eax
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, ebx
jne 0x40465b
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x60]
call fcn.00402d02
lea ecx, [ebp - 0x44]
call fcn.00402d02
lea ecx, [ebp - 0x1c]
call fcn.00402d02
lea ecx, [ebp - 0x38]
call fcn.00402d02
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 4
call fcn.00402cbe
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.00402cbe
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.00402cbe
inc dword [ebp - 0x2c]
add dword [ebp - 0x24], 0xc
mov eax, dword [ebp - 0x2c]
add dword [ebp - 0x28], 2
cmp eax, dword [esi + 0x368]
jl 0x404496
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.00402cbe
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.00402f84
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00402cbe
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x20]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret