Function at 0x403790
Capabilities:
Create pipe

Disassembly:
mov eax, dword [0x283d638]
sub esp, 0x884
push ebx
mov ebx, dword [0x283c28c]
push ebp
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x4039d4
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], eax
jmp 0x4037c6
mov ebx, dword [esp + 0x1c]
xor esi, esi
cmp dword [0x283d638], 0x959
jne 0x403848
push esi
lea eax, [esp + 0x94]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
push esi
push esi
lea ecx, [esp + 0x498]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push 0x403620
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
call dword [sym.imp.KERNEL32.dll_SetLocaleInfoW]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [0x442314]
mov edi, dword [ebx]
mov edx, dword [0x442310]
mov ebp, dword [ebx + 4]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x34], edx
call fcn.00403780
mov ebx, dword [esp + 0x18]
mov ecx, dword [0x442318]
mov edx, dword [0x44231c]
add ebx, 0x23f
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x20], 0x20
jmp 0x4038a2
xor esi, esi
mov dword [esp + 0x18], 2
add dword [esp + 0x18], 3
mov eax, dword [0x283d638]
mov ecx, edi
shl ecx, 4
add ecx, dword [esp + 0x2c]
cmp eax, 0xfa9
jne 0x4038d0
mov dword [0x283c7fc], 0xedeb2e40
jmp 0x4038dd
cmp eax, 0x3eb
jne 0x4038dd
mov dword [0x283c288], esi
mov eax, dword [esp + 0x24]
shr eax, 5
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x38]
lea edx, [ebx + edi]
xor eax, edx
xor eax, ecx
cmp dword [0x283d638], 0x213
mov dword [0x283c7f8], 0xf4ea3dee
mov dword [esp + 0x14], eax
jne 0x40394c
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LockFile]
push 0x30
lea eax, [esp + 0x44]
push esi
push eax
mov dword [esp + 0x48], esi
call fcn.0040adc0
add esp, 0xc
lea ecx, [esp + 0x3c]
push ecx
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CommConfigDialogA]
lea edx, [esp + 0x70]
push edx
call dword [sym.imp.KERNEL32.dll_CreateActCtxW]
mov eax, dword [esp + 0x14]
sub ebp, eax
cmp dword [0x283d638], 0xc
jne 0x40395f
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointA]
mov eax, ebp
shr eax, 5
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
add dword [esp + 0x14], eax
mov esi, ebp
shl esi, 4
add esi, dword [esp + 0x34]
lea ecx, [ebx + ebp]
xor esi, ecx
cmp dword [0x283d638], 0xb03
jne 0x40399e
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthW]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov edx, dword [esp + 0x14]
xor edx, esi
sub edi, edx
add ebx, 0x61c88647
dec dword [esp + 0x20]
mov dword [esp + 0x24], edi
jne 0x4038a0
mov eax, dword [esp + 0x1c]
mov dword [eax], edi
mov dword [eax + 4], ebp
add eax, 8
dec dword [esp + 0x28]
mov dword [esp + 0x1c], eax
jne 0x4037c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x884
ret