Function at 0x4ea8a0
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x848f79
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0xa5e224]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0xf0], ebx
cmp dword [esi + 8], 0xffffffff
jne 0x4ea919
cmp dword [0xa5d6f8], ebx
je 0x4ea919
push str.should_only_be_called_if_Init___returned_true
push str.m_hStderr_____HANDLE__LONG_PTR__1_
push str._anonymous_namespace::wxConsoleStderr::Write
push 0x21b
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.clean_srcmsw_app.cpp
call fcn.0073cfd0
add esp, 0x14
cmp byte [0xea569c], bl
je 0x4ea919
mov byte [0xea569c], bl
int3
lea eax, [ebp - 0x98]
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
jne 0x4eac70
xor al, al
mov edi, 0xffff
test al, al
jne 0x4ea99a
lea eax, [ebp - 0x30]
push 0x8a7570
push eax
call fcn.007373c0
add esp, 8
mov esi, eax
or ebx, 1
mov dword [ebp - 4], 0
cmp dword [0xea5818], 0
mov dword [ebp - 0xf0], ebx
je 0x4ea97c
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0xea5818]
je 0x4ea97c
call fcn.007423b0
jmp 0x4ea981
mov al, byte [0xa5d794]
test al, al
je 0x4ea99a
push esi
call fcn.00741e40
add esp, 4
mov byte [ebp - 0xe9], 1
cmp eax, 6
jae 0x4ea9a1
mov byte [ebp - 0xe9], 0
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x4ea9f5
push dword [ebp - 0x18]
and ebx, 0xfffffffe
call fcn.00805aaa
mov edx, dword [ebp - 0x1c]
add esp, 4
cmp edx, 8
jb 0x4ea9f5
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4ea9eb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4eb338
push edx
push ecx
call fcn.00800125
add esp, 8
cmp byte [ebp - 0xe9], 0
je 0x4eb2fa
call fcn.00737c40
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 1
call fcn.00737c40
mov dword [ebp - 0x20], eax
push 0xffffffffffffffff
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 2
push str._s__d_:__s_failed_with_error_0x_08lx___s_.
push eax
call fcn.004d2bd0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
sub esp, 0x14
mov dword [ebp - 4], 3
mov esi, esp
mov dword [ebp - 0xf0], esp
call sub.KERNEL32.dll_GetLastError
push eax
push esi
call fcn.007434e0
add esp, 8
xorps xmm0, xmm0
mov byte [ebp - 4], 4
mov dword [ebp - 0x80], 6
mov dword [ebp - 0x78], str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.clean_srcmsw_app.cpp
mov dword [ebp - 0x70], str._anonymous_namespace::wxConsoleStderr::Write
mov dword [ebp - 0x74], 0x221
mov dword [ebp - 0x6c], 0x8a7570
movlpd qword [ebp - 0x68], xmm0
movlpd qword [ebp - 0x60], xmm0
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [ebp - 0x58], eax
xor eax, eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 5
call sub.KERNEL32.dll_GetLastError
push eax
push 0x8ac9d4
push 0x221
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.clean_srcmsw_app.cpp
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x80]
call fcn.004d0600
push dword [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.00805aaa
mov edx, dword [ebp - 0x3c]
add esp, 4
cmp edx, 8
jb 0x4eab32
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4eab28
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4eb338
push edx
push ecx
call fcn.00800125
add esp, 8
mov esi, dword [ebp - 0x54]
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
test esi, esi
je 0x4eab9c
push 0x4cc690
push dword [esi + 0x10]
mov byte [ebp - 4], 7
push dword [esi + 0x14]
call fcn.007610f0
push dword [esi + 0x10]
mov dword [esi + 0x18], 0
call fcn.00805aaa
push 0x4cc670
push dword [esi]
mov byte [ebp - 4], 8
push dword [esi + 4]
call fcn.007610f0
push dword [esi]
mov dword [esi + 8], 0
call fcn.00805aaa
push 0x20
push esi
call fcn.00800125
add esp, 0x28
mov dword [ebp - 4], 9
call fcn.00737c40
mov ecx, dword [ebp - 0x1c]
cmp ecx, eax
je 0x4eabdf
add word [ecx + 8], di
jne 0x4eabd7
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x4eabd7
cmp byte [esi + 0xa], 0
je 0x4eabcc
push dword [esi]
call fcn.00805aaa
add esp, 4
push 0xc
push esi
call fcn.00800125
add esp, 8
call fcn.00737c40
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0xa
call fcn.00737c40
mov ecx, dword [ebp - 0x20]
cmp ecx, eax
je 0x4eac22
add word [ecx + 8], di
jne 0x4eac1a
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x4eac1a
cmp byte [esi + 0xa], 0
je 0x4eac0f
push dword [esi]
call fcn.00805aaa
add esp, 4
push 0xc
push esi
call fcn.00800125
add esp, 8
call fcn.00737c40
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xb
call fcn.00737c40
mov ecx, dword [ebp - 0x24]
cmp ecx, eax
je 0x4eac62
add word [ecx + 8], di
jne 0x4eac5d
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x4eac5d
cmp byte [esi + 0xa], 0
je 0x4eac52
push dword [esi]
call fcn.00805aaa
add esp, 4
push 0xc
push esi
call fcn.00800125
add esp, 8
call fcn.00737c40
mov dword [ebp - 4], 0xffffffff
mov al, 1
jmp 0x4ea938
xor eax, eax
mov word [ebp - 0x94], ax
mov ax, word [esi + 0x1c]
sub word [ebp - 0x92], ax
push dword [ebp - 0x94]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
test eax, eax
jne 0x4eafda
xor al, al
mov edi, 0xffff
test al, al
jne 0x4ead04
lea eax, [ebp - 0x30]
push 0x8a7570
push eax
call fcn.007373c0
add esp, 8
mov esi, eax
or ebx, 2
mov dword [ebp - 4], 0xc
cmp dword [0xea5818], 0
mov dword [ebp - 0xf0], ebx
je 0x4eace6
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0xea5818]
je 0x4eace6
call fcn.007423b0
jmp 0x4eaceb
mov al, byte [0xa5d794]
test al, al
je 0x4ead04
push esi
call fcn.00741e40
add esp, 4
mov byte [ebp - 0xe9], 1
cmp eax, 6
jae 0x4ead0b
mov byte [ebp - 0xe9], 0
mov dword [ebp - 4], 0xffffffff
test bl, 2
je 0x4ead5f
push dword [ebp - 0x18]
and ebx, 0xfffffffd
call fcn.00805aaa
mov edx, dword [ebp - 0x1c]
add esp, 4
cmp edx, 8
jb 0x4ead5f
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4ead55
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4eb338
push edx
push ecx
call fcn.00800125
add esp, 8
cmp byte [ebp - 0xe9], 0
je 0x4eb2fa
call fcn.00737c40
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0xd
call fcn.00737c40
mov dword [ebp - 0x20], eax
push 0xffffffffffffffff
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0xe
push str._s__d_:__s_failed_with_error_0x_08lx___s_.
push eax
call fcn.004d2bd0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
sub esp, 0x14
mov dword [ebp - 4], 0xf
mov esi, esp
mov dword [ebp - 0xf0], esp
call sub.KERNEL32.dll_GetLastError
push eax
push esi
call fcn.007434e0
add esp, 8
xorps xmm0, xmm0
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x80], 6
mov dword [ebp - 0x78], str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.clean_srcmsw_app.cpp
mov dword [ebp - 0x70], str._anonymous_namespace::wxConsoleStderr::Write
mov dword [ebp - 0x74], 0x22b
mov dword [ebp - 0x6c], 0x8a7570
movlpd qword [ebp - 0x68], xmm0
movlpd qword [ebp - 0x60], xmm0
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [ebp - 0x58], eax
xor eax, eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 0x11
call sub.KERNEL32.dll_GetLastError
push eax
push 0x8acc10
push 0x22b
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.clean_srcmsw_app.cpp
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0x80]
call fcn.004d0600
push dword [ebp - 0x38]
mov byte [ebp - 4], 0xf
call fcn.00805aaa
mov edx, dword [ebp - 0x3c]
add esp, 4
cmp edx, 8
jb 0x4eae9c
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4eae92
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4eb338
push edx
push ecx
call fcn.00800125
add esp, 8
mov esi, dword [ebp - 0x54]
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
test esi, esi
je 0x4eaf06
push 0x4cc690
push dword [esi + 0x10]
mov byte [ebp - 4], 0x13
push dword [esi + 0x14]
call fcn.007610f0
push dword [esi + 0x10]
mov dword [esi + 0x18], 0
call fcn.00805aaa
push 0x4cc670
push dword [esi]
mov byte [ebp - 4], 0x14
push dword [esi + 4]
call fcn.007610f0
push dword [esi]
mov dword [esi + 8], 0
call fcn.00805aaa
push 0x20
push esi
call fcn.00800125
add esp, 0x28
mov dword [ebp - 4], 0x15
call fcn.00737c40
mov ecx, dword [ebp - 0x1c]
cmp ecx, eax
je 0x4eaf49
add word [ecx + 8], di
jne 0x4eaf41
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x4eaf41
cmp byte [esi + 0xa], 0
je 0x4eaf36
push dword [esi]
call fcn.00805aaa
add esp, 4
push 0xc
push esi
call fcn.00800125
add esp, 8
call fcn.00737c40
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0x16
call fcn.00737c40
mov ecx, dword [ebp - 0x20]
cmp ecx, eax
je 0x4eaf8c
add word [ecx + 8], di
jne 0x4eaf84
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x4eaf84
cmp byte [esi + 0xa], 0
je 0x4eaf79
push dword [esi]
call fcn.00805aaa
add esp, 4
push 0xc
push esi
call fcn.00800125
add esp, 8
call fcn.00737c40
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0x17
call fcn.00737c40
mov ecx, dword [ebp - 0x24]
cmp ecx, eax
je 0x4eafcc
add word [ecx + 8], di
jne 0x4eafc7
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x4eafc7
cmp byte [esi + 0xa], 0
je 0x4eafbc
push dword [esi]
call fcn.00805aaa
add esp, 4
push 0xc
push esi
call fcn.00800125
add esp, 8
call fcn.00737c40
mov dword [ebp - 4], 0xffffffff
mov al, 1
jmp 0x4eaca2
lea eax, [ebp - 0xf4]
push eax
push dword [ebp - 0x94]
push dword [esi + 0x18]
push 0x20
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterW]
test eax, eax
jne 0x4eb159
xor al, al
nop
test al, al
jne 0x4eb062
lea eax, [ebp - 0x30]
push 0x8a7570
push eax
call fcn.007373c0
add esp, 8
mov esi, eax
or ebx, 4
mov dword [ebp - 4], 0x18
cmp dword [0xea5818], 0
mov dword [ebp - 0xf0], ebx
je 0x4eb044
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0xea5818]
je 0x4eb044
call fcn.007423b0
jmp 0x4eb049
mov al, byte [0xa5d794]
test al, al
je 0x4eb062
push esi
call fcn.00741e40
add esp, 4
mov byte [ebp - 0xe9], 1
cmp eax, 6
jae 0x4eb069
mov byte [ebp - 0xe9], 0
mov dword [ebp - 4], 0xffffffff
test bl, 4
je 0x4eb080
lea ecx, [ebp - 0x30]
and ebx, 0xfffffffb
call fcn.00436e00
cmp byte [ebp - 0xe9], 0
je 0x4eb2fa
call fcn.00737c40
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0x19
call fcn.00737c40
mov dword [ebp - 0x20], eax
push 0xffffffffffffffff
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0x1a
push str._s__d_:__s_failed_with_error_0x_08lx___s_.
push eax
call fcn.004d2bd0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
sub esp, 0x14
mov dword [ebp - 4], 0x1b
mov esi, esp
mov dword [ebp - 0xf0], esp
call sub.KERNEL32.dll_GetLastError
push eax
push esi
call fcn.007434e0
add esp, 8
push 0x8a7570
push str._anonymous_namespace::wxConsoleStderr::Write
push 0x233
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.clean_srcmsw_app.cpp
push 6
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x1c
call fcn.004cb4d0
mov esi, eax
mov byte [ebp - 4], 0x1d
call sub.KERNEL32.dll_GetLastError
push eax
push str.FillConsoleOutputCharacter
push 0x233
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.clean_srcmsw_app.cpp
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0x1e
push eax
mov ecx, esi
call fcn.004d0600
lea ecx, [ebp - 0x50]
call fcn.00436e00
lea ecx, [ebp - 0x78]
call fcn.004cb970
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00476650
mov al, 1
jmp 0x4eb000
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4eb163
mov eax, dword [edi]
push 0
lea ecx, [ebp - 0xf4]
push ecx
push dword [edi + 0x10]
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
test eax, eax
jne 0x4eb2fe
xor al, al
test al, al
jne 0x4eb1e5
lea eax, [ebp - 0x30]
push 0x8a7570
push eax
call fcn.007373c0
add esp, 8
mov esi, eax
or ebx, 8
mov dword [ebp - 4], 0x1f
cmp dword [0xea5818], 0
mov dword [ebp - 0xf0], ebx
je 0x4eb1c7
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0xea5818]
je 0x4eb1c7
call fcn.007423b0
jmp 0x4eb1cc
mov al, byte [0xa5d794]
test al, al
je 0x4eb1e5
push esi
call fcn.00741e40
add esp, 4
mov byte [ebp - 0xe9], 1
cmp eax, 6
jae 0x4eb1ec
mov byte [ebp - 0xe9], 0
mov dword [ebp - 4], 0xffffffff
test bl, 8
je 0x4eb203
lea ecx, [ebp - 0x30]
and ebx, 0xfffffff7
call fcn.00436e00
cmp byte [ebp - 0xe9], 0
je 0x4eb2fa
call fcn.00737c40
mov dword [ebp - 0x108], eax
mov dword [ebp - 4], 0x20
call fcn.00737c40
mov dword [ebp - 0x104], eax
push 0xffffffffffffffff
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 0x21
push str._s__d_:__s_failed_with_error_0x_08lx___s_.
push eax
call fcn.004d2bd0
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 0
sub esp, 0x14
mov dword [ebp - 4], 0x22
mov esi, esp
mov dword [ebp - 0xf0], esp
call sub.KERNEL32.dll_GetLastError
push eax
push esi
call fcn.007434e0
add esp, 8
push 0x8a7570
push str._anonymous_namespace::wxConsoleStderr::Write
push 0x239
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.clean_srcmsw_app.cpp
push 6
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0x23
call fcn.004cb4d0
mov esi, eax
mov byte [ebp - 4], 0x24
call sub.KERNEL32.dll_GetLastError
push eax
push str.WriteConsole
push 0x239
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.clean_srcmsw_app.cpp
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 0x25
push eax
mov ecx, esi
call fcn.004d0600
lea ecx, [ebp - 0xb8]
call fcn.00436e00
lea ecx, [ebp - 0xe0]
call fcn.004cb970
lea ecx, [ebp - 0x108]
mov dword [ebp - 4], 0xffffffff
call fcn.00476650
mov al, 1
jmp 0x4eb183
xor al, al
jmp 0x4eb31a
push 0
lea eax, [ebp - 0xf4]
push eax
mov eax, dword [esi + 0x14]
push dword [esi + 0x18]
push dword [eax]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00800392
mov esp, ebp
pop ebp
ret 4
call fcn.00805a59
int3