Function at 0x403f90
Capabilities:
Capture screenshot
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x174
mov dword [esp], 0
call sym._GetDC_4
sub esp, 4
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xd8]
mov dword [esp + 8], eax
mov dword [esp + 4], 0xffffffff
mov dword [esp], 0
call sym._EnumDisplaySettingsA_12
sub esp, 0xc
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
mov ecx, sym.imp.libstdc_6.dll_std::cout
call sym.std::ostream::operator___int_
sub esp, 4
mov edx, eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
mov ecx, edx
call sym.std::ostream::operator___int_
sub esp, 4
mov dword [esp], sym.std::basic_ostream_char__std::char_traits_char____std::endl_char__std::char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov ecx, eax
call sym.std::ostream::operator___std::ostream____std::ostream__
sub esp, 4
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._CreateCompatibleDC_4
sub esp, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._CreateCompatibleBitmap_12
sub esp, 0xc
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call sym._SelectObject_8
sub esp, 8
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call sym._BitBlt_36
sub esp, 0x24
lea eax, [ebp - 0xf0]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x18
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym._GetObjectA_12
sub esp, 0xc
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call sym._SelectObject_8
sub esp, 8
mov dword [ebp - 0x118], 0x28
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x110], eax
mov word [ebp - 0x10c], 1
mov word [ebp - 0x10a], 0x18
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0
lea eax, [ebp - 0x130]
mov dword [esp], eax
call sym.findFileNameBmp_abi:cxx11___
lea eax, [ebp - 0x130]
mov ecx, eax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::c_str___const
mov dword [esp + 4], 0x410699
mov dword [esp], eax
call sym._fopen
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4042a5
mov word [ebp - 0x13e], 0x4d42
mov edx, dword [ebp - 0xec]
mov eax, dword [ebp - 0xe8]
imul edx, eax
mov eax, edx
add eax, eax
add eax, edx
add eax, 0x36
mov dword [ebp - 0x13c], eax
mov word [ebp - 0x138], 0
mov word [ebp - 0x136], 0
mov dword [ebp - 0x134], 0x36
mov eax, dword [ebp - 0x20]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0xe
lea eax, [ebp - 0x13e]
mov dword [esp], eax
call sym._fwrite
mov eax, dword [ebp - 0x20]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0x28
lea eax, [ebp - 0x118]
mov dword [esp], eax
call sym._fwrite
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x14]
mov edx, eax
mov eax, edx
add eax, eax
add eax, edx
mov dword [esp], eax
call sym.operator_new___unsigned_int_
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 0x18], 0
lea edx, [ebp - 0x118]
mov dword [esp + 0x14], edx
mov edx, dword [ebp - 0x24]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call sym._GetDIBits_28
sub esp, 0x1c
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x14]
mov edx, eax
mov eax, edx
add eax, eax
add eax, edx
mov edx, eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov dword [esp + 4], 1
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call sym._fwrite
cmp dword [ebp - 0x24], 0
je 0x40429a
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call sym.operator_delete___void_
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sym._fclose
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call sym._DeleteDC_4
sub esp, 4
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov dword [esp], 0
call sym._ReleaseDC_8
sub esp, 8
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym._DeleteObject_4
sub esp, 4
lea eax, [ebp - 0x3c]
mov dword [esp + 8], 0x41069c
lea edx, [ebp - 0x130]
mov dword [esp + 4], edx
mov dword [esp], eax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__char_const_
mov dword [esp], 5
mov ecx, 0x417020
call method.std::atomic_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____.load_std::memory_order__const
sub esp, 4
mov edx, eax
lea eax, [ebp - 0x3c]
mov dword [esp], eax
mov ecx, edx
call fcn.00404ab4
sub esp, 4
lea eax, [ebp - 0x3c]
mov ecx, eax
call fcn.00404ad4
lea eax, [ebp - 0x130]
mov ecx, eax
call fcn.00404ad4
jmp 0x40435a
mov ebx, dword [ebp - 4]
leave
ret