Function at 0x1001d760
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10059410
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x1007401c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 0
movups xmm0, xmmword [ebp + 8]
mov eax, dword [ebp + 0x18]
inc eax
mov byte [ebp + 8], 0
movups xmmword [ebp - 0xa4], xmm0
mov dword [ebp - 0x34], eax
movq xmm0, qword [ebp + 0x18]
movq qword [ebp - 0x94], xmm0
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x58], 0
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 0x44]
test ecx, ecx
je 0x1001d836
lea eax, [ebp + 0x20]
cmp ecx, eax
jne 0x1001d82c
mov eax, dword [ecx]
lea edx, [ebp - 0x7c]
push edx
mov eax, dword [eax + 4]
call eax
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 0x44]
test ecx, ecx
je 0x1001d836
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp + 0x20]
cmp ecx, eax
setne al
push eax
call edx
jmp 0x1001d82f
mov dword [ebp - 0x58], ecx
mov dword [ebp + 0x44], 0
push 0x50
mov byte [ebp - 4], 5
call fcn.10037e73
mov edi, eax
add esp, 4
lea esi, [edi + 0x28]
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmm0, xmmword [ebp - 0xa4]
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x94]
movq qword [edi + 0x10], xmm0
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 0x88]
mov dword [edi + 0x1c], eax
mov eax, dword [ebp - 0x84]
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0x80]
mov dword [edi + 0x24], eax
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x1001d8fb
lea eax, [ebp - 0x7c]
cmp ecx, eax
jne 0x1001d8f1
mov eax, dword [ecx]
push esi
mov eax, dword [eax + 4]
call eax
mov dword [esi + 0x24], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x1001d8fb
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x7c]
cmp ecx, eax
setne al
push eax
call edx
jmp 0x1001d8f4
mov dword [esi + 0x24], ecx
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x20], edi
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 9
call fcn.1001dd00
push 0x14
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
call fcn.10037e73
movups xmm0, xmmword [ebp - 0x54]
add esp, 4
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x24], eax
movups xmmword [eax], xmm0
mov dword [eax + 0x10], edi
mov esi, dword [0x100776e8]
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
test esi, esi
je 0x1001d95f
lock inc dword [esi + 4]
mov esi, dword [0x100776e8]
mov ecx, dword [0x100776e4]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 0xb
test ecx, ecx
je 0x1001da0f
mov eax, dword [ecx]
push 3
sub esp, 8
mov edx, dword [eax + 4]
mov eax, esp
mov dword [eax], str.CCleaner.Windows.IPC.NamedPipes
mov dword [eax + 4], 0x1f
call edx
test al, al
je 0x1001da0f
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x28]
sub esp, 0x18
mov dword [ebp - 0x54], 0x24
mov ecx, esp
mov dword [ebp - 0x50], str.srcPipeAsyncCommunication.cpp
sub esp, 8
mov dword [ebp - 0x4c], 0x1e
mov eax, dword [eax]
mov dword [ebp - 0x48], str.bool___cdecl_CCleaner::Windows::IPC::NamedPipes::v0_1::StartClientAsyncWrite_void__class_std::basic_string_char_struct_std::char_traits_char__class_std::allocator_char____struct_CCleaner::Windows::IPC::NamedPipes::v0_1::Client::MessageQueue__class_std::function_void___cdecl_void___
mov eax, dword [eax + 8]
mov dword [ebp - 0x40], eax
mov eax, esp
mov dword [eax], str.Starting_asynchronous_write_to_named_pipe_server_.
mov dword [eax + 4], 0x34
call fcn.10010540
movups xmm0, xmmword [ebp - 0x54]
mov ecx, dword [ebp - 0x30]
add esp, 8
sub esp, 0x14
mov eax, esp
push 3
movups xmmword [eax], xmm0
sub esp, 8
mov dword [eax + 0x10], 0x11c
mov eax, esp
mov dword [eax], str.CCleaner.Windows.IPC.NamedPipes
mov dword [eax + 4], 0x1f
call dword [ebp - 0x40]
test esi, esi
je 0x1001da40
mov byte [ebp - 4], 0xc
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x1001da40
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax]
call eax
mov byte [ebp - 4], 0xd
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x1001da40
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 4]
call eax
mov eax, dword [ebp - 0x34]
mov ecx, edi
cmp eax, 0xffff
cmova eax, dword [0x10068c9c]
cmp dword [edi + 0x14], 0x10
jb 0x1001da59
mov ecx, dword [edi]
push 0x1001ddb0
push dword [ebp - 0x3c]
push eax
push ecx
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_WriteFileEx]
test eax, eax
je 0x1001dae2
mov byte [ebp - 4], 0
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x1001daa8
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001da9e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001dcf5
push edx
push ecx
call fcn.10037e3a
add esp, 8
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
mov dword [ebp - 4], 0xe
mov ecx, dword [ebp + 0x44]
test ecx, ecx
je 0x1001dadb
mov edx, dword [ecx]
lea eax, [ebp + 0x20]
cmp ecx, eax
setne al
movzx eax, al
push eax
mov eax, dword [edx + 0x10]
call eax
mov al, 1
jmp 0x1001dcd9
mov esi, dword [0x100776e8]
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
test esi, esi
je 0x1001dafe
lock inc dword [esi + 4]
mov esi, dword [0x100776e8]
mov ecx, dword [0x100776e4]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 0xf
test ecx, ecx
je 0x1001dbbf
mov eax, dword [ecx]
push 3
sub esp, 8
mov edx, dword [eax + 4]
mov eax, esp
mov dword [eax], str.CCleaner.Windows.IPC.NamedPipes
mov dword [eax + 4], 0x1f
call edx
test al, al
je 0x1001dbbf
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub esp, 0x18
mov dword [ebp - 0x38], eax
mov ecx, esp
mov dword [ebp - 0x54], 0x35
lea eax, [ebp - 0x28]
mov dword [ebp - 0x50], str.srcPipeAsyncCommunication.cpp
lea edx, [ebp - 0x38]
mov dword [ebp - 0x4c], 0x1e
push eax
sub esp, 8
mov dword [ebp - 0x48], str.bool___cdecl_CCleaner::Windows::IPC::NamedPipes::v0_1::StartClientAsyncWrite_void__class_std::basic_string_char_struct_std::char_traits_char__class_std::allocator_char____struct_CCleaner::Windows::IPC::NamedPipes::v0_1::Client::MessageQueue__class_std::function_void___cdecl_void___
mov eax, esp
mov dword [eax], str.Error__when_attempting_to_start_reading_from_named_pipe_server_
mov dword [eax + 4], 0x43
call fcn.1001f1f0
movups xmm0, xmmword [ebp - 0x54]
mov ecx, dword [ebp - 0x30]
add esp, 0xc
sub esp, 0x14
mov eax, esp
push 3
movups xmmword [eax], xmm0
sub esp, 8
mov dword [eax + 0x10], 0x11c
mov eax, esp
mov dword [eax], str.CCleaner.Windows.IPC.NamedPipes
mov dword [eax + 4], 0x1f
call dword [ebp - 0x34]
test esi, esi
je 0x1001dbf0
mov byte [ebp - 4], 0x10
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x1001dbf0
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax]
call eax
mov byte [ebp - 4], 0x11
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x1001dbf0
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 4]
call eax
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x1001dc02
push 0x14
push eax
call fcn.10037e3a
add esp, 8
mov ecx, edi
call fcn.1001dd00
push 0x50
push edi
call fcn.10037e3a
mov byte [ebp - 4], 0
add esp, 8
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x1001dc4c
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001dc42
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001dcf5
push edx
push ecx
call fcn.10037e3a
add esp, 8
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
mov dword [ebp - 4], 0x12
jmp 0x1001dcbd
mov ecx, dword [ebp + 0x44]
test ecx, ecx
je 0x1001dcd7
mov edx, dword [ecx]
lea eax, [ebp + 0x20]
cmp ecx, eax
setne al
movzx eax, al
push eax
mov eax, dword [edx + 0x10]
call eax
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10037900
mov esp, ebp
pop ebp
ret
call fcn.100402aa
call fcn.100402aa
int3