Function at 0x43d940
Capabilities:
Contain obfuscated stackstrings
Create pipe

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
mov ebx, dword fs:[0x18]
sub esp, 0x54
mov dword [ebp - 0x40], 0xa0a0a0a
mov edi, dword [sym.imp.kernel32.dll_GetConsoleFontSize]
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [esp + 4], 0
mov dword [esp], 0
call edi
sub esp, 8
mov dword [ebp - 0x40], eax
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0xeb1
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], str.got__lu__expected_6_n
mov dword [esp + 8], eax
xor eax, eax
cmp dword [ebx + 0x34], 6
sete al
mov dword [esp], eax
call fcn.00427ef0
call fcn.0057d110
mov dword [eax], 0x58f03f
movsx edx, word [ebp - 0x40]
mov dword [eax + 4], 0xeb2
xor eax, eax
test dx, dx
mov dword [esp + 8], edx
sete al
mov dword [esp + 4], str.got__d__expected_0_n
mov dword [esp], eax
call fcn.00427ef0
call fcn.0057d110
mov dword [eax], 0x58f03f
movsx edx, word [ebp - 0x3e]
mov dword [eax + 4], 0xeb3
xor eax, eax
test dx, dx
mov dword [esp + 8], edx
sete al
mov dword [esp + 4], str.got__d__expected_0_n
mov dword [esp], eax
call fcn.00427ef0
mov dword [ebp - 0x40], 0xa0a0a0a
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [esp], 0xfffffff6
call dword [sym.imp.kernel32.dll_GetStdHandle]
sub esp, 4
mov dword [esp + 4], 0
mov dword [esp], eax
call edi
sub esp, 8
mov dword [ebp - 0x40], eax
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0xeb8
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], str.got__lu__expected_6_n
mov dword [esp + 8], eax
xor eax, eax
cmp dword [ebx + 0x34], 6
sete al
mov dword [esp], eax
call fcn.00427ef0
mov eax, 0xeb9
call fcn.00427180
movsx edx, word [ebp - 0x40]
xor eax, eax
mov dword [esp + 4], str.got__d__expected_0_n
test dx, dx
mov dword [esp + 8], edx
sete al
mov dword [esp], eax
call fcn.00427ef0
call fcn.0057d110
mov dword [eax], 0x58f03f
movsx edx, word [ebp - 0x3e]
mov dword [eax + 4], 0xeba
xor eax, eax
test dx, dx
mov dword [esp + 8], edx
sete al
mov dword [esp + 4], str.got__d__expected_0_n
mov dword [esp], eax
call fcn.00427ef0
lea eax, [ebp - 0x44]
mov dword [esp + 0xc], 0
mov dword [esp + 4], eax
lea eax, [ebp - 0x48]
mov dword [esp + 8], 0
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CreatePipe]
mov dword [ebp - 0x40], 0xa0a0a0a
sub esp, 0x10
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [ebp - 0x40], eax
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0xec0
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], str.got__lu__expected_6_n
mov dword [esp + 8], eax
xor eax, eax
cmp dword [ebx + 0x34], 6
sete al
mov dword [esp], eax
call fcn.00427ef0
call fcn.0057d110
mov dword [eax], 0x58f03f
movsx edx, word [ebp - 0x40]
mov dword [eax + 4], 0xec1
xor eax, eax
test dx, dx
mov dword [esp + 8], edx
sete al
mov dword [esp + 4], str.got__d__expected_0_n
mov dword [esp], eax
call fcn.00427ef0
call fcn.0057d110
mov dword [eax], 0x58f03f
movsx edx, word [ebp - 0x3e]
mov dword [eax + 4], 0xec2
xor eax, eax
test dx, dx
mov dword [esp + 8], edx
sete al
mov dword [esp + 4], str.got__d__expected_0_n
mov dword [esp], eax
call fcn.00427ef0
mov edx, dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0x4c], edx
call edx
mov eax, dword [ebp - 0x44]
sub esp, 4
mov dword [esp], eax
mov edx, dword [ebp - 0x4c]
call edx
lea eax, [ebp - 0x3c]
sub esp, 4
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_GetCurrentConsoleFont]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], 0xa0a0a0a
sub esp, 0xc
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [esp + 4], eax
mov dword [esp], esi
call edi
sub esp, 8
mov dword [ebp - 0x40], eax
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0xeca
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], str.got__lu__expected_0xdeadbeef_n
mov dword [esp + 8], eax
xor eax, eax
cmp dword [ebx + 0x34], 0xdeadbeef
sete al
mov dword [esp], eax
call fcn.00427ef0
call dword [sym.imp.kernel32.dll_GetConsoleWindow]
lea edx, [ebp - 0x34]
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetClientRect]
lea eax, [ebp - 0x22]
sub esp, 8
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_GetConsoleScreenBufferInfo]
movsx edx, word [ebp - 0x18]
movsx ecx, word [ebp - 0x14]
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
sub esp, 8
sub ecx, edx
cdq
add ecx, 1
idiv ecx
movsx ecx, word [ebp - 0x12]
mov edx, dword [ebp - 0x28]
sub edx, dword [ebp - 0x30]
mov dword [ebp - 0x4c], eax
movsx eax, word [ebp - 0x16]
sub ecx, eax
mov eax, edx
add ecx, 1
cdq
idiv ecx
mov dword [ebp - 0x50], eax
mov eax, 0xecf
call fcn.00427180
mov ecx, dword [ebp - 0x4c]
movsx eax, word [ebp - 0x40]
mov dword [esp + 4], str.got__d__expected__ld_n
cmp eax, ecx
mov dword [esp + 8], eax
sete al
mov dword [esp + 0xc], ecx
movzx eax, al
mov dword [esp], eax
call fcn.00427ef0
call fcn.0057d110
mov ecx, dword [ebp - 0x50]
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0xed0
movsx eax, word [ebp - 0x3e]
mov dword [esp + 0xc], ecx
cmp eax, ecx
mov dword [esp + 8], eax
sete al
mov dword [esp + 4], str.got__d__expected__ld_n
movzx eax, al
mov dword [esp], eax
call fcn.00427ef0
mov dword [esp], 0x58f08e
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
sub esp, 4
mov dword [esp + 4], str.GetNumberOfConsoleFonts
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
sub esp, 8
test eax, eax
je 0x43de10
call eax
mov dword [ebp - 0x40], 0xa0a0a0a
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [esp + 4], eax
mov dword [esp], esi
call edi
mov dword [ebp - 0x40], eax
sub esp, 8
mov eax, 0xede
call fcn.00427180
mov edx, dword [ebx + 0x34]
mov eax, 1
cmp edx, 0x57
je 0x43dd88
mov ebx, dword [0x8f0770]
cmp edx, 0xdeadbeef
sete cl
xor eax, eax
test ebx, ebx
sete al
and eax, ecx
mov dword [esp], eax
mov dword [esp + 8], edx
mov dword [esp + 4], str.unexpected_last_error__lu_n
call fcn.00427ef0
mov eax, dword fs:[0x18]
cmp dword [eax + 0x34], 0x57
je 0x43ddb0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 0xee2
call fcn.00427180
movsx edx, word [ebp - 0x40]
mov dword [esp + 4], str.got__d__expected_0_n
test dx, dx
mov dword [esp + 8], edx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00427ef0
mov eax, 0xee3
call fcn.00427180
movsx edx, word [ebp - 0x3e]
mov dword [esp + 4], str.got__d__expected_0_n
test dx, dx
mov dword [esp + 8], edx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00427ef0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 0xed6
call fcn.00427180
mov dword [esp], str.GetNumberOfConsoleFonts_is_not_available_n
call fcn.00427ec0
jmp 0x43dda8