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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42b5fe
mov eax, dword fs:[0]
push eax
sub esp, 0x4cc
mov eax, dword [0x43800c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x488], esi
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x490], esi
mov dword [ebp - 0x48c], 0
push eax
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
push 0x4335d8
mov word [esi], ax
call fcn.00409f20
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x48c], 1
call fcn.00417e70
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push str.Microsoft
push 0
push 0
push 0x801c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathAndSubDirW]
test eax, eax
jne 0x40a709
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x220], eax
lea edx, [ecx + 2]
mov dword [ebp - 0x21c], 7
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40a1b0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.00409f20
lea eax, [ebp - 0x230]
cmp esi, eax
je 0x40a23c
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x40a215
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x40a20b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a844
mov eax, edx
push ecx
push eax
call fcn.004165af
add esp, 8
movups xmm0, xmmword [ebp - 0x230]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x220]
movq qword [esi + 0x10], xmm0
jmp 0x40a27c
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x40a27c
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a272
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a844
push edx
push ecx
call fcn.004165af
add esp, 8
mov edx, dword [esi + 0x10]
test edx, edx
je 0x40a709
cmp dword [esi + 0x14], 8
lea eax, [edx + edx]
jb 0x40a29e
mov ecx, dword [esi]
add ecx, eax
mov eax, dword [esi]
mov dword [ebp - 0x484], eax
jmp 0x40a2a7
lea ecx, [eax + esi]
mov dword [ebp - 0x484], esi
mov eax, ecx
cmp ecx, dword [ebp - 0x484]
je 0x40a587
cmp word [eax - 2], 0x5c
je 0x40a587
push 1
xor eax, eax
mov dword [ebp - 0x4d8], 0
push 0x433214
lea ecx, [ebp - 0x4d8]
mov dword [ebp - 0x4c8], 0
mov dword [ebp - 0x4c4], 7
mov word [ebp - 0x4d8], ax
call fcn.00409f20
mov dword [ebp - 4], 1
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x40a30a
mov eax, dword [esi]
push dword [esi + 0x10]
push eax
push ecx
lea ecx, [ebp - 0x4d8]
call fcn.00409640
mov dword [ebp - 0x230], 0
xor ecx, ecx
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
movups xmm0, xmmword [eax]
mov dword [ebp - 0x48c], 3
movups xmmword [ebp - 0x230], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x220], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push str.Dispatcher
lea edx, [ebp - 0x230]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4a8]
call fcn.00408ab0
push str..bin
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4c0]
call fcn.00408ab0
add esp, 8
mov dword [ebp - 0x488], eax
cmp esi, eax
je 0x40a422
mov edx, dword [esi + 0x14]
cmp edx, 8
jb 0x40a3f2
mov ecx, dword [esi]
lea edx, [edx*2 + 2]
cmp edx, 0x1000
jb 0x40a3e2
mov eax, dword [ecx - 4]
add edx, 0x23
sub ecx, eax
mov dword [ebp - 0x484], eax
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x40a844
mov ecx, dword [ebp - 0x484]
push edx
push ecx
call fcn.004165af
mov eax, dword [ebp - 0x488]
add esp, 8
mov dword [esi + 0x10], 0
xor ecx, ecx
mov dword [esi + 0x14], 7
mov word [esi], cx
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x4ac]
cmp edx, 8
jb 0x40a462
mov ecx, dword [ebp - 0x4c0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a458
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a844
push edx
push ecx
call fcn.004165af
add esp, 8
xor eax, eax
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x494]
mov dword [ebp - 0x4b0], 0
mov dword [ebp - 0x4ac], 7
mov word [ebp - 0x4c0], ax
cmp edx, 8
jb 0x40a4c3
mov ecx, dword [ebp - 0x4a8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a4b9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a844
push edx
push ecx
call fcn.004165af
add esp, 8
xor eax, eax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x21c]
mov dword [ebp - 0x498], 0
mov dword [ebp - 0x494], 7
mov word [ebp - 0x4a8], ax
cmp edx, 8
jb 0x40a524
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a51a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a844
push edx
push ecx
call fcn.004165af
add esp, 8
xor eax, eax
mov dword [ebp - 0x220], 0
mov byte [ebp - 4], al
mov edx, dword [ebp - 0x4c4]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp edx, 8
jb 0x40a709
mov ecx, dword [ebp - 0x4d8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a6ff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a844
jmp 0x40a6ff
mov eax, 0x7ffffffe
sub eax, edx
cmp eax, 0xa
jb 0x40a849
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x40a5a1
mov eax, dword [esi]
push 0xa
push str.Dispatcher
push edx
push eax
push ecx
push dword [ebp - 0x490]
lea ecx, [ebp - 0x4c0]
call fcn.00409530
mov dword [ebp - 0x48c], 5
push str..bin
lea edx, [ebp - 0x4c0]
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x4a8]
call fcn.00408ab0
add esp, 4
mov dword [ebp - 0x484], eax
cmp esi, eax
je 0x40a669
mov edx, dword [esi + 0x14]
cmp edx, 8
jb 0x40a639
mov ecx, dword [esi]
lea edx, [edx*2 + 2]
cmp edx, 0x1000
jb 0x40a629
mov eax, dword [ecx - 4]
add edx, 0x23
sub ecx, eax
mov dword [ebp - 0x488], eax
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x40a84e
mov ecx, dword [ebp - 0x488]
push edx
push ecx
call fcn.004165af
mov eax, dword [ebp - 0x484]
add esp, 8
mov dword [esi + 0x10], 0
xor ecx, ecx
mov dword [esi + 0x14], 7
mov word [esi], cx
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x494]
cmp edx, 8
jb 0x40a6a9
mov ecx, dword [ebp - 0x4a8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a69f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a84e
push edx
push ecx
call fcn.004165af
add esp, 8
xor eax, eax
mov dword [ebp - 0x498], 0
mov byte [ebp - 4], al
mov edx, dword [ebp - 0x4ac]
mov dword [ebp - 0x494], 7
mov word [ebp - 0x4a8], ax
cmp edx, 8
jb 0x40a709
mov ecx, dword [ebp - 0x4c0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a6ff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a84e
push edx
push ecx
call fcn.004165af
add esp, 8
mov edx, dword [edi + 4]
push ecx
mov ecx, dword [edi]
call fcn.004090a0
mov eax, dword [edi]
add esp, 4
mov dword [edi + 4], eax
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x40a726
mov eax, dword [esi]
lea ecx, [ebp - 0x480]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x484], eax
cmp eax, 0xffffffff
je 0x40a827
xor eax, eax
mov dword [ebp - 0x230], 0
lea ecx, [ebp - 0x454]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
lea edx, [ecx + 2]
mov word [ebp - 0x230], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40a773
sub ecx, edx
lea eax, [ebp - 0x454]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.00409f20
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x230]
mov eax, dword [edi + 4]
push ecx
cmp eax, dword [edi + 8]
je 0x40a7b8
mov ecx, eax
call fcn.00408650
add dword [edi + 4], 0x18
jmp 0x40a7c0
push eax
mov ecx, edi
call fcn.00408be0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x40a800
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a7f6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a844
push edx
push ecx
call fcn.004165af
add esp, 8
lea eax, [ebp - 0x480]
push eax
push dword [ebp - 0x484]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40a743
push dword [ebp - 0x484]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
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.004165a1
mov esp, ebp
pop ebp
ret
call fcn.00419a7c
call fcn.00409d80
call fcn.00419a7c
int3