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

Disassembly:
push 0xffffffffffffffff
push 0x4bd960
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f36a0]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
or esi, 0xffffffff
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], 0xe
mov dword [esp + 0x44], esi
mov dword [esp + 0x38], vtable.t_taskMsgStopSodaDownload.0
xor ebp, ebp
mov dword [esp + 0x54], ebp
mov eax, dword [esp + 0x5c]
push ecx
lea ebx, [esp + 0x60]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x60], esi
call fcn.0045d4d0
test al, al
je 0x45e69f
mov edi, dword [esp + 0x5c]
cmp edi, esi
je 0x45e69f
cmp dword [0x501bc0], ebp
jne 0x45e4fb
push 4
call fcn.00498bee
add esp, 4
cmp eax, ebp
je 0x45e4f4
mov dword [eax], vtable.t_ipcClientTaskMsgFactory.0
jmp 0x45e4f6
xor eax, eax
mov dword [0x501bc0], eax
lea esi, [esp + 0x38]
call fcn.0045ecd0
push ebp
push ebp
lea edx, [esp + 0x24]
push edx
push edi
mov esi, eax
mov dword [esp + 0x2c], 2
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
jne 0x45e545
cmp esi, ebp
je 0x45e698
mov eax, dword [esi]
cmp eax, ebp
je 0x45e537
push eax
call fcn.00498355
add esp, 4
push esi
call fcn.00498355
add esp, 4
jmp 0x45e698
push ebp
mov dword [esp + 0x24], ebp
mov eax, dword [esi + 4]
mov ecx, dword [esi]
lea edx, [esp + 0x24]
push edx
push eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, ebp
jne 0x45e56b
call fcn.0045d660
jmp 0x45e69f
call fcn.0045d660
xor esi, esi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], 0xffffffff
push 8
mov byte [esp + 0x58], 1
call fcn.00498bee
mov ebx, eax
add esp, 4
mov dword [esp + 0x24], ebx
cmp ebx, ebp
je 0x45e5b0
mov esi, 8
mov dword [esp + 0x28], esi
mov dword [esp + 0x34], ebp
push ebp
lea eax, [esp + 0x1c]
push eax
push esi
push ebx
push edi
mov dword [esp + 0x2c], ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x45e5d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x45e680
mov edi, dword [ebx + 4]
push edi
mov dword [esp + 0x34], edi
call fcn.00498bee
mov esi, eax
add esp, 4
mov dword [esp + 0x2c], esi
cmp esi, ebp
je 0x45e5fa
mov dword [esp + 0x34], 1
mov edx, dword [esp + 0x5c]
push ebp
lea ecx, [esp + 0x1c]
push ecx
push edi
push esi
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x45e61e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x45e68b
cmp dword [0x501bc0], ebp
jne 0x45e643
push 4
call fcn.00498bee
add esp, 4
cmp eax, ebp
je 0x45e63c
mov dword [eax], vtable.t_ipcClientTaskMsgFactory.0
jmp 0x45e63e
xor eax, eax
mov dword [0x501bc0], eax
cmp esi, ebp
je 0x45e68b
push esi
mov eax, edi
call fcn.0045e8a0
cmp eax, ebp
je 0x45e68b
mov edx, dword [eax]
mov edi, dword [eax + 8]
mov ecx, eax
mov eax, dword [edx]
push 1
call eax
cmp edi, 0x10
je 0x45e68b
push esi
call fcn.00498355
add esp, 4
push ebx
call fcn.00498355
mov edi, dword [esp + 0x60]
add esp, 4
jmp 0x45e570
lea esi, [esp + 0x24]
call fcn.00460250
jmp 0x45e698
lea esi, [esp + 0x24]
call fcn.00460250
mov edi, dword [esp + 0x5c]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 4