Function at 0x415010
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47a4e7
mov eax, dword fs:[0]
push eax
sub esp, 0x414
mov eax, dword [0x49c068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x3ac], esi
mov dword [ebp - 0x3ac], esi
push 0
push edx
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 1
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0x23c]
call fcn.00426710
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x224]
mov eax, edx
mov ecx, dword [ebp - 0x228]
sub eax, ecx
cmp eax, 2
jb 0x4150bd
lea eax, [ecx + 2]
cmp edx, 0x10
mov dword [ebp - 0x228], eax
mov edx, 0x2a5c
lea eax, [ebp - 0x238]
cmovae eax, dword [ebp - 0x238]
mov word [eax + ecx], dx
mov byte [eax + ecx + 2], 0
jmp 0x4150de
push 2
push 0x49416c
mov byte [ebp - 0x21c], 0
lea ecx, [ebp - 0x23c]
push dword [ebp - 0x21c]
push 2
call fcn.00409060
cmp dword [ebp - 0x224], 0x10
lea ecx, [ebp - 0x3a0]
lea eax, [ebp - 0x238]
cmovae eax, dword [ebp - 0x238]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
mov dword [ebp - 0x3ac], edi
cmp edi, 0xffffffff
jne 0x4151d0
mov byte [ebp - 4], 3
mov edx, dword [ebp + 0x3c]
mov ecx, dword [ebp + 0x38]
mov eax, dword [ebp + 0x34]
push 8
mov dword [ebp + 0x3c], 0
mov dword [ebp + 0x38], 0
mov dword [ebp + 0x34], 0
mov dword [esi], 0
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
call fcn.0042b3f0
add esp, 4
lea ecx, [ebp - 0x21c]
mov dword [eax + 4], 0
mov dword [esi], eax
push 3
mov dword [eax], esi
call fcn.004283d0
mov ecx, dword [ebp + 0x30]
mov eax, dword [esi]
mov dword [esi], ecx
mov dword [ebp + 0x30], eax
test ecx, ecx
je 0x415177
mov dword [ecx], esi
mov eax, dword [ebp + 0x30]
test eax, eax
je 0x415180
lea ecx, [ebp + 0x30]
mov dword [eax], ecx
lea ecx, [ebp - 0x21c]
call fcn.00428480
lea ecx, [ebp - 0x23c]
call fcn.00406820
mov eax, dword [ebp - 0x23c]
push 8
push eax
mov dword [ebp - 0x23c], 0
call fcn.0042b3d0
add esp, 8
lea ecx, [ebp + 8]
call fcn.00404a50
lea ecx, [ebp + 0x30]
call fcn.00406610
mov ecx, dword [ebp + 0x30]
push 8
push ecx
jmp 0x415668
test byte [ebp - 0x3a0], 0x10
je 0x41558f
xorps xmm0, xmm0
mov dword [ebp - 0x260], 0
lea eax, [ebp - 0x374]
mov dword [ebp - 0x24c], 0
movups xmmword [ebp - 0x25c], xmm0
mov dword [ebp - 0x248], 0
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x415210
sub eax, edx
lea ecx, [ebp - 0x260]
push eax
lea eax, [ebp - 0x374]
push eax
call fcn.00408cd0
lea eax, [ebp - 0x404]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp + 8]
call fcn.00404cf0
mov esi, eax
lea ecx, [ebp + 8]
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x3f8]
push eax
call fcn.004083c0
push esi
mov ecx, eax
call fcn.00404b20
push 3
lea ecx, [ebp - 0x21c]
mov byte [ebp - 0x3a1], al
call fcn.004283d0
lea ecx, [ebp - 0x3f8]
call fcn.004018b0
lea ecx, [ebp - 0x21c]
call fcn.00428480
push 3
lea ecx, [ebp - 0x240]
call fcn.004283d0
lea ecx, [ebp - 0x404]
call fcn.004018b0
lea ecx, [ebp - 0x240]
call fcn.00428480
cmp byte [ebp - 0x3a1], 0
jne 0x415565
sub esp, 0x10
lea eax, [ebp + 0x30]
mov ecx, esp
mov dword [ebp - 0x3d8], esp
push eax
call fcn.004051b0
sub esp, 0x28
mov byte [ebp - 4], 5
lea eax, [ebp + 8]
mov dword [ebp - 0x3dc], esp
mov ecx, esp
push eax
call fcn.004165f0
lea edx, [ebp - 0x218]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x420]
call fcn.00426710
mov esi, eax
mov byte [ebp - 4], 7
mov edx, dword [esi + 0x18]
mov eax, edx
mov ecx, dword [esi + 0x14]
sub eax, ecx
cmp eax, 1
jb 0x415326
lea eax, [ecx + 1]
mov dword [esi + 0x14], eax
lea eax, [esi + 4]
cmp edx, 0x10
jb 0x41531e
mov eax, dword [eax]
mov word [eax + ecx], 0x5c
jmp 0x415345
push 1
push 0x493b28
mov byte [ebp - 0x3cc], 0
mov ecx, esi
push dword [ebp - 0x3cc]
push 1
call fcn.00409060
mov esi, eax
mov byte [ebp - 4], 8
xorps xmm0, xmm0
push 8
mov dword [ebp - 0x3c8], 0
movups xmmword [ebp - 0x3c4], xmm0
mov dword [ebp - 0x3b4], 0
mov dword [ebp - 0x3b0], 0
call fcn.0042b3f0
add esp, 4
lea ecx, [ebp - 0x3c8]
mov dword [eax + 4], 0
mov dword [ebp - 0x3c8], eax
push esi
mov dword [eax], ecx
call fcn.00406a60
mov byte [ebp - 4], 9
lea edx, [ebp - 0x25c]
mov ecx, dword [ebp - 0x24c]
sub esp, 0x1c
cmp dword [ebp - 0x248], 0x10
mov edi, esp
mov eax, dword [ebp - 0x3b0]
cmovae edx, dword [ebp - 0x25c]
mov esi, dword [ebp - 0x3b4]
sub eax, esi
mov dword [ebp - 0x3a8], edi
mov dword [ebp - 0x3a8], ecx
push ecx
push edx
cmp ecx, eax
ja 0x415413
cmp dword [ebp - 0x3b0], 0x10
lea eax, [esi + ecx]
mov dword [ebp - 0x3b4], eax
lea eax, [ebp - 0x3c4]
cmovae eax, dword [ebp - 0x3c4]
add esi, eax
push esi
call fcn.0042d8f0
mov eax, dword [ebp - 0x3a8]
add esp, 0xc
mov byte [esi + eax], 0
lea esi, [ebp - 0x3c8]
jmp 0x41542e
mov byte [ebp - 0x3d0], 0
push dword [ebp - 0x3d0]
push ecx
lea ecx, [ebp - 0x3c8]
call fcn.00409060
mov esi, eax
mov byte [ebp - 4], 0xa
xorps xmm0, xmm0
mov dword [edi], 0
movups xmmword [edi + 4], xmm0
push 8
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
call fcn.0042b3f0
add esp, 4
mov ecx, edi
mov dword [eax + 4], 0
mov dword [edi], eax
push esi
mov dword [eax], edi
call fcn.00406a60
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x3ec]
mov byte [ebp - 4], 0xc
call fcn.00414860
mov esi, eax
add esp, 0x54
lea eax, [ebp + 0x30]
cmp eax, esi
je 0x4154ed
mov ecx, eax
call fcn.00406610
push 3
lea ecx, [ebp - 0x244]
call fcn.004283d0
mov eax, dword [esi]
mov ecx, dword [ebp + 0x30]
mov dword [ebp + 0x30], eax
mov dword [esi], ecx
mov eax, dword [ebp + 0x30]
test eax, eax
je 0x4154b3
lea ecx, [ebp + 0x30]
mov dword [eax], ecx
mov eax, dword [esi]
test eax, eax
je 0x4154bb
mov dword [eax], esi
lea ecx, [ebp - 0x244]
call fcn.00428480
mov eax, dword [esi + 4]
mov dword [ebp + 0x34], eax
mov eax, dword [esi + 8]
mov dword [ebp + 0x38], eax
mov eax, dword [esi + 0xc]
mov dword [ebp + 0x3c], eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
lea ecx, [ebp - 0x3ec]
call fcn.00406610
mov eax, dword [ebp - 0x3ec]
push 8
push eax
mov dword [ebp - 0x3ec], 0
call fcn.0042b3d0
add esp, 8
lea ecx, [ebp - 0x3c8]
call fcn.00406820
mov eax, dword [ebp - 0x3c8]
push 8
push eax
mov dword [ebp - 0x3c8], 0
call fcn.0042b3d0
add esp, 8
lea ecx, [ebp - 0x420]
call fcn.00406820
mov eax, dword [ebp - 0x420]
push 8
push eax
mov dword [ebp - 0x420], 0
call fcn.0042b3d0
mov edi, dword [ebp - 0x3ac]
add esp, 8
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 2
call fcn.00406820
mov eax, dword [ebp - 0x260]
push 8
push eax
mov dword [ebp - 0x260], 0
call fcn.0042b3d0
add esp, 8
lea eax, [ebp - 0x3a0]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4151d0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 0xd
mov esi, dword [ebp - 0x220]
mov edx, dword [ebp + 0x3c]
mov ecx, dword [ebp + 0x38]
mov eax, dword [ebp + 0x34]
push 8
mov dword [ebp + 0x3c], 0
mov dword [ebp + 0x38], 0
mov dword [ebp + 0x34], 0
mov dword [esi], 0
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
call fcn.0042b3f0
add esp, 4
lea ecx, [ebp - 0x220]
mov dword [eax + 4], 0
mov dword [esi], eax
push 3
mov dword [eax], esi
call fcn.004283d0
mov ecx, dword [ebp + 0x30]
mov eax, dword [esi]
mov dword [esi], ecx
mov dword [ebp + 0x30], eax
test ecx, ecx
je 0x415618
mov dword [ecx], esi
mov eax, dword [ebp + 0x30]
test eax, eax
je 0x415621
lea ecx, [ebp + 0x30]
mov dword [eax], ecx
lea ecx, [ebp - 0x220]
call fcn.00428480
lea ecx, [ebp - 0x23c]
call fcn.00406820
mov eax, dword [ebp - 0x23c]
push 8
push eax
mov dword [ebp - 0x23c], 0
call fcn.0042b3d0
add esp, 8
lea ecx, [ebp + 8]
call fcn.00404a50
lea ecx, [ebp + 0x30]
call fcn.00406610
mov eax, dword [ebp + 0x30]
push 8
push eax
mov dword [ebp + 0x30], 0
call fcn.0042b3d0
mov eax, esi
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042b3c0
mov esp, ebp
pop ebp
ret