Function at 0x455ad0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bb875
mov eax, dword fs:[0]
push eax
sub esp, 0x74
push esi
push edi
mov eax, dword [0x6522a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 8], 0xffffffff
je 0x455d1c
mov esi, dword [edi + 0x14]
mov eax, dword [ebp + 0xc]
cmp esi, eax
cmovg esi, eax
test esi, esi
jle 0x455b2e
push esi
push dword [edi + 0x10]
push dword [ebp + 8]
call fcn.00594a50
mov eax, dword [ebp + 0xc]
add esp, 0xc
add dword [ebp + 8], esi
sub eax, esi
mov dword [ebp + 0xc], eax
jmp 0x455b34
mov ecx, dword [ebp + 8]
mov dword [ebp + 8], ecx
test eax, eax
jle 0x455d07
lea eax, [ebp - 0x38]
push 1
push eax
call fcn.004547b0
add esp, 8
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x4c], xmm0
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 2
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x455b92
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x455b92
cmp eax, 0xea
jne 0x455d69
mov eax, dword [ebp + 0x10]
or ecx, 0xffffffff
test eax, eax
cmovne ecx, eax
push ecx
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x455db9
cmp eax, 0x102
jne 0x455bc0
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_CancelIo]
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x4c]
push eax
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x455c35
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [ebp + 0xc], eax
cmp eax, 0x3e4
je 0x455c2e
cmp eax, 0x3e3
je 0x455c2e
cmp eax, 0xea
je 0x455c35
push 0x2c
lea eax, [ebp - 0x30]
push str.C:Devgit_toolkitlibs_base_namedpipeio.cpp
push eax
call fcn.00448a50
mov esi, eax
push 0xc
lea eax, [ebp - 0x24]
push str.ENamedPipeIO
push eax
call fcn.00448a50
add esp, 0x18
push 0xc8
push esi
push eax
push dword [ebp + 0xc]
mov byte [ebp - 4], 8
jmp 0x455da3
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x455c38
mov eax, dword [ebp - 0x10]
mov ecx, dword [edi + 0x14]
add edi, 0xc
add ecx, eax
mov dword [ebp + 0x10], ecx
mov eax, dword [edi + 8]
mov edx, dword [edi + 4]
sub eax, esi
add edx, esi
mov dword [ebp + 8], eax
mov esi, dword [edi]
mov dword [ebp + 0xc], edx
mov dword [ebp - 0x24], esi
test esi, esi
je 0x455c78
add esi, 4
nop
mov edx, dword [esi]
mov eax, edx
lea ecx, [edx + 1]
lock cmpxchg dword [esi], ecx
cmp eax, edx
jne 0x455c60
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 9
cmp eax, edi
je 0x455cc3
mov ecx, dword [edi]
cmp ecx, esi
je 0x455cc3
test ecx, ecx
je 0x455ca8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x455ca8
mov dword [edi], 0
mov eax, dword [ecx]
call dword [eax]
mov dword [edi], esi
test esi, esi
je 0x455cc3
add esi, 4
mov edx, dword [esi]
mov eax, edx
lea ecx, [edx + 1]
lock cmpxchg dword [esi], ecx
cmp eax, edx
jne 0x455cb1
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp + 0xc]
mov dword [edi + 4], eax
mov eax, dword [ebp + 8]
mov dword [edi + 8], eax
mov byte [ebp - 4], 0xa
test esi, esi
je 0x455ce8
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
dec eax
jne 0x455ce8
mov edx, dword [esi]
mov ecx, esi
call dword [edx]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
push 0x2c
lea eax, [ebp - 0x24]
push str.C:Devgit_toolkitlibs_base_namedpipeio.cpp
push eax
call fcn.00448a50
mov esi, eax
push 0xc
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 0
push str.ENamedPipeIO
push eax
call fcn.00448a50
add esp, 0x18
push 0xa3
push esi
push eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.00454120
push 0x63fe6c
lea eax, [ebp - 0x5c]
push eax
call fcn.00594600
push 0x2c
lea eax, [ebp - 0x30]
push str.C:Devgit_toolkitlibs_base_namedpipeio.cpp
push eax
call fcn.00448a50
mov edi, eax
push 0xc
lea eax, [ebp - 0x24]
push str.ENamedPipeIO
push eax
call fcn.00448a50
add esp, 0x18
mov esi, eax
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [ebp - 4], 4
call eax
push 0xb8
push edi
push esi
push eax
lea ecx, [ebp - 0x80]
call fcn.00454150
push 0x63fe6c
lea eax, [ebp - 0x80]
push eax
call fcn.00594600
push 0x2c
lea eax, [ebp - 0x30]
push str.C:Devgit_toolkitlibs_base_namedpipeio.cpp
push eax
call fcn.00448a50
mov edi, eax
push 0xc
lea eax, [ebp - 0x24]
push str.ENamedPipeIO
push eax
call fcn.00448a50
add esp, 0x18
mov esi, eax
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [ebp - 4], 6
call eax
push 0xbd
push edi
push esi
push eax
lea ecx, [ebp - 0x80]
call fcn.00454150
push 0x63fe6c
lea eax, [ebp - 0x80]
push eax
call fcn.00594600
int3