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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4359d8
mov eax, dword fs:[0]
push eax
mov eax, 0x20f4
call fcn.004313a0
mov eax, dword [0x45da50]
xor eax, ebp
mov dword [ebp - 0xac], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20e4], ecx
mov ecx, dword [ebp - 0x20e4]
call fcn.004250c0
movzx eax, al
test eax, eax
jne 0x424c72
mov ecx, dword [ebp - 0x20e4]
movzx edx, byte [ecx + 0x59]
test edx, edx
jne 0x424c6b
call fcn.00421f00
mov dword [ebp - 0x20e8], eax
push 0x99
mov eax, dword [ebp - 0x20e8]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x20e8]
mov eax, dword [edx + 0x18]
call eax
xor al, al
jmp 0x425096
mov dword [ebp - 0x14], 0xffffffff
mov ecx, dword [ebp + 0xc]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
push eax
push str.Client_sending__s_r_n
push 4
push str.IPCPipe
call fcn.00425ea0
add esp, 0x10
mov ecx, dword [ebp - 0x20e4]
mov edx, dword [ecx + 0x5c]
mov dword [ebp - 0xa4], edx
cmp dword [ebp - 0x14], 0xffffffff
jne 0x424d97
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
mov ecx, dword [ebp - 0x20e4]
add ecx, 4
call dword [sym.imp.MSVCP80.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x20bc], eax
cmp dword [ebp - 0x20bc], 0xe7
je 0x424d44
cmp dword [ebp - 0xa4], 0
jg 0x424d44
cmp dword [ebp - 0xa4], 0xffffffff
je 0x424d44
mov eax, dword [ebp - 0x20e4]
movzx ecx, byte [eax + 0x59]
test ecx, ecx
jne 0x424d33
call fcn.00421f00
mov dword [ebp - 0x20ec], eax
push 0x99
mov edx, dword [ebp - 0x20ec]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x20ec]
mov edx, dword [eax + 0x18]
call edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x425096
cmp dword [ebp - 0x14], 0xffffffff
jne 0x424d65
push 0x4e20
mov ecx, dword [ebp - 0x20e4]
add ecx, 4
call dword [sym.imp.MSVCP80.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
mov ecx, dword [ebp - 0x20e4]
movzx edx, byte [ecx + 0x58]
test edx, edx
je 0x424d7a
xor al, al
jmp 0x425096
cmp dword [ebp - 0xa4], 0xffffffff
je 0x424d92
mov eax, dword [ebp - 0xa4]
sub eax, 1
mov dword [ebp - 0xa4], eax
jmp 0x424ca6
mov ecx, dword [ebp - 0x20e4]
movzx edx, byte [ecx + 0x58]
test edx, edx
je 0x424db6
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x425096
mov dword [ebp - 0x10], 2
push 0
push 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0
jne 0x424e20
mov eax, dword [ebp - 0x20e4]
movzx ecx, byte [eax + 0x59]
test ecx, ecx
jne 0x424e0f
call fcn.00421f00
mov dword [ebp - 0x20f0], eax
push 0x9a
mov edx, dword [ebp - 0x20f0]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x20f0]
mov edx, dword [eax + 0x18]
call edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x425096
mov ecx, dword [ebp - 0x20e4]
movzx edx, byte [ecx + 0x58]
test edx, edx
je 0x424e3f
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x425096
push 0
lea ecx, [ebp - 0xa8]
push ecx
mov ecx, dword [ebp + 8]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::size_void_const]
lea edx, [eax + eax + 2]
push edx
mov ecx, dword [ebp + 8]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
push eax
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0
jne 0x424eb8
mov ecx, dword [ebp - 0x20e4]
movzx edx, byte [ecx + 0x59]
test edx, edx
jne 0x424ea7
call fcn.00421f00
mov dword [ebp - 0x20f4], eax
push 2
mov eax, dword [ebp - 0x20f4]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x20f4]
mov eax, dword [edx + 0x18]
call eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x425096
mov edx, dword [ebp - 0x20e4]
movzx eax, byte [edx + 0x58]
test eax, eax
je 0x424ed7
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x425096
movzx edx, byte [ebp + 0x10]
test edx, edx
jne 0x424f04
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.Client_does_not_want_a_reply_r_n
push 4
push str.IPCPipe
call fcn.00425ea0
add esp, 0xc
mov al, 1
jmp 0x425096
push 1
push 3
lea ecx, [ebp - 0x9c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_stringstream_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_int_]
mov dword [ebp - 4], 0
mov word [ebp - 0x20b4], 0
push 0x2002
push 0
lea ecx, [ebp - 0x20b4]
push ecx
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0
lea edx, [ebp - 0x20b8]
push edx
push 0x2000
lea eax, [ebp - 0x20b4]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0
jne 0x424f7a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
je 0x424f7a
jmp 0x425005
mov word [ebp - 0xb4], 0
lea edx, [ebp - 0x9c]
test edx, edx
je 0x424f9b
lea eax, [ebp - 0x94]
mov dword [ebp - 0x20f8], eax
jmp 0x424fa5
mov dword [ebp - 0x20f8], 0
lea ecx, [ebp - 0x20b4]
push ecx
mov edx, dword [ebp - 0x20f8]
push edx
call fcn.00404550
add esp, 8
mov eax, dword [ebp - 0x20e4]
movzx ecx, byte [eax + 0x58]
test ecx, ecx
je 0x424ff8
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x20bd], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_stringstream_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::vbase_dtor_void_]
mov al, byte [ebp - 0x20bd]
jmp 0x425096
cmp dword [ebp - 0xa0], 0
je 0x424f24
lea eax, [ebp - 0x20dc]
push eax
lea ecx, [ebp - 0x9c]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____thiscall_std::basic_stringstream_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::str_void_]
mov dword [ebp - 0x20fc], eax
mov ecx, dword [ebp - 0x20fc]
mov dword [ebp - 0x2100], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x2100]
push edx
mov ecx, dword [ebp + 0xc]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20dc]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
mov ecx, dword [ebp + 0xc]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
push eax
push str.Client_receving__s_r_n
push 4
push str.IPCPipe
call fcn.00425ea0
add esp, 0x10
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x20dd], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_stringstream_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::vbase_dtor_void_]
mov al, byte [ebp - 0x20dd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0xac]
xor ecx, ebp
call fcn.00430f9c
mov esp, ebp
pop ebp
ret 0xc