Function at 0x41f950
Capabilities:
Check mutex on windows
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
push 0xffffffffffffffff
push 0x4250a6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x2518
call fcn.0041e800
cmp dword [0x7ffc30], 0x12
push ebx
push ebp
push esi
push edi
jne 0x41f9e6
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_DuplicateIcon]
push ebx
push ebx
call fcn.0040990d
push ebx
call fcn.0041f158
add esp, 0xc
lea eax, [esp + 0x90]
push eax
call fcn.004065b0
lea esi, [esp + 0x40]
mov dword [esp + 0x2534], ebx
call fcn.00406e70
sub esp, 0x1c
mov byte [esp + 0x2550], 1
mov ecx, esp
mov dword [esp + 0x30], esp
push ebx
call fcn.00406130
mov ecx, esi
call fcn.00406ea0
push ebx
call fcn.0040a181
add esp, 4
call fcn.0040a1a3
mov eax, 0x38d6
add dword [0x7ffc30], eax
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x74]
xor ebx, ebx
xor esi, esi
lea ecx, [ecx]
cmp esi, 0x1c423
jge 0x41fa14
call dword [sym.imp.KERNEL32.dll_GetLastError]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, 0x1ea07e8b
jle 0x41fa2c
cmp edi, 0xad234a
je 0x41fa2c
cmp ebp, 0x8cae548
jne 0x41fa35
inc esi
cmp esi, 0x8c6ffc72
jb 0x41fa00
mov ecx, dword [0x7ffc30]
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 [0x7fc0a0], eax
mov eax, dword [0x7ffc30]
mov dword [esp + 0x14], 0x963510
cmp eax, 3
jne 0x41fa78
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, dword [0x7ffc30]
cmp eax, 0xbc5
jne 0x41fc04
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 + 0x2130]
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 + 0xd2c]
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
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x4c]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
push ebx
push ebx
push ebx
call esi
lea eax, [esp + 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_RtlCaptureContext]
push ebx
lea ecx, [esp + 0x152c]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push ebx
lea edx, [esp + 0x1d2c]
push edx
push 0x404450
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCommState]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFix]
push ebx
lea eax, [esp + 0x112c]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push ebx
call dword [sym.imp.KERNEL32.dll_SetComputerNameW]
lea ecx, [esp + 0x2c]
push ecx
xor eax, eax
lea edx, [esp + 0x6c]
push edx
push ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
call dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsW]
push 0x4044a8
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push ebx
lea eax, [esp + 0x52c]
push eax
push 0x4044c8
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointW]
push ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
push 0x404588
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateJobSet]
push 0x404650
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 0x404660
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
push ebx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
push ebx
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesA]
mov eax, dword [0x7ffc30]
dec dword [esp + 0x14]
jne 0x41fa67
xor esi, esi
cmp eax, ebx
jbe 0x41fc3b
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
lea ebx, [ebx]
call fcn.0041f650
mov eax, dword [0x7ffc30]
cmp eax, 0x29
jne 0x41fc36
call edi
mov eax, dword [0x7ffc30]
inc esi
cmp esi, eax
jb 0x41fc20
cmp eax, 0x19c
jne 0x41fc81
push 0x4046a0
call dword [sym.imp.KERNEL32.dll_FindAtomA]
lea edx, [esp + 0x14]
push edx
push ebx
push 0x4046a8
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetStringTypeExW]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push 0x404720
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
push ebx
push 0x404730
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
mov edi, dword [sym.imp.USER32.dll_GetMenuBarInfo]
mov esi, 0x8dc
lea esp, [esp]
push ebx
push ebx
push ebx
push ebx
call edi
dec esi
jne 0x41fc90
mov esi, dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
mov edi, 0x250a9
cmp dword [0x7ffc30], 0x92
jne 0x41fcb8
push 0x404754
push ebx
call esi
dec edi
jne 0x41fca4
mov byte [0x45ef38], bl
call fcn.0041f190
call fcn.0041f920
call fcn.0041f630
mov esi, dword [sym.imp.USER32.dll_DefDlgProcA]
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [esp + 0x14], 0xf3743
lea ebx, [ebx]
cmp dword [0x7ffc30], 0x21
jne 0x41fd13
push ebx
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
lea eax, [esp + 0x530]
push eax
push ebx
call edi
push 0x404770
call ebp
dec dword [esp + 0x14]
jne 0x41fcf0
call fcn.0041f8c0
cmp dword [0x7ffc30], 0xd5c
mov byte [0x45ef39], 0x73
jne 0x41fdd7
lea ecx, [esp + 0x258]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push ebx
lea eax, [esp + 0x52c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
push 0x404790
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]
call dword [sym.imp.KERNEL32.dll_GetConsoleCP]
push 0x4047a0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
lea ecx, [esp + 0x138]
push ecx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCPInfoExA]
push ebx
call dword [sym.imp.KERNEL32.dll_ZombifyActCtx]
lea edx, [esp + 0x18]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetBinaryTypeW]
push ebx
push ebx
push ebx
push 0x4047d8
push 0x4047e4
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
call fcn.0041f640
mov ecx, dword [esp + 0x252c]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret