Function at 0x4034d0
Capabilities:
Create pipe
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1520
call fcn.0040aea0
mov eax, dword [0x5e23cc]
mov ecx, dword [0x5e1e5c]
push ebx
push ebp
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x403781
mov edi, ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], eax
jmp 0x403516
mov edi, dword [esp + 0x1c]
xor esi, esi
cmp dword [0x5e23cc], 0x959
jne 0x40358a
push esi
lea eax, [esp + 0x534]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
push 0x4031fc
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
push esi
lea ecx, [esp + 0x134]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsW]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetCalendarInfoA]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov eax, dword [0x43cfb0]
mov edx, dword [edi]
mov ecx, dword [0x43cfb4]
mov ebx, dword [edi + 4]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], esi
mov dword [esp + 0x34], ecx
call fcn.004034c0
mov edi, dword [esp + 0x14]
mov edx, dword [0x43cfb8]
mov ebp, dword [0x43cfbc]
add edi, 0x23f
mov dword [esp + 0x30], edx
mov dword [esp + 0x20], 0x20
jmp 0x4035e2
xor esi, esi
mov dword [esp + 0x14], 2
add dword [esp + 0x14], 3
mov eax, dword [esp + 0x18]
mov edx, dword [0x5e23cc]
mov ecx, eax
shl ecx, 4
add ecx, dword [esp + 0x30]
cmp edx, 0xfa9
jne 0x403616
mov dword [0x5e23c8], 0xedeb2e40
jmp 0x403624
cmp edx, 0x3eb
jne 0x403624
mov dword [0x5e1e58], esi
lea edx, [edi + eax]
mov eax, dword [esp + 0x18]
shr eax, 5
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
xor ecx, edx
add eax, ebp
xor eax, ecx
cmp dword [0x5e23cc], 0x213
mov dword [0x5e23c4], 0xf4ea3dee
mov dword [esp + 0x10], eax
jne 0x4036e3
push esi
lea ecx, [esp + 0x134]
push ecx
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
lea edx, [esp + 0xd30]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push esi
push esi
push esi
lea eax, [esp + 0x9c]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoA]
push 0x4031c4
push esi
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_UnlockFile]
lea ecx, [esp + 0x530]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0x30
lea edx, [esp + 0x44]
push esi
push edx
mov dword [esp + 0x48], esi
call fcn.004080a0
add esp, 0xc
lea eax, [esp + 0x3c]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CommConfigDialogA]
lea ecx, [esp + 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateActCtxW]
mov eax, dword [esp + 0x10]
sub ebx, eax
cmp dword [0x5e23cc], 0xc
jne 0x403704
lea edx, [esp + 0x38]
push edx
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
mov eax, ebx
shr eax, 5
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
add dword [esp + 0x10], eax
mov esi, ebx
shl esi, 4
add esi, dword [esp + 0x28]
lea ecx, [edi + ebx]
xor esi, ecx
cmp dword [0x5e23cc], 0xb03
jne 0x403743
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
xor esi, dword [esp + 0x10]
mov dword [esp + 0x2c], esi
mov eax, dword [esp + 0x2c]
sub dword [esp + 0x18], eax
add edi, 0x61c88647
dec dword [esp + 0x20]
jne 0x4035e0
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov dword [eax], edx
mov dword [eax + 4], ebx
add eax, 8
dec dword [esp + 0x24]
mov dword [esp + 0x1c], eax
jne 0x403510
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret