Function at 0x41c140
Capabilities:
Check if file exists
Connect pipe
Create pipe
Read file on windows
Write file on windows
Write pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe60
mov eax, dword [0x43d140]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push 0
push 0xffffffffffffffff
push 0xffff
push 0xffff
push 0xff
push 6
push 3
push dword [ebx + 8]
mov dword [ebp - 0xe34], ebx
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push 1
mov dword [ebp - 0xe2c], eax
call fcn.004261d0
push eax
call sub.msvcrt.dll_fclose
add esp, 8
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
push str.JC_Transfer_Unicode
push edi
call esi
push str.DJC_OpenAllUserDic_Unicode
push edi
mov dword [ebp - 0xe40], eax
call esi
push 0xc18
mov dword [ebp - 0xe38], eax
lea eax, [ebp - 0xe24]
push 0
push eax
call sub.msvcrt.dll_memset
mov esi, 4
add esp, 0xc
cmp dword [ebp + 8], esi
jle 0x41c280
lea edi, [ebp - 0xe24]
nop dword [eax]
mov ecx, dword [ebx + esi*4]
lea edx, [ebp - 0x20c]
sub edx, ecx
nop dword [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x41c200
lea ecx, [ebp - 0x20c]
add ecx, 0xfffffffe
nop dword [eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x41c220
mov eax, dword [str..DIC]
mov dword [ecx], eax
mov eax, dword [0x434938]
mov dword [ecx + 4], eax
mov ax, word [0x43493c]
mov word [ecx + 8], ax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41c276
mov eax, dword [ebx + esi*4]
mov edx, edi
sub edx, eax
nop dword [eax]
movzx ecx, word [eax]
lea eax, [eax + 2]
mov word [edx + eax - 2], cx
test cx, cx
jne 0x41c260
add edi, 0x408
inc esi
cmp esi, dword [ebp + 8]
jl 0x41c1f0
lea eax, [ebp - 0xe24]
push 0
push eax
call dword [ebp - 0xe38]
push 0x1770
call fcn.00424bf1
push 0x1770
mov ebx, eax
call fcn.00424bf1
push 0x1770
mov edi, eax
call fcn.00424bf1
add esp, 0x14
mov dword [ebp - 0xe50], 0
mov esi, eax
xorps xmm0, xmm0
lea eax, [ebp - 0xe60]
mov dword [ebp - 0xe3c], esi
movups xmmword [ebp - 0xe60], xmm0
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea eax, [ebp - 0xe60]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea eax, [ebp - 0xe60]
mov dword [ebp - 0xe4c], 0xc
mov dword [ebp - 0xe48], eax
mov eax, dword [ebp - 0xe34]
mov dword [ebp - 0xe44], 0
push dword [eax + 0xc]
lea eax, [ebp - 0xe4c]
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0
push dword [ebp - 0xe2c]
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
push 0x1770
push 0
push ebx
call sub.msvcrt.dll_memset
push 0x1770
push 0
push edi
call sub.msvcrt.dll_memset
push 0x1770
push 0
push esi
call sub.msvcrt.dll_memset
add esp, 0x24
mov dword [ebp - 0xe34], 0xbb8
lea eax, [ebp - 0xe30]
mov dword [ebp - 0xe38], 0xbb8
push 0
push eax
push 4
lea eax, [ebp - 0xe28]
push eax
push dword [ebp - 0xe2c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0xe28]
movzx esi, al
shl esi, 8
movzx eax, ah
or esi, eax
movzx eax, byte [ebp - 0xe26]
shl esi, 8
or esi, eax
movzx eax, byte [ebp - 0xe25]
shl esi, 8
or esi, eax
lea eax, [ebp - 0xe30]
push 0
push eax
push 0x1770
push ebx
push dword [ebp - 0xe2c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41c4f2
nop dword [eax]
lea eax, [ebp - 0xe38]
push eax
push dword [ebp - 0xe3c]
lea eax, [ebp - 0xe34]
push eax
push edi
push ebx
push 1
push 1
push esi
push 0x3a4
push 0
call dword [ebp - 0xe40]
mov ecx, edi
add esp, 0x28
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41c420
mov esi, dword [ebp - 0xe2c]
lea eax, [ebp - 0xe30]
sub ecx, edx
push 0
sar ecx, 1
push eax
lea eax, [ecx + ecx]
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0x1770
push 0
push ebx
call sub.msvcrt.dll_memset
push 0x1770
push 0
push edi
call sub.msvcrt.dll_memset
push 0x1770
push 0
push dword [ebp - 0xe3c]
call sub.msvcrt.dll_memset
add esp, 0x24
mov dword [ebp - 0xe34], 0xbb8
lea eax, [ebp - 0xe30]
mov dword [ebp - 0xe38], 0xbb8
push 0
push eax
push 4
lea eax, [ebp - 0xe28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0xe28]
movzx esi, al
shl esi, 8
movzx eax, ah
or esi, eax
movzx eax, byte [ebp - 0xe26]
shl esi, 8
or esi, eax
movzx eax, byte [ebp - 0xe25]
push 0
shl esi, 8
or esi, eax
lea eax, [ebp - 0xe30]
push eax
push 0x1770
push ebx
push dword [ebp - 0xe2c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41c3f0
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00424bff
mov esp, ebp
pop ebp
ret