Function at 0x401440
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x408da0
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x40e040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0xb8
lea eax, [ebp - 0xc8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push esi
lea ecx, [ebp - 0xc8]
call fcn.00406ca0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x6c], 0
jne 0x4014c3
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
push 0x407380
call fcn.00407140
mov edx, esi
mov ecx, eax
call fcn.00407360
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov eax, dword [ebp - 0xc8]
lea ecx, [ebp - 0xc8]
push 0xa
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_wchar_t___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::widen_char_const]
movzx eax, ax
lea ecx, [ebp - 0xc8]
push eax
mov edx, 0x40e0c4
call fcn.00407c50
mov eax, dword [ebp - 0xc8]
lea ecx, [ebp - 0xc8]
add esp, 4
add ecx, dword [eax + 4]
push 0xa
call dword [sym.imp.MSVCP140.dll_public:_wchar_t___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::widen_char_const]
movzx eax, ax
lea ecx, [ebp - 0xc8]
push eax
mov edx, 0x40e154
call fcn.00407c50
mov eax, dword [ebp - 0xc8]
lea ecx, [ebp - 0xc8]
add esp, 4
add ecx, dword [eax + 4]
push 0xa
call dword [sym.imp.MSVCP140.dll_public:_wchar_t___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::widen_char_const]
movzx eax, ax
lea ecx, [ebp - 0xc8]
push eax
mov edx, 0x40e0ac
call fcn.00407c50
mov eax, dword [ebp - 0xc8]
lea ecx, [ebp - 0xc8]
add esp, 4
add ecx, dword [eax + 4]
push 0xa
call dword [sym.imp.MSVCP140.dll_public:_wchar_t___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::widen_char_const]
movzx eax, ax
lea ecx, [ebp - 0xc8]
push eax
mov edx, 0x40e124
call fcn.00407c50
mov eax, dword [ebp - 0xc8]
lea ecx, [ebp - 0xc8]
add esp, 4
add ecx, dword [eax + 4]
push 0xa
call dword [sym.imp.MSVCP140.dll_public:_wchar_t___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::widen_char_const]
movzx eax, ax
lea ecx, [ebp - 0xc8]
push eax
mov edx, 0x40e13c
call fcn.00407c50
mov eax, dword [ebp - 0xc8]
lea ecx, [ebp - 0xc8]
add esp, 4
add ecx, dword [eax + 4]
push 0xa
call dword [sym.imp.MSVCP140.dll_public:_wchar_t___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::widen_char_const]
movzx eax, ax
lea ecx, [ebp - 0xc8]
push eax
mov edx, 0x40e0f4
call fcn.00407c50
mov eax, dword [ebp - 0xc8]
lea ecx, [ebp - 0xc8]
add esp, 4
add ecx, dword [eax + 4]
push 0xa
call dword [sym.imp.MSVCP140.dll_public:_wchar_t___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::widen_char_const]
movzx eax, ax
lea ecx, [ebp - 0xc8]
push eax
mov edx, 0x40e10c
call fcn.00407c50
mov eax, dword [ebp - 0xc8]
lea ecx, [ebp - 0xc8]
add esp, 4
add ecx, dword [eax + 4]
push 0xa
call dword [sym.imp.MSVCP140.dll_public:_wchar_t___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::widen_char_const]
movzx eax, ax
lea ecx, [ebp - 0xc8]
push eax
mov edx, 0x40e0dc
call fcn.00407c50
add esp, 4
lea ecx, [ebp - 0xb8]
call fcn.004070b0
test eax, eax
jne 0x40165a
push eax
mov eax, dword [ebp - 0xc8]
lea ecx, [ebp - 0xc8]
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::setstate_int__bool_]
lea ecx, [ebp - 0xc8]
call fcn.00401680
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00407e59
mov esp, ebp
pop ebp
ret