Function at 0x43cce0
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
add esp, 0xffffff80
mov dword [ebp - 0x78], eax
mov dword [esp], 0xfffffff6
call dword [sym.imp.kernel32.dll_GetStdHandle]
sub esp, 4
mov edi, eax
mov dword [esp], 0x58f08e
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
sub esp, 4
mov dword [esp + 4], str.GetConsoleScreenBufferInfoEx
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
sub esp, 8
test eax, eax
je 0x43d0c8
mov ebx, eax
lea eax, [ebp - 0x6c]
mov esi, dword fs:[0x18]
mov dword [esi + 0x34], 0xdeadbeef
mov dword [esp + 4], eax
mov dword [esp], 0
call ebx
sub esp, 8
mov dword [ebp - 0x7c], eax
call fcn.0057d110
mov ecx, dword [ebp - 0x7c]
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0xff8
xor eax, eax
test ecx, ecx
sete al
mov dword [esp + 8], ecx
mov dword [esp], eax
mov dword [esp + 4], str.got__d__expected_zero_n
call fcn.00427ef0
mov eax, 0xff9
call fcn.00427180
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.got__lu__expected_87_n
mov dword [esp + 8], eax
xor eax, eax
cmp dword [esi + 0x34], 0x57
sete al
mov dword [esp], eax
call fcn.00427ef0
lea eax, [ebp - 0x6c]
mov dword [esi + 0x34], 0xdeadbeef
mov dword [esp], edi
mov dword [esp + 4], eax
call ebx
sub esp, 8
mov dword [ebp - 0x7c], eax
call fcn.0057d110
mov ecx, dword [ebp - 0x7c]
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0xffd
xor eax, eax
test ecx, ecx
sete al
mov dword [esp + 8], ecx
mov dword [esp], eax
mov dword [esp + 4], str.got__d__expected_zero_n
call fcn.00427ef0
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0xffe
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.got__lu__expected_87_n
mov dword [esp + 8], eax
xor eax, eax
cmp dword [esi + 0x34], 0x57
sete al
mov dword [esp], eax
call fcn.00427ef0
lea eax, [ebp - 0x6c]
mov dword [esi + 0x34], 0xdeadbeef
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x78]
mov dword [esp], eax
call ebx
sub esp, 8
mov dword [ebp - 0x7c], eax
call fcn.0057d110
mov ecx, dword [ebp - 0x7c]
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x1002
xor eax, eax
test ecx, ecx
sete al
mov dword [esp + 8], ecx
mov dword [esp], eax
mov dword [esp + 4], str.got__d__expected_zero_n
call fcn.00427ef0
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x1003
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.got__lu__expected_87_n
mov dword [esp + 8], eax
xor eax, eax
cmp dword [esi + 0x34], 0x57
sete al
mov dword [esp], eax
call fcn.00427ef0
lea edx, [ebp - 0x6c]
mov dword [ebp - 0x6c], 0x60
mov dword [esi + 0x34], 0xdeadbeef
mov dword [esp + 4], edx
mov dword [esp], 0
call ebx
sub esp, 8
mov dword [ebp - 0x7c], eax
call fcn.0057d110
mov ecx, dword [ebp - 0x7c]
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x1009
xor eax, eax
test ecx, ecx
sete al
mov dword [esp + 8], ecx
mov dword [esp], eax
mov dword [esp + 4], str.got__d__expected_zero_n
call fcn.00427ef0
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x100a
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.got__lu__expected_6_n
mov dword [esp + 8], eax
xor eax, eax
cmp dword [esi + 0x34], 6
sete al
mov dword [esp], eax
call fcn.00427ef0
lea edx, [ebp - 0x6c]
mov dword [esi + 0x34], 0xdeadbeef
mov dword [esp + 4], edx
mov dword [esp], edi
call ebx
sub esp, 8
mov dword [ebp - 0x7c], eax
call fcn.0057d110
mov ecx, dword [ebp - 0x7c]
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x100e
xor eax, eax
test ecx, ecx
sete al
mov dword [esp + 8], ecx
mov dword [esp], eax
mov dword [esp + 4], str.got__d__expected_zero_n
call fcn.00427ef0
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x100f
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.got__lu__expected_6_n
mov dword [esp + 8], eax
xor eax, eax
cmp dword [esi + 0x34], 6
sete al
mov dword [esp], eax
call fcn.00427ef0
lea eax, [ebp - 0x70]
mov dword [esp + 0xc], 0
mov dword [esp + 4], eax
lea eax, [ebp - 0x74]
mov dword [esp + 8], 0
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CreatePipe]
lea edx, [ebp - 0x6c]
mov dword [esi + 0x34], 0xdeadbeef
sub esp, 0x10
mov dword [esp + 4], edx
mov dword [esp], edi
call ebx
sub esp, 8
mov edi, eax
mov eax, 0x1014
call fcn.00427180
xor eax, eax
test edi, edi
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], str.got__d__expected_zero_n
mov dword [esp], eax
call fcn.00427ef0
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x1015
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.got__lu__expected_6_n
mov dword [esp + 8], eax
xor eax, eax
cmp dword [esi + 0x34], 6
sete al
mov dword [esp], eax
call fcn.00427ef0
mov eax, dword [ebp - 0x74]
mov edi, dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [esp], eax
call edi
mov eax, dword [ebp - 0x70]
sub esp, 4
mov dword [esp], eax
call edi
lea edx, [ebp - 0x6c]
mov dword [esi + 0x34], 0xdeadbeef
sub esp, 4
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x78]
mov dword [esp], eax
call ebx
sub esp, 8
mov ebx, eax
mov eax, 0x101b
call fcn.00427180
mov dword [esp + 8], ebx
mov dword [esp + 4], str.got__d__expected_non_zero_n
mov dword [esp], ebx
call fcn.00427ef0
mov eax, 0x101c
call fcn.00427180
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.got__lu__expected_0xdeadbeef_n
mov dword [esp + 8], eax
xor eax, eax
cmp dword [esi + 0x34], 0xdeadbeef
sete al
mov dword [esp], eax
call fcn.00427ef0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 0xff2
call fcn.00427180
mov dword [esp], str.GetConsoleScreenBufferInfoEx_is_not_available_n
call fcn.00427ec0
jmp 0x43d0bb