Function at 0x41f930
Capabilities:
Check mutex on windows
Enumerate gui resources
Get disk information
Get file attributes
Move file
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x425076
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1d10
call fcn.0041e7e0
cmp dword [0x7ffa90], 0x12
push ebx
push ebp
push esi
push edi
jne 0x41f9cf
push 0
push 0
call dword [sym.imp.SHELL32.dll_DuplicateIcon]
push 0
push 0
call fcn.004098d8
push 0
call fcn.0041f138
add esp, 0xc
lea eax, [esp + 0x88]
push eax
call fcn.004065b0
lea esi, [esp + 0x38]
mov dword [esp + 0x1d2c], 0
call fcn.00406e70
sub esp, 0x1c
mov byte [esp + 0x1d48], 1
mov ecx, esp
mov dword [esp + 0x30], esp
push 0
call fcn.00406120
mov ecx, esi
call fcn.00406ea0
push 0
call fcn.0040a151
add esp, 4
call fcn.0040a173
mov eax, 0x38d6
add dword [0x7ffa90], eax
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x6c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
lea ebx, [ebx]
cmp esi, 0x1c423
jge 0x41fa00
call ebp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, 0x1ea07e8b
jle 0x41fa18
cmp edi, 0xad234a
je 0x41fa18
cmp ebx, 0x8cae548
jne 0x41fa21
inc esi
cmp esi, 0x8c6ffc72
jb 0x41f9f0
mov ecx, dword [0x7ffa90]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, dword [sym.imp.KERNEL32.dll_EnumCalendarInfoA]
mov edi, dword [sym.imp.KERNEL32.dll_EnumCalendarInfoW]
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessTimes]
mov ebx, dword [sym.imp.KERNEL32.dll_EnumDateFormatsW]
mov dword [0x7fbf00], eax
mov eax, dword [0x7ffa90]
mov dword [esp + 0x14], 0x963510
lea ebx, [ebx]
cmp eax, 3
jne 0x41fa72
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, dword [0x7ffa90]
cmp eax, 0xbc5
jne 0x41fbd7
push 0
push 0
push 0
push 0
call esi
push 0
push 0
push 0
push 0
call edi
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x44]
push edx
push 0
call ebp
push 0
push 0
push 0
call ebx
lea eax, [esp + 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_RtlCaptureContext]
push 0
lea ecx, [esp + 0x1124]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push 0
lea edx, [esp + 0xd24]
push edx
push 0x404440
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommState]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalFix]
push 0
lea eax, [esp + 0x1924]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push 0
call dword [sym.imp.KERNEL32.dll_SetComputerNameW]
xor eax, eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x64]
push edx
push eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
call dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsW]
push 0x404498
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 0
lea eax, [esp + 0x524]
push eax
push 0x4044b8
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointW]
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
push 0x404578
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateJobSet]
push 0x404640
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 0x404650
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
xor eax, eax
push eax
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesA]
mov eax, dword [0x7ffa90]
dec dword [esp + 0x14]
jne 0x41fa60
xor esi, esi
test eax, eax
je 0x41fc0b
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
lea ecx, [ecx]
call fcn.0041f630
mov eax, dword [0x7ffa90]
cmp eax, 0x29
jne 0x41fc06
call edi
mov eax, dword [0x7ffa90]
inc esi
cmp esi, eax
jb 0x41fbf0
cmp eax, 0x19c
jne 0x41fc59
push 0x404690
call dword [sym.imp.KERNEL32.dll_FindAtomA]
lea edx, [esp + 0x14]
push edx
push 0
push 0x404698
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetStringTypeExW]
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push 0x404710
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
push 0
push 0x404720
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
mov edi, dword [sym.imp.USER32.dll_GetMenuBarInfo]
mov esi, 0x8dc
push 0
push 0
push 0
push 0
call edi
dec esi
jne 0x41fc64
mov esi, dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
mov edi, 0x250a9
mov ebx, 0x92
cmp dword [0x7ffa90], ebx
jne 0x41fc92
push 0x404744
push 0
call esi
dec edi
jne 0x41fc81
mov byte [0x45ed98], 0
call fcn.0041f170
call fcn.0041f900
call fcn.0041f610
mov esi, dword [sym.imp.USER32.dll_DefDlgProcA]
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebp, 0xf3743
cmp dword [0x7ffa90], 0x21
jne 0x41fcec
push 0
push 0
push 0
push 0
call esi
push 0
push 0
lea eax, [esp + 0x528]
push eax
push 0
call edi
push 0x404760
call ebx
dec ebp
jne 0x41fcc2
call fcn.0041f8a0
cmp dword [0x7ffa90], 0xd5c
mov byte [0x45ed99], 0x73
jne 0x41fdad
lea ecx, [esp + 0x250]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push ebp
lea eax, [esp + 0x524]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
push 0x404780
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_TerminateJobObject]
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
push ebp
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call dword [sym.imp.KERNEL32.dll_GetConsoleCP]
push 0x404790
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
lea ecx, [esp + 0x130]
push ecx
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_GetCPInfoExA]
push ebp
call dword [sym.imp.KERNEL32.dll_ZombifyActCtx]
lea edx, [esp + 0x18]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_GetBinaryTypeW]
push ebp
push ebp
push ebp
push 0x4047c8
push 0x4047d4
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
call fcn.0041f620
mov ecx, dword [esp + 0x1d24]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret