Function at 0x423812
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 [0x42a004]
xor eax, esp
mov dword [esp + 0xd40], eax
push ebx
push esi
xor esi, esi
push edi
xor eax, eax
cmp eax, 0x18a
jne 0x42384c
mov ecx, dword [0x42b7b0]
add ecx, 0x9e49
mov dword [0x43a3ac], ecx
cmp dword [0x43a3ac], 0x141
jne 0x423869
or dword [0x42c6c4], 0xffffffff
mov dword [0x42c6c0], 0xec58acac
inc eax
cmp eax, 0x1237750
jl 0x423833
xor edi, edi
cmp edi, 0x565415
jne 0x423885
mov eax, dword [0x42afe8]
mov dword [0x43a4dc], eax
cmp dword [0x43a3ac], 0x3c
jne 0x4238a3
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 0x423873
cmp dword [0x43a3ac], 0x7c
jne 0x423990
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 [0x43a3ac], 0x54
jne 0x423982
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 0x4239c7
inc edi
cmp edi, 0xead1d
jl 0x423992
jmp 0x4239db
cmp dword [0x43a3ac], 0xa
jne 0x4239db
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FoldStringW]
cmp dword [0x43a3ac], 0x2a
jne 0x423a8b
push esi
push esi
push esi
mov dword [0x43a3a0], esi
mov dword [0x43a3a4], 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 [0x4284e8]
push 0x50
push ecx
push ecx
fstp qword [esp]
push 0x4284b4
push str._s__f__c
call fcn.00401323
push esi
call fcn.004011ca
mov ebx, 0x4284c4
push ebx
push str.0__f
mov edi, 0x42c638
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 [0x43a3ac]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, dword [0x43a3ac]
xor edi, edi
mov dword [0x43a1f4], eax
cmp ecx, esi
jbe 0x423ad0
mov edx, dword [0x43a4dc]
mov dl, byte [edx + edi + 0x9e49]
mov byte [eax + edi], dl
cmp ecx, 0x5ab
jne 0x423acb
mov dword [0x43a1f8], 0x19b0
inc edi
cmp edi, ecx
jb 0x423aa9
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call fcn.00423524
call fcn.00423506
call fcn.0042377f
xor eax, eax
cmp eax, 0xd606b
jne 0x423af8
call fcn.004234fb
inc eax
cmp eax, 0x24e87d
jl 0x423aec
mov dword [0x43a1fc], 0x8e46a6f0
cmp esi, 0x408e
jle 0x423b1c
cmp dword [esp + 0x44], 0xf5bed7
jne 0x423b25
inc esi
cmp esi, 0x687ed2
jl 0x423b0a
mov ecx, dword [esp + 0xd4c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401006
mov esp, ebp
pop ebp
ret