Function at 0x404220
Capabilities:
Create pipe

Disassembly:
mov eax, dword [0x5ea658]
mov ecx, dword [0x5e92ac]
sub esp, 0xc84
push ebx
push ebp
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x404486
mov edi, ecx
mov dword [esp + 0x30], 0x9e3779b9
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], eax
jmp 0x404266
mov edi, dword [esp + 0x20]
xor esi, esi
cmp dword [0x5ea658], 0x959
jne 0x4042eb
push esi
lea eax, [esp + 0x494]
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_CreateJobObjectW]
push esi
push esi
lea ecx, [esp + 0x98]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push 0x403dd8
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
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_GetModuleFileNameW]
mov eax, dword [str.Aciy]
mov edx, dword [edi]
mov edi, dword [edi + 4]
mov ebp, dword [0x4443a0]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], esi
call fcn.00404210
mov ecx, dword [0x4443a8]
add dword [esp + 0x10], 0x23f
mov ebx, dword [0x4443ac]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], 0x20
jmp 0x404342
xor esi, esi
mov dword [esp + 0x1c], 2
add dword [esp + 0x1c], 3
mov eax, dword [esp + 0x18]
mov edx, dword [0x5ea658]
mov ecx, eax
shl ecx, 4
add ecx, dword [esp + 0x2c]
cmp edx, 0xfa9
jne 0x404376
mov dword [0x5e981c], 0xedeb2e40
jmp 0x404384
cmp edx, 0x3eb
jne 0x404384
mov dword [0x5e92a8], 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, ebx
xor eax, ecx
cmp dword [0x5ea658], 0x213
mov dword [0x5e9818], 0xf4ea3dee
mov dword [esp + 0x14], eax
jne 0x4043f4
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LockFile]
push 0x30
lea ecx, [esp + 0x44]
push esi
push ecx
mov dword [esp + 0x48], esi
call fcn.0040afb0
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 + 0x14]
sub edi, eax
cmp dword [0x5ea658], 0xc
jne 0x404406
push esi
call dword [sym.imp.KERNEL32.dll_FindVolumeMountPointClose]
mov ecx, dword [esp + 0x10]
mov edx, edi
shr edx, 5
add ecx, edi
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x38]
add dword [esp + 0x14], eax
mov esi, edi
shl esi, 4
add esi, ebp
xor esi, ecx
cmp dword [0x5ea658], 0xb03
jne 0x404446
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthW]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
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 0x404340
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 0x404260
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc84
ret