Function at 0x404d30
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x440
mov eax, dword [0x41500c]
xor eax, esp
mov dword [esp + 0x43c], eax
push esi
push edi
push 0x344
lea eax, [esp + 0x100]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov edi, dword [sym.imp.USER32.dll_EnumDisplayDevicesW]
lea eax, [esp + 0x104]
add esp, 0xc
mov dword [esp + 0xf8], 0x348
xor esi, esi
push esi
push eax
push esi
push esi
call edi
test eax, eax
je 0x404dae
nop word [eax + eax]
inc esi
test byte [esp + 0x23c], 1
jne 0x404dae
push 0
lea eax, [esp + 0xfc]
push eax
push esi
push 0
call edi
test eax, eax
jne 0x404d90
push 0xdc
lea eax, [esp + 0x1c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, 0xdc
mov word [esp + 0x5c], ax
lea eax, [esp + 0x18]
push eax
push 0xffffffffffffffff
lea eax, [esp + 0x104]
push eax
call dword [sym.imp.USER32.dll_EnumDisplaySettingsW]
mov ecx, dword [esp + 0xc4]
mov eax, dword [esp + 0xc8]
cmp ecx, 0x780
jne 0x405333
cmp eax, 0x438
jne 0x405097
push 0x40b870
push eax
push 0x780
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Monitor_resolution:
call fcn.0040b5a0
add esp, 4
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___unsigned_long_int_]
push ecx
mov edx, 0x4109d8
mov ecx, eax
call fcn.0040b5a0
add esp, 4
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___unsigned_long_int_]
push ecx
mov edx, str._nBot_activated_
mov ecx, eax
call fcn.0040b5a0
add esp, 4
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_____]
mov dword [0x4156b4], 0x90
mov dword [0x415688], 0x90
mov dword [0x41568c], 0x378
mov dword [0x4156c8], 0x1c5
mov dword [0x415774], 0x90
mov dword [0x415768], 0x90
mov dword [0x415754], 0x378
mov dword [0x415724], 0x1c5
mov dword [0x415744], 0x240
mov dword [0x4156a4], 0x240
mov dword [0x4156bc], 0x2a0
mov dword [0x415708], 0xfc
mov dword [0x4156e0], 0x780
mov dword [0x415720], 0x438
mov dword [0x415700], 4
mov dword [0x415758], 0xa
mov dword [0x41578c], 5
mov dword [0x41569c], 0x43
mov dword [0x41571c], 4
mov dword [0x4156d0], 0xa
mov dword [0x415718], 0x87
mov dword [0x4156f4], 0x43
mov dword [0x41574c], 0x324
mov dword [0x41575c], 0x366
mov dword [0x415780], 0x3a8
mov dword [0x41577c], 0x3ea
mov dword [0x4156a8], 0x42c
mov dword [0x415714], 0x30
mov dword [0x41576c], 0x2f
mov dword [0x4156c0], 0x324
mov dword [0x4156f8], 0x228
mov dword [0x41572c], 6
mov dword [0x4156fc], 0xc
mov dword [0x4156b8], 0x1b
mov dword [0x415778], 0x20
mov dword [0x4156a0], 0xd
mov dword [0x415740], 0x12
mov dword [0x415748], 6
mov dword [0x415788], 0xb
mov dword [0x4156ac], 7
mov dword [0x4156dc], 0xe
mov dword [0x4156d8], 0xe
mov dword [0x415750], 0x13
mov dword [0x4156cc], 0x1b
mov dword [0x41570c], 0x20
mov dword [0x4156f0], 6
mov dword [0x415764], 0xc
mov dword [0x415698], 5
mov dword [0x415760], 5
mov dword [0x415770], 0x3c
mov dword [0x41573c], 0x1f4
mov dword [0x415690], 0x24e
mov dword [0x415784], 0x276
mov dword [0x4156e8], 0x2b8
mov dword [0x4156e4], 0x245
pop edi
pop esi
mov ecx, dword [esp + 0x43c]
xor ecx, esp
call fcn.0040df80
mov esp, ebp
pop ebp
ret
cmp eax, 0x4b0
jne 0x405b1f
push 0x40b870
push eax
push 0x780
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Monitor_resolution:
call fcn.0040b5a0
add esp, 4
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___unsigned_long_int_]
push ecx
mov edx, 0x4109d8
mov ecx, eax
call fcn.0040b5a0
add esp, 4
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___unsigned_long_int_]
push ecx
mov edx, str._nBot_activated_
mov ecx, eax
call fcn.0040b5a0
add esp, 4
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_____]
mov dword [0x4156b4], 0x90
mov dword [0x415688], 0x90
mov dword [0x41568c], 0x378
mov dword [0x4156c8], 0x201
mov dword [0x415774], 0x90
mov dword [0x415768], 0x90
mov dword [0x415754], 0x378
mov dword [0x415724], 0x201
mov dword [0x415744], 0x240
mov dword [0x4156a4], 0x240
mov dword [0x4156bc], 0x2a0
mov dword [0x415708], 0x138
mov dword [0x4156e0], 0x780
mov dword [0x415720], 0x4b0
mov dword [0x415700], 4
mov dword [0x415758], 0xa
mov dword [0x41578c], 5
mov dword [0x41569c], 0x43
mov dword [0x41571c], 4
mov dword [0x4156d0], 0xa
mov dword [0x415718], 0x87
mov dword [0x4156f4], 0x43
mov dword [0x41574c], 0x324
mov dword [0x41575c], 0x366
mov dword [0x415780], 0x3a8
mov dword [0x41577c], 0x3ea
mov dword [0x4156a8], 0x42c
mov dword [0x415714], 0x30
mov dword [0x41576c], 0x2f
mov dword [0x4156c0], 0x324
mov dword [0x4156f8], 0x264
mov dword [0x41572c], 6
mov dword [0x4156fc], 0xc
mov dword [0x4156b8], 0x1a
mov dword [0x415778], 0x20
mov dword [0x4156a0], 0xd
mov dword [0x415740], 0x12
mov dword [0x415748], 6
mov dword [0x415788], 0xb
mov dword [0x4156ac], 7
mov dword [0x4156dc], 0xe
mov dword [0x4156d8], 0xe
mov dword [0x415750], 0x13
mov dword [0x4156cc], 0x1b
mov dword [0x41570c], 0x20
mov dword [0x4156f0], 6
mov dword [0x415764], 0xc
mov dword [0x415698], 5
mov dword [0x415760], 5
mov dword [0x415770], 0x41
mov dword [0x41573c], 0x1f4
mov dword [0x415690], 0x24e
mov dword [0x415784], 0x276
mov dword [0x4156e8], 0x2b8
mov dword [0x4156e4], 0x281
pop edi
pop esi
mov ecx, dword [esp + 0x43c]
xor ecx, esp
call fcn.0040df80
mov esp, ebp
pop ebp
ret
cmp ecx, 0x556
jne 0x4055d7
cmp eax, 0x300
jne 0x405b1f
push 0x40b870
push eax
push ecx
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Monitor_resolution:
call fcn.0040b5a0
add esp, 4
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___unsigned_long_int_]
push ecx
mov edx, 0x4109d8
mov ecx, eax
call fcn.0040b5a0
add esp, 4
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___unsigned_long_int_]
push ecx
mov edx, str._nBot_activated_
mov ecx, eax
call fcn.0040b5a0
add esp, 4
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_____]
mov dword [0x4156b4], 0x68
mov dword [0x415688], 0x68
mov dword [0x41568c], 0x277
mov dword [0x4156c8], 0x142
mov dword [0x415774], 0x68
mov dword [0x415768], 0x68
mov dword [0x415754], 0x277
mov dword [0x415724], 0x142
mov dword [0x415744], 0x1a0
mov dword [0x4156a4], 0x1a0
mov dword [0x4156bc], 0x1db
mov dword [0x415708], 0xb0
mov dword [0x4156e0], 0x556
mov dword [0x415720], 0x300
mov dword [0x415700], 2
mov dword [0x415758], 8
mov dword [0x41578c], 6
mov dword [0x41569c], 0x30
mov dword [0x41571c], 2
mov dword [0x4156d0], 8
mov dword [0x415718], 0x60
mov dword [0x4156f4], 0x30
mov dword [0x41574c], 0x23c
mov dword [0x41575c], 0x26b
mov dword [0x415780], 0x29a
mov dword [0x41577c], 0x2c9
mov dword [0x4156a8], 0x2f7
mov dword [0x415714], 0x22
mov dword [0x41576c], 0x21
mov dword [0x4156c0], 0x23c
mov dword [0x4156f8], 0x189
mov dword [0x41572c], 5
mov dword [0x4156fc], 0xa
mov dword [0x4156b8], 0xf
mov dword [0x415778], 0x13
mov dword [0x4156a0], 0xb
mov dword [0x415740], 0xe
mov dword [0x415748], 4
mov dword [0x415788], 9
mov dword [0x4156ac], 5
mov dword [0x4156dc], 0xa
mov dword [0x4156d8], 8
mov dword [0x415750], 0xc
mov dword [0x4156cc], 0x11
mov dword [0x41570c], 0x15
mov dword [0x4156f0], 4
mov dword [0x415764], 8
mov dword [0x415698], 3
mov dword [0x415760], 3
mov dword [0x415770], 0x3c
mov dword [0x41573c], 0xf0
mov dword [0x415690], 0x118
mov dword [0x415784], 0x140
mov dword [0x4156e8], 0x1f4
mov dword [0x4156e4], 0x19d
pop edi
pop esi
mov ecx, dword [esp + 0x43c]
xor ecx, esp
call fcn.0040df80
mov esp, ebp
pop ebp
ret
cmp ecx, 0x500
jne 0x40587b
cmp eax, 0x400
jne 0x405b1f
push 0x40b870
push eax
push ecx
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Monitor_resolution:
call fcn.0040b5a0
add esp, 4
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___unsigned_long_int_]
push ecx
mov edx, 0x4109d8
mov ecx, eax
call fcn.0040b5a0
add esp, 4
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___unsigned_long_int_]
push ecx
mov edx, str._nBot_activated_
mov ecx, eax
call fcn.0040b5a0
add esp, 4
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_____]
mov dword [0x4156b4], 0x60
mov dword [0x415688], 0x60
mov dword [0x41568c], 0x250
mov dword [0x4156c8], 0x1c6
mov dword [0x415774], 0x60
mov dword [0x415768], 0x60
mov dword [0x415754], 0x250
mov dword [0x415724], 0x1c6
mov dword [0x415744], 0x180
mov dword [0x4156a4], 0x180
mov dword [0x4156bc], 0x1c0
mov dword [0x415708], 0x140
mov dword [0x4156e0], 0x500
mov dword [0x415720], 0x400
mov dword [0x415700], 2
mov dword [0x415758], 8
mov dword [0x41578c], 4
mov dword [0x41569c], 0x2c
mov dword [0x41571c], 2
mov dword [0x4156d0], 8
mov dword [0x415718], 0x5a
mov dword [0x4156f4], 0x2c
mov dword [0x41574c], 0x218
mov dword [0x41575c], 0x244
mov dword [0x415780], 0x270
mov dword [0x41577c], 0x29c
mov dword [0x4156a8], 0x2c8
mov dword [0x415714], 0x20
mov dword [0x41576c], 0x20
mov dword [0x4156c0], 0x218
mov dword [0x4156f8], 0x208
mov dword [0x41572c], 5
mov dword [0x4156fc], 0xa
mov dword [0x4156b8], 0xf
mov dword [0x415778], 0x13
mov dword [0x4156a0], 0xb
mov dword [0x415740], 0xe
mov dword [0x415748], 4
mov dword [0x415788], 9
mov dword [0x4156ac], 5
mov dword [0x4156dc], 0xa
mov dword [0x4156d8], 8
mov dword [0x415750], 0xc
mov dword [0x4156cc], 0x11
mov dword [0x41570c], 0x15
mov dword [0x4156f0], 4
mov dword [0x415764], 8
mov dword [0x415698], 3
mov dword [0x415760], 3
mov dword [0x415770], 0x32
mov dword [0x41573c], 0xdc
mov dword [0x415690], 0xf0
mov dword [0x415784], 0x104
mov dword [0x4156e8], 0x1d6
mov dword [0x4156e4], 0x21b
pop edi
pop esi
mov ecx, dword [esp + 0x43c]
xor ecx, esp
call fcn.0040df80
mov esp, ebp
pop ebp
ret
cmp ecx, 0xf00
jne 0x405b1f
cmp eax, 0x870
jne 0x405b1f
push 0x40b870
push eax
push ecx
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Monitor_resolution:
call fcn.0040b5a0
add esp, 4
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___unsigned_long_int_]
push ecx
mov edx, 0x4109d8
mov ecx, eax
call fcn.0040b5a0
add esp, 4
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___unsigned_long_int_]
push ecx
mov edx, str._nBot_activated_
mov ecx, eax
call fcn.0040b5a0
add esp, 4
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_____]
pop edi
mov dword [0x4156b4], 0x11a
mov dword [0x415688], 0x11a
mov dword [0x41568c], 0x6f3
mov dword [0x4156c8], 0x38d
mov dword [0x415774], 0x11a
mov dword [0x415768], 0x11a
mov dword [0x415754], 0x6f3
mov dword [0x415724], 0x38d
mov dword [0x415744], 0x468
mov dword [0x4156a4], 0x468
mov dword [0x4156bc], 0x54c
mov dword [0x415708], 0x204
mov dword [0x4156e0], 0xf00
mov dword [0x415720], 0x870
mov dword [0x415700], 6
mov dword [0x415758], 0x18
mov dword [0x41578c], 9
mov dword [0x41569c], 0x81
mov dword [0x41571c], 6
mov dword [0x4156d0], 0x18
mov dword [0x415718], 0x10a
mov dword [0x4156f4], 0x81
mov dword [0x41574c], 0x648
mov dword [0x41575c], 0x6cc
mov dword [0x415780], 0x750
mov dword [0x41577c], 0x7d4
mov dword [0x4156a8], 0x858
mov dword [0x415714], 0x60
mov dword [0x41576c], 0x5e
mov dword [0x4156c0], 0x648
mov dword [0x4156f8], 0x450
mov dword [0x41572c], 0xc
mov dword [0x4156fc], 0x18
mov dword [0x4156b8], 0x34
mov dword [0x415778], 0x40
mov dword [0x4156a0], 0x1a
mov dword [0x415740], 0x25
mov dword [0x415748], 0xc
mov dword [0x415788], 0x16
mov dword [0x4156ac], 0xe
mov dword [0x4156dc], 0x1c
mov dword [0x4156d8], 0x1c
mov dword [0x415750], 0x26
mov dword [0x4156cc], 0x36
mov dword [0x41570c], 0x40
mov dword [0x4156f0], 0xc
mov dword [0x415764], 0x18
mov dword [0x415698], 9
mov dword [0x415760], 9
mov dword [0x415770], 0x3c
mov dword [0x41573c], 0x6a4
mov dword [0x415690], 0x6d6
mov dword [0x415784], 0x76c
mov dword [0x4156e8], 0x570
mov dword [0x4156e4], 0x48b
pop esi
mov ecx, dword [esp + 0x43c]
xor ecx, esp
call fcn.0040df80
mov esp, ebp
pop ebp
ret
push 0x40b870
push eax
push ecx
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Monitor_resolution:
call fcn.0040b5a0
add esp, 4
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___unsigned_long_int_]
push ecx
mov edx, 0x4109d8
mov ecx, eax
call fcn.0040b5a0
add esp, 4
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___unsigned_long_int_]
push ecx
mov edx, str._not_supported_
mov ecx, eax
call fcn.0040b5a0
add esp, 4
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_____]
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x1388
push eax
lea ecx, [esp + 0x14]
call fcn.0040bb30
mov ecx, eax
call fcn.0040bb50
push 0x40b870
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Exit
call fcn.0040b5a0
add esp, 4
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_____]
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x3e8
push eax
lea ecx, [esp + 0x14]
call fcn.0040bb30
mov ecx, eax
call fcn.0040bb50
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3