Function at 0x10010bb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10011cc9
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x10027040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push ecx
mov edx, ecx
lea ecx, [ebp - 0x60]
call fcn.10011380
add esp, 4
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
lea esi, [ebp - 0x13]
mov dword [ebp - 0x2c], ecx
mov eax, 0xcccccccd
dec esi
mul ecx
shr edx, 3
mov al, dl
shl al, 2
lea ecx, [eax + edx]
mov eax, dword [ebp - 0x2c]
add cl, cl
sub al, cl
mov ecx, edx
add al, 0x30
mov byte [esi], al
mov eax, edx
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x10010c00
push ecx
lea eax, [ebp - 0x13]
push eax
push esi
lea ecx, [ebp - 0xe0]
call fcn.10005980
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc8]
push 0x13
xorps xmm0, xmm0
mov dword [ebp - 0xb8], 0
push str..pipeEQTPipeDll
movups xmmword [ebp - 0xc8], xmm0
mov dword [ebp - 0xb4], 0
call fcn.10001950
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0xc8]
push eax
push dword [ebp - 0x30]
lea ecx, [ebp - 0x48]
call fcn.100057c0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0xb4]
cmp ecx, 0xf
jbe 0x10010cc9
mov edx, dword [ebp - 0xc8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10010cbf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010ece
push ecx
push edx
call fcn.1000e0be
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xcc]
cmp ecx, 0xf
jbe 0x10010d07
mov edx, dword [ebp - 0xe0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10010cfd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010ece
push ecx
push edx
call fcn.1000e0be
add esp, 8
push 0x50
lea eax, [ebp - 0xb0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xb0]
call fcn.10002090
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x48]
cmp dword [ebp - 0x34], 0xf
mov eax, dword [ebp - 0x38]
cmova ecx, dword [ebp - 0x48]
add eax, ecx
push eax
push ecx
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ebp - 0xb0]
call fcn.10003870
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 5
call fcn.10001fd0
cmp dword [ebp - 0xb4], 7
lea eax, [ebp - 0xc8]
push 0
cmova eax, dword [ebp - 0xc8]
push 0
push 3
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [ebp - 0xb4]
mov edi, eax
cmp ecx, 7
jbe 0x10010dca
mov edx, dword [ebp - 0xc8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10010dc0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10010dc0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1000e0be
add esp, 8
mov dword [ebp - 0x2c], edi
mov byte [ebp - 4], 7
cmp edi, 0xffffffff
jne 0x10010e06
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.Error:_Unable_to_open_pipe._Error_code:
call fcn.10004900
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
push 0x10004b20
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
jmp 0x10010e66
mov ecx, dword [ebp - 0x50]
lea edx, [ebp - 0x30]
push 0
inc ecx
lea eax, [ebp - 0x60]
cmp dword [ebp - 0x4c], 0xf
push edx
cmova eax, dword [ebp - 0x60]
push ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10010e31
mov eax, dword [ebp - 0x50]
inc eax
cmp dword [ebp - 0x30], eax
je 0x10010e5f
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.Error:_WriteFile_to_pipe_failed._Error_code:
call fcn.10004900
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
push 0x10004b20
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x10010e96
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10010e8c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010ece
push ecx
push edx
call fcn.1000e0be
add esp, 8
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
cmp ecx, 0xf
jbe 0x10010ede
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10010ed4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10010ed4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1000e0be
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000daaa
mov esp, ebp
pop ebp
ret