Function at 0x44d590
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ecb78
mov eax, dword fs:[0]
push eax
sub esp, 0xa88
push ebx
push esi
push edi
mov eax, dword [0x51f584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov ebx, edx
mov dword [ebp - 0x1c], ecx
mov esi, dword [sym.imp.KERNEL32.DLL_CreateFileW]
xor edi, edi
push 0
push 0x1000
push 4
push 0
push 0
push 0x10000000
push str..pipeProcessHelper_communication_pipe
call esi
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
jne 0x44d621
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xe7
jne 0x44d71e
push 0x12c
push str..pipeProcessHelper_communication_pipe
call dword [sym.imp.KERNEL32.DLL_WaitNamedPipeW]
test eax, eax
je 0x44d74b
inc edi
cmp edi, 3
jl 0x44d5ce
mov eax, dword [ebp - 0x10]
push 0
push 0
lea ecx, [ebp - 0x18]
push ecx
push eax
mov dword [ebp - 0x18], 2
call dword [sym.imp.KERNEL32.DLL_SetNamedPipeHandleState]
test eax, eax
je 0x44d71e
push 0xa74
lea eax, [ebp - 0xa94]
push 0
push eax
call fcn.004868c0
mov ecx, dword [ebp - 0x20]
push ecx
lea edx, [ebp - 0xa28]
push 0x104
push edx
mov dword [ebp - 0xa94], 0x202
call fcn.0048496d
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x2c]
push 0x800
lea edx, [ebp - 0x820]
push 0
push edx
mov dword [ebp - 0xa90], eax
mov dword [ebp - 0xa88], ecx
call fcn.004868c0
add esp, 0x24
test ebx, ebx
je 0x44d6b2
push ebx
lea eax, [ebp - 0x820]
push 0x200
push eax
call fcn.0048496d
add esp, 0xc
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x44d6ce
push eax
lea ecx, [ebp - 0x420]
push 0x200
push ecx
call fcn.0048496d
add esp, 0xc
mov esi, dword [ebp + 0x1c]
mov dword [ebp - 0xa80], 0x274
mov dword [ebp - 0xa7c], 0x474
mov ecx, esi
cmp esi, 5
jb 0x44d6f1
mov ecx, 5
mov ebx, dword [ebp + 0x20]
mov edi, dword [ebp + 0xc]
mov eax, edi
cmp ebx, 0x10
jae 0x44d701
lea eax, [ebp + 0xc]
push ecx
push 0x50ecc8
push eax
call fcn.00402780
add esp, 0xc
test eax, eax
jne 0x44d782
cmp esi, 5
jae 0x44d778
or eax, 0xffffffff
jmp 0x44d780
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x20], 0x10
jb 0x44d737
mov edx, dword [ebp + 0xc]
push edx
call fcn.00482674
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x20], 0x10
jb 0x44d737
mov eax, dword [ebp + 0xc]
push eax
call fcn.00482674
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
cmp esi, 5
setne al
test eax, eax
sete al
test al, al
je 0x44d795
mov dword [ebp - 0xa8c], 1
jmp 0x44d7e3
mov ecx, esi
cmp esi, 5
jb 0x44d7a1
mov ecx, 5
mov eax, edi
cmp ebx, 0x10
jae 0x44d7ab
lea eax, [ebp + 0xc]
push ecx
push str.Win64
push eax
call fcn.00402780
add esp, 0xc
test eax, eax
jne 0x44d7d2
cmp esi, 5
jae 0x44d7c8
or eax, 0xffffffff
jmp 0x44d7d0
xor eax, eax
cmp esi, 5
setne al
test eax, eax
sete al
test al, al
je 0x44d7e3
mov dword [ebp - 0xa8c], 2
mov edx, dword [ebp + 0x34]
xor esi, esi
xor eax, eax
cmp edx, esi
jle 0x44d81b
mov ecx, dword [ebp + 0x30]
lea edi, [ebp - 0xa78]
sub ecx, edi
lea esp, [esp]
cmp eax, 0x14
jge 0x44d81b
lea edi, [ecx + eax*4]
mov edi, dword [ebp + edi - 0xa78]
mov dword [ebp + eax*4 - 0xa78], edi
inc eax
cmp eax, edx
jl 0x44d800
mov edi, dword [ebp - 0x10]
push esi
lea edx, [ebp - 0x14]
push edx
push 0xa74
lea eax, [ebp - 0xa94]
push eax
push edi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
je 0x44d85d
push 0
lea ecx, [ebp - 0x14]
push ecx
push 8
lea edx, [ebp - 0xa94]
push edx
push edi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x44d85d
mov esi, dword [ebp - 0xa90]
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x20], 0x10
jb 0x44d87d
mov eax, dword [ebp + 0xc]
push eax
call fcn.00482674
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret