Function at 0x4034b0
Capabilities:
Create pipe
Get common file path
Get disk information
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x152c
call fcn.0040b440
mov eax, dword [0x5e3374]
mov ecx, dword [0x5e2e04]
push ebx
push ebp
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x40378a
mov ebx, dword [sym.imp.KERNEL32.dll_SetVolumeMountPointA]
mov edi, ecx
mov dword [esp + 0x30], 0x9e3779b9
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], eax
jmp 0x4034f6
mov edi, dword [esp + 0x20]
xor esi, esi
cmp dword [0x5e3374], 0x959
jne 0x40357a
push esi
lea eax, [esp + 0xd3c]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
push 0x4032f0
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
push esi
lea ecx, [esp + 0x53c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesW]
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
call dword [sym.imp.KERNEL32.dll_GetProcessVersion]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
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]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, dword [0x43df60]
mov edx, dword [edi]
mov ecx, dword [0x43df64]
mov edi, dword [edi + 4]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], esi
mov dword [esp + 0x3c], ecx
call fcn.004034a0
mov edx, dword [0x43df68]
add dword [esp + 0x10], 0x23f
mov ebp, dword [0x43df6c]
mov dword [esp + 0x38], edx
mov dword [esp + 0x24], 0x20
jmp 0x4035d2
xor esi, esi
mov dword [esp + 0x1c], 2
add dword [esp + 0x1c], 3
mov eax, dword [esp + 0x18]
mov edx, dword [0x5e3374]
mov ecx, eax
shl ecx, 4
add ecx, dword [esp + 0x38]
cmp edx, 0xfa9
jne 0x403606
mov dword [0x5e3370], 0xedeb2e40
jmp 0x403614
cmp edx, 0x3eb
jne 0x403614
mov dword [0x5e2e00], esi
mov edx, dword [esp + 0x10]
add edx, eax
mov eax, dword [esp + 0x18]
shr eax, 5
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
xor ecx, edx
add eax, ebp
xor eax, ecx
cmp dword [0x5e3374], 0x213
mov dword [0x5e336c], 0xf4ea3dee
mov dword [esp + 0x14], eax
jne 0x4036eb
push esi
lea ecx, [esp + 0x13c]
push ecx
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
lea edx, [esp + 0x538]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push esi
push esi
push esi
lea eax, [esp + 0xa4]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoA]
push 0x4032bc
push esi
call ebx
push esi
push 0x4032d4
push 0x4032dc
call dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_UnlockFile]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetCommState]
lea ecx, [esp + 0xd38]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0x30
lea edx, [esp + 0x4c]
push esi
push edx
mov dword [esp + 0x50], esi
call fcn.00408870
add esp, 0xc
lea eax, [esp + 0x44]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CommConfigDialogA]
lea ecx, [esp + 0x78]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateActCtxA]
mov eax, dword [esp + 0x14]
sub edi, eax
cmp dword [0x5e3374], 0xc
jne 0x403708
lea edx, [esp + 0x40]
push edx
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
push esi
push esi
call ebx
mov ecx, dword [esp + 0x10]
mov edx, edi
shr edx, 5
add ecx, edi
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x3c]
add dword [esp + 0x14], eax
mov esi, edi
shl esi, 4
add esi, dword [esp + 0x2c]
xor esi, ecx
cmp dword [0x5e3374], 0xb03
jne 0x40374a
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 + 0x14]
mov dword [esp + 0x34], esi
mov eax, dword [esp + 0x34]
sub dword [esp + 0x18], eax
mov eax, dword [esp + 0x30]
sub dword [esp + 0x10], eax
dec dword [esp + 0x24]
jne 0x4035d0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov dword [eax], ecx
mov dword [eax + 4], edi
add eax, 8
dec dword [esp + 0x28]
mov dword [esp + 0x20], eax
jne 0x4034f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x152c
ret