Function at 0x4033a0
Capabilities:
Create pipe
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [0x5df204]
mov ecx, dword [0x5dec94]
sub esp, 0xd20
push ebx
push ebp
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x40364e
mov edi, ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], eax
jmp 0x4033e6
mov edi, dword [esp + 0x1c]
xor esi, esi
cmp dword [0x5df204], 0x959
jne 0x403466
push esi
lea eax, [esp + 0x534]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
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
call dword [sym.imp.KERNEL32.dll_GetProcessVersion]
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]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, dword [0x439df0]
mov edx, dword [edi]
mov ecx, dword [0x439df4]
mov ebx, dword [edi + 4]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], esi
mov dword [esp + 0x28], ecx
call fcn.00403390
mov edi, dword [esp + 0x14]
mov edx, dword [0x439df8]
mov ebp, dword [0x439dfc]
add edi, 0x23f
mov dword [esp + 0x34], edx
mov dword [esp + 0x20], 0x20
jmp 0x4034c2
xor esi, esi
mov dword [esp + 0x14], 2
add dword [esp + 0x14], 3
mov eax, dword [esp + 0x18]
mov edx, dword [0x5df204]
mov ecx, eax
shl ecx, 4
add ecx, dword [esp + 0x34]
cmp edx, 0xfa9
jne 0x4034f6
mov dword [0x5df200], 0xedeb2e40
jmp 0x403504
cmp edx, 0x3eb
jne 0x403504
mov dword [0x5dec90], 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 [0x5df204], 0x213
mov dword [0x5df1fc], 0xf4ea3dee
mov dword [esp + 0x10], eax
jne 0x4035b0
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 + 0x530]
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 0x403124
push esi
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointA]
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_UnlockFile]
push 0x30
lea ecx, [esp + 0x44]
push esi
push ecx
mov dword [esp + 0x48], esi
call fcn.00407670
add esp, 0xc
lea edx, [esp + 0x3c]
push edx
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CommConfigDialogA]
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_CreateActCtxW]
mov eax, dword [esp + 0x10]
sub ebx, eax
cmp dword [0x5df204], 0xc
jne 0x4035d1
lea ecx, [esp + 0x38]
push ecx
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 edx, ebx
shr edx, 5
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x28]
add dword [esp + 0x10], eax
mov esi, ebx
shl esi, 4
add esi, dword [esp + 0x30]
lea eax, [edi + ebx]
xor esi, eax
cmp dword [0x5df204], 0xb03
jne 0x403610
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 0x4034c0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [eax], ecx
mov dword [eax + 4], ebx
add eax, 8
dec dword [esp + 0x24]
mov dword [esp + 0x1c], eax
jne 0x4033e0
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret