Function at 0x4036c3
Capabilities:
Get disk information
Move file
Read file on windows
Shutdown system
Terminate thread

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1024
call fcn.0040d8b0
push ebx
push esi
xor esi, esi
cmp dword [0x249d900], 0x5b1
push edi
jne 0x4037a0
push esi
lea eax, [ebp - 0x420]
push eax
push esi
push 0x402e9c
push esi
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push esi
push esi
push esi
push 0x402ec4
call dword [sym.imp.USER32.dll_CreateWindowStationA]
push esi
push esi
call dword [sym.imp.USER32.dll_ChangeDisplaySettingsA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenJobObjectA]
push esi
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_CreateDCA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesW]
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push esi
push 0x402ee8
push 0x402f18
call dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
push esi
push esi
call dword [sym.imp.ole32.dll_CoMarshalHresult]
push esi
call fcn.004043cc
pop ecx
push esi
push esi
push esi
push esi
call fcn.004040e5
pop ecx
pop ecx
mov eax, esp
mov dword [eax], esi
push ecx
mov dword [eax + 4], esi
push ecx
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.004032e0
fstp st(0)
push esi
call fcn.00403cfc
pop ecx
push esi
push esi
call fcn.00404189
push esi
call fcn.00403e2e
pop ecx
pop ecx
mov dword [esp], esi
call fcn.00403313
fstp st(0)
push esi
call fcn.00403e2e
pop ecx
call fcn.0040443a
add dword [0x249d900], 0x1134b
push dword [0x249d900]
push esi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x249c850], eax
call fcn.0040360e
xor edi, edi
cmp dword [0x249d900], esi
jbe 0x40381c
cmp dword [0x249d900], 0xa8
mov eax, dword [0x249d904]
mov al, byte [eax + edi + 0x1134b]
mov ecx, dword [0x249c850]
mov byte [ecx + edi], al
jne 0x403813
push esi
lea eax, [ebp - 0x820]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x1020]
push eax
push 0x402f30
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
inc edi
cmp edi, dword [0x249d900]
jb 0x4037cb
xor ebx, ebx
mov eax, dword [0x249d900]
add eax, ebx
cmp eax, 0xe
jne 0x4038e6
push esi
call dword [sym.imp.KERNEL32.dll_RemoveVectoredExceptionHandler]
push 0x402f60
push 0x402fd8
push 0x40300c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileSectionW]
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
push esi
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x420]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleA]
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownA]
push 0x40301c
push esi
call dword [sym.imp.USER32.dll_LoadMenuW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
push dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
xor eax, eax
mov word [ebp - 0x20], ax
lea edi, [ebp - 0x1e]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push esi
stosw word es:[edi], ax
lea eax, [ebp - 0x1020]
push eax
push 0x403060
lea eax, [ebp - 0x20]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetDateFormatW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
push esi
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push 0x4030d0
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
inc ebx
cmp ebx, 0x39621
jl 0x40381e
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetCommMask]
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_DebugActiveProcess]
cmp ebx, 0x206d47
jg 0x40391e
inc ebx
cmp ebx, 0x4f6a4
jl 0x4038fb
mov ebx, 0x4e320c
push esi
push esi
call dword [sym.imp.USER32.dll_LoadMenuA]
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_CharToOemBuffW]
call dword [sym.imp.USER32.dll_GetMessagePos]
dec ebx
jne 0x403923
call fcn.0040352d
push esi
call edi
cmp ebx, 0x26
jne 0x40394f
call fcn.004035f4
inc ebx
cmp ebx, 0x6753f
jl 0x403942
push 0x7b
pop edi
cmp dword [0x249d900], 0x86
jne 0x4039ab
push esi
lea eax, [ebp - 0x1020]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
push 0x4030fc
push esi
call dword [sym.imp.KERNEL32.dll_SetVolumeLabelA]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileType]
push esi
push esi
push 0x403110
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasW]
push 0x403118
call dword [sym.imp.KERNEL32.dll_AddAtomW]
dec edi
jne 0x40395b
push 0x40318c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop edi
pop esi
pop ebx
leave
ret