Function at 0x41eb20
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 0x42412b
push eax
mov dword fs:[0], esp
sub esp, 0xf7c
cmp dword [0x8182b0], 0x12
push ebx
push ebp
push esi
push edi
jne 0x41eb84
xor ebx, ebx
push ebx
call fcn.00408e8d
add esp, 4
push ebx
call fcn.00408ebd
add esp, 4
lea eax, [esp + 0x80]
push eax
call fcn.00406320
push ebx
mov dword [esp + 0xf98], ebx
call fcn.00408feb
add esp, 4
call fcn.0040900d
mov eax, 0x38d6
add dword [0x8182b0], eax
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x4c]
xor ebx, ebx
xor esi, esi
jmp 0x41eba0
cmp esi, 0x1c428
jge 0x41ebb4
call dword [sym.imp.KERNEL32.dll_GetLastError]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, 0x1ea07db9
jle 0x41ebcc
cmp edi, 0xad121a
je 0x41ebcc
cmp ebp, 0x8c67878
jne 0x41ebd5
inc esi
cmp esi, 0x8c70231e
jb 0x41eba0
mov ecx, dword [0x8182b0]
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_EnumDateFormatsA]
mov dword [0x814720], eax
mov eax, dword [0x8182b0]
mov dword [esp + 0x10], 0x963510
cmp eax, 3
jne 0x41ec18
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, dword [0x8182b0]
cmp eax, 0xbc5
jne 0x41ed39
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 + 0x390]
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 + 0x78c]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleW]
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 [0x8182b0]
dec dword [esp + 0x10]
jne 0x41ec07
xor esi, esi
cmp eax, ebx
jbe 0x41ed6b
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
nop
call fcn.0041e810
mov eax, dword [0x8182b0]
cmp eax, 0x29
jne 0x41ed66
call edi
mov eax, dword [0x8182b0]
inc esi
cmp esi, eax
jb 0x41ed50
cmp eax, 0x19c
jne 0x41edb1
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 0x41edc0
mov esi, dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
mov edi, 0x250a9
mov ebp, 0x92
cmp dword [0x8182b0], ebp
jne 0x41ede6
push 0x4045ec
push ebx
call esi
dec edi
jne 0x41edd6
mov byte [0x4775b8], bl
call fcn.0041e350
call fcn.0041eaf0
call fcn.0041e7f0
mov edi, dword [sym.imp.USER32.dll_DefDlgProcA]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebp, 0xf2b8b
nop
cmp dword [0x8182b0], 0x21
jne 0x41ee22
push ebx
push ebx
push ebx
push ebx
call edi
push ebx
call esi
dec ebp
jne 0x41ee10
call fcn.0041e940
cmp dword [0x8182b0], 0xd5c
mov byte [0x4775b9], 0x73
jne 0x41eee1
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 0x4046a4
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressA]
call fcn.0041e800
mov ecx, dword [esp + 0xf8c]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret