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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6e4
mov eax, dword [0x4f3008]
xor eax, esp
mov dword [esp + 0x6e0], eax
mov eax, dword [0x4fafac]
movaps xmm0, xmmword [0x4dd240]
push ebx
mov dword [esp + 0x70], eax
mov eax, dword [0x4fafa4]
push esi
mov dword [esp + 0x78], eax
lea eax, [esp + 0x14]
push edi
mov dword [esp + 0x44], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x2c], 1
mov dword [esp + 0x74], 1
mov dword [esp + 0x30], 1
mov dword [esp + 0x84], 0
movups xmmword [esp + 0x34], xmm0
mov dword [esp + 0x88], 0
mov dword [esp + 0x64], 0x2ca0000
mov dword [esp + 0x5c], 0
mov dword [0x50839c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x4c], 0
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x447054
mov eax, dword [ebp + 0x14]
push 0
mov dword [0x508398], eax
call dword [sym.imp.ole32.dll_CoInitialize]
call dword [sym.imp.WINMM.dll_timeGetTime]
lea ecx, [esp + 0x10]
mov dword [0x4fafb8], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 1
call fcn.0044c740
lea eax, [esp + 0x2e0]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x4d52d4
lea eax, [esp + 0x2e4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x2e4]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
mov edi, eax
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [eax]
push 0x4d52dc
lea eax, [esp + 0xc0]
push eax
call esi
test eax, eax
je 0x446f29
push 0x4d52e4
lea eax, [esp + 0xc0]
push eax
call esi
test eax, eax
je 0x446f29
push 0x4d52e8
lea eax, [esp + 0xc0]
push eax
call esi
test eax, eax
je 0x446f9a
lea eax, [esp + 0x90]
push eax
push edi
call ebx
test eax, eax
jne 0x446ef0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp word [0x508190], 0
mov dword [0x508184], 1
jne 0x446fac
mov ecx, dword [0x4fb118]
push 0xb2a
mov eax, dword [ecx]
call dword [eax + 4]
push eax
lea eax, [esp + 0x4ec]
push 0x4d4fc0
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [esp + 0x4e8]
push 0x30
push str.SRPG_Studio
push eax
push dword [0x4fafbc]
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x44704e
xor eax, eax
mov dword [0x508184], 0
mov word [0x508190], ax
mov eax, dword [esp + 0x10]
push 0x1c
mov dword [0x50818c], eax
call fcn.004954b0
add esp, 4
mov dword [0x50817c], eax
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0x10], 0
push 0x57254
mov dword [eax], 0x508180
call fcn.004954b0
add esp, 4
mov ecx, eax
call fcn.004011c0
mov dword [esp + 0x48], eax
mov dword [esp + 0x18], 0
call fcn.004594b0
test eax, eax
je 0x44704e
mov ecx, dword [0x4fafac]
mov eax, dword [0x4fafa4]
mov dword [esp + 0x78], ecx
mov dword [0x4fafa8], ecx
mov dword [0x4fafa0], ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x7c], eax
mov dword [0x4fafb0], eax
mov dword [0x50816c], 0
mov dword [0x508168], 0
mov dword [0x4faf9c], eax
call fcn.004471c0
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [esp + 0x6ec]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004954a2
mov esp, ebp
pop ebp
ret 0x10