Function at 0x45e200
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], 0xd
mov dword [esp + 0x44], esi
mov dword [esp + 0x38], vtable.t_taskMsgStopHttpDownload.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 0x45e43f
mov edi, dword [esp + 0x5c]
cmp edi, esi
je 0x45e43f
cmp dword [0x501bc0], ebp
jne 0x45e29b
push 4
call fcn.00498bee
add esp, 4
cmp eax, ebp
je 0x45e294
mov dword [eax], vtable.t_ipcClientTaskMsgFactory.0
jmp 0x45e296
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 0x45e2e5
cmp esi, ebp
je 0x45e438
mov eax, dword [esi]
cmp eax, ebp
je 0x45e2d7
push eax
call fcn.00498355
add esp, 4
push esi
call fcn.00498355
add esp, 4
jmp 0x45e438
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 0x45e30b
call fcn.0045d660
jmp 0x45e43f
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 0x45e350
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 0x45e378
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x45e420
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 0x45e39a
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 0x45e3be
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x45e42b
cmp dword [0x501bc0], ebp
jne 0x45e3e3
push 4
call fcn.00498bee
add esp, 4
cmp eax, ebp
je 0x45e3dc
mov dword [eax], vtable.t_ipcClientTaskMsgFactory.0
jmp 0x45e3de
xor eax, eax
mov dword [0x501bc0], eax
cmp esi, ebp
je 0x45e42b
push esi
mov eax, edi
call fcn.0045e8a0
cmp eax, ebp
je 0x45e42b
mov edx, dword [eax]
mov edi, dword [eax + 8]
mov ecx, eax
mov eax, dword [edx]
push 1
call eax
cmp edi, 0xf
je 0x45e42b
push esi
call fcn.00498355
add esp, 4
push ebx
call fcn.00498355
mov edi, dword [esp + 0x60]
add esp, 4
jmp 0x45e310
lea esi, [esp + 0x24]
call fcn.00460250
jmp 0x45e438
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