Function at 0x41eb50
Capabilities:
Delete file
Enumerate gui resources
Get disk information
Get file attributes
Move file
Query environment variable
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42415b
push eax
mov dword fs:[0], esp
sub esp, 0xb7c
cmp dword [0x818370], 0x12
push ebx
push ebp
push esi
push edi
jne 0x41ebb4
xor ebx, ebx
push ebx
call fcn.00408ebd
add esp, 4
push ebx
call fcn.00408eed
add esp, 4
lea eax, [esp + 0x80]
push eax
call fcn.00406350
push ebx
mov dword [esp + 0xb98], ebx
call fcn.0040901b
add esp, 4
call fcn.0040903d
mov eax, 0x38d6
add dword [0x818370], eax
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x4c]
xor ebx, ebx
xor esi, esi
jmp 0x41ebd0
cmp esi, 0x1c428
jge 0x41ebe4
call dword [sym.imp.KERNEL32.dll_GetLastError]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, 0x1ea07db9
jle 0x41ebfc
cmp edi, 0xad121a
je 0x41ebfc
cmp ebp, 0x8c67878
jne 0x41ec05
inc esi
cmp esi, 0x8c70231e
jb 0x41ebd0
mov ecx, dword [0x818370]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, dword [sym.imp.KERNEL32.dll_EnumCalendarInfoA]
mov ebp, dword [sym.imp.KERNEL32.dll_EnumCalendarInfoW]
mov esi, dword [sym.imp.KERNEL32.dll_EnumDateFormatsW]
mov dword [0x8147e0], eax
mov eax, dword [0x818370]
mov dword [esp + 0x10], 0x963510
cmp eax, 3
jne 0x41ec48
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, dword [0x818370]
cmp eax, 0xbc5
jne 0x41ed69
push ebx
push ebx
push ebx
push ebx
call edi
push ebx
push ebx
push ebx
push ebx
call ebp
push ebx
push ebx
lea edx, [esp + 0x790]
push edx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStructA]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
push ebx
lea eax, [esp + 0x38c]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleA]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_QueryDepthSList]
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetConsoleMode]
push ebx
push ebx
push ebx
call esi
lea edx, [esp + 0x68]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCommState]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnfix]
push ebx
call dword [sym.imp.KERNEL32.dll_SetComputerNameA]
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x44]
push ecx
push ebx
mov dword [esp + 0x38], ebx
call dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsA]
push 0x404424
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 0x404430
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateJobSet]
push 0x4044d4
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 0x4044f4
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
lea edx, [esp + 0x14]
push edx
push ebx
push 0x404500
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetStringTypeA]
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
mov eax, dword [0x818370]
dec dword [esp + 0x10]
jne 0x41ec37
xor esi, esi
cmp eax, ebx
jbe 0x41ed9b
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
nop
call fcn.0041e840
mov eax, dword [0x818370]
cmp eax, 0x29
jne 0x41ed96
call edi
mov eax, dword [0x818370]
inc esi
cmp esi, eax
jb 0x41ed80
cmp eax, 0x19c
jne 0x41ede1
push 0x404548
call dword [sym.imp.KERNEL32.dll_FindAtomW]
lea ecx, [esp + 0x14]
push ecx
push ebx
push 0x404580
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetStringTypeExA]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push 0x4045d8
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
push ebx
push 0x4045e4
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
mov edi, dword [sym.imp.USER32.dll_GetMenu]
mov esi, 0x8dc
lea esp, [esp]
push ebx
call edi
dec esi
jne 0x41edf0
mov esi, dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
mov edi, 0x250a9
mov ebp, 0x92
cmp dword [0x818370], ebp
jne 0x41ee16
push 0x4045ec
push ebx
call esi
dec edi
jne 0x41ee06
mov byte [0x477678], bl
call fcn.0041e380
call fcn.0041eb20
call fcn.0041e820
mov edi, dword [sym.imp.USER32.dll_DefDlgProcA]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebp, 0xf2b8b
nop
cmp dword [0x818370], 0x21
jne 0x41ee52
push ebx
push ebx
push ebx
push ebx
call edi
push ebx
call esi
dec ebp
jne 0x41ee40
call fcn.0041e970
cmp dword [0x818370], 0xd5c
mov byte [0x477679], 0x73
jne 0x41ef11
lea edx, [esp + 0x128]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push ebx
lea ecx, [esp + 0x38c]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameA]
push 0x404610
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateJobObject]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
push ebx
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
push 0x404654
call esi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetProcessPriorityBoost]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
lea edx, [esp + 0x268]
push edx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCPInfoExA]
push ebx
call dword [sym.imp.KERNEL32.dll_ZombifyActCtx]
lea eax, [esp + 0x14]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetBinaryTypeW]
push ebx
push ebx
push ebx
push 0x40468c
push 0x4046bc
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
call fcn.0041e830
mov ecx, dword [esp + 0xb8c]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret