Function at 0x4034e0
Capabilities:
Enumerate files on windows
Enumerate gui resources
Get common file path
Get file attributes

Disassembly:
sub esp, 0xab0
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_AddRefActCtx]
xor esi, esi
cmp esi, 0xfae
jne 0x403503
mov eax, 0x38d6
add dword [0x4b7c0c], eax
cmp dword [0x4b7c0c], 0xdcc
jne 0x403516
lea eax, [esp + 0xc]
push eax
call edi
inc esi
cmp esi, 0x319dba
jl 0x4034f0
mov ecx, dword [0x4b7c0c]
push ebx
push ebp
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExW]
mov edi, dword [sym.imp.KERNEL32.dll_EnumCalendarInfoA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileA]
mov dword [0x4b76f0], eax
mov eax, dword [0x4b7c0c]
mov dword [esp + 0x10], 0x962ae8
lea ebx, [ebx]
cmp eax, 3
jne 0x40357a
lea edx, [esp + 0x70]
push edx
push 0x401260
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov eax, dword [0x4b7c0c]
cmp eax, 0xd
jne 0x4035b1
push 0
push 0
push 0
push 0
call esi
push 0
push 0
push 0
push 0
call edi
push 0
lea eax, [esp + 0x2c4]
push eax
push 0x4012bc
call ebp
push 0
push 0
push 0
call ebx
mov eax, dword [0x4b7c0c]
dec dword [esp + 0x10]
jne 0x403560
xor esi, esi
test eax, eax
je 0x4035f8
mov edi, dword [sym.imp.KERNEL32.dll__llseek]
mov ebp, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
lea esp, [esp]
cmp eax, 0xfe
jne 0x4035e8
push 0
push 0
push 0
call edi
lea ecx, [esp + 0x10]
push ecx
push 0
call ebp
push esi
call fcn.00402f60
mov eax, dword [0x4b7c0c]
inc esi
cmp esi, eax
jb 0x4035d0
cmp eax, 0x19c
jne 0x40364e
push 0x4012c8
call dword [sym.imp.KERNEL32.dll_AddAtomW]
push 0
lea edx, [esp + 0x2c4]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
push 0x401330
push 0x401360
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
mov edi, dword [sym.imp.USER32.dll_LoadMenuW]
mov esi, 0x8dc
lea esp, [esp]
push 0
push 0
call edi
dec esi
jne 0x403660
mov esi, dword [sym.imp.KERNEL32.dll_AddAtomA]
mov edi, dword [sym.imp.KERNEL32.dll_SleepEx]
mov ebp, 0x2594b
mov ebx, 0x15a
nop
cmp dword [0x4b7c0c], ebx
jne 0x403692
push 0
call esi
push 0
push 0
call edi
dec ebp
jne 0x403680
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x20]
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
cmp esi, 0x1b2e9
jge 0x4036b1
push 0
call ebx
cmp esi, 0x1ea070d5
jle 0x4036c9
cmp edi, 0xacc0b8
je 0x4036c9
cmp ebp, 0xad642ec
jne 0x4036d2
inc esi
cmp esi, 0x8ded45c8
jb 0x4036a5
mov byte [0x43c7e8], 0
call fcn.00403070
mov eax, dword [0x4b7c0c]
mov ecx, dword [0x4b76f0]
push 0x43b400
push eax
push ecx
call fcn.00402f30
call fcn.00403050
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileSectionA]
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, 0xdd7b3
cmp dword [0x4b7c0c], 0x21
jne 0x40373f
push 0x401374
push 0x401388
push 0x4013bc
call esi
push 0
push 0
lea edx, [esp + 0x2c8]
push edx
push 0
call edi
push 0
call ebp
dec ebx
jne 0x403711
call fcn.00402d70
cmp dword [0x4b7c0c], 0x58c
pop ebp
mov byte [0x43c7e9], 0x73
pop ebx
jne 0x4037fa
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_LocalSize]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_RaiseException]
call fcn.00403040
pop edi
xor eax, eax
pop esi
add esp, 0xab0
ret