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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x101d00c]
xor eax, ebp
mov dword [ebp - 4], eax
or dword [ebp - 0x41c], 0xffffffff
push ebx
push esi
push edi
xor eax, eax
mov edi, 0x208
push edi
push eax
mov dword [ebp - 0x418], eax
mov dword [ebp - 0x424], eax
lea eax, [ebp - 0x20c]
mov ebx, ecx
mov esi, 0x104
push eax
mov dword [ebp - 0x428], ebx
mov dword [ebp - 0x420], esi
call sub.msvcrt.dll_memset
add esp, 0xc
push esi
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x1011453
cmp eax, esi
jae 0x1011453
movzx eax, word [ebp - 0x414]
push eax
add ebx, 0x24
call sub.msvcrt.dll_tolower
movzx ecx, word [ebx]
push ecx
mov dword [ebp - 0x418], eax
call sub.msvcrt.dll_tolower
pop ecx
pop ecx
mov ecx, dword [ebp - 0x418]
cmp ecx, eax
jne 0x10114aa
push 0x1002ba0
call fcn.01013f92
mov dword [ebp - 0x418], eax
test eax, eax
jne 0x10112e7
mov eax, dword [0x101d014]
cmp eax, 0x101d014
je 0x1011477
test byte [eax + 0x1c], 1
je 0x1011477
push 0x10029dc
push 0x1d
jmp 0x101146c
push 0x1002b8c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x42c], eax
test eax, eax
jne 0x1011323
mov eax, dword [0x101d014]
cmp eax, 0x101d014
je 0x1011477
test byte [eax + 0x1c], 1
je 0x1011477
push 0x10029dc
push 0x1e
jmp 0x101146c
mov ebx, dword [ebp - 0x428]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x420]
push eax
push 0
lea eax, [ebx + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileNameW]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x1011477
cmp eax, 0xffffffff
je 0x1011477
lea eax, [ebp - 0x20c]
push eax
call fcn.01013a36
test eax, eax
je 0x10113e7
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [ebp - 0x42c]
test eax, eax
je 0x101140b
mov ecx, ebx
call fcn.010106f8
test eax, eax
jne 0x101140b
mov ax, word [ebx + 0x24]
push 0x3a
mov word [ebx + 0x22c], ax
pop eax
mov word [ebx + 0x22e], ax
lea eax, [ebp - 0x20c]
push eax
push 0x102
add ebx, 0x230
push ebx
call fcn.01006418
test eax, eax
jge 0x1011447
mov eax, dword [0x101d014]
cmp eax, 0x101d014
je 0x1011477
test byte [eax + 0x1c], 1
je 0x1011477
push 0x10029dc
push 0x20
jmp 0x101146c
mov eax, dword [0x101d014]
cmp eax, 0x101d014
je 0x101140b
test byte [eax + 0x1c], 1
je 0x101140b
push 0x10029dc
push 0x1f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010043b6
push edi
lea eax, [ebp - 0x20c]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x420]
push eax
push dword [ebp - 0x41c]
mov dword [ebp - 0x420], esi
call dword [sym.imp.KERNEL32.dll_FindNextFileNameW]
test eax, eax
jne 0x101135a
jmp 0x1011477
mov dword [ebp - 0x424], 1
jmp 0x1011477
mov eax, dword [0x101d014]
cmp eax, 0x101d014
je 0x10114aa
test byte [eax + 0x1c], 1
je 0x10114aa
push 0x10029dc
push 0x1c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010043b6
cmp dword [ebp - 0x418], 0
je 0x101148c
push dword [ebp - 0x418]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x41c], 0
je 0x10114aa
cmp dword [ebp - 0x41c], 0xffffffff
je 0x10114aa
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x424]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.010042af
leave
ret