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 0x425096
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x2518
call fcn.0041e800
cmp dword [0x7eb230], 0x12
push ebx
push ebp
push esi
push edi
jne 0x41f9de
xor ebx, ebx
push ebx
push ebx
call fcn.004098eb
push ebx
call fcn.0041f158
add esp, 0xc
lea eax, [esp + 0x90]
push eax
call fcn.004065a0
lea esi, [esp + 0x40]
mov dword [esp + 0x2534], ebx
call fcn.00406e60
sub esp, 0x1c
mov byte [esp + 0x2550], 1
mov ecx, esp
mov dword [esp + 0x30], esp
push ebx
call fcn.00406120
mov ecx, esi
call fcn.00406e90
push ebx
call fcn.0040a161
add esp, 4
call fcn.0040a183
mov eax, 0x38d6
add dword [0x7eb230], eax
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x74]
xor ebx, ebx
xor esi, esi
cmp esi, 0x1c41e
jge 0x41fa09
call dword [sym.imp.KERNEL32.dll_GetLastError]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, 0x1ea07e81
jle 0x41fa21
cmp edi, 0xad13aa
je 0x41fa21
cmp ebp, 0x8cb0c58
jne 0x41fa2a
inc esi
cmp esi, 0x8c6ffc0e
jb 0x41f9f5
mov ecx, dword [0x7eb230]
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 [0x7e76a0], eax
mov eax, dword [0x7eb230]
mov dword [esp + 0x14], 0x963510
lea esp, [esp]
cmp eax, 3
jne 0x41fa71
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, dword [0x7eb230]
cmp eax, 0xbc5
jne 0x41fbfd
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 0x404440
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_SetComputerNameA]
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 0x404498
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push ebx
lea eax, [esp + 0x52c]
push eax
push 0x4044b8
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointW]
push ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
push 0x404578
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateJobSet]
push 0x404640
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 0x404650
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 [0x7eb230]
dec dword [esp + 0x14]
jne 0x41fa60
xor esi, esi
cmp eax, ebx
jbe 0x41fc2e
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
call fcn.0041f650
mov eax, dword [0x7eb230]
cmp eax, 0x29
jne 0x41fc29
call edi
mov eax, dword [0x7eb230]
inc esi
cmp esi, eax
jb 0x41fc13
cmp eax, 0x19c
jne 0x41fc74
push 0x404690
call dword [sym.imp.KERNEL32.dll_FindAtomA]
lea edx, [esp + 0x14]
push edx
push ebx
push 0x404698
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetStringTypeExW]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push 0x404710
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
push ebx
push 0x404720
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
mov edi, dword [sym.imp.USER32.dll_GetMenuBarInfo]
mov esi, 0x8dc
nop
push ebx
push ebx
push ebx
push ebx
call edi
dec esi
jne 0x41fc80
mov esi, dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
mov edi, 0x250a9
cmp dword [0x7eb230], 0x92
jne 0x41fca8
push 0x404744
push ebx
call esi
dec edi
jne 0x41fc94
mov byte [0x44a538], 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 [0x7eb230], 0x21
jne 0x41fd03
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 0x404760
call ebp
dec dword [esp + 0x14]
jne 0x41fce0
call fcn.0041f8c0
cmp dword [0x7eb230], 0xd5c
mov byte [0x44a539], 0x73
jne 0x41fdc7
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 0x404780
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 0x404790
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 0x4047c8
push 0x4047d4
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