Function at 0x414ed0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d0
mov eax, dword [0x54c384]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
xor esi, esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
mov eax, edx
mov dword [ebp - 0x2b8], ebx
push 0x5052c0
mov dword [ebp - 0x2b4], eax
mov dword [ebp - 0x2b0], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
call fcn.004048c0
add esp, 4
lea ecx, [ebp - 0x2ac]
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2b0], eax
cmp eax, 0xffffffff
jne 0x415029
push 0xbbc
push str.DownloadThemeDll::GetPathAllFile
push str.__s__d___hFind_is_INVALID_HANDLE_VALUE
call fcn.0041f720
add esp, 0xc
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x18]
mov dword [ebx], ecx
mov dword [ebx + 4], edx
cmp eax, 8
jb 0x414fb2
mov ecx, dword [ebp - 0x2c]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x414fa2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41539a
push edx
push ecx
call fcn.004bdd39
mov edx, dword [ebp - 0x10]
add esp, 8
mov ecx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
test ecx, ecx
je 0x415016
push ecx
call fcn.004058e0
mov ecx, dword [ebp - 0xc]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x14]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x41500c
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41539a
push ecx
push esi
call fcn.004bdd39
add esp, 8
mov ecx, dword [ebp - 8]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpW]
nop
test byte [ebp - 0x2ac], 0x10
je 0x4152ab
push 0x5010a8
lea eax, [ebp - 0x280]
push eax
call ebx
test eax, eax
je 0x4152a5
push 0x5010d4
lea eax, [ebp - 0x280]
push eax
call ebx
test eax, eax
je 0x4152a5
mov edx, dword [ebp - 0x2b4]
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x5c]
call fcn.004048c0
add esp, 4
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x2d0]
push 0x5010bc
call fcn.004048c0
add esp, 4
mov ecx, eax
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4150a3
mov eax, dword [edi]
push dword [edi + 0x10]
push eax
call fcn.00403f90
mov dword [ebp - 0x34], 0
xor ecx, ecx
mov dword [ebp - 0x30], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x34], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x2bc]
cmp edx, 8
jb 0x41511e
mov ecx, dword [ebp - 0x2d0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x415114
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41539a
push edx
push ecx
call fcn.004bdd39
add esp, 8
xor eax, eax
mov dword [ebp - 0x2c0], 0
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x2bc], 7
mov word [ebp - 0x2d0], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415144
sub ecx, edx
lea eax, [ebp - 0x280]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2d0]
call fcn.00403e30
lea ecx, [ebp - 0x2d0]
or esi, 1
call fcn.004147b0
test al, al
je 0x415192
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x415192
mov bl, 1
jmp 0x415194
xor bl, bl
mov edx, dword [ebp - 0x2bc]
and esi, 0xfffffffe
cmp edx, 8
jb 0x4151d7
mov ecx, dword [ebp - 0x2d0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4151cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41539a
push edx
push ecx
call fcn.004bdd39
add esp, 8
test bl, bl
je 0x4151ff
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x5c]
push ecx
cmp dword [ebp - 0xc], eax
je 0x4151f4
mov ecx, eax
call fcn.00402f60
add dword [ebp - 0x10], 0x18
jmp 0x415217
push eax
lea ecx, [ebp - 0x14]
call fcn.00404950
jmp 0x415217
sub esp, 0x18
lea eax, [ebp - 0x5c]
mov ecx, esp
push eax
call fcn.00402f60
mov cl, 1
call fcn.004110c0
add esp, 0x18
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x415251
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x415247
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41539a
push edx
push ecx
call fcn.004bdd39
add esp, 8
mov edx, dword [ebp - 0x48]
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
cmp edx, 8
jb 0x41529f
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x415295
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41539a
push edx
push ecx
call fcn.004bdd39
add esp, 8
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpW]
mov eax, dword [ebp - 0x2b0]
lea ecx, [ebp - 0x2ac]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x4152c8
mov eax, dword [ebp - 0x2b0]
jmp 0x415030
push dword [ebp - 0x2b0]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [ebp - 0x2b8]
xor ecx, ecx
mov eax, dword [ebp - 0x14]
xor edx, edx
mov dword [ebp - 0x14], ecx
mov dword [ebx], eax
mov eax, dword [ebp - 0x10]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], ecx
cmp eax, 8
jb 0x415334
mov ecx, dword [ebp - 0x2c]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x415324
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41539a
push edx
push ecx
call fcn.004bdd39
mov edx, dword [ebp - 0x10]
add esp, 8
mov ecx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
test ecx, ecx
je 0x415016
push ecx
call fcn.004058e0
mov ecx, dword [ebp - 0xc]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x14]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x41500c
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41500c
call fcn.004c8da3
int3